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;
|
2015-05-17 00:27:57 +08:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2015-06-13 00:09:01 +08:00
|
|
|
QToolButton {
|
2015-05-17 00:27:57 +08:00
|
|
|
background: none;
|
|
|
|
background-color: @themeMedium;
|
|
|
|
color: white;
|
|
|
|
border-style: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2015-06-13 00:09:01 +08:00
|
|
|
QToolButton:pressed {
|
2015-05-29 04:14:41 +08:00
|
|
|
background-color: @themeMediumDark;
|
2015-05-17 00:27:57 +08:00
|
|
|
border-radius: 4px;
|
2015-06-17 20:40:14 +08:00
|
|
|
color: white;
|
2015-05-17 00:27:57 +08:00
|
|
|
}
|
|
|
|
|
2015-06-13 00:09:01 +08:00
|
|
|
QToolButton::menu-indicator {
|
|
|
|
image: none
|
2015-05-17 00:27:57 +08:00
|
|
|
}
|
|
|
|
|
2016-02-21 05:32:57 +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;
|
|
|
|
}
|
|
|
|
|
2015-05-17 00:27:57 +08:00
|
|
|
/**
|
2016-08-04 06:25:50 +08:00
|
|
|
Uncomment this after https://github.com/qTox/qTox/pull/1640
|
2015-05-17 00:27:57 +08:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2015-02-07 19:46:55 +08:00
|
|
|
#statusPanel > #statusHead
|
|
|
|
{
|
|
|
|
background-color: @themeDark;
|
|
|
|
}
|
|
|
|
|
2014-10-04 16:24:20 +08:00
|
|
|
#statusPanel > #statusHead > #nameLabel {
|
2015-02-07 19:46:55 +08:00
|
|
|
background-color: @themeDark;
|
2014-10-04 16:24:20 +08:00
|
|
|
font: @extraBig;
|
|
|
|
color: @white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#statusPanel > #statusHead > #statusLabel {
|
2015-02-07 19:46:55 +08:00
|
|
|
background-color: @themeDark;
|
2014-10-06 22:39:07 +08:00
|
|
|
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*/
|
2017-05-01 17:05:41 +08:00
|
|
|
#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
|
|
|
}
|
|
|
|
|
2017-05-01 17:05:41 +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
|
|
|
}
|
|
|
|
|
|
|
|
#statusPanel > #statusHead > #statusButton:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#statusPanel > #statusHead > #statusButton::menu-indicator {image: none;}
|
|
|
|
|
2017-05-01 17:05:41 +08:00
|
|
|
#statusPanel > #statusHead > #statusButton::menu-indicator:pressed, #statusPanel > #statusHead > #statusButton::menu-indicator:open
|
2014-10-04 16:24:20 +08:00
|
|
|
{
|
|
|
|
image: url(":ui/statusButton/menu_indicator.png");
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: bottom center;
|
|
|
|
position: relative;
|
|
|
|
bottom: 2px;
|
|
|
|
}
|
2016-02-21 05:32:57 +08:00
|
|
|
|