From 6b04b6572fd7bfa9ed5d41100c895ac7db906ba2 Mon Sep 17 00:00:00 2001 From: Alexhuszagh Date: Wed, 26 Oct 2016 14:51:01 -0400 Subject: [PATCH] Added QCheckBox and QRadioButtons --- dark.qss | 14 +++++++------- light.qss | 18 ++++++------------ 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/dark.qss b/dark.qss index 469d23b..0f16445 100644 --- a/dark.qss +++ b/dark.qss @@ -37,11 +37,11 @@ QToolTip { - border: 1px solid #eff0f1; + border: 0.1ex solid #eff0f1; background-color: #31363b; alternate-background-color: #3b4045; color: #eff0f1; - padding: 5px; + padding: 0.5ex; opacity: 200; } @@ -71,10 +71,10 @@ QWidget:item:selected QCheckBox { - spacing: 5px; + spacing: 0.5ex; outline: none; color: #eff0f1; - margin-bottom: 2px; + margin-bottom: 0.2ex; opacity: 200; } @@ -85,7 +85,7 @@ QCheckBox:disabled QGroupBox::indicator { - margin-left: 2px; + margin-left: 0.2ex; } QCheckBox::indicator:unchecked, @@ -151,10 +151,10 @@ QGroupBox::indicator:unchecked:disabled QRadioButton { - spacing: 5px; + spacing: 0.5ex; outline: none; color: #eff0f1; - margin-bottom: 2px; + margin-bottom: 0.2ex; } QRadioButton:disabled diff --git a/light.qss b/light.qss index fd201ed..02e458f 100644 --- a/light.qss +++ b/light.qss @@ -39,7 +39,7 @@ QToolTip { background-color: black; color: white; - padding: 5px; + padding: 0.5ex; } QWidget @@ -68,10 +68,10 @@ QWidget:item:selected QCheckBox { - spacing: 5px; + spacing: 0.5ex; outline: none; color: #31363B; - margin-bottom: 2px; + margin-bottom: 0.2ex; opacity: 200; } @@ -80,15 +80,9 @@ QCheckBox:disabled color: #BAB9B8; } - -QCheckBox::indicator, -QGroupBox::indicator -{ - width: 18px; - height: 18px; -} QGroupBox::indicator { + margin-left: 0.2ex; margin-left: 2px; } @@ -162,10 +156,10 @@ QGroupBox::indicator:unchecked:disabled QRadioButton { - spacing: 5px; + spacing: 0.5ex; outline: none; color: #31363B; - margin-bottom: 2px; + margin-bottom: 0.2ex; } QRadioButton:disabled