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

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

Issue 1425033006: AudioPlayer: Update volume controls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 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 /* Controls bar. */ 5 /* Controls bar. */
6 .controls { 6 .controls {
7 align-items: center; 7 align-items: center;
8 background-color: white; 8 background-color: white;
9 display: flex; 9 display: flex;
10 flex-direction: column; 10 flex-direction: column;
11 height: 96px; 11 height: 96px;
12 justify-content: center; 12 justify-content: center;
13 padding: 0; 13 padding: 0;
14 } 14 }
15 15
16 .controls .upper-controls, 16 :host([volume-slider-shown]) .controls {
17 .controls .lower-controls { 17 height: 144px;
18 }
19
20 .controls .control-row {
18 box-sizing: border-box; 21 box-sizing: border-box;
19 height: 48px; 22 height: 48px;
20 padding: 8px; 23 padding: 8px;
21 width: 100%; 24 width: 100%;
22 } 25 }
23 26
24 .audio-controls { 27 .audio-controls {
25 align-items: center; 28 align-items: center;
26 display: flex; 29 display: flex;
27 flex-direction: row; 30 flex-direction: row;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 99 }
97 100
98 .time-container > .time.disabled { 101 .time-container > .time.disabled {
99 opacity: 0; 102 opacity: 0;
100 } 103 }
101 104
102 .time-container > .time-spacer { 105 .time-container > .time-spacer {
103 opacity: 0; /* This class is intended to be used as invisible spacer. */ 106 opacity: 0; /* This class is intended to be used as invisible spacer. */
104 } 107 }
105 108
106 .time-controls > paper-slider { 109 paper-slider {
107 --paper-slider-active-color: rgb(66, 133, 244); 110 --paper-slider-active-color: rgb(66, 133, 244);
108 --paper-slider-knob-color: rgb(64, 138, 241); 111 --paper-slider-knob-color: rgb(64, 138, 241);
109 flex: auto; 112 flex: auto;
110 } 113 }
111 114
112 .media-button.disabled, 115 .media-button.disabled,
113 paper-slider.disabled { 116 paper-slider.disabled {
114 pointer-events: none; 117 pointer-events: none;
115 } 118 }
116 119
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 .time-controls > .time > .current { 234 .time-controls > .time > .current {
232 align-items: center; 235 align-items: center;
233 display: flex; 236 display: flex;
234 flex-direction: row; 237 flex-direction: row;
235 height: 100%; 238 height: 100%;
236 justify-content: flex-end; 239 justify-content: flex-end;
237 position: absolute; 240 position: absolute;
238 top: -1px; 241 top: -1px;
239 } 242 }
240 243
241 /* Volume controls: sound button and volume slider */ 244 .volume-controls {
242 245 align-items: center;
243 #volumeContainer { 246 background-color: rgb(235, 235, 235);
244 border: 1px solid #ddd; 247 display: flex;
245 border-radius: 2px; 248 flex-direction: row;
246 box-shadow: 0 2px 4px #777;
247 height: 110px;
248 position: fixed;
249 width: 32px;
250 } 249 }
251 250
252 #volumeContainer.default-hidden { 251 .volume-controls paper-slider {
253 visibility: hidden; 252 width: 100%;
254 } 253 }
OLDNEW
« no previous file with comments | « ui/file_manager/audio_player/elements/compiled_resources.gyp ('k') | ui/file_manager/audio_player/elements/control_panel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698