mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-05 10:58:28 -04:00
fix(ui): Make styling more consistent
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -69,8 +69,6 @@
|
|||||||
border-left: 2px solid %%ACCENT_COLOR%%;
|
border-left: 2px solid %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* All other styles remain the same... just paste this block at the top */
|
|
||||||
|
|
||||||
QWidget {
|
QWidget {
|
||||||
background-color: %%BACKGROUND_COLOR%%;
|
background-color: %%BACKGROUND_COLOR%%;
|
||||||
color: %%TEXT_COLOR%%;
|
color: %%TEXT_COLOR%%;
|
||||||
@@ -217,18 +215,31 @@
|
|||||||
selection-background-color: %%ACCENT_COLOR%%;
|
selection-background-color: %%ACCENT_COLOR%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton {
|
QPushButton, QToolButton {
|
||||||
background-color: %%ACCENT_COLOR%%;
|
background-color: transparent;
|
||||||
color: #ffffff;
|
color: %%TEXT_COLOR%%;
|
||||||
border: none;
|
border: 2px solid %%ACCENT_COLOR%%;
|
||||||
padding: 10px 20px;
|
padding: 5px 15px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton:hover {
|
QPushButton:hover, QToolButton:hover {
|
||||||
background-color: %%ACCENT_COLOR_HOVER%%;
|
color: %%ACCENT_COLOR_HOVER%%;
|
||||||
|
border-color: %%ACCENT_COLOR_HOVER%%;
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton:pressed, QToolButton:pressed {
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: %%ACCENT_COLOR_PRESSED%%;
|
||||||
|
border-color: %%ACCENT_COLOR_PRESSED%%;
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton:disabled, QToolButton:disabled {
|
||||||
|
background-color: %%TERTIARY_BG_COLOR%%;
|
||||||
|
border-color: %%TERTIARY_BG_COLOR%%;
|
||||||
|
color: %%DISABLED_TEXT_COLOR%%;
|
||||||
}
|
}
|
||||||
</string>
|
</string>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user