Skip to content

Commit

Permalink
[themes] Add disabled state for tree/table/list widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Sep 19, 2019
1 parent 8dbf063 commit 7e3166f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions resources/themes/Night Mapping/style.qss
Expand Up @@ -726,6 +726,11 @@ QAbstractItemView, QListView
selection-background-color: @selection;
}

QAbstractItemView:disabled, QListView:disabled
{
color: @itemdarkbackground;
}

QAbstractItemView::selected, QListView::selected {
border: 0px;
outline: none;
Expand All @@ -746,6 +751,10 @@ QTreeView::item, QTreeView::branch {
color: @textlight;
}

QTreeView::item:disabled {
color: @itemdarkbackground;
}

QTreeView::item:hover, QTreeView::branch:hover {
background-color: @toggleoff;
color: @itembackground;
Expand Down Expand Up @@ -804,6 +813,9 @@ QTableView {
selection-color: @text;
}

QTableView:disabled {
color: @itemdarkbackground;
}

QTableView QTableCornerButton::section {
background-color: @background;
Expand Down

0 comments on commit 7e3166f

Please sign in to comment.