Make speed scale look consistent with volume scale on fullscreen

This commit is contained in:
Rafał Dzięgiel
2021-01-22 11:45:43 +01:00
parent d8c6c61f1b
commit 20f03423f3
2 changed files with 9 additions and 3 deletions

View File

@@ -26,9 +26,6 @@ radio {
.osd list { .osd list {
background: none; background: none;
} }
.osd list row {
-gtk-icon-shadow: none;
}
.osd .playercontrols { .osd .playercontrols {
-gtk-icon-size: 24px; -gtk-icon-size: 24px;
@@ -164,6 +161,14 @@ radio {
background: @error_color; background: @error_color;
} }
/* Elapsed Popover */
.osd list row {
-gtk-icon-shadow: none;
}
.osd .speedscale trough highlight {
min-height: 6px;
}
/* Floating Mode */ /* Floating Mode */
.floatingwindow { .floatingwindow {
border-radius: 12px; border-radius: 12px;

1
src/controls.js vendored
View File

@@ -327,6 +327,7 @@ class ClapperControls extends Gtk.Box
hexpand: true, hexpand: true,
valign: Gtk.Align.CENTER, valign: Gtk.Align.CENTER,
}); });
speedScale.add_css_class('speedscale');
this.speedAdjustment = speedScale.get_adjustment(); this.speedAdjustment = speedScale.get_adjustment();
this.speedAdjustment.set_lower(0.01); this.speedAdjustment.set_lower(0.01);