Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: chrome/browser/resources/file_manager/css/common.css

Issue 10391184: [FileBrowser] Migrated ComboButton to menu as dropdown. (Closed) Base URL: improved-actions-menu-126927
Patch Set: Merged with master. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/css/combobutton.css ('k') | chrome/browser/resources/file_manager/js/combobutton.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698