Add File Browser Styling (#4085)
Use CSS to style the selected and hovered items in the File Browser
This commit is contained in:
committed by
Tres Finocchiaro
parent
bd8c27249f
commit
59eba30d33
BIN
data/themes/default/closed_branch.png
Executable file
BIN
data/themes/default/closed_branch.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 288 B |
BIN
data/themes/default/open_branch.png
Executable file
BIN
data/themes/default/open_branch.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 298 B |
@@ -7,6 +7,28 @@ QLabel, QTreeWidget, QListWidget, QGroupBox, QMenuBar {
|
||||
color: #d1d8e4;
|
||||
}
|
||||
|
||||
QTreeView {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
QTreeWidget::item:hover,
|
||||
QTreeWidget::branch:hover {
|
||||
background-color: #3C444E;
|
||||
}
|
||||
|
||||
QTreeWidget::item:selected,
|
||||
QTreeWidget::branch:selected {
|
||||
background-color: #17793b;
|
||||
}
|
||||
|
||||
QTreeView::branch:has-children:open {
|
||||
border-image: url("resources:open_branch.png") 0;
|
||||
}
|
||||
|
||||
QTreeView::branch:has-children:closed {
|
||||
border-image: url("resources:closed_branch.png") 0;
|
||||
}
|
||||
|
||||
QMdiArea {
|
||||
background-color: #111314;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user