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

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

Issue 1432393003: Revert of 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 side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/audio_player/elements/volume_controller.css
diff --git a/ui/file_manager/audio_player/elements/volume_controller.css b/ui/file_manager/audio_player/elements/volume_controller.css
new file mode 100644
index 0000000000000000000000000000000000000000..4e6880ee6ca08b467cd0e4da7ad3cd692b89d4e2
--- /dev/null
+++ b/ui/file_manager/audio_player/elements/volume_controller.css
@@ -0,0 +1,52 @@
+/* Copyright 2014 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+:host {
+ background: white;
+ display: block;
+ height: 100px;
+ position: relative;
+ width: 32px;
+}
+
+#background {
+ height: 100%; /* will be overridden by javascript */
+ left: 0;
+ position: absolute;
+ top: 0;
+ width: 100%;
+}
+
+input[type='range'] {
+ -webkit-appearance: none !important;
+ -webkit-transform: rotate(90deg);
+ background: transparent;
+ outline: none;
+ position: absolute;
+ z-index: 1;
+}
+
+input[type='range']::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ -webkit-transform: rotate(-90deg);
+ background-image: -webkit-image-set(
+ url(../assets/100/player_timeline_handler.png) 1x,
+ url(../assets/200/player_timeline_handler.png) 2x);
+ background-position: 50% 50%;
+ background-repeat: no-repeat no-repeat;
+ height: 24px;
+ position: relative;
+ width: 24px;
+}
+
+#bar {
+ background: #000;
+ bottom: 14px;
+ position: absolute;
+ top: 14px;
+}
+
+#bar .filled {
+ background: #aaa;
+}
« no previous file with comments | « ui/file_manager/audio_player/elements/control_panel.js ('k') | ui/file_manager/audio_player/elements/volume_controller.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698