mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
fix/properties-light-dark
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -21,42 +21,42 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="templateStyleSheet" stdset="0">
|
<property name="templateStyleSheet" stdset="0">
|
||||||
<string>QDialog {
|
<string>QDialog {
|
||||||
background-color: #2b2b2b;
|
background-color: %%BACKGROUND_COLOR%%;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget {
|
QWidget {
|
||||||
background-color: #2b2b2b;
|
background-color: %%BACKGROUND_COLOR%%;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QStackedWidget {
|
QStackedWidget {
|
||||||
background-color: #2b2b2b;
|
background-color: %%BACKGROUND_COLOR%%;
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid %%SECONDARY_BG_COLOR%%;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollArea {
|
QScrollArea {
|
||||||
background-color: #2b2b2b;
|
background-color: %%BACKGROUND_COLOR%%;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollArea > QWidget > QWidget {
|
QScrollArea > QWidget > QWidget {
|
||||||
background-color: #2b2b2b;
|
background-color: %%BACKGROUND_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar:vertical {
|
QScrollBar:vertical {
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar::handle:vertical {
|
QScrollBar::handle:vertical {
|
||||||
background-color: #5d5d5d;
|
background-color: %%TERTIARY_BG_COLOR%%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
@@ -73,14 +73,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar:horizontal {
|
QScrollBar:horizontal {
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollBar::handle:horizontal {
|
QScrollBar::handle:horizontal {
|
||||||
background-color: #5d5d5d;
|
background-color: %%TERTIARY_BG_COLOR%%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
min-width: 30px;
|
min-width: 30px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
@@ -97,8 +97,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QPushButton#tabButton {
|
QPushButton#tabButton {
|
||||||
background-color: #383838;
|
background-color: %%BUTTON_BG_COLOR%%;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
padding: 8px 18px;
|
padding: 8px 18px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
border-top-left-radius: 8px;
|
border-top-left-radius: 8px;
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid %%SECONDARY_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton#tabButton:checked {
|
QPushButton#tabButton:checked {
|
||||||
@@ -118,8 +118,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QPushButton#tabButton:hover:!checked {
|
QPushButton#tabButton:hover:!checked {
|
||||||
background-color: #4d4d4d;
|
background-color: %%HOVER_BG_COLOR%%;
|
||||||
border-color: #5d5d5d;
|
border-color: %%TERTIARY_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton#tabButton:pressed {
|
QPushButton#tabButton:pressed {
|
||||||
@@ -128,24 +128,24 @@
|
|||||||
|
|
||||||
QGroupBox {
|
QGroupBox {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border: 1px solid #3d3d3d;
|
border: 1px solid %%SECONDARY_BG_COLOR%%;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
background-color: #2b2b2b;
|
background-color: %%BACKGROUND_COLOR%%;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox::title {
|
QGroupBox::title {
|
||||||
subcontrol-origin: margin;
|
subcontrol-origin: margin;
|
||||||
left: 12px;
|
left: 12px;
|
||||||
padding: 0 8px 0 8px;
|
padding: 0 8px 0 8px;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox {
|
QCheckBox {
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
spacing: 10px;
|
spacing: 10px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@@ -154,9 +154,9 @@
|
|||||||
QCheckBox::indicator {
|
QCheckBox::indicator {
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
border: 2px solid #5d5d5d;
|
border: 2px solid %%TERTIARY_BG_COLOR%%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked {
|
QCheckBox::indicator:checked {
|
||||||
@@ -169,11 +169,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QComboBox {
|
QComboBox {
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid %%TERTIARY_BG_COLOR%%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
min-width: 120px;
|
min-width: 120px;
|
||||||
min-height: 28px;
|
min-height: 28px;
|
||||||
selection-background-color: %%ACCENT_COLOR%%;
|
selection-background-color: %%ACCENT_COLOR%%;
|
||||||
@@ -181,12 +181,12 @@
|
|||||||
|
|
||||||
QComboBox:hover {
|
QComboBox:hover {
|
||||||
border-color: %%ACCENT_COLOR%%;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
background-color: #404040;
|
background-color: %%HOVER_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox:focus {
|
QComboBox:focus {
|
||||||
border-color: %%ACCENT_COLOR%%;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
background-color: #404040;
|
background-color: %%FOCUS_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox::drop-down {
|
QComboBox::drop-down {
|
||||||
@@ -198,10 +198,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView {
|
QComboBox QAbstractItemView {
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
border: 1px solid %%ACCENT_COLOR%%;
|
border: 1px solid %%ACCENT_COLOR%%;
|
||||||
selection-background-color: %%ACCENT_COLOR%%;
|
selection-background-color: %%ACCENT_COLOR%%;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -222,18 +222,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit {
|
QLineEdit {
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid %%TERTIARY_BG_COLOR%%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
selection-background-color: %%ACCENT_COLOR%%;
|
selection-background-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit:focus {
|
QLineEdit:focus {
|
||||||
border-color: %%ACCENT_COLOR%%;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
background-color: #404040;
|
background-color: %%FOCUS_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton {
|
QPushButton {
|
||||||
@@ -255,8 +255,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QPushButton:disabled {
|
QPushButton:disabled {
|
||||||
background-color: #5d5d5d;
|
background-color: %%TERTIARY_BG_COLOR%%;
|
||||||
color: #8d8d8d;
|
color: %%DISABLED_TEXT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton {
|
QToolButton {
|
||||||
@@ -279,16 +279,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QLabel {
|
QLabel {
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QListWidget {
|
QListWidget {
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid %%TERTIARY_BG_COLOR%%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -304,14 +304,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QListWidget::item:hover:!selected {
|
QListWidget::item:hover:!selected {
|
||||||
background-color: #4d4d4d;
|
background-color: %%HOVER_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSlider::groove:horizontal {
|
QSlider::groove:horizontal {
|
||||||
height: 8px;
|
height: 8px;
|
||||||
background: #3d3d3d;
|
background: %%SECONDARY_BG_COLOR%%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid %%TERTIARY_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSlider::sub-page:horizontal {
|
QSlider::sub-page:horizontal {
|
||||||
@@ -320,7 +320,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QSlider::add-page:horizontal {
|
QSlider::add-page:horizontal {
|
||||||
background: #3d3d3d;
|
background: %%SECONDARY_BG_COLOR%%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -337,21 +337,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
QSpinBox, QDoubleSpinBox {
|
QSpinBox, QDoubleSpinBox {
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
border: 1px solid #5d5d5d;
|
border: 1px solid %%TERTIARY_BG_COLOR%%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSpinBox:focus, QDoubleSpinBox:focus {
|
QSpinBox:focus, QDoubleSpinBox:focus {
|
||||||
border-color: %%ACCENT_COLOR%%;
|
border-color: %%ACCENT_COLOR%%;
|
||||||
background-color: #404040;
|
background-color: %%FOCUS_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton {
|
QRadioButton {
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
spacing: 8px;
|
spacing: 8px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
@@ -359,9 +359,9 @@
|
|||||||
QRadioButton::indicator {
|
QRadioButton::indicator {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
border: 2px solid #5d5d5d;
|
border: 2px solid %%TERTIARY_BG_COLOR%%;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background-color: #3d3d3d;
|
background-color: %%SECONDARY_BG_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator:checked {
|
QRadioButton::indicator:checked {
|
||||||
|
|||||||
Reference in New Issue
Block a user