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

120 lines
2.2 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;
border-radius: 4px;
}
QToolButton {
background: none;
background-color: @themeMedium;
color: white;
border-style: none;
border-radius: 4px;
}
QToolButton:pressed {
background-color: @themeMediumDark;
border-radius: 4px;
color: white;
}
QToolButton::menu-indicator {
image: none
}
QPushButton#green {
background: none;
background-color: #6bc260;
color: white;
border-style: none;
border-radius: 4px;
padding: 4px;
margin: 4px 8px;
}
QPushButton#green:hover
{
background-color: #79c76f;
}
QPushButton#green:pressed
{
background-color: #51b244;
}
/**
Uncomment this after https://github.com/tux3/qTox/pull/1640
is merged!
QComboBox:down-arrow {
image: url(ui/css/down_arrow.png);
}
**/
QListView {
background-color: @themeLight;
border-style: none;
border-radius: 4px;
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
{
background-color: @themeDark;
}
2014-10-04 16:24:20 +08:00
#statusPanel > #statusHead > #nameLabel {
background-color: @themeDark;
2014-10-04 16:24:20 +08:00
font: @extraBig;
color: @white;
}
#statusPanel > #statusHead > #statusLabel {
background-color: @themeDark;
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;
}
/*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;
}