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

Unified Diff: lib/src/paper-item/paper-item-shared-styles.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates 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
« no previous file with comments | « lib/src/paper-item/paper-item.html ('k') | lib/src/paper-material/paper-material.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/paper-item/paper-item-shared-styles.html
diff --git a/lib/src/paper-item/paper-item-shared-styles.html b/lib/src/paper-item/paper-item-shared-styles.html
index d35ded90c25b3f268ff3b2e25a96850ad595e81a..0bc190dd2902ea81454dee99a68a20a629dc4f99 100644
--- a/lib/src/paper-item/paper-item-shared-styles.html
+++ b/lib/src/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>
« no previous file with comments | « lib/src/paper-item/paper-item.html ('k') | lib/src/paper-material/paper-material.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698