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

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

Issue 2924873004: DevTools: migrate MetricsSidebarPane to shadow (Closed)
Patch Set: rebase Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css b/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
index 76b0b62c40a840c65830e6a0f5e09169152d506b..fc3e484a82fefbee85c3925fc902bbaa8672aebb 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
+++ b/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
@@ -56,101 +56,6 @@
width: 100%;
}
-.metrics {
- padding: 8px;
- font-size: 10px;
- text-align: center;
- white-space: nowrap;
-}
-
-.metrics .label {
- position: absolute;
- font-size: 10px;
- margin-left: 3px;
- padding-left: 2px;
- padding-right: 2px;
-}
-
-.metrics .position {
- border: 1px rgb(66%, 66%, 66%) dotted;
- background-color: white;
- display: inline-block;
- text-align: center;
- padding: 3px;
- margin: 3px;
-}
-
-.metrics .margin {
- border: 1px dashed;
- background-color: white;
- display: inline-block;
- text-align: center;
- vertical-align: middle;
- padding: 3px;
- margin: 3px;
-}
-
-.metrics .border {
- border: 1px black solid;
- background-color: white;
- display: inline-block;
- text-align: center;
- vertical-align: middle;
- padding: 3px;
- margin: 3px;
-}
-
-.metrics .padding {
- border: 1px grey dashed;
- background-color: white;
- display: inline-block;
- text-align: center;
- vertical-align: middle;
- padding: 3px;
- margin: 3px;
-}
-
-.metrics .content {
- position: static;
- border: 1px gray solid;
- background-color: white;
- display: inline-block;
- text-align: center;
- vertical-align: middle;
- padding: 3px;
- margin: 3px;
- min-width: 80px;
- overflow: visible;
-}
-
-.metrics .content span {
- display: inline-block;
-}
-
-.metrics .editing {
- position: relative;
- z-index: 100;
- cursor: text;
-}
-
-.metrics .left {
- display: inline-block;
- vertical-align: middle;
-}
-
-.metrics .right {
- display: inline-block;
- vertical-align: middle;
-}
-
-.metrics .top {
- display: inline-block;
-}
-
-.metrics .bottom {
- display: inline-block;
-}
-
.styles-section {
min-height: 18px;
white-space: nowrap;
@@ -176,6 +81,10 @@
overflow: auto;
}
+.style-panes-wrapper > div:not(:first-child) {
+ border-top: 1px solid #ccc;
+}
+
.styles-section.read-only {
background-color: #eee;
}
@@ -382,31 +291,6 @@
cursor: text;
}
-.metrics {
- border-bottom: 1px solid #ccc;
-}
-
-.-theme-with-dark-background .metrics {
- color: #222;
-}
-
-.-theme-with-dark-background .metrics > div:hover {
- color: #ccc;
-}
-
-.metrics-and-styles .metrics {
- border-top: 1px solid #ccc;
- border-bottom: none;
-}
-
-.metrics {
- min-height: 190px;
- display: flex;
- flex-direction: column;
- -webkit-align-items: center;
- -webkit-justify-content: center;
-}
-
.metrics-and-styles,
.metrics-and-computed {
display: flex !important;
@@ -437,10 +321,6 @@
margin-left: 4px;
}
-.sidebar-pane.composite .metrics-and-styles .metrics {
- border-bottom: none;
-}
-
.styles-section.styles-panel-hovered:not(.read-only) span.simple-selector:hover,
.styles-section.styles-panel-hovered:not(.read-only) .media-text :hover{
text-decoration: underline;

Powered by Google App Engine
This is Rietveld 408576698