OLD | NEW |
---|---|
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 .cast-menu { | 5 .cast-menu { |
6 border: 1px solid #7f7f7f; | 6 border: 1px solid #7f7f7f; |
7 border-radius: 1px; | 7 border-radius: 1px; |
8 min-width: 120px; | 8 min-width: 120px; |
9 padding: 0; | 9 padding: 0; |
10 position: absolute; | 10 position: absolute; |
11 z-index: 1000; | 11 z-index: 1000; |
12 } | 12 } |
13 | 13 |
14 .cast-menu.hidden { | 14 .cast-menu.hidden { |
15 display: none; | 15 display: none; |
16 } | 16 } |
17 | 17 |
18 .cast-menu > :not(hr) { | 18 .cast-menu > :not(hr) { |
19 -webkit-padding-end: 14px; | |
20 -webkit-padding-start: 19px; | |
19 background-color: #fff; | 21 background-color: #fff; |
20 font-size: 12px; | 22 font-size: 12px; |
21 padding: 5px 10px; /* top&bottom, left&right */ | 23 padding-bottom: 5px; |
24 padding-top: 5px; | |
22 text-overflow: ellipsis; | 25 text-overflow: ellipsis; |
23 } | 26 } |
24 | 27 |
28 .cast-menu > [checked]:not(hr) { | |
29 /* A checkmark has 19 px width. */ | |
30 -webkit-padding-start: 0px; | |
hirono
2014/08/08 07:37:28
nit: We emit unit for 0 value.
yoshiki
2014/08/08 07:43:29
Done.
| |
31 } | |
32 | |
25 .cast-menu > :not(hr):hover { | 33 .cast-menu > :not(hr):hover { |
26 background-color: #eee; | 34 background-color: #eee; |
27 } | 35 } |
OLD | NEW |