mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-03-01 19:22:42 +08:00
优化ui
This commit is contained in:
@@ -298,11 +298,11 @@ dl dd{
|
||||
.seccode-wrapper .dzz{
|
||||
font-size:20px;
|
||||
}
|
||||
.seccode-input.input-group input.form-control+.input-group-addon{
|
||||
.seccode-input.input-group input.form-control+.input-group-text{
|
||||
padding:0;
|
||||
min-width:34px;
|
||||
}
|
||||
.seccode-wrapper .input-group-addon .dzz{
|
||||
.seccode-wrapper .input-group-text .dzz{
|
||||
font-size:32px;
|
||||
}
|
||||
.seccode-wrapper .dzz.dzz-close{
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
this.element = $(element);
|
||||
this.isInput = this.element.is('input');
|
||||
this.inputField = this.isInput ? this.element : this.element.find('input');
|
||||
this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn') : false;
|
||||
this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-text, .input-group-append, .input-group-prepend, .btn') : false;
|
||||
if (this.component && this.component.length === 0)
|
||||
this.component = false;
|
||||
this.isInline = !this.component && this.element.is('div');
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -657,7 +657,7 @@ fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus {
|
||||
padding: 0 2px 0 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.input-group.date .input-group-addon {
|
||||
.input-group.date .input-group-text {
|
||||
cursor: pointer;
|
||||
}
|
||||
.input-daterange {
|
||||
@@ -672,7 +672,7 @@ fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus {
|
||||
.input-daterange input:last-child {
|
||||
border-radius: 0 3px 3px 0;
|
||||
}
|
||||
.input-daterange .input-group-addon {
|
||||
.input-daterange .input-group-text {
|
||||
width: auto;
|
||||
min-width: 16px;
|
||||
padding: 4px 5px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -243,8 +243,8 @@
|
||||
|
||||
var downhtml,
|
||||
uphtml,
|
||||
prefixhtml = '<span class="input-group-addon input-group-prepend bootstrap-touchspin-prefix input-group-text bootstrap-touchspin-injected">' + settings.prefix + '</span>',
|
||||
postfixhtml = '<span class="input-group-addon input-group-append bootstrap-touchspin-postfix input-group-text bootstrap-touchspin-injected">' + settings.postfix + '</span>';
|
||||
prefixhtml = '<span class="input-group-text input-group-prepend bootstrap-touchspin-prefix input-group-text bootstrap-touchspin-injected">' + settings.prefix + '</span>',
|
||||
postfixhtml = '<span class="input-group-text input-group-append bootstrap-touchspin-postfix input-group-text bootstrap-touchspin-injected">' + settings.postfix + '</span>';
|
||||
|
||||
if (prev.hasClass('input-group-btn') || prev.hasClass('input-group-prepend')) {
|
||||
downhtml = '<button class="' + settings.buttondown_class + ' bootstrap-touchspin-down bootstrap-touchspin-injected" type="button">' + settings.buttondown_txt + '</button>';
|
||||
@@ -283,10 +283,10 @@
|
||||
}
|
||||
|
||||
if (settings.verticalbuttons) {
|
||||
html = '<div class="input-group ' + inputGroupSize + ' bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-addon input-group-text bootstrap-touchspin-prefix">' + settings.prefix + '</span><span class="input-group-addon bootstrap-touchspin-postfix input-group-text">' + settings.postfix + '</span><span class="input-group-btn-vertical"><button class="' + settings.buttondown_class + ' bootstrap-touchspin-up ' + settings.verticalupclass + '" type="button">' + settings.verticalup + '</button><button class="' + settings.buttonup_class + ' bootstrap-touchspin-down ' + settings.verticaldownclass + '" type="button">' + settings.verticaldown + '</button></span></div>';
|
||||
html = '<div class="input-group ' + inputGroupSize + ' bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-text input-group-text bootstrap-touchspin-prefix">' + settings.prefix + '</span><span class="input-group-text bootstrap-touchspin-postfix input-group-text">' + settings.postfix + '</span><span class="input-group-btn-vertical"><button class="' + settings.buttondown_class + ' bootstrap-touchspin-up ' + settings.verticalupclass + '" type="button">' + settings.verticalup + '</button><button class="' + settings.buttonup_class + ' bootstrap-touchspin-down ' + settings.verticaldownclass + '" type="button">' + settings.verticaldown + '</button></span></div>';
|
||||
}
|
||||
else {
|
||||
html = '<div class="input-group bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-btn input-group-prepend"><button class="' + settings.buttondown_class + ' bootstrap-touchspin-down" type="button">' + settings.buttondown_txt + '</button></span><span class="input-group-addon bootstrap-touchspin-prefix input-group-text">' + settings.prefix + '</span><span class="input-group-addon bootstrap-touchspin-postfix input-group-text">' + settings.postfix + '</span><span class="input-group-btn input-group-append"><button class="' + settings.buttonup_class + ' bootstrap-touchspin-up" type="button">' + settings.buttonup_txt + '</button></span></div>';
|
||||
html = '<div class="input-group bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-btn input-group-prepend"><button class="' + settings.buttondown_class + ' bootstrap-touchspin-down" type="button">' + settings.buttondown_txt + '</button></span><span class="input-group-text bootstrap-touchspin-prefix input-group-text">' + settings.prefix + '</span><span class="input-group-text bootstrap-touchspin-postfix input-group-text">' + settings.postfix + '</span><span class="input-group-btn input-group-append"><button class="' + settings.buttonup_class + ' bootstrap-touchspin-up" type="button">' + settings.buttonup_txt + '</button></span></div>';
|
||||
}
|
||||
|
||||
container = $(html).insertBefore(originalinput);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user