Chromium Code Reviews| 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; |
|
luoe
2017/06/06 21:25:48
Metrics shouldn't be controlling its borders. Ele
|
| -} |
| - |
| -.-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 { |
|
luoe
2017/06/06 21:25:49
This is merged with the rules on L59 and L385
|
| - 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 { |
|
luoe
2017/06/06 21:25:49
This rule is already covered by L399.
|
| - 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; |