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

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

Issue 2741863002: DevTools: Focus background in Toolbars (Closed)
Patch Set: clean up code Created 3 years, 9 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/checkboxTextLabel.css ('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 d1f9dda0ed61fa735b77240a019caa44413907ec..4664e20394efea8e36261ac58fb543c861da7ec7 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/toolbar.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/toolbar.css
@@ -204,6 +204,14 @@ select.toolbar-item {
padding: 0 13px 0 5px;
margin-right: -10px;
position: relative;
+ height: 22px;
+ margin-top: 2px;
+ margin-bottom: 2px;
+}
+
+select.toolbar-item[data-keyboard-focus="true"]:focus {
+ background: rgba(0, 0, 0, 0.08);
+ border-radius: 2px;
}
/* Input */
@@ -269,6 +277,17 @@ select.toolbar-item {
background-color: rgb(163, 163, 163);
}
+.toolbar-button[data-keyboard-focus="true"]:focus::after {
+ position: absolute;
+ top: 2px;
+ bottom: 2px;
+ left: 2px;
+ right: 2px;
+ background-color: rgba(0, 0, 0, 0.08);
+ border-radius: 2px;
+ content: "";
+}
+
.toolbar-shadow.floating {
flex-direction: column;
height: auto;
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/checkboxTextLabel.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698