From e2d6cc440db8197476754cb581951be6e31d1a04 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Wed, 7 Oct 2020 23:41:12 +0200 Subject: [PATCH] Tweak play/pause icons size --- clapper_src/controls.js | 1 + css/styles.css | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/clapper_src/controls.js b/clapper_src/controls.js index 240b442d..513dca2d 100644 --- a/clapper_src/controls.js +++ b/clapper_src/controls.js @@ -188,6 +188,7 @@ var Controls = GObject.registerClass({ 'media-playback-start-symbolic', 'media-playback-pause-symbolic' ); + this.togglePlayButton.add_css_class('playbackicon'); this.addButton(this.togglePlayButton); } diff --git a/css/styles.css b/css/styles.css index 6ab5421d..04b845c0 100644 --- a/css/styles.css +++ b/css/styles.css @@ -24,6 +24,12 @@ scale marks { min-width: 18px; min-height: 18px; } +.playbackicon { + -gtk-icon-size: 20px; +} +.osd .playbackicon { + -gtk-icon-size: 28px; +} .labelbutton { font-family: 'Cantarell', 'Noto Sans', sans-serif; font-variant-numeric: tabular-nums;