« get me outta code hell

Per-track volume sliders - interactive-bgm - Browser extension that adds background music based on the site you're browsing
about summary refs log tree commit diff
path: root/extension/popup/style.css
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-03-24 12:04:38 -0300
committerFlorrie <towerofnix@gmail.com>2019-03-24 12:04:38 -0300
commita417c5b800e329c897fc75f31c81935530c7d4fa (patch)
treeba7b16a7adec9ddca6181c886690b0167f39f547 /extension/popup/style.css
parentb143ccbcec4770a9aafbca60538d57883a15e555 (diff)
Per-track volume sliders
Diffstat (limited to 'extension/popup/style.css')
-rw-r--r--extension/popup/style.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/extension/popup/style.css b/extension/popup/style.css
index 00e0f14..6338f93 100644
--- a/extension/popup/style.css
+++ b/extension/popup/style.css
@@ -155,6 +155,38 @@ h1 {
     float: right;
 }
 
+#track-list li.track label {
+    display: block;
+    white-space: nowrap;
+}
+
+.track .top-row {
+    display: flex;
+    flex-direction: row;
+    justify-content: space-between;
+}
+
+input[type=range] {
+    -webkit-appearance: none;
+    background: transparent;
+    vertical-align: bottom;
+}
+
+input[type=range]::-moz-range-thumb, input[type=range]::-webkit-slider-thumb {
+    -webkit-appearance: none;
+    width: 8px;
+    height: 8px;
+    border-radius: 3px;
+    background: #777777;
+    border: 1px solid black;
+}
+
+input[type=range]::-moz-range-track, ::-webkit-slider-runnable-track {
+    width: 100%;
+    height: 4px;
+    background: #AAA;
+}
+
 #track-list li.action {
     text-align: center;
 }