| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 1 <link rel="import" href="/settings_root_css.html"> | 2 <link rel="import" href="/settings_root_css.html"> |
| 2 | 3 |
| 3 <!-- Common styles for Material Design settings. --> | 4 <!-- Common styles for Material Design settings. --> |
| 4 <dom-module id="settings-shared"> | 5 <dom-module id="settings-shared"> |
| 5 <template> | 6 <template> |
| 6 <style> | 7 <style include="cr-shared-style"> |
| 7 h2 { | 8 h2 { |
| 8 align-items: center; | 9 align-items: center; |
| 9 display: flex; | 10 display: flex; |
| 10 font-size: 100%; | 11 font-size: 100%; |
| 11 font-weight: 500; | 12 font-weight: 500; |
| 12 margin: 0; | 13 margin: 0; |
| 13 min-height: var(--settings-row-min-height); | 14 min-height: var(--settings-row-min-height); |
| 14 } | 15 } |
| 15 | 16 |
| 16 iron-icon[icon='cr:check'], | 17 iron-icon[icon='cr:check'], |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 .text-elide { | 121 .text-elide { |
| 121 overflow: hidden; | 122 overflow: hidden; |
| 122 text-overflow: ellipsis; | 123 text-overflow: ellipsis; |
| 123 white-space: nowrap; | 124 white-space: nowrap; |
| 124 } | 125 } |
| 125 | 126 |
| 126 .button-strip { | 127 .button-strip { |
| 127 text-align: end; | 128 text-align: end; |
| 128 } | 129 } |
| 129 | 130 |
| 130 .action-button { | |
| 131 background: var(--google-blue-500); | |
| 132 color: white; | |
| 133 --paper-button-flat-keyboard-focus: { | |
| 134 background-color: rgb(58, 117, 215); /* 88% of --google-blue-500) */ | |
| 135 }; | |
| 136 } | |
| 137 | |
| 138 .action-button[disabled] { | |
| 139 opacity: .25; /* TODO(dbeam): check this value with bettes. */ | |
| 140 } | |
| 141 | |
| 142 .cancel-button { | |
| 143 --paper-button-flat-keyboard-focus: { | |
| 144 background-color: rgba(0, 0, 0, .12); | |
| 145 }; | |
| 146 } | |
| 147 | |
| 148 .action-button, | |
| 149 .cancel-button { | |
| 150 font-weight: 500; | |
| 151 } | |
| 152 | |
| 153 /* | 131 /* |
| 154 * A list-frame is an outer container for list-items. It is intended to be | 132 * A list-frame is an outer container for list-items. It is intended to be |
| 155 * outside of a settings-box. A list-frame is likely to follow a | 133 * outside of a settings-box. A list-frame is likely to follow a |
| 156 * settings box. | 134 * settings box. |
| 157 */ | 135 */ |
| 158 .list-frame { | 136 .list-frame { |
| 159 -webkit-padding-end: 20px; | 137 -webkit-padding-end: 20px; |
| 160 -webkit-padding-start: 56px; | 138 -webkit-padding-start: 56px; |
| 161 align-items: center; | 139 align-items: center; |
| 162 display: block; | 140 display: block; |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 | 285 |
| 308 .favicon-image { | 286 .favicon-image { |
| 309 background-repeat: no-repeat; | 287 background-repeat: no-repeat; |
| 310 background-size: contain; | 288 background-size: contain; |
| 311 height: 16px; | 289 height: 16px; |
| 312 width: 16px; | 290 width: 16px; |
| 313 } | 291 } |
| 314 </style> | 292 </style> |
| 315 </template> | 293 </template> |
| 316 </dom-module> | 294 </dom-module> |
| OLD | NEW |