modify style

This commit is contained in:
MaysWind 2018-08-25 20:44:42 +08:00
parent 8daaffc10a
commit 5cdd67a68d
3 changed files with 7 additions and 3 deletions

View file

@ -114,7 +114,7 @@
display: inline-block; display: inline-block;
} }
.icon-expand + .checkbox { .icon-dir-expand + .checkbox {
margin-left: 6px; margin-left: 6px;
} }

View file

@ -264,7 +264,11 @@
} }
.skin-aria-ng .icon-expand { .skin-aria-ng .icon-expand {
color: #5399e8 ; color: #5399e8;
}
.skin-aria-ng .icon-dir-expand {
color: #999;
} }
.skin-aria-ng .nav-tabs-custom { .skin-aria-ng .nav-tabs-custom {

View file

@ -235,7 +235,7 @@
<div class="row" ng-repeat="file in task.files | fileOrderBy: getFileListOrderType()" <div class="row" ng-repeat="file in task.files | fileOrderBy: getFileListOrderType()"
ng-if="!context.collapsedDirs[file.relativePath]" data-file-index="{{file.index}}"> ng-if="!context.collapsedDirs[file.relativePath]" data-file-index="{{file.index}}">
<div class="col-sm-10" ng-if="file.isDir" style="{{'padding-left: ' + (file.level * 16) + 'px'}}"> <div class="col-sm-10" ng-if="file.isDir" style="{{'padding-left: ' + (file.level * 16) + 'px'}}">
<i class="icon-expand pointer-cursor fa" ng-click="collapseDir(file)" <i class="icon-dir-expand pointer-cursor fa" ng-click="collapseDir(file)"
ng-class="{true: 'fa-plus', false: 'fa-minus'}[!!context.collapsedDirs[file.nodePath]]" ng-class="{true: 'fa-plus', false: 'fa-minus'}[!!context.collapsedDirs[file.nodePath]]"
title="{{(context.collapsedDirs[file.nodePath] ? 'Expand' : 'Collapse') | translate}}"> title="{{(context.collapsedDirs[file.nodePath] ? 'Expand' : 'Collapse') | translate}}">
</i><div class="checkbox checkbox-primary checkbox-inline"> </i><div class="checkbox checkbox-primary checkbox-inline">