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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/toolbar.css

Issue 2842843003: DevTools: Display product information in ConsoleContextSelector (Closed)
Patch Set: cleanup Created 3 years, 7 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/ui/toolbar.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/toolbar.css b/third_party/WebKit/Source/devtools/front_end/ui/toolbar.css
index 3958872b979170397979fb8c2ef00d34f4f5da9f..819613dcd2d6c39799d93cadc6d0fb05099a2858 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/toolbar.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/toolbar.css
@@ -13,6 +13,7 @@
position: relative;
white-space: nowrap;
height: 26px;
+ contain: strict;
overflow: hidden;
z-index: 12;
display: flex;
@@ -36,6 +37,7 @@
.toolbar-shadow.vertical {
flex-direction: column;
height: auto;
+ contain: none;
align-items: flex-start;
}
@@ -210,6 +212,20 @@ select.toolbar-item {
margin-bottom: 2px;
}
+.console-context {
+ height: 26px;
+ text-align: left;
+}
+
+.console-context[data-keyboard-focus="true"]:focus::before {
+ content: "";
+ position: absolute;
+ top:2px;
+ left:2px;
+ right:2px;
+ bottom:2px;
+ background: rgba(0, 0, 0, 0.08);
+}
select.toolbar-item[data-keyboard-focus="true"]:focus {
background: rgba(0, 0, 0, 0.08);
border-radius: 2px;
@@ -296,6 +312,7 @@ select.toolbar-item[data-keyboard-focus="true"]:focus > * {
.toolbar-shadow.floating {
flex-direction: column;
height: auto;
+ contain: none;
einbinder 2017/05/05 22:58:00 This dramatically speeds up layout when changing t
background-color: white;
border: 1px solid #ccc;
margin-top: -1px;
@@ -303,8 +320,6 @@ select.toolbar-item[data-keyboard-focus="true"]:focus > * {
left: -2px;
}
-span.toolbar-select-container.toolbar-item.warning {
+.console-context.warning {
background: #ffd7d7;
- padding: 0 5px 0 0;
- margin-right: 1px;
}

Powered by Google App Engine
This is Rietveld 408576698