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

Side by Side Diff: chrome/browser/resources/shared/css/checkbox.css

Issue 8828011: [mac] Eliminate drawing glitch on WebUI radio controls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 5
6 input[type='checkbox'] { 6 input[type='checkbox'] {
7 -webkit-box-shadow: inset 0 1px 2px white, 7 -webkit-box-shadow: inset 0 1px 2px white,
8 0 1px 2px rgba(0, 0, 0, .2); 8 0 1px 2px rgba(0, 0, 0, .2);
9 -webkit-appearance: none; 9 -webkit-appearance: none;
10 -webkit-margin-start: 0; 10 -webkit-margin-start: 0;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 -webkit-appearance: none; 56 -webkit-appearance: none;
57 -webkit-margin-start: 0; 57 -webkit-margin-start: 0;
58 -webkit-margin-end: 3px; 58 -webkit-margin-end: 3px;
59 -webkit-transition: border 500ms; 59 -webkit-transition: border 500ms;
60 background: -webkit-linear-gradient(#fafafa, #dcdcdc); 60 background: -webkit-linear-gradient(#fafafa, #dcdcdc);
61 border-radius: 100%; 61 border-radius: 100%;
62 border: 1px solid #a0a0a0; 62 border: 1px solid #a0a0a0;
63 display: inline-block; 63 display: inline-block;
64 height: 15px; 64 height: 15px;
65 margin-bottom: 0; 65 margin-bottom: 0;
66 margin-top: 0;
67 position: relative; 66 position: relative;
68 top: 3px; 67 top: 3px;
69 vertical-align: baseline; 68 vertical-align: baseline;
70 width: 15px; 69 width: 15px;
71 } 70 }
72 71
73 input[type='radio']:disabled { 72 input[type='radio']:disabled {
74 opacity: .75; 73 opacity: .75;
75 } 74 }
76 75
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 127
129 label:hover > input[type=checkbox]:disabled ~ span, 128 label:hover > input[type=checkbox]:disabled ~ span,
130 label:hover > input[type=radio]:disabled ~ span { 129 label:hover > input[type=radio]:disabled ~ span {
131 color: #888; 130 color: #888;
132 } 131 }
133 132
134 label:hover > input[type=checkbox]:not(:disabled) ~ span, 133 label:hover > input[type=checkbox]:not(:disabled) ~ span,
135 label:hover > input[type=radio]:not(:disabled) ~ span { 134 label:hover > input[type=radio]:not(:disabled) ~ span {
136 color: #222; 135 color: #222;
137 } 136 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698