Fix progress bar in custom dark theme.
This commit is contained in:
parent
498274a070
commit
6164120969
|
@ -2397,51 +2397,26 @@ QSplitter::handle
|
||||||
max-height: 0em;
|
max-height: 0em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* It's not possible to get satisfactory rounded borders here.
|
|
||||||
* If you set the border to be negative, while adjusting the
|
|
||||||
* widths, you get an asymmetrical curve which produces an
|
|
||||||
* unappealing border.
|
|
||||||
*/
|
|
||||||
QProgressBar:horizontal,
|
QProgressBar:horizontal,
|
||||||
QProgressBar:vertical
|
QProgressBar:vertical
|
||||||
{
|
{
|
||||||
background-color: #626568;
|
margin: 2px 0 0;
|
||||||
border: 0.9em solid #272729;
|
background: #404040;
|
||||||
border-radius: 0.13em;
|
padding: 3px;
|
||||||
padding: 0em;
|
border-radius: 6px;
|
||||||
}
|
text-align: center;
|
||||||
|
font: bold;
|
||||||
QProgressBar:horizontal
|
border-radius: 6px;
|
||||||
{
|
border: 2px solid #3a6dad;
|
||||||
height: 0.2em;
|
|
||||||
min-width: 6em;
|
|
||||||
text-align: right;
|
|
||||||
padding-left: -0.03em;
|
|
||||||
padding-right: -0.03em;
|
|
||||||
margin-top: 0.2em;
|
|
||||||
margin-bottom: 0.2em;
|
|
||||||
margin-right: 1.3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
QProgressBar:vertical
|
|
||||||
{
|
|
||||||
width: 0.2em;
|
|
||||||
min-height: 6em;
|
|
||||||
text-align: bottom;
|
|
||||||
padding-top: -0.03em;
|
|
||||||
padding-bottom: -0.03em;
|
|
||||||
margin-left: 0.2em;
|
|
||||||
margin-right: 0.2em;
|
|
||||||
margin-bottom: 0.41em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QProgressBar::chunk:horizontal,
|
QProgressBar::chunk:horizontal,
|
||||||
QProgressBar::chunk:vertical
|
QProgressBar::chunk:vertical
|
||||||
{
|
{
|
||||||
background-color: #3d3d42;
|
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
||||||
border: 0.9em transparent;
|
stop:0 #3d9cc7, stop:0.1 #3a6dad, stop: 0.9 #3a6dad, stop:1 #101c3f);
|
||||||
border-radius: 0.08em;
|
border: 1px solid #111111;
|
||||||
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QScrollArea,
|
QScrollArea,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user