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

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

Issue 208653013: DevTools: Re-land r169860 with UI fixed (empty boxes and missing Styles toolbar buttons) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/devtools/front_end/StylesSidebarPane.js ('k') | Source/devtools/front_end/sidebarPane.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elementsPanel.css
diff --git a/Source/devtools/front_end/elementsPanel.css b/Source/devtools/front_end/elementsPanel.css
index a7415d9777f0393c5ccdaa7815825a513f1b020f..2ef61a5943c8a2ba2ca3e404d92b61c34b524750 100644
--- a/Source/devtools/front_end/elementsPanel.css
+++ b/Source/devtools/front_end/elementsPanel.css
@@ -219,6 +219,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;
@@ -430,10 +439,6 @@
color: inherit;
}
-.styles-section.computed-style .properties {
- margin-top: 18px;
-}
-
.styles-section.computed-style .properties .disabled {
text-decoration: none;
opacity: 0.5;
@@ -449,7 +454,6 @@
}
.styles-element-state-pane {
- background-color: rgb(240, 240, 240);
overflow: hidden;
margin-top: -56px;
padding-top: 18px;
@@ -579,12 +583,38 @@
.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 {
+ margin: 1px 1px 1px 2px;
+}
+
.sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar {
margin-top: 4px;
margin-bottom: -4px;
@@ -621,8 +651,8 @@
}
.styles-section.computed-style > .header > .sidebar-pane-subtitle {
- top: 4px;
- left: 8px;
+ line-height: 17px;
+ margin: 2px;
-webkit-user-select: none;
}
« no previous file with comments | « Source/devtools/front_end/StylesSidebarPane.js ('k') | Source/devtools/front_end/sidebarPane.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698