OLD | NEW |
1 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 1 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
2 | 2 |
3 <!-- Common css variables for Material Design WebUI. --> | 3 <!-- Common css variables for Material Design WebUI. --> |
4 <style is="custom-style"> | 4 <style is="custom-style"> |
5 :root { | 5 :root { |
6 --cr-actionable: { | 6 --cr-actionable: { |
7 cursor: pointer; | 7 cursor: pointer; |
8 }; | 8 }; |
9 --cr-focused-item-color: var(--google-grey-300); | 9 --cr-focused-item-color: var(--google-grey-300); |
10 /* Same padding as paper-icon-button. */ | 10 /* Same padding as paper-icon-button. */ |
11 --cr-icon-padding: 8px; | 11 --cr-icon-padding: 8px; |
12 --cr-icon-size: { | 12 |
13 height: 20px; | 13 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */ |
14 width: 20px; | 14 --cr-icon-ripple-size: 36px; |
| 15 --cr-icon-size: 20px; |
| 16 |
| 17 --cr-icon-height-width: { |
| 18 height: var(--cr-icon-size); |
| 19 width: var(--cr-icon-size); |
15 } | 20 } |
| 21 |
| 22 --cr-paper-icon-button-margin: { |
| 23 -webkit-margin-end: -8px; /* Allow ripple to overlap the end. */ |
| 24 -webkit-margin-start: 16px; |
| 25 } |
| 26 |
16 --cr-selectable-focus: { | 27 --cr-selectable-focus: { |
17 background-color: var(--cr-focused-item-color); | 28 background-color: var(--cr-focused-item-color); |
18 outline: none; | 29 outline: none; |
19 } | 30 } |
20 --cr-separator-line: 1px solid rgba(0, 0, 0, 0.06); | 31 --cr-separator-line: 1px solid rgba(0, 0, 0, 0.06); |
21 --paper-checkbox-ink-size: 40px; | 32 --paper-checkbox-ink-size: 40px; |
22 } | 33 } |
23 </style> | 34 </style> |
OLD | NEW |