| 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 background: #222; |
| 7 border: 0; |
| 7 border-radius: 1px; | 8 border-radius: 1px; |
| 8 min-width: 120px; | 9 min-width: 120px; |
| 9 padding: 0; | 10 padding: 0 15px 15px; |
| 10 position: absolute; | 11 position: absolute; |
| 11 z-index: 1000; | 12 z-index: 1000; |
| 12 } | 13 } |
| 13 | 14 |
| 15 .cast-menu:before { |
| 16 color: #fff; |
| 17 content: attr(playon-text); |
| 18 line-height: 42px; |
| 19 } |
| 20 |
| 14 .cast-menu.hidden { | 21 .cast-menu.hidden { |
| 15 display: none; | 22 display: none; |
| 16 } | 23 } |
| 17 | 24 |
| 18 .cast-menu > :not(hr) { | 25 .cast-menu > :not(hr) { |
| 19 -webkit-padding-end: 14px; | 26 -webkit-padding-end: 14px; |
| 20 -webkit-padding-start: 19px; | 27 -webkit-padding-start: 19px; |
| 21 background-color: #fff; | 28 background-color: #e6e6e6; |
| 22 font-size: 12px; | 29 font-size: 12px; |
| 23 padding-bottom: 5px; | 30 padding-bottom: 5px; |
| 24 padding-top: 5px; | 31 padding-top: 5px; |
| 25 text-overflow: ellipsis; | 32 text-overflow: ellipsis; |
| 26 } | 33 } |
| 27 | 34 |
| 28 .cast-menu > [checked]:not(hr) { | 35 .cast-menu > [checked]:not(hr) { |
| 29 /* A checkmark has 19 px width. */ | 36 /* A checkmark has 19 px width. */ |
| 30 -webkit-padding-start: 0; | 37 -webkit-padding-start: 0; |
| 31 } | 38 } |
| 32 | 39 |
| 40 .cast-menu > [selected]:not(hr) { |
| 41 background-color: #888; |
| 42 color: #fff; |
| 43 } |
| 44 |
| 45 .cast-menu > [selected]:not(hr):active { |
| 46 background-color: #888; |
| 47 color: #fff; |
| 48 } |
| 49 |
| 50 .cast-menu > [checked]:hover:before, |
| 51 .cast-menu > [checked]:active:before { |
| 52 content: url('../../../webui/resources/images/checkbox_white.png'); |
| 53 } |
| 54 |
| 33 .cast-menu > :not(hr):hover { | 55 .cast-menu > :not(hr):hover { |
| 34 background-color: #eee; | 56 background-color: #555; |
| 57 color: #fff; |
| 35 } | 58 } |
| OLD | NEW |