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

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

Issue 2482063002: Make the repeat button accessible by keyboard. (Closed)
Patch Set: 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..82856ae4f6c1c4cfaec35b684bb83daeda37500b 100644
--- a/ui/file_manager/audio_player/elements/repeat_button.css
+++ b/ui/file_manager/audio_player/elements/repeat_button.css
@@ -34,3 +34,9 @@ files-toggle-ripple {
top: 2px;
width: 28px;
}
+
+:host(.keyboard-focus) {
+ /* We use box-shadow rather than outline to make it rounded. */
+ /* TODO(yamaguchi): Share the style config with other buttons in the app. */
oka 2016/11/08 06:18:50 Can't you use files-icon-button to construct repea
yamaguchi 2016/11/08 12:15:39 I haven't come up with simple solution by that app
+ 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