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

Unified Diff: ui/file_manager/audio_player/elements/repeat_button.css

Issue 2495213002: Make the repeat button accessible by keyboard. (Closed)
Patch Set: Eliminate changes that are not directly related to the issue. Created 4 years, 1 month 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 | « no previous file | ui/file_manager/audio_player/elements/repeat_button.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/audio_player/elements/repeat_button.css
diff --git a/ui/file_manager/audio_player/elements/repeat_button.css b/ui/file_manager/audio_player/elements/repeat_button.css
index 7003cffacae2cd0edecabfdbab3fbc61276e7d77..0e9772ef4e7b7520b697fa7d13604de7c37311e5 100644
--- a/ui/file_manager/audio_player/elements/repeat_button.css
+++ b/ui/file_manager/audio_player/elements/repeat_button.css
@@ -34,3 +34,8 @@ files-toggle-ripple {
top: 2px;
width: 28px;
}
+
+:host(.keyboard-focus) {
+ /* We use box-shadow rather than outline to make it rounded. */
+ box-shadow: 0 0 0 1px rgba(66, 133, 244, 0.5);
+}
« no previous file with comments | « no previous file | ui/file_manager/audio_player/elements/repeat_button.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698