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

128 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;
}
2018-08-10 13:19:34 +08:00
QToolButton
{
background: none;
background-color: @themeMedium;
color: white;
border-style: none;
border-radius: 4px;
}
2018-08-10 13:19:34 +08:00
QToolButton:pressed
{
background-color: @themeMediumDark;
border-radius: 4px;
color: white;
}
2018-08-10 13:19:34 +08:00
QToolButton::menu-indicator
{
image: none
}
2018-08-10 13:19:34 +08:00
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/qTox/qTox/pull/1640
is merged!
2018-08-10 13:19:34 +08:00
QComboBox:down-arrow
{
image: url(ui/css/down_arrow.png);
}
**/
2018-08-10 13:19:34 +08:00
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;
}
2018-08-10 13:19:34 +08:00
#statusPanel > #statusHead > #nameLabel
{
background-color: @themeDark;
2014-10-04 16:24:20 +08:00
font: @extraBig;
color: @white;
}
2018-08-10 13:19:34 +08:00
#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-10-04 16:24:20 +08:00
{
2014-11-16 04:30:20 +08:00
background-color: @themeLight;
2014-10-04 16:24:20 +08:00
}
#statusPanel > #statusHead > #statusButton:pressed
2014-10-04 16:24:20 +08:00
{
2014-11-16 04:30:20 +08:00
background-color: @themeMedium;
2014-10-04 16:24:20 +08:00
}
2018-08-10 13:19:34 +08:00
#statusPanel > #statusHead > #statusButton:focus
{
2014-10-04 16:24:20 +08:00
outline: none;
}
#statusPanel > #statusHead > #statusButton::menu-indicator {image: none;}
#statusPanel > #statusHead > #statusButton::menu-indicator:pressed, #statusPanel > #statusHead > #statusButton::menu-indicator:open
2014-10-04 16:24:20 +08:00
{
image: url("@getImagePath(statusButton/menu_indicator.svg)");
2014-10-04 16:24:20 +08:00
subcontrol-origin: padding;
subcontrol-position: bottom center;
position: relative;
bottom: 2px;
}