discourse/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

77 lines
1.1 KiB
SCSS
Raw Normal View History

$poll-margin: 10px;
2016-06-13 18:21:14 +08:00
.poll-ui-builder-form {
display: flex;
margin: 0;
2016-06-15 21:21:17 +08:00
.options {
flex-shrink: 0;
width: 280px;
}
.combo-box {
min-width: 180px;
width: 180px;
}
.d-editor-preview {
margin-left: $poll-margin * 2;
width: 360px;
}
2016-06-13 18:21:14 +08:00
label {
font-weight: bold;
display: inline;
}
.tip {
display: block;
margin-bottom: $poll-margin * 1.5;
margin-top: $poll-margin / 2;
font-size: $font-down-1;
}
.poll-select {
margin-bottom: $poll-margin;
display: flex;
align-items: center;
}
.input-group-label {
min-width: 85px;
2016-06-15 21:21:17 +08:00
}
.input-group {
display: flex;
justify-content: space-between;
}
.poll-number {
margin: $poll-margin 0;
display: flex;
align-items: center;
input {
width: 70px;
}
}
.poll-textarea {
flex-direction: column;
}
.poll-textarea textarea {
width: 100%;
height: 90px;
box-sizing: border-box;
}
.poll-select + .poll-textarea {
margin-top: $poll-margin;
2016-06-13 18:21:14 +08:00
}
.poll-checkbox,
.poll-date {
margin-top: $poll-margin / 2;
2016-06-13 18:21:14 +08:00
}
}