增加亮色模式支持,小幅修改QSS和UI元素大小

This commit is contained in:
RigoLigoRLC
2021-08-19 21:23:58 +08:00
parent 04ebc6ed20
commit 5cbd758f67
9 changed files with 55 additions and 24 deletions

View File

@@ -20,7 +20,7 @@
QWidget
{
background-color: GBG_;
color: #ffffff;
color: TXGBG;
}
QLabel
@@ -35,16 +35,19 @@ QScrollArea
border-radius: 5px;
}
QLineEdit
QLineEdit, QTextEdit
{
background:qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 LCTL1, stop:1 LCTL2);
padding: 3px;
padding: 2px;
border-radius: 7px;
border: 1px solid SHD;
border-bottom: 1px solid GLS;
selection-color: TXACC;
selection-background-color: ACC_;
}
QLineEdit /*We can't apply gradient to TextEdit cuz it messes with scroll bar*/
{
background:qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 CBG_, stop:1 GBG_);
}
QPushButton
{
@@ -152,7 +155,7 @@ SpkTitleBarDefaultButton
margin: 0px;
border-radius: 0px;
border-width: 0px;
background-color: CBG_;
background-color: GBG_;
}
SpkTitleBarDefaultButton:hover