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

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: 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 :host([volume-slider-shown]) .controls {
17 height: 144px;
18 }
19
16 .controls .upper-controls, 20 .controls .upper-controls,
17 .controls .lower-controls { 21 .controls .lower-controls {
18 box-sizing: border-box; 22 box-sizing: border-box;
19 height: 48px; 23 height: 48px;
20 padding: 8px; 24 padding: 8px;
21 width: 100%; 25 width: 100%;
22 } 26 }
23 27
24 .audio-controls { 28 .audio-controls {
25 align-items: center; 29 align-items: center;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 flex: none; 90 flex: none;
87 font-size: 12px; 91 font-size: 12px;
88 position: relative; 92 position: relative;
89 padding: 8px; 93 padding: 8px;
90 } 94 }
91 95
92 .time-controls > .time.disabled { 96 .time-controls > .time.disabled {
93 opacity: 0; 97 opacity: 0;
94 } 98 }
95 99
96 .time-controls > paper-slider { 100 paper-slider {
97 --paper-slider-knob-color: rgb(64, 138, 241); 101 --paper-slider-knob-color: rgb(64, 138, 241);
98 --paper-slider-active-color: rgb(66, 133, 244); 102 --paper-slider-active-color: rgb(66, 133, 244);
99 flex: auto; 103 flex: auto;
100 } 104 }
101 105
102 .media-button.disabled, 106 .media-button.disabled,
103 paper-slider.disabled { 107 paper-slider.disabled {
104 pointer-events: none; 108 pointer-events: none;
105 } 109 }
106 110
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 .time-controls > .time > .current { 225 .time-controls > .time > .current {
222 align-items: center; 226 align-items: center;
223 display: flex; 227 display: flex;
224 flex-direction: row; 228 flex-direction: row;
225 height: 100%; 229 height: 100%;
226 justify-content: flex-end; 230 justify-content: flex-end;
227 position: absolute; 231 position: absolute;
228 top: -1px; 232 top: -1px;
229 } 233 }
230 234
231 /* Volume controls: sound button and volume slider */ 235 .volume-controls {
232 236 align-items: center;
233 #volumeContainer { 237 background-color: rgb(235, 235, 235);
234 border: 1px solid #ddd; 238 display: flex;
235 border-radius: 2px; 239 flex-direction: row;
236 box-shadow: 0 2px 4px #777;
237 height: 110px;
238 position: fixed;
239 width: 32px;
240 } 240 }
241 241
242 #volumeContainer.default-hidden { 242 .volume-controls paper-slider {
243 visibility: hidden; 243 width: 100%;
244 } 244 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698