OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 /* This file defines styles for form controls. The order of rule blocks is | 5 /* This file defines styles for form controls. The order of rule blocks is |
6 * important as there are some rules with equal specificity that rely on order | 6 * important as there are some rules with equal specificity that rely on order |
7 * as a tiebreaker. These are marked with OVERRIDE. */ | 7 * as a tiebreaker. These are marked with OVERRIDE. */ |
8 | 8 |
9 @import url(action_link.css); | 9 @import url(action_link.css); |
10 | 10 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 </if> | 108 </if> |
109 } | 109 } |
110 | 110 |
111 input[type='search'] { | 111 input[type='search'] { |
112 -webkit-appearance: textfield; | 112 -webkit-appearance: textfield; |
113 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end | 113 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end |
114 * of the default text in relatively spacious languages (i.e. German). */ | 114 * of the default text in relatively spacious languages (i.e. German). */ |
115 min-width: 160px; | 115 min-width: 160px; |
116 } | 116 } |
117 | 117 |
118 /* Remove when https://bugs.webkit.org/show_bug.cgi?id=51499 is fixed. | |
119 * TODO(dbeam): are there more types that would benefit from this? */ | |
120 input[type='search']::-webkit-textfield-decoration-container { | |
121 direction: inherit; | |
122 } | |
123 | |
124 /* Checked ********************************************************************/ | 118 /* Checked ********************************************************************/ |
125 | 119 |
126 input[type='checkbox']:checked::before { | 120 input[type='checkbox']:checked::before { |
127 -webkit-user-select: none; | 121 -webkit-user-select: none; |
128 background-image: url(../images/check.png); | 122 background-image: url(../images/check.png); |
129 background-size: 100% 100%; | 123 background-size: 100% 100%; |
130 content: ''; | 124 content: ''; |
131 display: block; | 125 display: block; |
132 height: 100%; | 126 height: 100%; |
133 width: 100%; | 127 width: 100%; |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 280 |
287 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { | 281 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { |
288 color: #999; | 282 color: #999; |
289 } | 283 } |
290 | 284 |
291 extensionview { | 285 extensionview { |
292 display: inline-block; | 286 display: inline-block; |
293 height: 300px; | 287 height: 300px; |
294 width: 300px; | 288 width: 300px; |
295 } | 289 } |
OLD | NEW |