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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-item/paper-item-shared-styles.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-item/paper-item-shared-styles.html b/third_party/polymer/v1_0/components-chromium/paper-item/paper-item-shared-styles.html
index d35ded90c25b3f268ff3b2e25a96850ad595e81a..0bc190dd2902ea81454dee99a68a20a629dc4f99 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-item/paper-item-shared-styles.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-item/paper-item-shared-styles.html
@@ -17,8 +17,29 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
padding: 0px 16px;
}
- :host > ::content > *:not(:first-child):not(:last-child) {
- margin-right: 16px;
+ :host(.iron-selected) {
+ font-weight: var(--paper-item-selected-weight, bold);
+ @apply(--paper-item-selected);
+ }
+
+ :host([disabled]) {
+ color: var(--paper-item-disabled-color, --disabled-text-color);
+ @apply(--paper-item-disabled);
+ }
+
+ :host(:focus) {
+ position: relative;
+ outline: 0;
+ @apply(--paper-item-focused);
+ }
+
+ :host(:focus):before {
+ @apply(--layout-fit);
+ content: '';
+ background: currentColor;
+ opacity: var(--dark-divider-opacity);
+
+ @apply(--paper-item-focused-before);
}
</style>
</template>

Powered by Google App Engine
This is Rietveld 408576698