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

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

Issue 1599603002: [DevTools] Device Mode toolbar updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f452d71cc43171231074d9032932e880d998ff6d..efc1ede9cda9366569f7d215ccfa6afbc5104494 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/toolbar.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/toolbar.css
@@ -57,6 +57,7 @@
display: inline-block;
pointer-events: none;
margin: auto 0;
+ flex: none;
}
@media (-webkit-min-device-pixel-ratio: 1.5) {
@@ -80,8 +81,16 @@
color: #5a5a5a;
}
+.toolbar-has-dropdown {
+ justify-content: space-between;
+}
+
.toolbar-has-dropdown .toolbar-text {
- margin-right: 1px;
+ margin: 0 4px 0 0;
+ text-overflow: ellipsis;
+ flex: auto;
+ overflow: hidden;
+ text-align: right;
}
.toolbar-has-glyph .toolbar-text {
@@ -92,18 +101,10 @@
font-weight: bold;
}
-.toolbar-button:not(.toolbar-has-glyph).hover {
+.toolbar-button:not(.toolbar-has-glyph):not(.toolbar-has-dropdown):not(.menu-toolbar-item).hover {
background-color: #f3f3f3;
}
-.toolbar-dimmed .toolbar-text {
- color: #999;
-}
-
-.toolbar-dimmed .toolbar-dropdown-arrow {
- background-color: #999;
-}
-
.toolbar-glyph {
-webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
-webkit-mask-size: 352px 168px;
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698