Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 2 <link rel="import" href="/settings_vars_css.html"> | 2 <link rel="import" href="/settings_vars_css.html"> |
| 3 | 3 |
| 4 <!-- Common styles for Material Design settings. --> | 4 <!-- Common styles for Material Design settings. --> |
| 5 <dom-module id="settings-shared"> | 5 <dom-module id="settings-shared"> |
| 6 <template> | 6 <template> |
| 7 <style include="cr-shared-style"> | 7 <style include="cr-shared-style"> |
| 8 button[is='paper-icon-button-light'] { | 8 button[is='paper-icon-button-light'] { |
| 9 -webkit-margin-end: -8px; /* Allow ripple to overlap the end. */ | 9 -webkit-margin-end: -8px; /* Allow ripple to overlap the end. */ |
| 10 -webkit-margin-start: 16px; | 10 -webkit-margin-start: 16px; |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 } | 21 } |
| 22 | 22 |
| 23 [actionable] button[is="paper-icon-button-light"].subpage-arrow { | 23 [actionable] button[is="paper-icon-button-light"].subpage-arrow { |
| 24 background-image: url(images/arrow_right.svg); | 24 background-image: url(images/arrow_right.svg); |
| 25 } | 25 } |
| 26 | 26 |
| 27 [actionable] button[is="paper-icon-button-light"].icon-external { | 27 [actionable] button[is="paper-icon-button-light"].icon-external { |
| 28 background-image: url(images/open_in_new.svg); | 28 background-image: url(images/open_in_new.svg); |
| 29 } | 29 } |
| 30 | 30 |
| 31 button[is="paper-icon-button-light"].icon-help { | |
|
dpapad
2016/10/21 01:53:59
Double quotes are used here, no quotes and single
dschuyler
2016/10/21 21:10:41
I need to make a presubmit for this. In my mind, I
| |
| 32 background-image: url(images/help_outline.svg); | |
| 33 } | |
| 34 | |
| 31 :host-context([dir=rtl]) paper-icon-button[icon='settings:arrow-back'] { | 35 :host-context([dir=rtl]) paper-icon-button[icon='settings:arrow-back'] { |
| 32 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ | 36 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ |
| 33 } | 37 } |
| 34 | 38 |
| 35 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ | 39 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ |
| 36 h2 { | 40 h2 { |
| 37 align-items: center; | 41 align-items: center; |
| 38 align-self: flex-start; | 42 align-self: flex-start; |
| 39 color: var(--paper-grey-600); | 43 color: var(--paper-grey-600); |
| 40 display: flex; | 44 display: flex; |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 421 /* Turns the arrow direction downwards, when the bubble is placed above | 425 /* Turns the arrow direction downwards, when the bubble is placed above |
| 422 * the anchor element */ | 426 * the anchor element */ |
| 423 .search-bubble-innards.above::after { | 427 .search-bubble-innards.above::after { |
| 424 -webkit-transform: rotate(-135deg); | 428 -webkit-transform: rotate(-135deg); |
| 425 bottom: -5px; | 429 bottom: -5px; |
| 426 top: auto; | 430 top: auto; |
| 427 } | 431 } |
| 428 </style> | 432 </style> |
| 429 </template> | 433 </template> |
| 430 </dom-module> | 434 </dom-module> |
| OLD | NEW |