mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-23 01:56:08 -04:00
fix(ui): Adjust for consistency
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -235,46 +235,31 @@
|
|||||||
background-color: %%FOCUS_BG_COLOR%%;
|
background-color: %%FOCUS_BG_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 {
|
QPushButton:pressed, QToolButton:pressed {
|
||||||
background-color: %%ACCENT_COLOR_PRESSED%%;
|
|
||||||
}
|
|
||||||
|
|
||||||
QPushButton:disabled {
|
|
||||||
background-color: %%TERTIARY_BG_COLOR%%;
|
|
||||||
color: %%DISABLED_TEXT_COLOR%%;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolButton {
|
|
||||||
background-color: %%ACCENT_COLOR%%;
|
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
border: none;
|
|
||||||
padding: 8px 12px;
|
|
||||||
border-radius: 6px;
|
|
||||||
font-weight: bold;
|
|
||||||
min-width: 32px;
|
|
||||||
min-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolButton:hover {
|
|
||||||
background-color: %%ACCENT_COLOR_HOVER%%;
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolButton:pressed {
|
|
||||||
background-color: %%ACCENT_COLOR_PRESSED%%;
|
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%%;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLabel {
|
QLabel {
|
||||||
@@ -399,13 +384,13 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>318</width>
|
<width>318</width>
|
||||||
<height>836</height>
|
<height>786</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>0</width>
|
<width>0</width>
|
||||||
<height>836</height>
|
<height>786</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
|
|||||||
Reference in New Issue
Block a user