mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
进度更新
This commit is contained in:
@@ -1,6 +1,45 @@
|
||||
/*
|
||||
Spark Customizable style sheet conventions
|
||||
%1 : Global background color
|
||||
%2 : Controls background color
|
||||
%3 : Controls background color highlighted
|
||||
%4 : Selection/Activation background color
|
||||
%5 : Selection/Activation background color hightlighted
|
||||
%6 : Light controls gradient light
|
||||
%7 : Light controls gradient dark
|
||||
%8 : Light controls gradient darker
|
||||
%9 : Dark controls gradient light
|
||||
%10: Dark controls gradient dark
|
||||
%11: Text on Selection/Activation
|
||||
*/
|
||||
|
||||
QWidget
|
||||
{
|
||||
background-color: #353535;
|
||||
background-color: %1
|
||||
}
|
||||
|
||||
QTreeWidget[objectName=spk_mw_category]
|
||||
{
|
||||
border: none;
|
||||
font-size: 16px;
|
||||
show-decoration-selected: 1;
|
||||
}
|
||||
|
||||
QTreeWidget[objectName=spk_mw_category]::item
|
||||
{
|
||||
height: 50px;
|
||||
border: none;
|
||||
color: %11;
|
||||
}
|
||||
|
||||
QTreeWidget[objectName=spk_mw_category]::item:selected
|
||||
{
|
||||
background-color: %4;
|
||||
}
|
||||
|
||||
QTreeWidget[objectName=spk_mw_category]::branch:selected
|
||||
{
|
||||
background-color: %4;
|
||||
}
|
||||
|
||||
QLabel
|
||||
@@ -23,35 +62,51 @@ QPushButton
|
||||
font-weight: 300;
|
||||
border-top-color: #7b7b7b;
|
||||
border-style: solid;
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #6b6b6b, stop:1 #656565)
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 %6, stop:1 %7)
|
||||
}
|
||||
|
||||
QPushButton::pressed
|
||||
{
|
||||
border-top-color: #656565;
|
||||
border-bottom-color: #7b7b7b;
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #606060, stop:1 #6b6b6b)
|
||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 %8, stop:1 %6)
|
||||
}
|
||||
|
||||
QPushButton[objectName=spk_styling_msgboxexpandbtn]
|
||||
QPushButton[objectName=spk_styling_checkbtn]
|
||||
{
|
||||
border-width: 0px;
|
||||
background-color: #434343
|
||||
background-color: %9
|
||||
}
|
||||
|
||||
QPushButton[objectName=spk_styling_msgboxexpandbtn]::checked
|
||||
QPushButton[objectName=spk_styling_checkbtn]:pressed
|
||||
{
|
||||
background-color: #0070ff
|
||||
background-color: %5
|
||||
}
|
||||
|
||||
SpkWindow::!focused
|
||||
QPushButton[objectName=spk_styling_checkbtn]:checked
|
||||
{
|
||||
background-color: #2c2c2c
|
||||
background-color: %4
|
||||
}
|
||||
|
||||
QPushButton[objectName=spk_styling_plaincheckbtn]
|
||||
{
|
||||
border-width: 0px;
|
||||
background-color: %1
|
||||
}
|
||||
|
||||
QPushButton[objectName=spk_styling_plaincheckbtn]:pressed
|
||||
{
|
||||
background-color: %5
|
||||
}
|
||||
|
||||
QPushButton[objectName=spk_styling_plaincheckbtn]:checked
|
||||
{
|
||||
background-color: %4
|
||||
}
|
||||
|
||||
SpkTitleBar
|
||||
{
|
||||
border-color: #404040;
|
||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 %10, stop:1 %9)
|
||||
}
|
||||
|
||||
SpkTitleBarDefaultButton
|
||||
@@ -59,17 +114,17 @@ SpkTitleBarDefaultButton
|
||||
margin: 0px;
|
||||
border-radius: 0px;
|
||||
border-width: 0px;
|
||||
background-color: #353535;
|
||||
background-color: %2;
|
||||
}
|
||||
|
||||
SpkTitleBarDefaultButton:hover
|
||||
{
|
||||
background-color: #404040;
|
||||
background-color: %9;
|
||||
}
|
||||
|
||||
SpkTitleBarDefaultButton:pressed
|
||||
{
|
||||
background-color: #5e5e5e;
|
||||
background-color: %8;
|
||||
}
|
||||
|
||||
QScrollBar::handle
|
||||
|
||||
Reference in New Issue
Block a user