OLD | NEW |
| (Empty) |
1 /** | |
2 @license | |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | |
7 Code distributed by Google as part of the polymer project is also | |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | |
9 */ | |
10 | |
11 /* need a wrapper element to make this higher specificity than the :host rule in
paper-item */ | |
12 .selectable-content > ::content > .iron-selected { | |
13 font-weight: bold; | |
14 | |
15 @apply(--paper-menu-selected-item); | |
16 } | |
17 | |
18 .selectable-content > ::content > [disabled] { | |
19 color: var(--paper-menu-disabled-color, --disabled-text-color); | |
20 } | |
21 | |
22 .selectable-content > ::content > *:focus { | |
23 position: relative; | |
24 outline: 0; | |
25 | |
26 @apply(--paper-menu-focused-item); | |
27 } | |
28 | |
29 .selectable-content > ::content > *:focus:after { | |
30 @apply(--layout-fit); | |
31 background: currentColor; | |
32 opacity: var(--dark-divider-opacity); | |
33 content: ''; | |
34 | |
35 @apply(--paper-menu-focused-item-after); | |
36 } | |
37 | |
38 .selectable-content > ::content > *[colored]:focus:after { | |
39 opacity: 0.26; | |
40 } | |
OLD | NEW |