summaryrefslogtreecommitdiffstats
path: root/toolkit/components/reader/moz-slider.css
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/reader/moz-slider.css')
-rw-r--r--toolkit/components/reader/moz-slider.css43
1 files changed, 43 insertions, 0 deletions
diff --git a/toolkit/components/reader/moz-slider.css b/toolkit/components/reader/moz-slider.css
new file mode 100644
index 0000000000..5238bd02a3
--- /dev/null
+++ b/toolkit/components/reader/moz-slider.css
@@ -0,0 +1,43 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+.container {
+ display: flex;
+ align-items: center;
+ gap: var(--space-large);
+ margin-inline-start: var(--space-medium);
+}
+
+.slider-label {
+ display: inline-block;
+ margin-block-end: var(--space-medium);
+}
+
+.icon-container + .slider-container .slider-label {
+ margin-inline-start: calc(-2 * var(--space-xlarge));
+}
+
+.icon-container {
+ position: relative;
+ top: 6px;
+}
+
+.icon {
+ -moz-context-properties: fill;
+ fill: var(--popup-button-foreground);
+ height: 20px;
+ width: 20px;
+}
+
+.slider-container,
+input {
+ width: 100%;
+}
+
+datalist {
+ display: flex;
+ justify-content: space-between;
+ white-space: nowrap;
+ font-size: var(--font-size-small);
+}