mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 20:25:58 +00:00
Darkmode qtoolbuttons and checked state.
Generic qtoolbuttons can be much smaller than qpushbuttons.
This commit is contained in:
parent
b2b2808d01
commit
3bd110a210
1 changed files with 11 additions and 1 deletions
|
@ -172,12 +172,19 @@ QDockWidget {
|
|||
titlebar-normal-icon: url(:/dolphin_dark_win/dockwidget-undock.svg);
|
||||
}
|
||||
|
||||
QPushButton, QToolButton {
|
||||
QPushButton {
|
||||
background-color: #303030;
|
||||
border: 1px solid #7e7e7e;
|
||||
padding: 2px;
|
||||
min-width: 67px;
|
||||
}
|
||||
QToolButton {
|
||||
background-color: #303030;
|
||||
border: 1px solid #7e7e7e;
|
||||
padding: 2px;
|
||||
min-width: 24px;
|
||||
min-height: 16px;
|
||||
}
|
||||
QPushButton:hover, QToolButton:hover {
|
||||
background-color: #404040;
|
||||
}
|
||||
|
@ -187,6 +194,9 @@ QPushButton:focus, QToolButton:focus {
|
|||
QPushButton:disabled, QToolButton:disabled {
|
||||
background-color: #505050;
|
||||
}
|
||||
QPushButton:checked, QToolButton:checked {
|
||||
background-color: #101010;
|
||||
}
|
||||
|
||||
/* the dropdownarrow on the right of the button in menu popup mode */
|
||||
QToolButton[popupMode="1"] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue