1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/ui/statusButton/statusButton.css

41 lines
763 B
CSS
Raw Normal View History

QPushButton
{
2014-07-06 06:03:53 +08:00
background: none;
2014-11-16 04:30:20 +08:00
background-color: @themeMediumDark;
border: none;
border-radius: 6px;
width: 20px;
height: 40px;
}
2014-07-06 04:54:27 +08:00
2014-07-06 06:03:53 +08:00
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-11-16 04:30:20 +08:00
background-color: @themeMedium;
2014-07-06 06:03:53 +08:00
}
QPushButton:pressed
{
2014-11-16 04:30:20 +08:00
background-color: @themeMediumDark;
}
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.svg");
2014-07-06 06:03:53 +08:00
subcontrol-origin: padding;
subcontrol-position: bottom center;
position: relative;
bottom: 2px;
}