fix(systems): fixed systems panel-body css

This commit is contained in:
OldHawk
2018-01-28 12:27:21 +08:00
parent e9d2c07f76
commit d0fc6ae717
5 changed files with 14 additions and 4 deletions

View File

@@ -32,6 +32,16 @@
border-bottom: solid 1px #ddd;
padding: 10px 15px;
background-color: #fafbfc;
&.show-border-bottom {
border-bottom: solid 1px #ddd;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
&.hide-border-bottom {
border-bottom: none;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
}
.panel-body {
padding: 0;

View File

@@ -3,7 +3,7 @@
<small> - {{vm.loadedFilename}}</small>
</div>
<div class="panel-desc" ng-bind-html="vm.getDescConfig()"></div>
<div class="panel-filelist">
<div class="panel-filelist" ng-class="{'show-border-bottom': vm.showBody, 'hide-border-bottom': !vm.showBody}">
<select class="form-control" ng-model="vm.selectedFilename" ng-change="vm.onSelectedFileChanged();" autofocus>
<option value="null">{{'SYSTEMS.SELECT_FILE' | translate}}
</option>

View File

@@ -3,7 +3,7 @@
<small> - {{vm.loadedFilename}}</small>
</div>
<div class="panel-desc" ng-bind-html="vm.getDescConfig()"></div>
<div class="panel-filelist">
<div class="panel-filelist" ng-class="{'show-border-bottom': vm.showBody, 'hide-border-bottom': !vm.showBody}">
<select class="form-control" ng-model="vm.selectedFilename" ng-change="vm.onSelectedFileChanged();" autofocus>
<option value="null">{{'SYSTEMS.SELECT_FILE' | translate}}
</option>

View File

@@ -3,7 +3,7 @@
<small> - {{vm.loadedFilename}}</small>
</div>
<div class="panel-desc" ng-bind-html="vm.getDescConfig()"></div>
<div class="panel-filelist">
<div class="panel-filelist" ng-class="{'show-border-bottom': vm.showBody, 'hide-border-bottom': !vm.showBody}">
<select class="form-control" ng-model="vm.selectedFilename" ng-change="vm.onSelectedFileChanged();" autofocus>
<option value="null">{{'SYSTEMS.SELECT_FILE' | translate}}
</option>

View File

@@ -3,7 +3,7 @@
<small> - {{vm.loadedFilename}}</small>
</div>
<div class="panel-desc" ng-bind-html="vm.getDescConfig()"></div>
<div class="panel-filelist">
<div class="panel-filelist" ng-class="{'show-border-bottom': vm.showBody, 'hide-border-bottom': !vm.showBody}">
<select class="form-control" ng-model="vm.selectedFilename" ng-change="vm.onSelectedFileChanged();" autofocus>
<option value="null">{{'SYSTEMS.SELECT_FILE' | translate}}
</option>