don't fade unpublished items
This commit is contained in:
@@ -150,38 +150,15 @@ input.umb-table__input {
|
||||
}
|
||||
|
||||
// Show checkmark when checked, hide file icon
|
||||
.-selected {
|
||||
.umb-table-row--selected {
|
||||
.umb-table-body__fileicon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.umb-table-body__checkicon {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Styling for when item is published or not
|
||||
.-published {
|
||||
|
||||
}
|
||||
|
||||
.-content :not(.with-unpublished-version).-unpublished {
|
||||
.umb-table__name > * {
|
||||
opacity: .4;
|
||||
}
|
||||
|
||||
.umb-table-body__icon {
|
||||
opacity: .4;
|
||||
}
|
||||
}
|
||||
|
||||
.-selected.-unpublished {
|
||||
.umb-table-body__icon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
// Table Row Styles
|
||||
.umb-table-row {
|
||||
display: flex;
|
||||
|
||||
@@ -32,15 +32,10 @@
|
||||
<div class="umb-table-body">
|
||||
<div class="umb-table-row"
|
||||
ng-repeat="item in vm.items track by $index"
|
||||
ng-class="{
|
||||
'-selected':item.selected,
|
||||
'-published':item.published,
|
||||
'-unpublished':!item.published,
|
||||
'with-unpublished-version':!item.published && item.hasPublishedVersion
|
||||
}"
|
||||
ng-class="{'umb-table-row--selected':item.selected}"
|
||||
ng-click="vm.selectItem(item, $index, $event)">
|
||||
|
||||
<div class="umb-table-cell" ng-class="{'has-unpublished-version':!item.published && item.hasPublishedVersion}">
|
||||
<div class="umb-table-cell">
|
||||
<i class="umb-table-body__icon umb-table-body__fileicon {{item.icon}}" ng-class="vm.getIcon(item)"></i>
|
||||
<i class="umb-table-body__icon umb-table-body__checkicon icon-check"></i>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user