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

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

Issue 2327983002: [DevTools] Migrate StylesSidebarPane to TreeOutlineInShadow. (Closed)
Patch Set: filtering, tests Created 4 years, 3 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 34751a80a48bfdd3e469aec7e87481f92fe4c020..7bc5a9c32e6b10246b457f07d809e1805cbc7ac9 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
+++ b/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
@@ -179,44 +179,16 @@
background-color: #eee;
}
-.styles-section .style-properties li.not-parsed-ok {
- margin-left: 0;
-}
-
.styles-filter-engaged,
-.styles-section .style-properties li.filter-match,
.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 .style-properties li.filter-match,
.-theme-with-dark-background .styles-section .simple-selector.filter-match {
background-color: hsla(133, 100%, 30%, 0.5);
}
-
-.styles-section .style-properties li.overloaded.filter-match {
- background-color: rgba(255, 255, 0, 0.25);
-}
-
-.-theme-with-dark-background .styles-section .style-properties li.overloaded.filter-match {
- background-color: hsla(133, 100%, 30%, 0.25);
-}
-
-.styles-section .style-properties li.not-parsed-ok .exclamation-mark {
- display: inline-block;
- position: relative;
- width: 11px;
- height: 10px;
- margin: 0 7px 0 0;
- top: 1px;
- left: -36px; /* outdent to compensate for the top-level property indent */
- -webkit-user-select: none;
- cursor: default;
- z-index: 1;
-}
-
.sidebar-pane-closing-brace {
clear: both;
}
@@ -288,143 +260,6 @@
padding-left: 0;
}
-.no-affect .style-properties li {
- opacity: 0.5;
-}
-
-.no-affect .style-properties li.editing {
- opacity: 1.0;
-}
-
-.styles-section .style-properties li {
- margin-left: 12px;
- padding-left: 22px;
- white-space: normal;
- text-overflow: ellipsis;
- overflow: hidden;
- cursor: auto;
-}
-
-.styles-section .style-properties li .webkit-css-property {
- margin-left: -22px; /* outdent the first line of longhand properties (in an expanded shorthand) to compensate for the "padding-left" shift in .styles-section .style-properties li */
-}
-
-.styles-section .style-properties > li {
- padding-left: 38px;
- clear: both;
- min-height: 14px;
-}
-
-.styles-section .style-properties > li .webkit-css-property {
- margin-left: -38px; /* outdent the first line of the top-level properties to compensate for the "padding-left" shift in .styles-section .style-properties > li */
-}
-
-.styles-section .style-properties > li.child-editing {
- padding-left: 8px;
-}
-
-.styles-section .style-properties > li.child-editing .webkit-css-property {
- margin-left: 0;
-}
-
-.styles-section.matched-styles .style-properties li {
- margin-left: 0 !important;
-}
-
-.styles-section .style-properties li.child-editing {
- word-wrap: break-word !important;
- white-space: normal !important;
- padding-left: 0;
-}
-
-.styles-section .style-properties ol {
- display: none;
- margin: 0;
- -webkit-padding-start: 12px;
- list-style: none;
-}
-
-.styles-section .style-properties ol.expanded {
- display: block;
-}
-
-.styles-section.matched-styles .style-properties li.parent .expand-element {
- -webkit-user-select: none;
- -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
- -webkit-mask-size: 352px 168px;
- margin-right: 2px;
- margin-left: -6px;
- background-color: #777;
- width: 8px;
- height: 10px;
- display: inline-block;
-}
-
-@media (-webkit-min-device-pixel-ratio: 1.1) {
-.styles-section.matched-styles .style-properties li.parent .expand-element {
- -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
-}
-} /* media */
-
-.styles-section.matched-styles .style-properties li.parent .expand-element {
- -webkit-mask-position: -4px -96px;
-}
-
-.styles-section.matched-styles .style-properties li.parent.expanded .expand-element {
- -webkit-mask-position: -20px -96px;
-}
-
-.styles-section .style-properties li .info {
- padding-top: 4px;
- padding-bottom: 3px;
-}
-
-.styles-section.matched-styles:not(.read-only):hover .style-properties .enabled-button {
- visibility: visible;
-}
-
-.styles-section.matched-styles:not(.read-only) .style-properties li.disabled .enabled-button {
- visibility: visible;
-}
-
-.styles-section .style-properties .enabled-button {
- visibility: hidden;
- float: left;
- font-size: 10px;
- margin: 0;
- vertical-align: top;
- position: relative;
- z-index: 1;
- width: 18px;
- left: -40px; /* original -2px + (-38px) to compensate for the first line outdent */
- top: 1px;
- height: 13px;
-}
-
-.styles-section.matched-styles .style-properties ol.expanded {
- margin-left: 16px;
-}
-
-.styles-section .style-properties .overloaded:not(.has-ignorable-error),
-.styles-section .style-properties .inactive,
-.styles-section .style-properties .disabled,
-.styles-section .style-properties .not-parsed-ok:not(.has-ignorable-error) {
- text-decoration: line-through;
-}
-
-.styles-section .style-properties .has-ignorable-error .webkit-css-property {
- color: inherit;
-}
-
-.styles-section .style-properties .implicit,
-.styles-section .style-properties .inherited {
- opacity: 0.5;
-}
-
-.styles-section .style-properties .has-ignorable-error {
- color: gray;
-}
-
.styles-element-state-pane {
overflow: hidden;
height: 66px;
@@ -617,30 +452,12 @@
border-bottom: none;
}
-.styles-section.styles-panel-hovered:not(.read-only) .style-properties .webkit-css-property:hover,
-.styles-section.styles-panel-hovered:not(.read-only) .style-properties .value:hover,
.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;
}
-.styles-clipboard-only {
- display: inline-block;
- width: 0;
- opacity: 0;
- pointer-events: none;
- white-space: pre;
-}
-
-li.child-editing .styles-clipboard-only {
- display: none;
-}
-
-li.editing .enabled-button {
- display: none !important;
-}
-
.sidebar-separator {
background-color: #ddd;
padding: 0 5px;
@@ -701,17 +518,6 @@ li.editing .enabled-button {
border-bottom: 1px solid #eee;
}
-.style-properties li.editing {
- margin-left: 10px;
- text-overflow: clip;
-}
-
-.style-properties li.editing-sub-part {
- padding: 3px 6px 8px 18px;
- margin: -1px -6px -8px -6px;
- text-overflow: clip;
-}
-
.properties-widget-section {
padding: 2px 0px 2px 5px;
flex: none;

Powered by Google App Engine
This is Rietveld 408576698