modify style

This commit is contained in:
MaysWind 2021-02-16 13:06:20 +08:00
parent fddc891cd1
commit cc8132bc3a
3 changed files with 8 additions and 7 deletions

View file

@ -101,7 +101,7 @@
}
.btn-spinner:not(:required) {
margin-left: -22px;
margin-left: -17px;
opacity: 0;
transition: 0.4s margin ease-out, 0.2s opacity ease-out;
}

View file

@ -3,6 +3,11 @@
margin-left: 4px;
}
.btn-sm.promise-btn-style {
padding-top: 6px;
padding-bottom: 6px;
}
.progress-bar {
-webkit-transition: initial !important;
-moz-transition: initial !important;

View file

@ -43,12 +43,8 @@
<span translate>Operations</span>
</div>
<div class="setting-value col-sm-8">
<button class="btn btn-sm btn-primary" ng-click="saveSession()" promise-btn>
<span translate>Save Session</span>
</button>
<button class="btn btn-sm btn-danger" ng-click="shutdown()">
<span translate>Shutdown Aria2</span>
</button>
<button class="btn btn-sm btn-primary" ng-click="saveSession()" promise-btn><span translate>Save Session</span></button>
<button class="btn btn-sm btn-danger promise-btn-style" ng-click="shutdown()"><span translate>Shutdown Aria2</span></button>
</div>
</div>
</div>