From e6d49798cebaa78541f5dec741c61090eb5f78c0 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 1 Jul 2018 20:47:51 +0200 Subject: [PATCH] Qt: adjust custom stylesheets to work with the new toolbar slider --- bin/GuiConfigs/Darker Style by TheMitoSan.qss | 14 ++++++++++++-- bin/GuiConfigs/Kuroi (Dark) by Ani.qss | 13 ++++++++++++- bin/GuiConfigs/ModernBlue Theme by TheMitoSan.qss | 14 ++++++++++++-- bin/GuiConfigs/YoRHa by Ani.qss | 10 ++++++++-- 4 files changed, 44 insertions(+), 7 deletions(-) diff --git a/bin/GuiConfigs/Darker Style by TheMitoSan.qss b/bin/GuiConfigs/Darker Style by TheMitoSan.qss index 9a8cf97f99..4b983d5032 100644 --- a/bin/GuiConfigs/Darker Style by TheMitoSan.qss +++ b/bin/GuiConfigs/Darker Style by TheMitoSan.qss @@ -198,7 +198,7 @@ QLabel#l_controller { } /* Game Grid Font */ -QLabel#gamegrid_font { +QTableWidget#game_grid { font-weight: 600; font-size: 8pt; font-family: Lucida Grande; @@ -210,6 +210,17 @@ QWidget#sizeSliderContainer { background: transparent; } +QSlider#sizeSlider::groove:horizontal { + border: 0em solid transparent; + height: .3em; + background: #fff; +} + +QSlider#sizeSlider::handle:horizontal { + width: 1em; + margin: -.8em 0; +} + /* Debug UI Settings buttons */ QLabel#color_button { background: transparent; @@ -224,7 +235,6 @@ QLineEdit#mw_searchbar { /* Uniform colors in Toolbar */ QToolButton { background: transparent; - color: transparent; border-radius: 0.125em; padding: 0.09375em; margin-left: 0.125em; diff --git a/bin/GuiConfigs/Kuroi (Dark) by Ani.qss b/bin/GuiConfigs/Kuroi (Dark) by Ani.qss index d8958f598d..aa6df984dc 100644 --- a/bin/GuiConfigs/Kuroi (Dark) by Ani.qss +++ b/bin/GuiConfigs/Kuroi (Dark) by Ani.qss @@ -250,12 +250,23 @@ QWidget#trophy_notification_frame { } /* Game Grid Font */ -QLabel#gamegrid_font { +QTableWidget#game_grid { font-weight: 600; font-size: 8pt; font-family: Lucida Grande; } +/* Set Toolbar Slider Size */ +QSlider#sizeSlider::groove:horizontal { + border: 0em solid transparent; + height: .3em; + background: #fff; +} +QSlider#sizeSlider::handle:horizontal { + width: 1em; + margin: -.8em 0; +} + /* Set Theme UI colors */ QLabel#gamelist_icon_background_color { color: transparent; diff --git a/bin/GuiConfigs/ModernBlue Theme by TheMitoSan.qss b/bin/GuiConfigs/ModernBlue Theme by TheMitoSan.qss index 5e5267599f..a33f375c19 100644 --- a/bin/GuiConfigs/ModernBlue Theme by TheMitoSan.qss +++ b/bin/GuiConfigs/ModernBlue Theme by TheMitoSan.qss @@ -195,7 +195,7 @@ QLabel#l_controller { } /* Game Grid Font */ -QLabel#gamegrid_font { +QTableWidget#game_grid { font-weight: 600; font-size: 8pt; font-family: Lucida Grande; @@ -207,6 +207,17 @@ QWidget#sizeSliderContainer { background: transparent; } +QSlider#sizeSlider::groove:horizontal { + border: 0em solid transparent; + height: .3em; + background: #fff; +} + +QSlider#sizeSlider::handle:horizontal { + width: 1em; + margin: -.8em 0; +} + /* Debug UI Settings buttons */ QLabel#color_button { background: transparent; @@ -221,7 +232,6 @@ QLineEdit#mw_searchbar { /* Uniform colors in Toolbar */ QToolButton { background: transparent; - color: transparent; border-radius: 0.125em; padding: 0.09375em; margin-left: 0.125em; diff --git a/bin/GuiConfigs/YoRHa by Ani.qss b/bin/GuiConfigs/YoRHa by Ani.qss index 1826eec068..97c0d4899c 100644 --- a/bin/GuiConfigs/YoRHa by Ani.qss +++ b/bin/GuiConfigs/YoRHa by Ani.qss @@ -249,11 +249,17 @@ QSlider::groove:horizontal { border: 0.10em solid #4d4940; border-radius: 0.10em; } + QSlider::handle:horizontal { background: #4d4940; width: 0.50em; } +QSlider#sizeSlider::groove:horizontal { + border: 0.10em solid #4d4940; + border-radius: 0.10em; + height: 1.5em; +} /* Log and Debugger borders */ QTextEdit { @@ -333,7 +339,7 @@ QLabel#l_controller { /* Game Grid Font */ -QLabel#gamegrid_font { +QTableWidget#game_grid { font-weight: 600; color: #4d4940; text-transform: uppercase; @@ -357,7 +363,7 @@ QLineEdit#mw_searchbar { /* Uniform colors in Toolbar */ QToolButton { background: transparent; - color: transparent; + text-transform: uppercase; } QToolButton::hover { background-color: #b3ac98;