From 20f03423f3892ea85ee58ff32c56f34f6c288188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Fri, 22 Jan 2021 11:45:43 +0100 Subject: [PATCH] Make speed scale look consistent with volume scale on fullscreen --- css/styles.css | 11 ++++++++--- src/controls.js | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/css/styles.css b/css/styles.css index 90409dd8..4bc7940b 100644 --- a/css/styles.css +++ b/css/styles.css @@ -26,9 +26,6 @@ radio { .osd list { background: none; } -.osd list row { - -gtk-icon-shadow: none; -} .osd .playercontrols { -gtk-icon-size: 24px; @@ -164,6 +161,14 @@ radio { background: @error_color; } +/* Elapsed Popover */ +.osd list row { + -gtk-icon-shadow: none; +} +.osd .speedscale trough highlight { + min-height: 6px; +} + /* Floating Mode */ .floatingwindow { border-radius: 12px; diff --git a/src/controls.js b/src/controls.js index 18c344f3..c2292499 100644 --- a/src/controls.js +++ b/src/controls.js @@ -327,6 +327,7 @@ class ClapperControls extends Gtk.Box hexpand: true, valign: Gtk.Align.CENTER, }); + speedScale.add_css_class('speedscale'); this.speedAdjustment = speedScale.get_adjustment(); this.speedAdjustment.set_lower(0.01);