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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css

Issue 1574213006: DevTools: beautified styles sidebar toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 4 years, 11 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 /* 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 .styles-section .style-properties .inherited { 416 .styles-section .style-properties .inherited {
417 opacity: 0.5; 417 opacity: 0.5;
418 } 418 }
419 419
420 .styles-section .style-properties .has-ignorable-error { 420 .styles-section .style-properties .has-ignorable-error {
421 color: gray; 421 color: gray;
422 } 422 }
423 423
424 .styles-element-state-pane { 424 .styles-element-state-pane {
425 overflow: hidden; 425 overflow: hidden;
426 height: 60px; 426 height: 66px;
427 padding-left: 2px; 427 padding-left: 2px;
428 border-bottom: 1px solid rgb(189, 189, 189); 428 border-bottom: 1px solid rgb(189, 189, 189);
429 } 429 }
430 430
431 @keyframes styles-element-state-pane-slidein { 431 @keyframes styles-element-state-pane-slidein {
432 from { 432 from {
433 margin-top: -60px; 433 margin-top: -60px;
434 } 434 }
435 to { 435 to {
436 margin-top: 0px; 436 margin-top: 0px;
(...skipping 23 matching lines...) Expand all
460 460
461 .styles-element-state-pane { 461 .styles-element-state-pane {
462 background-color: #f3f3f3; 462 background-color: #f3f3f3;
463 border-bottom: 1px solid rgb(189, 189, 189); 463 border-bottom: 1px solid rgb(189, 189, 189);
464 margin-top: 0; 464 margin-top: 0;
465 } 465 }
466 466
467 .styles-element-classes-pane { 467 .styles-element-classes-pane {
468 background-color: #f3f3f3; 468 background-color: #f3f3f3;
469 border-bottom: 1px solid rgb(189, 189, 189); 469 border-bottom: 1px solid rgb(189, 189, 189);
470 padding: 2px 4px; 470 padding: 6px 2px 2px;
471 } 471 }
472 472
473 .styles-element-classes-container { 473 .styles-element-classes-container {
474 display: flex; 474 display: flex;
475 flex-wrap: wrap; 475 flex-wrap: wrap;
476 justify-content: flex-start; 476 justify-content: flex-start;
477 } 477 }
478 478
479 .styles-element-classes-pane label { 479 .styles-element-classes-pane label {
480 margin-right: 15px; 480 margin-right: 15px;
481 } 481 }
482 482
483 .styles-element-classes-pane .title-container { 483 .styles-element-classes-pane .title-container {
484 padding-bottom: 2px; 484 padding-bottom: 2px;
485 } 485 }
486 486
487 .styles-element-classes-pane .new-class-input { 487 .styles-element-classes-pane .new-class-input {
488 padding-left: 3px; 488 padding-left: 3px;
489 width: 100%;
490 border: 1px solid #ddd; 489 border: 1px solid #ddd;
490 line-height: 15px;
491 margin-left: 3px;
492 width: calc(100% - 7px);
491 } 493 }
492 494
493 .styles-element-state-pane > div { 495 .styles-element-state-pane > div {
494 margin: 6px 4px 2px; 496 margin: 8px 4px 6px;
495 } 497 }
496 498
497 .styles-element-state-pane > table { 499 .styles-element-state-pane > table {
498 width: 100%; 500 width: 100%;
499 border-spacing: 0; 501 border-spacing: 0;
500 } 502 }
501 503
502 .styles-element-state-pane td { 504 .styles-element-state-pane td {
503 padding: 0; 505 padding: 0;
504 } 506 }
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 position: absolute; 792 position: absolute;
791 right: 0; 793 right: 0;
792 bottom: 0; 794 bottom: 0;
793 visibility: hidden; 795 visibility: hidden;
794 background-color: rgba(255, 255, 255, 0.9); 796 background-color: rgba(255, 255, 255, 0.9);
795 } 797 }
796 798
797 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl y):hover .sidebar-pane-section-toolbar { 799 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl y):hover .sidebar-pane-section-toolbar {
798 visibility: visible; 800 visibility: visible;
799 } 801 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698