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 contains "borrowed" copy of standard styles. To simplify merging, | 5 /* This file contains "borrowed" copy of standard styles. To simplify merging, |
6 * when altering, please preserve original property value by adding comments. | 6 * when altering, please preserve original property value by adding comments. |
7 */ | 7 */ |
8 input.common[type='checkbox'], | 8 input.common[type='checkbox'], |
9 input.common[type='radio'] { | 9 input.common[type='radio'] { |
10 -webkit-appearance: none; | 10 -webkit-appearance: none; |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
195 | 195 |
196 /* "chrome-menu" class overrides some standard menu.css styles, to make custom | 196 /* "chrome-menu" class overrides some standard menu.css styles, to make custom |
197 menus in FileBrowser look like native ChromeOS menus. */ | 197 menus in FileBrowser look like native ChromeOS menus. */ |
198 | 198 |
199 menu.chrome-menu { | 199 menu.chrome-menu { |
200 border: 1px solid rgba(0, 0, 0, 0.2); | 200 border: 1px solid rgba(0, 0, 0, 0.2); |
201 border-radius: 2px; | 201 border-radius: 2px; |
202 outline: none; | 202 outline: none; |
203 padding: 2px 0; | 203 padding: 2px 0; |
204 } | 204 } |
205 | |
206 menu.chrome-menu > :not(hr) { | 205 menu.chrome-menu > :not(hr) { |
206 background-position: 6px center; | |
207 background-repeat: no-repeat; | |
207 color: rgb(34, 34, 34); | 208 color: rgb(34, 34, 34); |
208 height: 30px; | 209 height: 30px; |
209 line-height: 28px; | 210 line-height: 28px; |
210 padding-left: 28px; | 211 padding-left: 28px; |
211 padding-right: 20px; | 212 padding-right: 20px; |
212 } | 213 } |
213 | 214 |
dgozman
2012/05/18 13:15:14
extra empty line
Dmitry Zvorygin
2012/05/21 10:51:01
Done.
| |
215 | |
214 menu.chrome-menu > :not(hr)[disabled] { | 216 menu.chrome-menu > :not(hr)[disabled] { |
215 background-color: rgb(255, 255, 255); | 217 background-color: rgb(255, 255, 255); |
216 color: rgb(153, 153, 153); | 218 color: rgb(153, 153, 153); |
217 } | 219 } |
218 | 220 |
219 menu.chrome-menu > :not(hr):not([disabled])[selected], | 221 menu.chrome-menu > :not(hr):not([disabled])[selected], |
220 menu.chrome-menu > :not(hr):not([disabled])[selected]:active { | 222 menu.chrome-menu > :not(hr):not([disabled])[selected]:active { |
221 background-color: rgb(241, 241, 241); | 223 background-color: rgb(241, 241, 241); |
222 color: rgb(34, 34, 34); | 224 color: rgb(34, 34, 34); |
223 } | 225 } |
224 | 226 |
225 menu.chrome-menu > hr { | 227 menu.chrome-menu > hr { |
226 background: rgb(218, 218, 218); | 228 background: rgb(218, 218, 218); |
227 height: 1px; | 229 height: 1px; |
228 margin: 2px 0; | 230 margin: 2px 0; |
229 } | 231 } |
230 | 232 |
231 menu.chrome-menu > :not(hr)[checked] { | 233 menu.chrome-menu > :not(hr)[checked] { |
232 background: url('../images/common/check_no_box.png') no-repeat 2px center; | 234 background-image: url('../images/common/check_no_box.png'); |
235 background-position: 2px center; | |
233 } | 236 } |
234 | 237 |
235 menu.chrome-menu > [checked]:before { | 238 menu.chrome-menu > [checked]:before { |
236 display: none; | 239 display: none; |
237 } | 240 } |
OLD | NEW |