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

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

Issue 2174863003: DevTools: traverse widget hierarchy to reveal views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 4 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 width: 11px; 210 width: 11px;
211 height: 10px; 211 height: 10px;
212 margin: 0 7px 0 0; 212 margin: 0 7px 0 0;
213 top: 1px; 213 top: 1px;
214 left: -36px; /* outdent to compensate for the top-level property indent */ 214 left: -36px; /* outdent to compensate for the top-level property indent */
215 -webkit-user-select: none; 215 -webkit-user-select: none;
216 cursor: default; 216 cursor: default;
217 z-index: 1; 217 z-index: 1;
218 } 218 }
219 219
220 .styles-section .sidebar-pane-closing-brace { 220 .sidebar-pane-closing-brace {
221 clear: both; 221 clear: both;
222 } 222 }
223 223
224 .styles-section-title { 224 .styles-section-title {
225 background-origin: padding; 225 background-origin: padding;
226 background-clip: padding; 226 background-clip: padding;
227 word-wrap: break-word; 227 word-wrap: break-word;
228 white-space: normal; 228 white-space: normal;
229 } 229 }
230 230
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 551
552 .image-preview-container img { 552 .image-preview-container img {
553 margin: 2px auto; 553 margin: 2px auto;
554 max-width: 100px; 554 max-width: 100px;
555 max-height: 100px; 555 max-height: 100px;
556 background-image: url(Images/checker.png); 556 background-image: url(Images/checker.png);
557 -webkit-user-select: text; 557 -webkit-user-select: text;
558 -webkit-user-drag: auto; 558 -webkit-user-drag: auto;
559 } 559 }
560 560
561 .sidebar-pane.composite {
562 position: absolute;
563 }
564
565 .metrics { 561 .metrics {
566 border-bottom: 1px solid #ccc; 562 border-bottom: 1px solid #ccc;
567 } 563 }
568 564
569 .-theme-with-dark-background .metrics { 565 .-theme-with-dark-background .metrics {
570 color: #222; 566 color: #222;
571 } 567 }
572 568
573 .-theme-with-dark-background .metrics > div:hover { 569 .-theme-with-dark-background .metrics > div:hover {
574 color: #ccc; 570 color: #ccc;
575 } 571 }
576 572
577 .metrics-and-styles .metrics { 573 .metrics-and-styles .metrics {
578 border-top: 1px solid #ccc; 574 border-top: 1px solid #ccc;
579 border-bottom: none; 575 border-bottom: none;
580 } 576 }
581 577
582 .sidebar-pane.composite .metrics { 578 .metrics {
583 min-height: 190px; 579 min-height: 190px;
584 display: flex; 580 display: flex;
585 flex-direction: column; 581 flex-direction: column;
586 -webkit-align-items: center; 582 -webkit-align-items: center;
587 -webkit-justify-content: center; 583 -webkit-justify-content: center;
588 } 584 }
589 585
590 .sidebar-pane .metrics-and-styles, 586 .metrics-and-styles,
591 .sidebar-pane .metrics-and-computed { 587 .metrics-and-computed {
592 display: flex !important; 588 display: flex !important;
593 flex-direction: column !important; 589 flex-direction: column !important;
594 position: relative; 590 position: relative;
595 } 591 }
596 592
597 .sidebar-pane .style-panes-wrapper {
598 transform: translateZ(0);
599 flex: 1;
600 overflow-y: auto;
601 position: relative;
602 }
603
604 .styles-sidebar-pane-toolbar-container { 593 .styles-sidebar-pane-toolbar-container {
605 flex-shrink: 0; 594 flex-shrink: 0;
606 overflow: hidden; 595 overflow: hidden;
607 } 596 }
608 597
609 .styles-sidebar-pane-toolbar { 598 .styles-sidebar-pane-toolbar {
610 border-bottom: 1px solid #eee; 599 border-bottom: 1px solid #eee;
611 flex-shrink: 0; 600 flex-shrink: 0;
612 } 601 }
613 602
614 .styles-sidebar-pane-filter-box { 603 .styles-sidebar-pane-filter-box {
615 flex: auto; 604 flex: auto;
616 display: flex; 605 display: flex;
617 } 606 }
618 607
619 .styles-sidebar-pane-filter-box > input { 608 .styles-sidebar-pane-filter-box > input {
620 outline: none !important; 609 outline: none !important;
621 border: none; 610 border: none;
622 width: 100%; 611 width: 100%;
623 background: transparent; 612 background: transparent;
624 margin-left: 4px; 613 margin-left: 4px;
625 } 614 }
626 615
627 .sidebar-pane.composite .metrics-and-styles .metrics { 616 .sidebar-pane.composite .metrics-and-styles .metrics {
628 border-bottom: none; 617 border-bottom: none;
629 } 618 }
630 619
631 .sidebar-pane > .split-widget {
632 position: absolute;
633 top: 0;
634 bottom: 0;
635 left: 0;
636 right: 0;
637 }
638
639 .styles-section.styles-panel-hovered:not(.read-only) .style-properties .webkit-c ss-property:hover, 620 .styles-section.styles-panel-hovered:not(.read-only) .style-properties .webkit-c ss-property:hover,
640 .styles-section.styles-panel-hovered:not(.read-only) .style-properties .value:ho ver, 621 .styles-section.styles-panel-hovered:not(.read-only) .style-properties .value:ho ver,
641 .styles-section.styles-panel-hovered:not(.read-only) span.simple-selector:hover, 622 .styles-section.styles-panel-hovered:not(.read-only) span.simple-selector:hover,
642 .styles-section.styles-panel-hovered:not(.read-only) .media-text :hover{ 623 .styles-section.styles-panel-hovered:not(.read-only) .media-text :hover{
643 text-decoration: underline; 624 text-decoration: underline;
644 cursor: default; 625 cursor: default;
645 } 626 }
646 627
647 .styles-clipboard-only { 628 .styles-clipboard-only {
648 display: inline-block; 629 display: inline-block;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 position: absolute; 757 position: absolute;
777 right: 0; 758 right: 0;
778 bottom: 0; 759 bottom: 0;
779 visibility: hidden; 760 visibility: hidden;
780 background-color: rgba(255, 255, 255, 0.9); 761 background-color: rgba(255, 255, 255, 0.9);
781 } 762 }
782 763
783 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl y):hover .sidebar-pane-section-toolbar { 764 .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-onl y):hover .sidebar-pane-section-toolbar {
784 visibility: visible; 765 visibility: visible;
785 } 766 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698