85 lines
1.3 KiB
SCSS
85 lines
1.3 KiB
SCSS
form.answer-form {
|
|
@include box-sizing(border-box);
|
|
border-top: 1px solid #ddd;
|
|
overflow: hidden;
|
|
padding-left: flex-grid(1.1);
|
|
// padding-top: 20px;
|
|
|
|
textarea {
|
|
@include box-sizing(border-box);
|
|
margin-top: 15px;
|
|
resize: vertical;
|
|
width: 99%;
|
|
}
|
|
|
|
div.form-item {
|
|
margin: 25px 0;
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: -5px;
|
|
}
|
|
}
|
|
|
|
span.form-error, label.form-error {
|
|
color: #990000;
|
|
display: inline;
|
|
font-size: 90%;
|
|
font-weight: bold;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
div.preview-toggle{
|
|
padding: 15px 0;
|
|
width: auto;
|
|
a {
|
|
@extend .light-button;
|
|
}
|
|
}
|
|
|
|
.wmd-preview {
|
|
margin: 3px 0 15px 0;
|
|
padding: 10px;
|
|
background-color: #F5F5F5;
|
|
min-height: 20px;
|
|
overflow: auto;
|
|
font-size: 13px;
|
|
font-family: Arial;
|
|
|
|
p {
|
|
margin-bottom: 14px;
|
|
line-height: 1.4;
|
|
font-size: 14px;
|
|
}
|
|
|
|
pre {
|
|
background-color: #E7F1F8;
|
|
}
|
|
|
|
blockquote {
|
|
background-color: #eee;
|
|
}
|
|
}
|
|
}
|
|
|
|
input.after-editor {
|
|
margin-bottom: 20px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
form.question-form {
|
|
@extend .answer-form;
|
|
border: none;
|
|
padding: 0;
|
|
margin-top: -15px;
|
|
|
|
input[type="text"] {
|
|
width: flex-grid(6);
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
|