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

Unified Diff: Source/devtools/front_end/sources/sourcesPanel.css

Issue 905743003: DevTools: Reimplemented WI.WatchExpressionsSidebarPane (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 5 years, 10 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: Source/devtools/front_end/sources/sourcesPanel.css
diff --git a/Source/devtools/front_end/sources/sourcesPanel.css b/Source/devtools/front_end/sources/sourcesPanel.css
index 177cf73ef5e596263cd177dc3de7292503232527..122928a475428297ccdf1bc07d1b1c46f57e97f4 100644
--- a/Source/devtools/front_end/sources/sourcesPanel.css
+++ b/Source/devtools/front_end/sources/sourcesPanel.css
@@ -136,68 +136,6 @@
pointer-events: none;
}
-ol.watch-expressions > li.hovered {
- background-color: #F0F0F0;
-}
-
-.sidebar-tabbed-pane .watch-expressions {
- margin-top: 17px;
-}
-
-.properties-tree.watch-expressions {
- padding-left: 0 !important;
-}
-
-.properties-tree.watch-expressions > li {
- padding-left: 4px;
-}
-
-.properties-tree.watch-expressions > li > .value {
- display: inline;
- position: static;
-}
-
-.properties-tree.watch-expressions > li:not(.parent) {
- margin-left: 1px;
- padding-left: 15px;
-}
-
-.properties-tree.watch-expressions > li.hovered {
- padding-right: 14px;
-}
-
-.watch-expressions > li.editing-sub-part .text-prompt {
- display: block;
- width: 100%;
- overflow: hidden;
-}
-
-.watch-expressions > li.editing-sub-part .value,
-.watch-expressions > li.editing-sub-part .separator {
- display: none;
-}
-
-li.editing-sub-part .delete-button {
- display: none !important;
-}
-
-.section .properties .delete-button {
- width: 10px;
- height: 10px;
- background-image: url(Images/deleteIcon.png);
- background-position: 0 0;
- background-color: transparent;
- background-repeat: no-repeat;
- border: 0 none transparent;
- position: absolute;
- right: 8px;
- display: none;
-}
-
-.section .properties li.hovered .delete-button {
- display: inline;
-}
-
.source-frame-breakpoint-condition {
z-index: 30;
padding: 4px;
@@ -249,3 +187,94 @@ li.editing-sub-part .delete-button {
border-top: 1px solid rgb(189, 189, 189);
background-color: rgb(255, 255, 194);
}
+
+.watch-expression .delete-button {
+ width: 10px;
+ height: 10px;
+ background-image: url(Images/deleteIcon.png);
+ background-position: 0 0;
+ background-color: transparent;
+ background-repeat: no-repeat;
+ border: 0 none transparent;
+ position: absolute;
+ right: 3px;
+ display: none;
+}
+
+.watch-expression .primitive-value:hover .delete-button,
+.watch-expression .section .header:hover .delete-button {
+ display: inline;
+}
+
+
+.watch-expressions {
+ margin-top: 14px;
+ overflow-x: hidden;
+ padding: 3px 6px 6px 0px;
+}
+
+.watch-expressions .dimmed {
+ opacity: 0.6;
+}
+
+.watch-expression-title {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ line-height: 12px;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ margin-left: 16px;
+}
+
+.watch-expression {
+ position: relative;
+}
+
+.watch-expression .section .header {
+ min-height: 14px;
+ padding-right: 0px;
+}
+
+.watch-expressions .name {
+ color: rgb(136, 19, 145);
+ flex: none;
+ white-space: nowrap;
+ text-overflow: ellipsis ;
+ overflow: hidden;
+}
+
+.watch-expressions .separator {
+ flex: none;
+}
+
+.watch-expressions .value {
+ white-space: nowrap;
+ display: inline;
+}
+
+.watch-expression .text-prompt {
+ text-overflow: clip;
+ overflow: hidden;
+ white-space: nowrap;
+ padding-left: 4px;
+ -webkit-user-select: text;
+}
+
+.watch-expression .section > .header::before {
+ margin-top: 0px;
+}
+
+.section .watch-expression-title {
+ margin-left: 11px;
+}
+
+.watch-expression-text-prompt-proxy {
+ margin-left: 12px;
+}
+
+.watch-expression .primitive-value:hover,
+.watch-expression .section .header:hover {
+ background-color: #F0F0F0;
+ padding-right: 14px;
+}
« no previous file with comments | « Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js ('k') | Source/devtools/front_end/ui/Section.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698