2014-07-06 03:30:00 +08:00
|
|
|
QPushButton
|
|
|
|
{
|
2014-07-06 06:03:53 +08:00
|
|
|
background: none;
|
2014-11-16 04:30:20 +08:00
|
|
|
background-color: @themeMediumDark;
|
2014-07-06 03:30:00 +08:00
|
|
|
border: none;
|
|
|
|
border-radius: 6px;
|
2014-07-06 06:41:39 +08:00
|
|
|
width: 20px;
|
|
|
|
height: 40px;
|
2014-07-06 03:30:00 +08:00
|
|
|
}
|
2014-07-06 04:54:27 +08:00
|
|
|
|
2014-07-06 06:03:53 +08:00
|
|
|
QPushButton#online
|
|
|
|
{
|
|
|
|
image: url(":ui/statusButton/dot_online.png") center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#away
|
|
|
|
{
|
|
|
|
image: url(":ui/statusButton/dot_idle.png") center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#busy
|
|
|
|
{
|
|
|
|
image: url(":ui/statusButton/dot_busy.png") center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#offline
|
|
|
|
{
|
|
|
|
image: url(":ui/statusButton/dot_away.png") center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:default
|
|
|
|
{
|
2014-11-16 04:30:20 +08:00
|
|
|
background-color: @themeMediumDark;
|
2014-07-06 06:03:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*Bugged in Qt, but it's probably better to leave enabled so that users can tell it's clickable*/
|
2014-07-06 04:54:27 +08:00
|
|
|
QPushButton:hover
|
2014-07-06 03:30:00 +08:00
|
|
|
{
|
2014-11-16 04:30:20 +08:00
|
|
|
background-color: @themeMedium;
|
2014-07-06 06:03:53 +08:00
|
|
|
}
|
2014-07-06 03:30:00 +08:00
|
|
|
|
|
|
|
QPushButton:pressed
|
|
|
|
{
|
2014-11-16 04:30:20 +08:00
|
|
|
background-color: @themeMediumDark;
|
2014-07-06 03:30:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2014-07-06 06:03:53 +08:00
|
|
|
|
|
|
|
QPushButton::menu-indicator {image: none;}
|
|
|
|
|
|
|
|
QPushButton::menu-indicator:pressed, QPushButton::menu-indicator:open
|
|
|
|
{
|
|
|
|
image: url(":ui/statusButton/menu_indicator.png");
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: bottom center;
|
|
|
|
position: relative;
|
|
|
|
bottom: 2px;
|
|
|
|
}
|