mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
218 lines
3.5 KiB
CSS
218 lines
3.5 KiB
CSS
QWidget
|
|
{
|
|
color: black;
|
|
font: @big;
|
|
}
|
|
|
|
QTextEdit
|
|
{
|
|
border-color: @lightGrey;
|
|
border-style: solid;
|
|
border-width: 1px 0 1px 1px;
|
|
background: white;
|
|
border: 1px solid #c4c1bd;
|
|
}
|
|
|
|
QListWidget
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
QScrollArea
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
QGroupBox
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
QMessageBox
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
QCheckBox
|
|
{
|
|
background: white;
|
|
color: black;
|
|
}
|
|
|
|
QSpinBox
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
QSlider::groove:horizontal
|
|
{
|
|
border: 1px solid #999999;
|
|
height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
|
background: white;
|
|
margin: 2px 0;
|
|
}
|
|
|
|
QSlider::handle:horizontal
|
|
{
|
|
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
|
border: 1px solid #5c5c5c;
|
|
width: 18px;
|
|
margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
|
border-radius: 3px;
|
|
}
|
|
|
|
QPushButton
|
|
{
|
|
background: white;
|
|
}
|
|
|
|
QGroupBox
|
|
{
|
|
color: black;
|
|
background-color: white;
|
|
font: @bigBold;
|
|
}
|
|
|
|
QComboBox
|
|
{
|
|
color: black;
|
|
background: white;
|
|
}
|
|
|
|
QComboBox QAbstractItemView {
|
|
background: white;
|
|
}
|
|
|
|
QLineEdit
|
|
{
|
|
background-color: white;
|
|
}
|
|
|
|
QTabWidget
|
|
{
|
|
background-color: white;
|
|
}
|
|
|
|
QTabBar
|
|
{
|
|
background-color: white;
|
|
}
|
|
|
|
QScrollArea
|
|
{
|
|
background-color: white;
|
|
}
|
|
|
|
QScrollArea
|
|
{
|
|
background: transparent;
|
|
}
|
|
|
|
QScrollArea > QWidget > QWidget
|
|
{
|
|
background: transparent;
|
|
}
|
|
|
|
QScrollBar:vertical {
|
|
background: transparent;
|
|
width: 12px;
|
|
margin-top: 2px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical {
|
|
background: #d1d1d1;
|
|
min-height: 20px;
|
|
border-radius: 3px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical:hover {
|
|
background: #e3e3e3;
|
|
}
|
|
|
|
QScrollBar::handle:vertical:pressed {
|
|
background: #b1b1b1;
|
|
}
|
|
|
|
QScrollBar::add-line:vertical {
|
|
background: url(":ui/chatArea/scrollBarDownArrow.png") center;
|
|
height: 0px;
|
|
subcontrol-position: bottom;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar::sub-line:vertical {
|
|
background: url(":ui/chatArea/scrollBarUpArrow.png") center;
|
|
height: 0px;
|
|
subcontrol-position: top;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar:QScrollBar::down-arrow:vertical {
|
|
width: 10;
|
|
height: 10px;
|
|
background: white;
|
|
}
|
|
|
|
QScrollBar:QScrollBar::up-arrow:vertical {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: white;
|
|
}
|
|
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|
background: none;
|
|
}
|
|
|
|
|
|
QScrollBar:horizontal {
|
|
background: white;
|
|
height: 10px;
|
|
margin: 0 2px 0 2px;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal {
|
|
background: #d1d1d1;
|
|
min-width: 20px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal:hover {
|
|
background: #e3e3e3;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal:pressed {
|
|
background: #b1b1b1;
|
|
}
|
|
|
|
QScrollBar::add-line:horizontal {
|
|
background: url(":ui/chatArea/scrollBarRightArrow.png") center;
|
|
width: 0px;
|
|
subcontrol-position: right;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar::sub-line:horizontal {
|
|
background: url(":ui/chatArea/scrollBarLeftArrow.png") center;
|
|
width: 0px;
|
|
subcontrol-position: left;
|
|
subcontrol-origin: margin;
|
|
}
|
|
|
|
QScrollBar:QScrollBar::down-arrow:horizontal {
|
|
width: 10;
|
|
height: 10px;
|
|
background: white;
|
|
}
|
|
|
|
QScrollBar:QScrollBar::up-arrow:horizontal {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: white;
|
|
}
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
|
background: none;
|
|
}
|