1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
6 background-color: rgba
(0, 0, 0, 0.85);
18 -webkit-margin-start: 10px;
19 border-bottom: solid
1px rgba
(255, 255, 255, 0.25);
21 content: attr
(playon-text
);
29 /* Make the width of the horizontal border one device pixel even on HiDPI.
30 * crbug.com/417113. */
31 @media (-webkit-min-device-pixel-ratio: 2) {
34 background-image: linear-gradient
(rgba
(255, 255, 255, 0.25),
35 rgba
(255, 255, 255, 0.25),
36 rgba
(255, 255, 255, 0),
37 rgba
(255, 255, 255, 0));
38 background-position: bottom
;
39 background-size: 100% 1px;
40 background-repeat: no-repeat
;
48 .cast-menu > :not(hr) {
49 -webkit-padding-end: 10px;
50 -webkit-padding-start: 30px;
51 color: rgba
(255, 255, 255, 0.5);
55 text-overflow: ellipsis
;
58 .cast-menu > :not(hr):hover {
59 background-color: rgba
(48, 48, 48, 0.85);
62 .cast-menu > [checked]:not(hr) {
63 /* A checkmark has corresponding width and margin. */
64 -webkit-padding-start: 0;
68 .cast-menu > [checked]:before {
69 content: -webkit-image-set
(
70 url
(../images/media/media_check.png) 1x,
71 url
(../images/media/2x/media_check.png) 2x);