mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Darkmode qtoolbuttons and checked state.
Generic qtoolbuttons can be much smaller than qpushbuttons.
This commit is contained in:
@ -172,12 +172,19 @@ QDockWidget {
|
|||||||
titlebar-normal-icon: url(:/dolphin_dark_win/dockwidget-undock.svg);
|
titlebar-normal-icon: url(:/dolphin_dark_win/dockwidget-undock.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
QPushButton, QToolButton {
|
QPushButton {
|
||||||
background-color: #303030;
|
background-color: #303030;
|
||||||
border: 1px solid #7e7e7e;
|
border: 1px solid #7e7e7e;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
min-width: 67px;
|
min-width: 67px;
|
||||||
}
|
}
|
||||||
|
QToolButton {
|
||||||
|
background-color: #303030;
|
||||||
|
border: 1px solid #7e7e7e;
|
||||||
|
padding: 2px;
|
||||||
|
min-width: 24px;
|
||||||
|
min-height: 16px;
|
||||||
|
}
|
||||||
QPushButton:hover, QToolButton:hover {
|
QPushButton:hover, QToolButton:hover {
|
||||||
background-color: #404040;
|
background-color: #404040;
|
||||||
}
|
}
|
||||||
@ -187,6 +194,9 @@ QPushButton:focus, QToolButton:focus {
|
|||||||
QPushButton:disabled, QToolButton:disabled {
|
QPushButton:disabled, QToolButton:disabled {
|
||||||
background-color: #505050;
|
background-color: #505050;
|
||||||
}
|
}
|
||||||
|
QPushButton:checked, QToolButton:checked {
|
||||||
|
background-color: #101010;
|
||||||
|
}
|
||||||
|
|
||||||
/* the dropdownarrow on the right of the button in menu popup mode */
|
/* the dropdownarrow on the right of the button in menu popup mode */
|
||||||
QToolButton[popupMode="1"] {
|
QToolButton[popupMode="1"] {
|
||||||
|
Reference in New Issue
Block a user