Make scrollbars consistent over the software; Add padding to the scrollbars; Make the PianoView background themeable (#2807)

* Make scrollbars consistent over the software; Add padding to the scrollbars; Make the PianoView background themeable

* Make the scrollbar hover color brighter
This commit is contained in:
Umcaruje
2016-06-03 12:21:27 +02:00
parent a738069ff5
commit 27eaa4d512
5 changed files with 32 additions and 25 deletions

View File

@@ -140,15 +140,15 @@ CPULoadWidget {
/* scrollbar: trough */
QScrollBar:horizontal {
border: none;
border-top: 3px solid #262b30;
background: #262b30;
height: 9px;
height: 12px;
margin: 0px 12px;
}
QScrollBar:vertical {
border: none;
border-left: 3px solid #262b30;
background: #262b30;
width: 9px;
width: 12px;
margin: 12px 0px;
}
@@ -174,7 +174,7 @@ QScrollBar::handle:horizontal {
}
QScrollBar::handle:horizontal:hover {
background: #49535d;
background: #525e69;
}
QScrollBar::handle:horizontal:pressed {
@@ -189,7 +189,7 @@ QScrollBar::handle:vertical {
}
QScrollBar::handle:vertical:hover {
background: #49535d;
background: #525e69;
}
QScrollBar::handle:vertical:pressed {
@@ -238,6 +238,14 @@ QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
height: 5px;
}
QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
margin-top: 3px;
}
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
margin-left: 3px;
}
QScrollBar::left-arrow:horizontal { background-image: url(resources:sbarrow_left.png);}
QScrollBar::right-arrow:horizontal { background-image: url(resources:sbarrow_right.png);}
QScrollBar::up-arrow:vertical { background-image: url(resources:sbarrow_up.png);}
@@ -500,6 +508,12 @@ PluginDescWidget:hover {
color: #d1d8e4;
}
/* piano widget */
PianoView {
background-color: #14171a;
}
/* font sizes for text buttons */
FxMixerView QPushButton, EffectRackView QPushButton, ControllerRackView QPushButton {
@@ -550,7 +564,7 @@ TrackContentObjectView {
/* instrument pattern */
PatternView {
background-color: #21A14F;
color: rgba(255,255,255,220)
color: rgba(255,255,255,220);
}
/* sample track pattern */