Skip to content

Commit

Permalink
[themes] Improve styling of message bar scrollbar for Blend of Gray
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 24, 2019
1 parent eea6ae2 commit 002c9e1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions resources/themes/Blend of Gray/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,42 @@ QgsMessageBar QLabel, QgsMessageBar QTextEdit, QMessageBar QToolButton {
padding: 0px;
}

QgsMessageBar QScrollBar:vertical {
border-left:1px solid #000000;
border-right:1px solid #000000;
background-color: rgba(0,0,0,0);
width: 0.7em;
margin: 0.7em 0px 0.7em 0px;
}

QgsMessageBar QScrollBar::add-line:vertical {
height: 0.7em;
border:1px solid #000000;
background-color: rgba(0,0,0,0);
color: #000000;
subcontrol-position: bottom;
subcontrol-origin: margin;
}

QgsMessageBar QScrollBar::sub-line:vertical {
height: 0.7em;
border:1px solid #000000;
background-color: rgba(0,0,0,0);
color: #000000;
subcontrol-position: top;
subcontrol-origin: margin;
}

QgsMessageBar QScrollBar::up-arrow:vertical {
height: 0.7em;
image: url(@theme_path/icons/arrow-up.svg);
}

QgsMessageBar QScrollBar::down-arrow:vertical {
height: 0.7em;
image: url(@theme_path/icons/arrow-down.svg);
}

QgsPropertyOverrideButton {
padding: 0px;
}
Expand Down

0 comments on commit 002c9e1

Please sign in to comment.