fix(core): change search input css on all page

This commit is contained in:
OldHawk
2017-09-18 14:12:33 +08:00
parent 95a201ce7c
commit 4f0db2e2fe
7 changed files with 22 additions and 12 deletions

View File

@@ -932,19 +932,29 @@ body {
.torrent-list {
.pagination-div-bottom {
border-top: 2px solid lighten(@gray-base, 85%)
border-top: 2px solid lighten(@gray-base, 85%);
}
.pagination-div-top {
border-bottom: 2px solid lighten(@gray-base, 85%)
border-bottom: 2px solid lighten(@gray-base, 85%);
input {
@media (max-width: @screen-sm-max) {
margin-top: 0 !important;
}
}
}
}
.invitations-list {
.pagination-div-bottom {
border-top: 2px solid lighten(@gray-base, 85%)
border-top: 2px solid lighten(@gray-base, 85%);
}
.pagination-div-top {
border-bottom: 2px solid lighten(@gray-base, 85%)
border-bottom: 2px solid lighten(@gray-base, 85%);
input {
@media (max-width: @screen-sm-max) {
margin-top: 0 !important;
}
}
}
}

View File

@@ -37,7 +37,7 @@
</ul>
</div>
<div class="col-sm-12 col-md-3">
<input class="form-control margin-top-20" type="text" ng-model="vm.search" placeholder="Search"
<input class="form-control margin-top-20 margin-bottom-20" type="text" ng-model="vm.search" placeholder="Search"
ng-change="vm.figureOutItemsToDisplay()"/>
</div>
</div>

View File

@@ -3,14 +3,14 @@
<div class="col-sm-12 messages-list">
<div class="row margin-bottom-20">
<div class="col-xs-8 col-md-9">
<div class="col-xs-12 col-md-9">
<h4>{{'MESSAGES_BOX' | translate}}
<small ng-show="vm.unreadCount>0"> - (<span
class="badge badge_info">{{vm.unreadCount}}</span> {{'MESSAGES_FIELD.NEW_MSG' | translate}})
</small>
</h4>
</div>
<div class="col-xs-4 col-md-3">
<div class="col-xs-12 col-md-3">
<input class="form-control" type="text" ng-model="vm.search" placeholder="Search"
ng-change="vm.figureOutItemsToDisplay()"/>
</div>

View File

@@ -3,10 +3,10 @@
<div class="col-sm-12 traces-list">
<div class="row margin-bottom-20">
<div class="col-xs-8 col-md-9">
<div class="col-sm-8 col-md-9">
<h4>{{'ADMIN_TRACES_LIST' | translate}}</h4>
</div>
<div class="col-xs-4 col-md-3">
<div class="col-sm-4 col-md-3">
<input class="form-control" type="text" ng-model="vm.search" placeholder="Search"
ng-change="vm.figureOutItemsToDisplay()"/>
</div>

View File

@@ -18,7 +18,7 @@
</ul>
</div>
<div class="col-sm-12 col-md-3">
<input class="form-control margin-top-20" type="text" ng-model="vm.search" placeholder="Search"
<input class="form-control margin-top-20 margin-bottom-20" type="text" ng-model="vm.search" placeholder="Search"
ng-change="vm.figureOutItemsToDisplay()"/>
</div>
</div>

View File

@@ -18,7 +18,7 @@
</ul>
</div>
<div class="col-sm-12 col-md-3">
<input class="form-control margin-top-20" type="text" ng-model="vm.search" placeholder="Search"
<input class="form-control margin-top-20 margin-bottom-20" type="text" ng-model="vm.search" placeholder="Search"
ng-change="vm.figureOutItemsToDisplay()"/>
</div>
</div>

View File

@@ -19,7 +19,7 @@
</ul>
</div>
<div class="col-sm-12 col-md-3">
<input class="form-control margin-top-20" type="text" ng-model="vm.search" placeholder="Search"
<input class="form-control margin-top-20 margin-bottom-20" type="text" ng-model="vm.search" placeholder="Search"
ng-change="vm.figureOutItemsToDisplay()"/>
</div>
</div>