Skip to content

Commit 047a076

Browse files
committedJan 24, 2019
[themes] Improve styling of message bar scrollbar for Night Mapping
1 parent 7d2fe04 commit 047a076

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
 

‎resources/themes/Night Mapping/style.qss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,42 @@ QgsMessageBar QLabel, QgsMessageBar QTextEdit, QMessageBar QToolButton, QMessage
729729
padding: 0px;
730730
}
731731

732+
QgsMessageBar QScrollBar:vertical {
733+
border-left:1px solid #000000;
734+
border-right:1px solid #000000;
735+
background-color: rgba(0,0,0,0);
736+
width: 0.7em;
737+
margin: 0.7em 0px 0.7em 0px;
738+
}
739+
740+
QgsMessageBar QScrollBar::add-line:vertical {
741+
height: 0.7em;
742+
border:1px solid #000000;
743+
background-color: rgba(0,0,0,0);
744+
color: #000000;
745+
subcontrol-position: bottom;
746+
subcontrol-origin: margin;
747+
}
748+
749+
QgsMessageBar QScrollBar::sub-line:vertical {
750+
height: 0.7em;
751+
border:1px solid #000000;
752+
background-color: rgba(0,0,0,0);
753+
color: #000000;
754+
subcontrol-position: top;
755+
subcontrol-origin: margin;
756+
}
757+
758+
QgsMessageBar QScrollBar::up-arrow:vertical {
759+
height: 0.7em;
760+
image: url(@theme_path/icons/arrow-up.svg);
761+
}
762+
763+
QgsMessageBar QScrollBar::down-arrow:vertical {
764+
height: 0.7em;
765+
image: url(@theme_path/icons/arrow-down.svg);
766+
}
767+
732768
QgsPropertyOverrideButton {
733769
padding: 0px;
734770
}

0 commit comments

Comments
 (0)
Please sign in to comment.