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> |