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

80 lines
1.7 KiB
CSS
Raw Normal View History

2014-11-03 07:26:23 +08:00
QLineEdit
{
background: none;
2014-11-16 04:30:20 +08:00
background-color: @themeMedium;
2014-11-03 17:12:21 +08:00
color: white;
border: 0px;
2014-11-03 18:03:50 +08:00
border-radius: 6px;
2014-11-03 07:26:23 +08:00
}
#statusPanel
2014-10-04 16:24:20 +08:00
{
2014-11-16 01:29:41 +08:00
background-color: @themeDark;
2014-10-04 16:24:20 +08:00
}
#statusPanel > #statusHead > #nameLabel {
font: @extraBig;
color: @white;
}
#statusPanel > #statusHead > #statusLabel {
font: @medium;
2014-10-04 16:24:20 +08:00
color: @lightGrey;
}
#statusPanel > #statusHead > #statusButton
{
background: none;
2014-11-16 04:30:20 +08:00
background-color: @themeMedium;
2014-10-04 16:24:20 +08:00
border: none;
border-radius: 6px;
width: 20px;
height: 40px;
}
#statusPanel > #statusHead > #statusButton[status="online"]
{
image: url(":ui/statusButton/dot_online.png") center center;
}
#statusPanel > #statusHead > #statusButton[status="away"]
{
image: url(":ui/statusButton/dot_idle.png") center center;
}
#statusPanel > #statusHead > #statusButton[status="busy"]
{
image: url(":ui/statusButton/dot_busy.png") center center;
}
#statusPanel > #statusHead > #statusButton[status="offline"]
{
image: url(":ui/statusButton/dot_away.png") center center;
}
/*Bugged in Qt, but it's probably better to leave enabled so that users can tell it's clickable*/
#statusPanel > #statusHead > #statusButton:hover
{
2014-11-16 04:30:20 +08:00
background-color: @themeLight;
2014-10-04 16:24:20 +08:00
}
#statusPanel > #statusHead > #statusButton:pressed
{
2014-11-16 04:30:20 +08:00
background-color: @themeMedium;
2014-10-04 16:24:20 +08:00
}
#statusPanel > #statusHead > #statusButton:focus {
outline: none;
}
#statusPanel > #statusHead > #statusButton::menu-indicator {image: none;}
#statusPanel > #statusHead > #statusButton::menu-indicator:pressed, #statusPanel > #statusHead > #statusButton::menu-indicator:open
{
image: url(":ui/statusButton/menu_indicator.png");
subcontrol-origin: padding;
subcontrol-position: bottom center;
position: relative;
bottom: 2px;
}