mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-10 18:03:10 +02:00
chg(torrents): change torrent overview edit button css
This commit is contained in:
@@ -120,14 +120,32 @@
|
||||
color: #efefef;
|
||||
border-color: #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-mt-o-success {
|
||||
.btn-mt-o-success {
|
||||
color: @state-success-text;
|
||||
border: solid 1px @state-success-text;
|
||||
&:focus {
|
||||
color: @state-success-text;
|
||||
border: solid 1px @state-success-text;
|
||||
&:focus {
|
||||
color: @state-success-text;
|
||||
border-color: @state-success-text;
|
||||
}
|
||||
border-color: @state-success-text;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-mt-o-primary {
|
||||
color: @brand-primary;
|
||||
border: solid 1px @brand-primary;
|
||||
&:focus {
|
||||
color: @brand-primary;
|
||||
border-color: @brand-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-mt-o-light {
|
||||
color: #fff !important;
|
||||
border: solid 1px #fff !important;
|
||||
&:focus {
|
||||
color: #fff !important;
|
||||
border-color: #fff !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -187,9 +187,12 @@
|
||||
ng-bind-html="vm.getOverviewMarkedContent(vm.TGI.getTorrentOverview(vm.torrentLocalInfo))">
|
||||
</div>
|
||||
</div>
|
||||
<span class="edit-overview-div" ng-if="vm.isOwner(vm.torrentLocalInfo) || vm.user.isOper">
|
||||
<a href="#" ng-click="vm.beginEditOverview(vm.torrentLocalInfo)">{{'EDIT_THIS_OVERVIEW' | translate}}</a>
|
||||
</span>
|
||||
|
||||
<button class="btn btn-xs btn-mt-o" mouse-enter-toggle-class="btn-mt-o-light" base-class="btn-mt-o-primary"
|
||||
ng-if="vm.isOwner(vm.torrentLocalInfo) || vm.user.isOper"
|
||||
ng-click="vm.beginEditOverview(vm.torrentLocalInfo)">
|
||||
{{'EDIT_THIS_OVERVIEW' | translate}}
|
||||
</button>
|
||||
</div>
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user