Skip to content

Commit

Permalink
modify style
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Feb 16, 2021
1 parent fddc891 commit cc8132b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/styles/controls/angular-promise-buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
5 changes: 5 additions & 0 deletions src/styles/core/extend.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 2 additions & 6 deletions src/views/status.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit cc8132b

Please sign in to comment.