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

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

Issue 2927573004: DevTools: migrate StylesSidebarPane to shadow (Closed)
Patch Set: with similarity 10 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 1c2778ee476f002022c068d26f045e7203803989..8586c576a3dec8e9ba40b9357668f015e00b69b7 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
+++ b/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
@@ -56,27 +56,6 @@
width: 100%;
}
-.styles-section {
- min-height: 18px;
- white-space: nowrap;
- -webkit-user-select: text;
- border-bottom: 1px solid #eee;
- position: relative;
- overflow: hidden;
-}
-
-.styles-section > div {
- padding: 2px 2px 4px 4px;
-}
-
-.styles-section:last-child {
- border-bottom: none;
-}
-
-.styles-pane .sidebar-separator {
- border-top: 0 none;
-}
-
.style-panes-wrapper {
overflow: auto;
}
@@ -85,119 +64,6 @@
border-top: 1px solid #ccc;
}
-.styles-section.read-only {
- background-color: #eee;
-}
-
-.styles-filter-engaged,
-.styles-section .simple-selector.filter-match {
- background-color: rgba(255, 255, 0, 0.5);
-}
-
-.-theme-with-dark-background .styles-filter-engaged,
-.-theme-with-dark-background .styles-section .simple-selector.filter-match {
- background-color: hsla(133, 100%, 30%, 0.5);
-}
-
-.sidebar-pane-closing-brace {
- clear: both;
-}
-
-.styles-section-title {
- background-origin: padding;
- background-clip: padding;
- word-wrap: break-word;
- white-space: normal;
-}
-
-.styles-section-title .media-list {
- color: #888;
-}
-
-.styles-section-title .media-list.media-matches .media.editable-media {
- color: #222;
-}
-
-.styles-section-title .media:not(.editing-media),
-.styles-section-title .media:not(.editing-media) .subtitle {
- overflow: hidden;
-}
-
-.styles-section-title .media .subtitle {
- float: right;
- color: rgb(85, 85, 85);
-}
-
-.styles-section-subtitle {
- color: rgb(85, 85, 85);
- float: right;
- margin-left: 5px;
- max-width: 100%;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- height: 15px;
- margin-bottom: -1px;
-}
-
-.styles-section .styles-section-subtitle .devtools-link {
- color: inherit;
-}
-
-.styles-section .selector {
- color: #888;
-}
-
-.styles-section .simple-selector.selector-matches, .styles-section.keyframe-key {
- color: #222;
-}
-
-.styles-section .devtools-link {
- user-select: none;
-}
-
-.styles-section .style-properties {
- margin: 0;
- padding: 2px 4px 0 0;
- list-style: none;
- clear: both;
- display: flex;
-}
-
-.styles-section.matched-styles .style-properties {
- padding-left: 0;
-}
-
-@keyframes styles-element-state-pane-slidein {
- from {
- margin-top: -60px;
- }
- to {
- margin-top: 0px;
- }
-}
-
-@keyframes styles-element-state-pane-slideout {
- from {
- margin-top: 0px;
- }
- to {
- margin-top: -60px;
- }
-}
-
-.styles-sidebar-toolbar-pane {
- position: relative;
- animation-duration: 0.1s;
- animation-direction: normal;
-}
-
-.styles-sidebar-toolbar-pane-container {
- position: relative;
- overflow: hidden;
- flex-shrink: 0;
-}
-
.styles-animations-controls-pane > * {
margin: 6px 4px;
}
@@ -229,10 +95,6 @@
width: 35px;
}
-.styles-selector {
- cursor: text;
-}
-
.metrics-and-styles,
.metrics-and-computed {
display: flex !important;
@@ -240,54 +102,6 @@
position: relative;
}
-.styles-sidebar-pane-toolbar-container {
- flex-shrink: 0;
- overflow: hidden;
-}
-
-.styles-sidebar-pane-toolbar {
- border-bottom: 1px solid #eee;
- flex-shrink: 0;
-}
-
-.styles-sidebar-pane-filter-box {
- flex: auto;
- display: flex;
-}
-
-.styles-sidebar-pane-filter-box > input {
- outline: none !important;
- border: none;
- width: 100%;
- background: transparent;
- margin-left: 4px;
-}
-
-.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;
- cursor: default;
-}
-
-.sidebar-separator {
- background-color: #ddd;
- padding: 0 5px;
- border-top: 1px solid #ccc;
- border-bottom: 1px solid #ccc;
- color: rgb(50, 50, 50);
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- line-height: 16px;
-}
-
-.sidebar-separator > span.monospace {
- background: rgb(255, 255, 255);
- padding: 0px 3px;
- border-radius: 2px;
- border: 1px solid #C1C1C1;
-}
-
.animation-section-body {
display: none;
}
@@ -334,18 +148,6 @@
flex: none;
}
-.sidebar-pane-section-toolbar {
- position: absolute;
- right: 0;
- bottom: 0;
- visibility: hidden;
- background-color: rgba(255, 255, 255, 0.9);
-}
-
-.styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-only):hover .sidebar-pane-section-toolbar {
- visibility: visible;
-}
-
.elements-tree-header {
height: 24px;
border-top: 1px solid #eee;

Powered by Google App Engine
This is Rietveld 408576698