FIX: update poll-builder to new modal design

This commit is contained in:
Joe 2018-05-30 21:00:54 +08:00 committed by GitHub
parent 704cca3de2
commit ec7f597274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 9 deletions

View File

@ -1,10 +1,6 @@
.poll-ui-builder-form { .poll-ui-builder-form {
margin: 0; margin: 0;
.input-group {
padding: 10px;
}
label { label {
font-weight: bold; font-weight: bold;
display: inline; display: inline;
@ -12,7 +8,7 @@
.tip { .tip {
display: block; display: block;
margin-bottom: 5px; min-height: 20px;
} }
.input-group-label { .input-group-label {
@ -20,11 +16,33 @@
width: 45px; width: 45px;
} }
.combobox { .poll-number {
margin-right: 5px; margin: 8px 0;
.tip {
margin-bottom: 6px;
} }
.poll-options-min, .poll-options-max, .poll-options-step { input {
width: 70px !important; width: 70px;
}
input + .tip {
margin-top: 4px;
}
}
.poll-textarea textarea {
width: 100%;
height: 90px;
box-sizing: border-box;
}
.poll-select + .poll-textarea {
margin-top: 12px;
}
.poll-checkbox {
margin-top: 4px;
} }
} }