2014-07-05 12:30:00 -07:00
|
|
|
QPushButton
|
|
|
|
{
|
2014-07-05 15:03:53 -07:00
|
|
|
background: none;
|
2014-11-15 21:30:20 +01:00
|
|
|
background-color: @themeMediumDark;
|
2014-07-05 12:30:00 -07:00
|
|
|
border: none;
|
|
|
|
border-radius: 6px;
|
2014-07-05 15:41:39 -07:00
|
|
|
width: 20px;
|
|
|
|
height: 40px;
|
2014-07-05 12:30:00 -07:00
|
|
|
}
|
2014-07-05 13:54:27 -07:00
|
|
|
|
2017-05-01 11:05:41 +02:00
|
|
|
QPushButton:default
|
2014-07-05 15:03:53 -07:00
|
|
|
{
|
2018-08-10 13:19:34 +08:00
|
|
|
background-color: @themeMediumDark;
|
2014-07-05 15:03:53 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/*Bugged in Qt, but it's probably better to leave enabled so that users can tell it's clickable*/
|
2017-05-01 11:05:41 +02:00
|
|
|
QPushButton:hover
|
2014-07-05 12:30:00 -07:00
|
|
|
{
|
2018-08-10 13:19:34 +08:00
|
|
|
background-color: @themeMedium;
|
2014-07-05 15:03:53 -07:00
|
|
|
}
|
2014-07-05 12:30:00 -07:00
|
|
|
|
|
|
|
QPushButton:pressed
|
|
|
|
{
|
2018-08-10 13:19:34 +08:00
|
|
|
background-color: @themeMediumDark;
|
2014-07-05 12:30:00 -07:00
|
|
|
}
|
|
|
|
|
2018-08-10 13:19:34 +08:00
|
|
|
QPushButton:focus
|
|
|
|
{
|
2014-07-05 12:30:00 -07:00
|
|
|
outline: none;
|
|
|
|
}
|
2014-07-05 15:03:53 -07:00
|
|
|
|
|
|
|
QPushButton::menu-indicator {image: none;}
|
|
|
|
|
2017-05-01 11:05:41 +02:00
|
|
|
QPushButton::menu-indicator:pressed, QPushButton::menu-indicator:open
|
2014-07-05 15:03:53 -07:00
|
|
|
{
|
2018-09-10 14:19:22 +03:00
|
|
|
image: url("@getImagePath(statusButton/menu_indicator.svg)");
|
2018-08-10 13:19:34 +08:00
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: bottom center;
|
|
|
|
position: relative;
|
2014-07-05 15:03:53 -07:00
|
|
|
bottom: 2px;
|
|
|
|
}
|