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

Side by Side Diff: ui/webui/resources/css/widgets.css

Issue 747923004: webui: minimize webui flicker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 defines styles for form controls. The order of rule blocks is 5 /* This file defines styles for form controls. The order of rule blocks is
6 * important as there are some rules with equal specificity that rely on order 6 * important as there are some rules with equal specificity that rely on order
7 * as a tiebreaker. These are marked with OVERRIDE. */ 7 * as a tiebreaker. These are marked with OVERRIDE. */
8 8
9 /* Default state **************************************************************/ 9 /* Default state **************************************************************/
10 10
11 body {
12 /* This is the default for most locales and platforms. It exists here to
13 * minimize flicker when first showing pages. It's overriden by the actual
14 * font size (IDS_WEB_FONT_SIZE) via JS later, usually to the same value. */
15 font-size: 75%;
Evan Stade 2014/11/22 05:14:44 I don't know if this is the right file for this. "
Dan Beam 2014/11/25 19:52:34 moved to a new, smaller "text_defaults.css" that's
16 }
17
11 :-webkit-any(button, 18 :-webkit-any(button,
12 input[type='button'], 19 input[type='button'],
13 input[type='submit']):not(.custom-appearance), 20 input[type='submit']):not(.custom-appearance),
14 select, 21 select,
15 input[type='checkbox'], 22 input[type='checkbox'],
16 input[type='radio'] { 23 input[type='radio'] {
17 -webkit-appearance: none; 24 -webkit-appearance: none;
18 -webkit-user-select: none; 25 -webkit-user-select: none;
19 background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede); 26 background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede);
20 border: 1px solid rgba(0, 0, 0, 0.25); 27 border: 1px solid rgba(0, 0, 0, 0.25);
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 display: block; 307 display: block;
301 } 308 }
302 309
303 :-webkit-any(.checkbox, .radio) label:hover { 310 :-webkit-any(.checkbox, .radio) label:hover {
304 color: black; 311 color: black;
305 } 312 }
306 313
307 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { 314 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span {
308 color: #999; 315 color: #999;
309 } 316 }
OLDNEW
« ui/webui/resources/css/chrome_shared.css ('K') | « ui/webui/resources/css/chrome_shared.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698