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

Side by Side Diff: Source/devtools/front_end/emulation/responsiveDesignView.css

Issue 1171893005: DevTools: unify theming for checkbox components. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 .responsive-design { 7 .responsive-design {
8 position: relative; 8 position: relative;
9 background-color: rgb(0, 0, 0); 9 background-color: rgb(0, 0, 0);
10 overflow: hidden; 10 overflow: hidden;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 .responsive-design-toolbar input:focus::-webkit-input-placeholder { 235 .responsive-design-toolbar input:focus::-webkit-input-placeholder {
236 color: transparent !important; 236 color: transparent !important;
237 } 237 }
238 238
239 .responsive-design-toolbar fieldset:disabled input, 239 .responsive-design-toolbar fieldset:disabled input,
240 .responsive-design-toolbar fieldset:disabled button { 240 .responsive-design-toolbar fieldset:disabled button {
241 opacity: 0.7; 241 opacity: 0.7;
242 } 242 }
243 243
244 .responsive-design-toolbar input[type='checkbox'] {
245 -webkit-appearance: none;
246 margin: 0 5px auto 2px;
247 border: 1px solid rgb(45, 45, 45);
248 border-radius: 3px;
249 background-color: rgb(102, 102, 102);
250 position: relative;
251 top: 1px;
252 }
253
254 .responsive-design-toolbar input[type='checkbox']:after {
255 content: '';
256 line-height: 10px;
257 position: absolute;
258 cursor: pointer;
259 width: 12px;
260 height: 12px;
261 background: none;
262 }
263
264 .responsive-design-toolbar input[type='checkbox']:checked:after {
265 background: rgb(220, 220, 220);
266 }
267
268 .responsive-design-toolbar input.error-input { 244 .responsive-design-toolbar input.error-input {
269 color: red !important; 245 color: red !important;
270 text-decoration: line-through; 246 text-decoration: line-through;
271 } 247 }
272 248
273 .responsive-design-toolbar select { 249 .responsive-design-toolbar select {
274 height: 18px; 250 height: 18px;
275 background-color: rgb(87, 87, 87); 251 background-color: rgb(87, 87, 87);
276 border: 0; 252 border: 0;
277 margin-left: 10px; 253 margin-left: 10px;
(...skipping 23 matching lines...) Expand all
301 div.responsive-design-icon:disabled { 277 div.responsive-design-icon:disabled {
302 opacity: 1 !important; 278 opacity: 1 !important;
303 } 279 }
304 280
305 @media (-webkit-min-device-pixel-ratio: 1.5) { 281 @media (-webkit-min-device-pixel-ratio: 1.5) {
306 .responsive-design-icon { 282 .responsive-design-icon {
307 -webkit-mask-image: url(Images/responsiveDesign_2x.png); 283 -webkit-mask-image: url(Images/responsiveDesign_2x.png);
308 } 284 }
309 } /* media */ 285 } /* media */
310 286
311 .responsive-design-toolbar input[type='checkbox']:after {
312 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
313 -webkit-mask-size: 352px 144px;
314 -webkit-mask-position: -128px -110px;
315 }
316
317 @media (-webkit-min-device-pixel-ratio: 1.5) {
318 .responsive-design-toolbar input[type='checkbox']:after {
319 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
320 }
321 } /* media */
322
323 .responsive-design-icon-resolution { 287 .responsive-design-icon-resolution {
324 -webkit-mask-position: 0 0; 288 -webkit-mask-position: 0 0;
325 } 289 }
326 290
327 .responsive-design-icon-dpr { 291 .responsive-design-icon-dpr {
328 -webkit-mask-position: -16px 0; 292 -webkit-mask-position: -16px 0;
329 } 293 }
330 294
331 .responsive-design-icon-swap { 295 .responsive-design-icon-swap {
332 background-color: rgb(255, 170, 0); 296 background-color: rgb(255, 170, 0);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 pointer-events: none; 487 pointer-events: none;
524 } 488 }
525 489
526 .media-inspector-label-right { 490 .media-inspector-label-right {
527 right: 4px; 491 right: 4px;
528 } 492 }
529 493
530 .media-inspector-label-left { 494 .media-inspector-label-left {
531 left: 4px; 495 left: 4px;
532 } 496 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698