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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-item/paper-item-shared-styles.html

Issue 1410143002: Update Polymer to fix closure compile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iron-list5
Patch Set: Created 5 years, 2 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
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 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 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 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 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 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 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --> 9 -->
10 10
11 <dom-module id="paper-item-shared-styles"> 11 <dom-module id="paper-item-shared-styles">
12 <template> 12 <template>
13 <style> 13 <style>
14 :host { 14 :host {
15 display: block; 15 display: block;
16 min-height: var(--paper-item-min-height, 48px); 16 min-height: var(--paper-item-min-height, 48px);
17 padding: 0px 16px; 17 padding: 0px 16px;
18 } 18 }
19 19
20 :host > ::content > *:not(:first-child):not(:last-child) { 20 :host(.iron-selected) {
21 margin-right: 16px; 21 font-weight: var(--paper-item-selected-weight, bold);
22 @apply(--paper-item-selected);
23 }
24
25 :host([disabled]) {
26 color: var(--paper-item-disabled-color, --disabled-text-color);
27 @apply(--paper-item-disabled);
28 }
29
30 :host(:focus) {
31 position: relative;
32 outline: 0;
33 @apply(--paper-item-focused);
34 }
35
36 :host(:focus):before {
37 @apply(--layout-fit);
38 content: '';
39 background: currentColor;
40 opacity: var(--dark-divider-opacity);
41
42 @apply(--paper-item-focused-before);
22 } 43 }
23 </style> 44 </style>
24 </template> 45 </template>
25 </dom-module> 46 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698