modify style

This commit is contained in:
MaysWind 2016-05-26 22:51:10 +08:00
parent 9f4a723b28
commit 91af007e75
2 changed files with 11 additions and 3 deletions

View file

@ -321,6 +321,10 @@ td {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
} }
.task-table-firstrow-noborder > .task-table-body > div.row {
border-top: 0;
}
.task-table > .task-table-body > div.row:nth-of-type(odd) { .task-table > .task-table-body > div.row:nth-of-type(odd) {
background-color: #f9f9f9; background-color: #f9f9f9;
} }
@ -385,6 +389,10 @@ td {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
} }
.settings-table-firstrow-noborder > div.row {
border-top: 0;
}
.settings-table > div.row:nth-of-type(odd) { .settings-table > div.row:nth-of-type(odd) {
background-color: #f9f9f9; background-color: #f9f9f9;
} }

View file

@ -17,7 +17,7 @@
<div class="tab-content no-padding"> <div class="tab-content no-padding">
<div class="tab-pane" ng-class="{'active': context.currentTab == 'overview'}"> <div class="tab-pane" ng-class="{'active': context.currentTab == 'overview'}">
<div class="settings-table"> <div class="settings-table settings-table-firstrow-noborder">
<div class="row"> <div class="row">
<div class="setting-key col-sm-4"> <div class="setting-key col-sm-4">
<span translate>File Name</span> <span translate>File Name</span>
@ -113,7 +113,7 @@
</div> </div>
<div class="tab-pane" ng-class="{'active': context.currentTab == 'filelist'}"> <div class="tab-pane" ng-class="{'active': context.currentTab == 'filelist'}">
<div class="task-table"> <div class="task-table task-table-firstrow-noborder">
<div class="task-table-title hidden-xs"> <div class="task-table-title hidden-xs">
<div class="row"> <div class="row">
<div class="col-sm-8"> <div class="col-sm-8">
@ -154,7 +154,7 @@
</div> </div>
</div> </div>
<div class="tab-pane" ng-class="{'active': context.currentTab == 'btpeers'}" ng-if="task.status == 'active' && task.bittorrent"> <div class="tab-pane" ng-class="{'active': context.currentTab == 'btpeers'}" ng-if="task.status == 'active' && task.bittorrent">
<div class="task-table"> <div class="task-table task-table-firstrow-noborder">
<div class="task-table-title hidden-xs"> <div class="task-table-title hidden-xs">
<div class="row"> <div class="row">
<div class="col-sm-3"> <div class="col-sm-3">