ui: styled trail navigation
* added icons to buttons * added toggle for collapsing and expanding controls * added controls visibility to app settings * fixed low contrast for disabled buttons in bright color scheme
This commit is contained in:
@@ -6,7 +6,7 @@ QGraphicsView, QGraphicsScene {
|
||||
QPushButton {
|
||||
background: <color:search/button/normal>;
|
||||
border: none;
|
||||
color: white;
|
||||
color: <color:search/button/icon>;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
@@ -21,3 +21,64 @@ QPushButton:hover {
|
||||
QPushButton:pressed {
|
||||
background: <color:search/button/press>;
|
||||
}
|
||||
|
||||
#expand_button {
|
||||
max-width: 26px;
|
||||
max-height: 26px;
|
||||
}
|
||||
|
||||
#collapse_button {
|
||||
border-radius: 0;
|
||||
border-top-left-radius: 7px;
|
||||
border-top-right-radius: 7px;
|
||||
}
|
||||
|
||||
#trail_button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#depth_label {
|
||||
background: <color:search/button/normal>;
|
||||
color: <color:search/button/icon>;
|
||||
}
|
||||
|
||||
#depth_label:disabled {
|
||||
background: <color:search/button/disabled>;
|
||||
color: <color:search/button/icon_disabled>;
|
||||
}
|
||||
|
||||
#depth_slider {
|
||||
background: <color:search/button/normal>;
|
||||
padding-bottom: 5px;
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
}
|
||||
|
||||
#depth_slider:disabled {
|
||||
background: <color:search/button/disabled>;
|
||||
}
|
||||
|
||||
#depth_slider::groove {
|
||||
margin: 5px;
|
||||
width: 2px;
|
||||
}
|
||||
|
||||
#depth_slider::handle {
|
||||
height: 10px;
|
||||
margin: 0px -4px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#depth_slider::handle:hover {
|
||||
height: 12px;
|
||||
margin: 0px -5px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#depth_slider::groove, #depth_slider::handle {
|
||||
background: <color:search/button/icon>;
|
||||
}
|
||||
|
||||
#depth_slider::groove:disabled, #depth_slider::handle:disabled {
|
||||
background: <color:search/button/icon_disabled>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user