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

Side by Side Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2356653002: [MD settings] icons for clickable rows (Closed)
Patch Set: wrapped line Created 4 years, 3 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 <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 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ 8 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */
9 h2 { 9 h2 {
10 align-items: center; 10 align-items: center;
11 align-self: flex-start; 11 align-self: flex-start;
12 color: var(--paper-grey-600); 12 color: var(--paper-grey-600);
13 display: flex; 13 display: flex;
14 font-size: inherit; 14 font-size: inherit;
15 font-weight: 500; 15 font-weight: 500;
16 margin: 0; 16 margin: 0;
17 padding-top: 24px; 17 padding-top: 24px;
18 padding-bottom: 12px; 18 padding-bottom: 12px;
19 } 19 }
20 20
21 iron-icon[icon='cr:check'], 21 iron-icon[icon='cr:check'],
22 iron-icon[icon='settings:done'] { 22 iron-icon[icon='settings:done'] {
23 --iron-icon-fill-color: var(--google-green-500); 23 --iron-icon-fill-color: var(--google-green-500);
24 } 24 }
25 25
26 iron-icon[icon="settings:arrow-drop-up"].settings-arrow-right {
27 flex-shrink: 0;
28 margin: 0;
29 transform: rotate(90deg);
30 }
31
26 paper-button { 32 paper-button {
27 margin: 0; 33 margin: 0;
28 } 34 }
29 35
30 paper-button[toggles][active] { 36 paper-button[toggles][active] {
31 background-color: var(--paper-grey-300); 37 background-color: var(--paper-grey-300);
32 } 38 }
33 39
34 paper-toggle-button { 40 paper-toggle-button {
35 @apply(--settings-actionable); 41 @apply(--settings-actionable);
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 /* Turns the arrow direction downwards, when the bubble is placed above 392 /* Turns the arrow direction downwards, when the bubble is placed above
387 * the anchor element */ 393 * the anchor element */
388 .search-bubble-innards.above::after { 394 .search-bubble-innards.above::after {
389 -webkit-transform: rotate(-135deg); 395 -webkit-transform: rotate(-135deg);
390 bottom: -5px; 396 bottom: -5px;
391 top: auto; 397 top: auto;
392 } 398 }
393 </style> 399 </style>
394 </template> 400 </template>
395 </dom-module> 401 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698