| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 * | 5 * |
| 6 * This stylesheet is used to apply Chrome styles to extension pages that opt in | 6 * This stylesheet is used to apply Chrome styles to extension pages that opt in |
| 7 * to using them. | 7 * to using them. |
| 8 * | 8 * |
| 9 * These styles have been copied from ui/webui/resources/css/chrome_shared.css | 9 * These styles have been copied from ui/webui/resources/css/chrome_shared.css |
| 10 * and ui/webui/resources/css/widgets.css *with CSS class logic removed*, so | 10 * and ui/webui/resources/css/widgets.css *with CSS class logic removed*, so |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 </if> | 174 </if> |
| 175 } | 175 } |
| 176 | 176 |
| 177 input[type='search'] { | 177 input[type='search'] { |
| 178 -webkit-appearance: textfield; | 178 -webkit-appearance: textfield; |
| 179 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end | 179 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end |
| 180 * of the default text in relatively spacious languages (i.e. German). */ | 180 * of the default text in relatively spacious languages (i.e. German). */ |
| 181 min-width: 160px; | 181 min-width: 160px; |
| 182 } | 182 } |
| 183 | 183 |
| 184 /* Remove when https://bugs.webkit.org/show_bug.cgi?id=51499 is fixed. | |
| 185 * TODO(dbeam): are there more types that would benefit from this? */ | |
| 186 input[type='search']::-webkit-textfield-decoration-container { | |
| 187 direction: inherit; | |
| 188 } | |
| 189 | |
| 190 /* Checked ********************************************************************/ | 184 /* Checked ********************************************************************/ |
| 191 | 185 |
| 192 input[type='checkbox']:checked::before { | 186 input[type='checkbox']:checked::before { |
| 193 -webkit-user-select: none; | 187 -webkit-user-select: none; |
| 194 background-image: url(../../../ui/webui/resources/images/check.png); | 188 background-image: url(../../../ui/webui/resources/images/check.png); |
| 195 background-size: 100% 100%; | 189 background-size: 100% 100%; |
| 196 content: ''; | 190 content: ''; |
| 197 display: block; | 191 display: block; |
| 198 height: 100%; | 192 height: 100%; |
| 199 width: 100%; | 193 width: 100%; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 display: block; | 337 display: block; |
| 344 } | 338 } |
| 345 | 339 |
| 346 :-webkit-any(.checkbox, .radio) label:hover { | 340 :-webkit-any(.checkbox, .radio) label:hover { |
| 347 color: black; | 341 color: black; |
| 348 } | 342 } |
| 349 | 343 |
| 350 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { | 344 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { |
| 351 color: #999; | 345 color: #999; |
| 352 } | 346 } |
| OLD | NEW |