1
0
Fork 0
mirror of synced 2024-06-28 11:11:15 +12:00

RareStyle: Fix QGroupBox title for Linux and Windows.

This commit is contained in:
Stelios Tsampas 2021-11-07 16:33:27 +02:00 committed by Dummerle
parent 4eae77ffff
commit 1fbddb2611
No known key found for this signature in database
GPG key ID: AB68CC59CA39F2F1

View file

@ -1,14 +1,16 @@
/* /*
*/ */
* { background-color: #202225; } * {
* { color: #eeeeee; } color: #eeeeee;
* { border-color: #483d8b; } border-color: #483d8b;
background-color: #202225;
}
*:disabled, *:disabled,
*::drop-down:disabled { *::drop-down:disabled {
color: #43474d; color: #43474d;
border-color: #43474d; border-color: #43474d;
background-color: #202225; background-color: transparent;
} }
QLabel { QLabel {
@ -392,18 +394,35 @@ QRadioButton::indicator:checked:disabled {
QGroupBox, QGroupBox,
QGroupBox#group, QGroupBox#group,
QGroupBox#settings_widget { QGroupBox#settings_widget {
font-weight: bold;
margin-top: 1ex;
/* margin-left: 0.5em; /* Offset to the left */
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-radius: 4px; border-radius: 4px;
font-size: 11px; padding-top: 3ex;
font-weight: bold;
margin-top: 3ex;
padding: 1px;
} }
QGroupBox#game_widget_icon { QGroupBox#game_widget_icon {
margin: 2px;
border-width: 0px; border-width: 0px;
padding: 0px; padding: 0px;
margin: 2px; }
QGroupBox::title {
/* background: qlineargradient(x1: -2, y1: 0, x2: 1, y2: 1,
stop: 0 #483d8b, stop: 1 #202225); /* stop: 0 #28224D */
subcontrol-origin: border;
subcontrol-position: top left; /* position at the top left */
border-width: 1px;
border-style: solid;
border-top-left-radius: 4px;
border-bottom-right-radius: 4px;
border-bottom-color: #483d8b;
border-right-color: #483d8b;
padding: 1px;
}
QGroupBox::title:disabled {
border-bottom-color: #43474d;
border-right-color: #43474d;
} }
QSizeGrip { QSizeGrip {