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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 div.checkbox, | 69 div.checkbox, |
70 div.radio { | 70 div.radio { |
71 margin: 0.45em 0; | 71 margin: 0.45em 0; |
72 } | 72 } |
73 | 73 |
74 input[type=radio] ~ span, | 74 input[type=radio] ~ span, |
75 input[type=checkbox] ~ span { | 75 input[type=checkbox] ~ span { |
76 color: #444; | 76 color: #444; |
77 } | 77 } |
78 | 78 |
79 /* Focus for all inputs. */ | |
80 button:not(.custom-appearance):focus, | |
81 input:not(.custom-appearance):focus, | |
82 select:not(.custom-appearance):focus { | |
83 -webkit-box-shadow: inset 0 1px 2px white, | |
84 0 1px 2px rgba(0, 0, 0, .2), | |
85 0 0 1px #c0c0c0, | |
86 0 0 1px #c0c0c0, | |
87 0 0 1px #c0c0c0; | |
88 -webkit-transition: border-color 200ms; | |
89 border-color: rgb(64, 128, 250); | |
90 outline: none; | |
91 } | |
92 | |
93 /* TEXT */ | 79 /* TEXT */ |
94 /* TODO(estade): add more types here? */ | 80 /* TODO(estade): add more types here? */ |
95 input[type='password'], | 81 input[type='password'], |
96 input[type='search'], | 82 input[type='search'], |
97 input[type='text'], | 83 input[type='text'], |
98 input[type='url'], | 84 input[type='url'], |
99 input:not([type]) { | 85 input:not([type]) { |
100 border: 1px solid #bfbfbf; | 86 border: 1px solid #bfbfbf; |
101 border-radius: 2px; | 87 border-radius: 2px; |
102 font: inherit; | 88 font: inherit; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 * 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. */ |
194 <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')"> |
195 @font-face { | 181 @font-face { |
196 font-family: 'Open Sans'; | 182 font-family: 'Open Sans'; |
197 font-style: normal; | 183 font-style: normal; |
198 font-weight: 400; | 184 font-weight: 400; |
199 src: local('Open Sans'), local('OpenSans'), | 185 src: local('Open Sans'), local('OpenSans'), |
200 url('chrome://resources/fonts/open_sans.woff') format('woff'); | 186 url('chrome://resources/fonts/open_sans.woff') format('woff'); |
201 } | 187 } |
202 </if> | 188 </if> |
OLD | NEW |