Make "Apply changes" look more like a button.

This commit is contained in:
FelisCatus 2014-09-23 23:03:51 +08:00
parent a75f002d82
commit 4c65b47860
3 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "__MSG_manifest_app_name__", "name": "__MSG_manifest_app_name__",
"version": "2.1.2", "version": "2.1.3",
"description": "__MSG_manifest_app_description__", "description": "__MSG_manifest_app_description__",
"icons": { "icons": {
"16": "img/icons/omega-16.png", "16": "img/icons/omega-16.png",

View File

@ -37,6 +37,11 @@ a[role="button"] {
min-width: 0 !important; min-width: 0 !important;
} }
.align-initial {
text-align: left;
text-align: initial;
}
ul.list-style-none, li.list-style-none { ul.list-style-none, li.list-style-none {
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
@ -92,8 +97,7 @@ ul.list-style-none, li.list-style-none {
* { * {
pointer-events: auto; pointer-events: auto;
pointer-events: initial; pointer-events: initial;
text-align: left; .align-initial();
text-align: initial;
} }
.alert { .alert {

View File

@ -41,8 +41,9 @@ html(lang='en' ng-controller='MasterCtrl' ng-csp)
span {{'options_newProfile' | tr}} span {{'options_newProfile' | tr}}
li.divider li.divider
li.nav-header Actions li.nav-header Actions
li(ng-class='{"bg-warning": optionsDirty}') li
a.text-success(role='button' ng-click='applyOptions()') a.btn-default.btn.align-initial(role='button' ng-click='applyOptions()'
ng-class='{"btn-success": optionsDirty}')
span.glyphicon.glyphicon-ok-circle span.glyphicon.glyphicon-ok-circle
= ' ' = ' '
| {{'options_apply' | tr}} | {{'options_apply' | tr}}