调整样式,使授权弹出框的checkbox左间隙为15px,移除重复的样式

This commit is contained in:
Argo-Lenovo 2016-12-26 12:04:41 +08:00
parent ede5e1f306
commit 446fac5073
2 changed files with 11 additions and 7 deletions

View File

@ -272,10 +272,14 @@ ul.sidebar-menu {
/*Modal Dialog Checkbox*/ /*Modal Dialog Checkbox*/
.modal-body .checkbox { .modal-body .checkbox {
padding: 5px; padding: 0px;
margin-top: 0; margin-top: 0;
} }
.modal-body .checkbox label {
padding-left: 0;
}
.modal-body .checkbox label input[type='checkbox'] { .modal-body .checkbox label input[type='checkbox'] {
margin: 0 4px 0 0; margin: 0 4px 0 0;
vertical-align: middle; vertical-align: middle;

View File

@ -118,7 +118,7 @@
url: this.url, url: this.url,
data: {}, data: {},
method: "POST", method: "POST",
htmlTemplate: '<div class="form-group checkbox col-lg-3 col-xs-4"><label class="tooltips" data-placement="top" data-original-title="{3}" title="{3}"><input type="checkbox" value="{0}" {2}/>{1}</label></div>', htmlTemplate: '<div class="form-group checkbox col-md-3 col-sm-4 col-xs-6"><label class="tooltips" data-placement="top" data-original-title="{3}" title="{3}"><input type="checkbox" value="{0}" {2}/>{1}</label></div>',
title: this.title, title: this.title,
swal: true, swal: true,
modal: null, modal: null,