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

Side by Side Diff: chrome/common/extensions/docs/examples/api/fontSettings/css/widgets.css

Issue 2534693002: Reduce usage of webkit prefixes in extension examples (Closed)
Patch Set: rebase Created 3 years, 10 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 5
6 /* This file defines styles for form controls. The order of rule blocks is 6 /* This file defines styles for form controls. The order of rule blocks is
7 * important as there are some rules with equal specificity that rely on order 7 * important as there are some rules with equal specificity that rely on order
8 * as a tiebreaker. These are marked with OVERRIDE. 8 * as a tiebreaker. These are marked with OVERRIDE.
9 */ 9 */
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 -webkit-user-select: none; 119 -webkit-user-select: none;
120 background-image: url('../images/check.png'); 120 background-image: url('../images/check.png');
121 background-size: 100% 100%; 121 background-size: 100% 100%;
122 content: ''; 122 content: '';
123 display: block; 123 display: block;
124 height: 100%; 124 height: 100%;
125 width: 100%; 125 width: 100%;
126 } 126 }
127 127
128 html[dir='rtl'] input[type='checkbox']:checked::before { 128 html[dir='rtl'] input[type='checkbox']:checked::before {
129 -webkit-transform: scaleX(-1); 129 transform: scaleX(-1);
130 } 130 }
131 131
132 input[type='radio']:checked::before { 132 input[type='radio']:checked::before {
133 background-color: #666; 133 background-color: #666;
134 border-radius: 100%; 134 border-radius: 100%;
135 bottom: 3px; 135 bottom: 3px;
136 content: ''; 136 content: '';
137 display: block; 137 display: block;
138 left: 3px; 138 left: 3px;
139 position: absolute; 139 position: absolute;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 input[type='radio'], 227 input[type='radio'],
228 input[type='search'], 228 input[type='search'],
229 input[type='text'], 229 input[type='text'],
230 input[type='url'], 230 input[type='url'],
231 input:not([type]), 231 input:not([type]),
232 :-webkit-any( 232 :-webkit-any(
233 button, 233 button,
234 input[type='button'], 234 input[type='button'],
235 input[type='submit']):not(.custom-appearance):not(.link-button)) { 235 input[type='submit']):not(.custom-appearance):not(.link-button)) {
236 /* OVERRIDE */ 236 /* OVERRIDE */
237 -webkit-transition: border-color 200ms; 237 transition: border-color 200ms;
238 /* We use border color because it follows the border radius (unlike outline). 238 /* We use border color because it follows the border radius (unlike outline).
239 * This is particularly noticeable on mac. */ 239 * This is particularly noticeable on mac. */
240 border-color: rgb(77, 144, 254); 240 border-color: rgb(77, 144, 254);
241 outline: none; 241 outline: none;
242 } 242 }
243 243
244 /* Link buttons ***************************************************************/ 244 /* Link buttons ***************************************************************/
245 245
246 .link-button { 246 .link-button {
247 -webkit-box-shadow: none; 247 -webkit-box-shadow: none;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 display: block; 297 display: block;
298 } 298 }
299 299
300 :-webkit-any(.checkbox, .radio) label:hover { 300 :-webkit-any(.checkbox, .radio) label:hover {
301 color: black; 301 color: black;
302 } 302 }
303 303
304 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { 304 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span {
305 color: #999; 305 color: #999;
306 } 306 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698