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

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

Issue 1175253002: DevTools: move filter bar into the style toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments addressed. 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
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 display: inline-block; 158 display: inline-block;
159 } 159 }
160 160
161 .styles-section { 161 .styles-section {
162 padding: 2px 2px 4px 4px; 162 padding: 2px 2px 4px 4px;
163 min-height: 18px; 163 min-height: 18px;
164 white-space: nowrap; 164 white-space: nowrap;
165 background-origin: padding; 165 background-origin: padding;
166 background-clip: padding; 166 background-clip: padding;
167 -webkit-user-select: text; 167 -webkit-user-select: text;
168 border-bottom: 1px solid #ccc; 168 border-bottom: 1px solid #eee;
169 position: relative; 169 position: relative;
170 } 170 }
171 171
172 .styles-section:last-child { 172 .styles-section:last-child {
173 border-bottom: none; 173 border-bottom: none;
174 } 174 }
175 175
176 .styles-pane .sidebar-separator { 176 .styles-pane .sidebar-separator {
177 border-top: 0 none; 177 border-top: 0 none;
178 } 178 }
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 animation-direction: normal; 443 animation-direction: normal;
444 } 444 }
445 445
446 .styles-sidebar-toolbar-pane-container { 446 .styles-sidebar-toolbar-pane-container {
447 position: relative; 447 position: relative;
448 max-height: 60px; 448 max-height: 60px;
449 overflow: hidden; 449 overflow: hidden;
450 } 450 }
451 451
452 .styles-element-state-pane { 452 .styles-element-state-pane {
453 background-color: #eee; 453 background-color: #f3f3f3;
454 border-bottom: 1px solid rgb(189, 189, 189); 454 border-bottom: 1px solid rgb(189, 189, 189);
455 margin-top: 0; 455 margin-top: 0;
456 } 456 }
457 457
458 458
459 .styles-element-state-pane > div { 459 .styles-element-state-pane > div {
460 margin: 6px 4px 2px; 460 margin: 6px 4px 2px;
461 } 461 }
462 462
463 .styles-element-state-pane > table { 463 .styles-element-state-pane > table {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 position: relative; 546 position: relative;
547 } 547 }
548 548
549 .sidebar-pane .style-panes-wrapper { 549 .sidebar-pane .style-panes-wrapper {
550 transform: translateZ(0); 550 transform: translateZ(0);
551 flex: 1; 551 flex: 1;
552 overflow-y: auto; 552 overflow-y: auto;
553 position: relative; 553 position: relative;
554 } 554 }
555 555
556 .sidebar-pane-filter-box { 556 .styles-sidebar-pane-toolbar {
557 display: flex; 557 border-bottom: 1px solid #eee;
558 border-top: 1px solid rgb(191, 191, 191);
559 flex-basis: 19px;
560 flex-shrink: 0;
561 } 558 }
562 559
563 .sidebar-pane-filter-box > input { 560 .styles-sidebar-pane-filter-box {
561 flex: auto;
562 display: flex;
563 }
564
565 .styles-sidebar-pane-filter-box > input {
564 outline: none !important; 566 outline: none !important;
565 border: none; 567 border: none;
566 width: 100%; 568 width: 100%;
567 margin: 0 4px;
568 background: transparent; 569 background: transparent;
570 margin-left: 4px;
569 } 571 }
570 572
571 .styles-filter-engaged { 573 .styles-filter-engaged {
572 background-color: rgba(255, 255, 0, 0.5); 574 background-color: rgba(255, 255, 0, 0.5);
573 } 575 }
574 576
575 .sidebar-pane.composite .platform-fonts { 577 .sidebar-pane.composite .platform-fonts {
576 padding: 1ex;
577 -webkit-user-select: text; 578 -webkit-user-select: text;
578 } 579 }
579 580
580 .sidebar-pane.composite .platform-fonts .sidebar-separator { 581 .sidebar-pane.composite .platform-fonts .sidebar-separator {
581 border-top: none; 582 height: 24px;
583 background-color: #f1f1f1;
584 border-color: #ddd;
585 display: flex;
586 align-items: center;
582 } 587 }
583 588
584 .sidebar-pane.composite .platform-fonts .stats-section { 589 .sidebar-pane.composite .platform-fonts .stats-section {
585 margin-bottom: 5px; 590 margin: 5px 0;
586 } 591 }
587 592
588 .sidebar-pane.composite .platform-fonts .font-stats-item { 593 .sidebar-pane.composite .platform-fonts .font-stats-item {
589 padding-left: 1em; 594 padding-left: 1em;
590 } 595 }
591 596
592 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { 597 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter {
593 margin: 0 1ex 0 1ex; 598 margin: 0 1ex 0 1ex;
594 } 599 }
595 600
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 704
700 .global-animations-toolbar { 705 .global-animations-toolbar {
701 position: absolute; 706 position: absolute;
702 top: 0; 707 top: 0;
703 width: 100%; 708 width: 100%;
704 background-color: #eee; 709 background-color: #eee;
705 border-bottom: 1px solid rgb(163, 163, 163); 710 border-bottom: 1px solid rgb(163, 163, 163);
706 padding-left: 10px; 711 padding-left: 10px;
707 } 712 }
708 713
709 label.checkbox-with-label {
710 -webkit-user-select: none;
711 }
712
713 .events-pane .section:not(:first-of-type) { 714 .events-pane .section:not(:first-of-type) {
714 border-top: 1px solid rgb(231, 231, 231); 715 border-top: 1px solid rgb(231, 231, 231);
715 } 716 }
716 717
717 .events-pane .section { 718 .events-pane .section {
718 margin: 0; 719 margin: 0;
719 } 720 }
720 721
721 .style-properties li.editing { 722 .style-properties li.editing {
722 margin-left: 10px; 723 margin-left: 10px;
723 text-overflow: clip; 724 text-overflow: clip;
724 } 725 }
725 726
726 .style-properties li.editing-sub-part { 727 .style-properties li.editing-sub-part {
727 padding: 3px 6px 8px 18px; 728 padding: 3px 6px 8px 18px;
728 margin: -1px -6px -8px -6px; 729 margin: -1px -6px -8px -6px;
729 text-overflow: clip; 730 text-overflow: clip;
730 } 731 }
731 732
732 .properties-widget-section { 733 .properties-widget-section {
733 padding: 2px 0px 2px 5px; 734 padding: 2px 0px 2px 5px;
734 } 735 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/computedStyleSidebarPane.css ('k') | Source/devtools/front_end/sidebarPane.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698