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

Unified Diff: Source/devtools/front_end/elementsPanel.css

Issue 129793013: DevTools: Implement Styles search and Computed style filter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move Computed style filter to the bottom Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/elementsPanel.css
diff --git a/Source/devtools/front_end/elementsPanel.css b/Source/devtools/front_end/elementsPanel.css
index dc44865d02a279ade15ce712b2d076077ba84d0f..c112140bd03601c7bfc1119c0be322b32cbc8015 100644
--- a/Source/devtools/front_end/elementsPanel.css
+++ b/Source/devtools/front_end/elementsPanel.css
@@ -34,7 +34,7 @@
}
#elements-crumbs {
- flex: 0 0 19px;
+ flex: 0 0 23px;
background-color: rgb(236, 236, 236);
border-top: 1px solid #ccc;
}
@@ -216,6 +216,15 @@
margin-left: -6px;
}
+.styles-section .properties li.filter-match,
+.styles-section .simple-selector.filter-match {
+ background-color: rgba(255, 255, 0, 0.5);
+}
+
+.styles-section .properties li.overloaded.filter-match {
+ background-color: rgba(255, 255, 0, 0.25);
+}
+
.styles-section .properties li.not-parsed-ok .exclamation-mark {
display: inline-block;
position: relative;
@@ -427,10 +436,6 @@
color: inherit;
}
-.styles-section.computed-style .properties {
- margin-top: 18px;
-}
-
.styles-section.computed-style .properties .disabled {
text-decoration: none;
opacity: 0.5;
@@ -446,7 +451,6 @@
}
.styles-element-state-pane {
- background-color: rgb(240, 240, 240);
overflow: hidden;
margin-top: -56px;
padding-top: 18px;
@@ -577,12 +581,39 @@
.sidebar-pane.composite .metrics {
border-bottom: 1px solid rgb(64%, 64%, 64%);
height: 206px;
- display: -webkit-flex;
- -webkit-flex-direction: column;
+ display: flex;
+ flex-direction: column;
-webkit-align-items: center;
-webkit-justify-content: center;
}
+.sidebar-pane .metrics-and-styles,
+.sidebar-pane .metrics-and-computed {
+ display: flex !important;
+ flex-direction: column !important;
+ position: relative;
+}
+
+.sidebar-pane .style-panes-wrapper {
+ flex: 1;
+ overflow-y: auto;
+ position: relative;
+}
+
+.sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar,
+.sidebar-pane.composite .metrics-and-styles .sidebar-pane-toolbar {
+ position: absolute;
+}
+
+input.filter-box {
+ outline: none !important;
+}
+
+.sidebar-pane .filter-box-container > .filter-box {
+ flex: auto;
+ margin: 1px;
+}
+
.sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar {
margin-top: 4px;
margin-bottom: -4px;
@@ -619,8 +650,8 @@
}
.styles-section.computed-style > .header > .sidebar-pane-subtitle {
- top: 4px;
- left: 8px;
+ line-height: 17px;
+ margin: 2px;
-webkit-user-select: none;
}

Powered by Google App Engine
This is Rietveld 408576698