| 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 |
| 10 --cr-control-spacing: 18px; |
| 11 |
| 9 --cr-focused-item-color: var(--google-grey-300); | 12 --cr-focused-item-color: var(--google-grey-300); |
| 10 /* Same padding as paper-icon-button. */ | |
| 11 --cr-icon-padding: 8px; | |
| 12 | 13 |
| 13 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */ | 14 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */ |
| 14 --cr-icon-ripple-size: 36px; | 15 --cr-icon-ripple-size: 36px; |
| 16 --cr-icon-ripple-padding: 8px; |
| 17 |
| 15 --cr-icon-size: 20px; | 18 --cr-icon-size: 20px; |
| 16 | 19 |
| 17 --cr-icon-height-width: { | 20 --cr-icon-height-width: { |
| 18 height: var(--cr-icon-size); | 21 height: var(--cr-icon-size); |
| 19 width: var(--cr-icon-size); | 22 width: var(--cr-icon-size); |
| 20 } | 23 } |
| 21 | 24 |
| 22 --cr-paper-icon-button-margin: { | 25 --cr-paper-icon-button-margin: { |
| 23 -webkit-margin-end: -8px; /* Allow ripple to overlap the end. */ | 26 /* Allow ripple to overlap the end. */ |
| 27 -webkit-margin-end: calc(var(--cr-icon-ripple-padding) * -1); |
| 24 -webkit-margin-start: 16px; | 28 -webkit-margin-start: 16px; |
| 25 } | 29 } |
| 26 | 30 |
| 27 --cr-selectable-focus: { | 31 --cr-selectable-focus: { |
| 28 background-color: var(--cr-focused-item-color); | 32 background-color: var(--cr-focused-item-color); |
| 29 outline: none; | 33 outline: none; |
| 30 } | 34 } |
| 31 --cr-separator-line: 1px solid rgba(0, 0, 0, 0.06); | 35 --cr-separator-line: 1px solid rgba(0, 0, 0, 0.06); |
| 32 --paper-checkbox-ink-size: 40px; | 36 --paper-checkbox-ink-size: 40px; |
| 33 } | 37 } |
| 34 </style> | 38 </style> |
| OLD | NEW |