set branch background to transparent to see alternate colors on full row

This commit is contained in:
iLLiCiTiT 2021-06-04 10:39:43 +02:00
parent c26f44e994
commit a20f2ba714

View file

@ -344,30 +344,35 @@ QAbstractItemView::item:selected:hover {
background: {color:bg-view-selection-hover};
}
/* Row colors (alternate colors) are from left - right */
QAbstractItemView:branch {
background: transparent;
}
QAbstractItemView::branch:open:has-children:!has-siblings,
QAbstractItemView::branch:open:has-children:has-siblings {
border-image: none;
image: url(:/openpype/images/branch_open.png);
background: {color:bg-view};
background: transparent;
}
QAbstractItemView::branch:open:has-children:!has-siblings:hover,
QAbstractItemView::branch:open:has-children:has-siblings:hover {
border-image: none;
image: url(:/openpype/images//branch_open_on.png);
/* background: {color:bg-view-hover}; */
background: transparent;
}
QAbstractItemView::branch:has-children:!has-siblings:closed,
QAbstractItemView::branch:closed:has-children:has-siblings {
border-image: none;
image: url(:/openpype/images//branch_closed.png);
background: {color:bg-view};
background: transparent;
}
QAbstractItemView::branch:has-children:!has-siblings:closed:hover,
QAbstractItemView::branch:closed:has-children:has-siblings:hover {
border-image: none;
image: url(:/openpype/images//branch_closed_on.png);
/* background: {color:bg-view-hover}; */
background: transparent;
}
/* Progress bar */