2020-10-11 22:16:00 +02:00
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2020-12-29 20:22:36 +01:00
|
|
|
p {
|
|
|
|
margin: 5px 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
2020-10-11 22:16:00 +02:00
|
|
|
.errorlist {
|
2020-12-29 20:22:36 +01:00
|
|
|
list-style-type: none;
|
|
|
|
margin: 5px 0 0 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 0.7em;
|
|
|
|
|
|
|
|
li {
|
|
|
|
@include error_box;
|
|
|
|
border-bottom: none;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:first-child {
|
|
|
|
border-radius: 10px 10px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nonfield {
|
|
|
|
margin: 0 0 10px;
|
|
|
|
|
|
|
|
:last-child {
|
|
|
|
border-bottom-left-radius: 10px;
|
|
|
|
border-bottom-right-radius: 10px;
|
|
|
|
border-bottom: 1px solid $error_box_border_color;
|
|
|
|
}
|
|
|
|
}
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
|
2020-12-29 20:22:36 +01:00
|
|
|
.errorfield {
|
|
|
|
padding: 10px;
|
|
|
|
border: solid 1px $error_box_border_color;
|
|
|
|
border-radius: 0 0 10px 10px;
|
|
|
|
margin-top: 0;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.helptext {
|
2020-12-20 01:10:02 +01:00
|
|
|
display: block;
|
2020-10-11 22:16:00 +02:00
|
|
|
font-size: 0.7em;
|
|
|
|
color: $help_text_color;
|
|
|
|
}
|
|
|
|
|
2020-12-29 20:22:36 +01:00
|
|
|
.requiredfield label::after {
|
|
|
|
content: " *";
|
|
|
|
color: $header_border_color;
|
|
|
|
vertical-align: text-top;
|
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
|
|
|
|
|
|
|
input, select, textarea {
|
2020-10-11 22:16:00 +02:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
font: inherit;
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"],
|
|
|
|
input[type="email"],
|
2020-12-13 00:12:06 +01:00
|
|
|
input[type="password"],
|
|
|
|
input[type="search"],
|
2020-12-29 20:22:36 +01:00
|
|
|
input[type="url"],
|
|
|
|
input[type="number"],
|
|
|
|
select[multiple],
|
2020-12-13 00:12:06 +01:00
|
|
|
textarea {
|
2020-10-11 22:16:00 +02:00
|
|
|
background-color: white;
|
|
|
|
border: solid 1px $help_text_color;
|
|
|
|
padding: 5px 10px;
|
2020-12-13 00:12:06 +01:00
|
|
|
border-radius: 5px;
|
2020-10-11 22:16:00 +02:00
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
&:optional {
|
2020-12-29 20:22:36 +01:00
|
|
|
border-color: fade-out($help_text_color, .25);
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
&:focus {
|
2020-12-29 20:22:36 +01:00
|
|
|
border-color: $header_bg_color;
|
|
|
|
box-shadow: 0 0 1.5px 1px $header_bg_color;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
&:-moz-ui-invalid {
|
2020-12-29 20:22:36 +01:00
|
|
|
border-color: $error_box_border_color;
|
|
|
|
box-shadow: 0 0 1.5px 1px $error_box_border_color;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-13 00:12:06 +01:00
|
|
|
textarea {
|
|
|
|
font-family: $font_family;
|
|
|
|
font-size: 1em;
|
|
|
|
resize: vertical;
|
|
|
|
min-height: 120px;
|
|
|
|
}
|
|
|
|
|
2020-10-11 22:16:00 +02:00
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
|
|
|
width: auto;
|
|
|
|
margin: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="submit"] {
|
|
|
|
@include button;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
|
2020-12-29 20:22:36 +01:00
|
|
|
&:not([multiple]) {
|
|
|
|
@include button;
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px 25px 5px 10px;
|
|
|
|
border-radius: 5px;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
background-image: url('/static/img/select_arrow.svg');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right .7em top 50%, 0 0;
|
|
|
|
background-size: .65em auto, 100%;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
|
2020-12-29 20:22:36 +01:00
|
|
|
&[multiple] {
|
|
|
|
padding: 0;
|
2020-10-11 22:16:00 +02:00
|
|
|
|
2020-12-29 20:22:36 +01:00
|
|
|
option {
|
|
|
|
color: black;
|
|
|
|
background-color: lighten($header_border_color, 50%);
|
|
|
|
padding: 2px 10px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten($header_border_color, 30%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
|
|
|
|
2020-11-28 00:33:33 +01:00
|
|
|
form.search {
|
|
|
|
flex-direction: row;
|
2020-10-11 22:16:00 +02:00
|
|
|
|
2020-12-13 00:12:06 +01:00
|
|
|
input[type="search"] {
|
2021-01-05 22:10:21 +01:00
|
|
|
border-radius: 10px 0 0 10px;
|
2020-12-13 00:12:06 +01:00
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 0 10px 10px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
form.comment {
|
2020-12-20 01:10:02 +01:00
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
|
2020-12-13 00:12:06 +01:00
|
|
|
textarea {
|
|
|
|
border-radius: 10px 10px 0 0;
|
|
|
|
border-bottom: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-11-28 00:33:33 +01:00
|
|
|
button {
|
2020-12-13 00:12:06 +01:00
|
|
|
border-radius: 0 0 10px 10px;
|
2020-11-28 00:33:33 +01:00
|
|
|
margin: 0;
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|
2020-12-20 01:10:02 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
form#edited_comment {
|
|
|
|
.meta {
|
|
|
|
padding: 10px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
border-radius: 10px 10px 0 0;
|
|
|
|
border: 1px solid $indexbar_bg_color_1;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2020-10-11 22:16:00 +02:00
|
|
|
}
|