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

Side by Side Diff: ui/file_manager/audio_player/elements/repeat_button.css

Issue 2491213002: Make the repeat button accessible by keyboard. (Closed)
Patch Set: Fix duplicated ripple effect. 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 unified diff | Download patch
OLDNEW
1 /* Copyright 2016 The Chromium Authors. All rights reserved. 1 /* Copyright 2016 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 :host { 5 [repeat-mode=repeat-all], [repeat-mode=no-repeat] {
fukino 2016/11/10 09:28:32 files-icon-button { } will work.
6 border-radius: 2px;
7 cursor: pointer;
8 display: inline-block;
9 height: 32px;
10 outline: none;
11 position: relative;
12 width: 32px;
13 }
14
15 .repeat-all, .no-repeat {
16 background-image: -webkit-image-set( 6 background-image: -webkit-image-set(
17 url(../assets/100/player_button_repeat.png) 1x, 7 url(../assets/100/player_button_repeat.png) 1x,
18 url(../assets/200/player_button_repeat.png) 2x); 8 url(../assets/200/player_button_repeat.png) 2x);
19 } 9 }
20 10
21 .repeat-one { 11 [repeat-mode=repeat-one] {
fukino 2016/11/10 09:28:32 :host[repeat-mode='repeat-one'] files-icon-button
22 background-image: -webkit-image-set( 12 background-image: -webkit-image-set(
23 url(../assets/100/player_button_repeat_one.png) 1x, 13 url(../assets/100/player_button_repeat_one.png) 1x,
24 url(../assets/200/player_button_repeat_one.png) 2x); 14 url(../assets/200/player_button_repeat_one.png) 2x);
25 } 15 }
26
27 files-toggle-ripple {
28 background-position: center;
29 background-repeat: no-repeat;
30 height: 28px;
31 left: 2px;
32 pointer-events: none;
33 position: absolute;
34 top: 2px;
35 width: 28px;
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698