[minor] stylesheet changes

This commit is contained in:
Marcel Paffrath 2017-09-11 14:23:42 +02:00
parent 330ab9b823
commit bed5c8ffcf
2 changed files with 31 additions and 38 deletions

View File

@ -40,6 +40,8 @@ QMenuBar::item{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:2, stop:0 rgba(240, 240, 240, 255), stop:1 rgba(230, 230, 230, 255)); background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:2, stop:0 rgba(240, 240, 240, 255), stop:1 rgba(230, 230, 230, 255));
color: rgba(0, 0, 0, 255); color: rgba(0, 0, 0, 255);
padding:3px; padding:3px;
padding-left:5px;
padding-right:5px;
} }
QMenu{ QMenu{
@ -123,7 +125,9 @@ border-style: outset;
border-width: 1px; border-width: 1px;
border-color: rgba(100, 100, 120, 255); border-color: rgba(100, 100, 120, 255);
min-width: 6em; min-width: 6em;
padding: 5px; padding: 4px;
padding-left:5px;
padding-right:5px;
border-radius: 2px; border-radius: 2px;
} }
@ -150,10 +154,10 @@ padding:5px;
} }
QTabBar::tab:selected{ QTabBar::tab:selected{
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(230, 230, 230, 255)); background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(245, 245, 245, 255));
color: rgba(0, 0, 0, 255); color: rgba(0, 0, 0, 255);
border-style:solid; border-style:solid;
border-color:rgba(230, 230, 230, 255); border-color:rgba(245, 245, 245, 255);
border-bottom-color: transparent; border-bottom-color: transparent;
border-width:1px; border-width:1px;
padding:5px; padding:5px;
@ -171,7 +175,7 @@ background-color:transparent;
QTabWidget::pane{ QTabWidget::pane{
background-color:rgba(0, 0, 0, 255); background-color:rgba(0, 0, 0, 255);
border-style:solid; border-style:solid;
border-color:rgba(230, 230, 230, 255); border-color:rgba(245, 245, 245, 255);
border-width:1px; border-width:1px;
} }
@ -180,7 +184,7 @@ background-color:rgba(255, 255, 255, 255);
} }
QTabWidget > QWidget{ QTabWidget > QWidget{
background-color: rgba(230, 230, 230, 255); background-color: rgba(245, 245, 245, 255);
color: rgba(0, 0, 0, 255); color: rgba(0, 0, 0, 255);
} }
@ -212,6 +216,11 @@ color: rgba(0, 0, 0, 255);
background-color: rgba(255, 255, 255, 255); background-color: rgba(255, 255, 255, 255);
} }
QCheckBox{
background-color:transparent;
border:none;
}
QLineEdit{ QLineEdit{
background-color: rgba(255, 255, 255, 255); background-color: rgba(255, 255, 255, 255);
border: 1px inset; border: 1px inset;
@ -226,26 +235,14 @@ border-radius:0;
border-color: rgba(200, 200, 200, 255); border-color: rgba(200, 200, 200, 255);
} }
QCheckBox{
background-color:transparent;
border:none;
}
QListWidget{ QListWidget{
background-color:rgba(255, 255, 255, 255) background-color:rgba(255, 255, 255, 255)
} }
QProgressBar{ QProgressBar{
border-radius:0; background-color:rgba(230, 230, 230, 255);
text-align:center;
color:rgba(0, 0, 0, 255);
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 255, 255, 255), stop:1 rgba(230, 230, 230, 255));
border: 2px solid;
border-color:rgba(0, 55, 140, 150);
border-radius:5px;
} }
QProgressBar::chunk{ QProgressBar::chunk{
background-color:rgba(60, 60, 70, 150); background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 70, 180, 150), stop:1 transparent);
width:10px;
} }

View File

@ -16,15 +16,15 @@ border-style:inset;
} }
QComboBox{ QComboBox{
background-color: rgba(80, 80, 90, 255); background-color: rgba(90, 90, 100, 255);
color: rgba(255, 255, 255, 255); color: rgba(255, 255, 255, 255);
min-height: 1.8em; min-height: 1.5em;
selection-background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 144, 180, 255), stop:1 rgba(0, 150, 190, 255)); selection-background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 144, 180, 255), stop:1 rgba(0, 150, 190, 255));
} }
QComboBox *{ QComboBox *{
background-color: rgba(80, 80, 90, 255); background-color: rgba(90, 90, 100, 255);
color: rgba(255, 255, 255, 255); color: rgba(255, 255, 255, 255);
selection-background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 144, 180, 255), stop:1 rgba(0, 150, 190, 255)); selection-background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 144, 180, 255), stop:1 rgba(0, 150, 190, 255));
@ -40,8 +40,9 @@ QMenuBar::item{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(70, 70, 80, 255), stop:1 rgba(60, 60, 70, 255)); background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(70, 70, 80, 255), stop:1 rgba(60, 60, 70, 255));
color: rgba(255, 255, 255, 255); color: rgba(255, 255, 255, 255);
padding:3px; padding:3px;
padding-left:5px;
padding-right:5px;
} }
QMenu{ QMenu{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(70, 70, 80, 255), stop:1 rgba(60, 60, 70, 255)); background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(70, 70, 80, 255), stop:1 rgba(60, 60, 70, 255));
color: rgba(255, 255, 255, 255); color: rgba(255, 255, 255, 255);
@ -123,7 +124,9 @@ border-style: outset;
border-width: 2px; border-width: 2px;
border-color: rgba(50, 50, 60, 255); border-color: rgba(50, 50, 60, 255);
min-width: 6em; min-width: 6em;
padding: 5px; padding: 4px;
padding-left:5px;
padding-right:5px;
border-radius: 2px; border-radius: 2px;
} }
@ -199,17 +202,17 @@ background-color: transparent;
QTextEdit{ QTextEdit{
color: rgba(255, 255, 255, 255); color: rgba(255, 255, 255, 255);
background-color: rgba(80, 80, 90, 255); background-color: rgba(90, 90, 100, 255);
} }
QSpinBox{ QSpinBox{
color: rgba(255, 255, 255, 255); color: rgba(255, 255, 255, 255);
background-color: rgba(80, 80, 90, 255); background-color: rgba(90, 90, 100, 255);
} }
QDoubleSpinBox{ QDoubleSpinBox{
color: rgba(255, 255, 255, 255); color: rgba(255, 255, 255, 255);
background-color: rgba(80, 80, 90, 255); background-color: rgba(90, 90, 100, 255);
} }
QCheckBox{ QCheckBox{
@ -218,14 +221,14 @@ border:none;
} }
QLineEdit{ QLineEdit{
background-color: rgba(80, 80, 90, 255); background-color: rgba(90, 90, 100, 255);
border: 1px inset; border: 1px inset;
border-radius:0; border-radius:0;
border-color: rgba(100, 100, 120, 255); border-color: rgba(100, 100, 120, 255);
} }
QLineEdit:disabled{ QLineEdit:disabled{
background-color: rgba(80, 80, 90, 255); background-color: rgba(90, 90, 100, 255);
border: 1px inset; border: 1px inset;
border-radius:0; border-radius:0;
border-color: rgba(200, 200, 200, 255); border-color: rgba(200, 200, 200, 255);
@ -236,16 +239,9 @@ background-color:rgba(60, 60, 70, 255)
} }
QProgressBar{ QProgressBar{
border-radius:0; background-color:rgba(60, 60, 70, 255);
text-align:center;
color:rgba(255, 255, 255, 255);
background-color:rgba(60,60,80,255);
border: 2px solid;
border-color:rgba(0, 150, 190, 255);
border-radius:5px;
} }
QProgressBar::chunk{ QProgressBar::chunk{
background-color:rgba(0, 150, 190, 255); background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 150, 190, 255), stop:1 transparent);
width:10px;
} }