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 holds CSS that should be shared, in theory, by all user-visible | 5 /* This file holds CSS that should be shared, in theory, by all user-visible |
6 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to | 6 * chrome:// pages. This contrasts chrome_shared.css, which it is meant to |
7 * replace, but has CSS specific to options and options-like pages. */ | 7 * replace, but has CSS specific to options and options-like pages. */ |
8 | 8 |
9 @import url("chrome://resources/css/button.css"); | 9 @import url("chrome://resources/css/button.css"); |
10 @import url("chrome://resources/css/checkbox.css"); | 10 @import url("chrome://resources/css/checkbox.css"); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 /* TEXT */ | 79 /* TEXT */ |
80 /* TODO(estade): add more types here? */ | 80 /* TODO(estade): add more types here? */ |
81 input[type='password'], | 81 input[type='password'], |
82 input[type='search'], | 82 input[type='search'], |
83 input[type='text'], | 83 input[type='text'], |
84 input[type='url'], | 84 input[type='url'], |
85 input:not([type]) { | 85 input:not([type]) { |
86 border: 1px solid #bfbfbf; | 86 border: 1px solid #bfbfbf; |
87 border-radius: 2px; | 87 border-radius: 2px; |
88 font: inherit; | 88 font: inherit; |
89 font-size: inherit; | 89 height: 2em; |
90 margin: 0; | 90 margin: 0; |
91 padding: 3px; | 91 padding: 3px; |
92 } | 92 } |
93 | 93 |
94 input[type='search'] { | 94 input[type='search'] { |
95 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end | 95 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end |
96 * of the default text in relatively spacious languages (i.e. German). */ | 96 * of the default text in relatively spacious languages (i.e. German). */ |
97 min-width: 160px; | 97 min-width: 160px; |
98 } | 98 } |
99 | 99 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 * For now it's a bandaid until we install open sans properly. */ | 179 * For now it's a bandaid until we install open sans properly. */ |
180 <if expr="is_posix and not is_macosx and not pp_ifdef('chromeos')"> | 180 <if expr="is_posix and not is_macosx and not pp_ifdef('chromeos')"> |
181 @font-face { | 181 @font-face { |
182 font-family: 'Open Sans'; | 182 font-family: 'Open Sans'; |
183 font-style: normal; | 183 font-style: normal; |
184 font-weight: 400; | 184 font-weight: 400; |
185 src: local('Open Sans'), local('OpenSans'), | 185 src: local('Open Sans'), local('OpenSans'), |
186 url('chrome://resources/fonts/open_sans.woff') format('woff'); | 186 url('chrome://resources/fonts/open_sans.woff') format('woff'); |
187 } | 187 } |
188 </if> | 188 </if> |
OLD | NEW |