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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 } | 194 } |
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 z-index: 15; |
204 } | 205 } |
205 | |
206 menu.chrome-menu > :not(hr) { | 206 menu.chrome-menu > :not(hr) { |
| 207 background-position: 6px center; |
| 208 background-repeat: no-repeat; |
207 color: rgb(34, 34, 34); | 209 color: rgb(34, 34, 34); |
208 height: 30px; | 210 height: 30px; |
209 line-height: 28px; | 211 line-height: 28px; |
210 padding-left: 28px; | 212 padding-left: 28px; |
211 padding-right: 20px; | 213 padding-right: 20px; |
212 } | 214 } |
213 | 215 |
| 216 |
214 menu.chrome-menu > :not(hr)[disabled] { | 217 menu.chrome-menu > :not(hr)[disabled] { |
215 background-color: rgb(255, 255, 255); | 218 background-color: rgb(255, 255, 255); |
216 color: rgb(153, 153, 153); | 219 color: rgb(153, 153, 153); |
217 } | 220 } |
218 | 221 |
219 menu.chrome-menu > :not(hr):not([disabled])[selected], | 222 menu.chrome-menu > :not(hr):not([disabled])[selected], |
220 menu.chrome-menu > :not(hr):not([disabled])[selected]:active { | 223 menu.chrome-menu > :not(hr):not([disabled])[selected]:active { |
221 background-color: rgb(241, 241, 241); | 224 background-color: rgb(241, 241, 241); |
222 color: rgb(34, 34, 34); | 225 color: rgb(34, 34, 34); |
223 } | 226 } |
224 | 227 |
225 menu.chrome-menu > hr { | 228 menu.chrome-menu > hr { |
226 background: rgb(218, 218, 218); | 229 background: rgb(218, 218, 218); |
227 height: 1px; | 230 height: 1px; |
228 margin: 2px 0; | 231 margin: 2px 0; |
229 } | 232 } |
230 | 233 |
231 menu.chrome-menu > :not(hr)[checked] { | 234 menu.chrome-menu > :not(hr)[checked] { |
232 background: url('../images/common/check_no_box.png') no-repeat 2px center; | 235 background-image: url('../images/common/check_no_box.png'); |
| 236 background-position: 2px center; |
233 } | 237 } |
234 | 238 |
235 menu.chrome-menu > [checked]:before { | 239 menu.chrome-menu > [checked]:before { |
236 display: none; | 240 display: none; |
237 } | 241 } |
OLD | NEW |