Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Side by Side Diff: polymer_1.2.3/bower_components/paper-menu/paper-menu-shared-styles.html

Issue 1581713003: [third_party] add polymer 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: 1.2.3 Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 <dom-module id="paper-menu-shared-styles">
12 <template>
13 <style>
14 /* need a wrapper element to make this higher specificity than the :host r ule in paper-item */
15 .selectable-content > ::content > .iron-selected {
16 font-weight: bold;
17
18 @apply(--paper-menu-selected-item);
19 }
20
21 .selectable-content > ::content > [disabled] {
22 color: var(--paper-menu-disabled-color, --disabled-text-color);
23 }
24
25 .selectable-content > ::content > *:focus {
26 position: relative;
27 outline: 0;
28
29 @apply(--paper-menu-focused-item);
30 }
31
32 .selectable-content > ::content > *:focus:after {
33 @apply(--layout-fit);
34 background: currentColor;
35 opacity: var(--dark-divider-opacity);
36 content: '';
37
38 @apply(--paper-menu-focused-item-after);
39 }
40
41 .selectable-content > ::content > *[colored]:focus:after {
42 opacity: 0.26;
43 }
44 </style>
45 </template>
46 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698