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

Side by Side Diff: Source/devtools/front_end/elementsPanel.css

Issue 15962010: Indent media queries in CSS files for the DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Don't indent media queries but leave a comment explaining where the closing brace for media queries… Created 7 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
« no previous file with comments | « Source/devtools/front_end/dataGrid.css ('k') | Source/devtools/front_end/inspector.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 opacity: 0.55; 347 opacity: 0.55;
348 width: 8px; 348 width: 8px;
349 height: 10px; 349 height: 10px;
350 display: inline-block; 350 display: inline-block;
351 } 351 }
352 352
353 @media (-webkit-min-device-pixel-ratio: 1.5) { 353 @media (-webkit-min-device-pixel-ratio: 1.5) {
354 .styles-section.matched-styles .properties li.parent .expand-element { 354 .styles-section.matched-styles .properties li.parent .expand-element {
355 background-image: url(Images/statusbarButtonGlyphs2x.png); 355 background-image: url(Images/statusbarButtonGlyphs2x.png);
356 } 356 }
357 } 357 } /* media* /
apavlov 2013/05/30 11:18:01 This line is wrong, which results in ALL the trail
358 358
359 .styles-section.matched-styles .properties li.parent .expand-element { 359 .styles-section.matched-styles .properties li.parent .expand-element {
360 background-position: -4px -96px; 360 background-position: -4px -96px;
361 } 361 }
362 362
363 .styles-section.matched-styles .properties li.parent.expanded .expand-element { 363 .styles-section.matched-styles .properties li.parent.expanded .expand-element {
364 background-position: -20px -96px; 364 background-position: -20px -96px;
365 } 365 }
366 366
367 .styles-section .properties li .info { 367 .styles-section .properties li .info {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 float: left; 498 float: left;
499 width: 8px; 499 width: 8px;
500 margin-right: 4px; 500 margin-right: 4px;
501 margin-top: 2px; 501 margin-top: 2px;
502 } 502 }
503 503
504 @media (-webkit-min-device-pixel-ratio: 1.5) { 504 @media (-webkit-min-device-pixel-ratio: 1.5) {
505 .event-bars .event-bar .header::before { 505 .event-bars .event-bar .header::before {
506 background-image: url(Images/statusbarButtonGlyphs2x.png); 506 background-image: url(Images/statusbarButtonGlyphs2x.png);
507 } 507 }
508 } 508 } /* media */
509 509
510 .event-bars .event-bar .header::before { 510 .event-bars .event-bar .header::before {
511 background-position: -4px -96px; 511 background-position: -4px -96px;
512 } 512 }
513 513
514 .event-bars .event-bar.expanded .header::before { 514 .event-bars .event-bar.expanded .header::before {
515 background-position: -20px -96px; 515 background-position: -20px -96px;
516 } 516 }
517 517
518 .image-preview-container { 518 .image-preview-container {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 .panel.elements .sidebar-pane-toolbar > select > hr { 595 .panel.elements .sidebar-pane-toolbar > select > hr {
596 color: black; 596 color: black;
597 } 597 }
598 598
599 .styles-section:not(.read-only) .properties .webkit-css-property.styles-panel-ho vered, 599 .styles-section:not(.read-only) .properties .webkit-css-property.styles-panel-ho vered,
600 .styles-section:not(.read-only) .properties .value .styles-panel-hovered, 600 .styles-section:not(.read-only) .properties .value .styles-panel-hovered,
601 .styles-section:not(.read-only) .properties .value.styles-panel-hovered { 601 .styles-section:not(.read-only) .properties .value.styles-panel-hovered {
602 text-decoration: underline; 602 text-decoration: underline;
603 cursor: default; 603 cursor: default;
604 } 604 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/dataGrid.css ('k') | Source/devtools/front_end/inspector.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698