mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #1648 from pypeclub/feature/transparent_branches_in_view
This commit is contained in:
commit
a589a1f3bc
1 changed files with 11 additions and 4 deletions
|
|
@ -313,6 +313,8 @@ QAbstractItemView {
|
|||
border-radius: 0.2em;
|
||||
background: {color:bg-view};
|
||||
alternate-background-color: {color:bg-view-alternate};
|
||||
/* Mac shows selection color on branches. */
|
||||
selection-background-color: transparent;
|
||||
}
|
||||
|
||||
QAbstractItemView:disabled{
|
||||
|
|
@ -344,30 +346,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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue