2020-08-07 07:03:02 +02:00
|
|
|
.form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form label {
|
2020-08-09 08:48:43 +02:00
|
|
|
display: block;
|
2020-08-07 07:03:02 +02:00
|
|
|
min-width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
|
|
|
display: flex;
|
2021-03-06 01:18:31 +01:00
|
|
|
flex-wrap: wrap;
|
2020-08-07 07:03:02 +02:00
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
line-height: 1.8;
|
2021-03-08 22:18:24 +01:00
|
|
|
padding: 0 20px;
|
2020-08-07 07:03:02 +02:00
|
|
|
}
|
|
|
|
|
2020-10-22 20:00:58 +02:00
|
|
|
.row > div {
|
|
|
|
position: relative;
|
2021-03-06 01:18:31 +01:00
|
|
|
flex: 1 1;
|
|
|
|
}
|
|
|
|
|
2022-08-26 17:22:46 +02:00
|
|
|
.row > div > input,
|
|
|
|
.row > div > select {
|
2021-03-06 01:18:31 +01:00
|
|
|
width: 100%;
|
2021-03-06 01:48:20 +01:00
|
|
|
min-width: 240px;
|
2020-10-22 20:00:58 +02:00
|
|
|
}
|
|
|
|
|
2020-08-07 07:03:02 +02:00
|
|
|
.buttons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2020-08-08 02:19:42 +02:00
|
|
|
margin-top: 20px;
|
2020-08-07 07:03:02 +02:00
|
|
|
}
|
|
|
|
|
2020-08-23 04:05:07 +02:00
|
|
|
.buttons button + button {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2020-08-07 07:03:02 +02:00
|
|
|
.error {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
top: 0;
|
2020-10-22 20:00:58 +02:00
|
|
|
left: calc(100% + 16px);
|
2020-08-07 07:03:02 +02:00
|
|
|
bottom: 0;
|
2020-10-22 20:00:58 +02:00
|
|
|
z-index: 1;
|
2020-08-09 11:03:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.msg {
|
2020-09-20 10:33:39 +02:00
|
|
|
color: var(--msgColor);
|
2020-08-09 11:03:37 +02:00
|
|
|
background: var(--red400);
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
padding: 4px 8px;
|
2020-08-07 07:03:02 +02:00
|
|
|
border-radius: 4px;
|
2020-08-09 08:48:43 +02:00
|
|
|
white-space: nowrap;
|
2020-08-07 07:03:02 +02:00
|
|
|
}
|
|
|
|
|
2020-08-07 11:27:12 +02:00
|
|
|
.error:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: -5px;
|
|
|
|
bottom: 0;
|
|
|
|
margin: auto;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2020-08-08 02:19:42 +02:00
|
|
|
background: var(--red400);
|
2020-08-07 11:27:12 +02:00
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
2020-08-07 07:03:02 +02:00
|
|
|
.message {
|
|
|
|
text-align: center;
|
|
|
|
margin: 20px 0;
|
|
|
|
padding: 4px 8px;
|
|
|
|
border-radius: 4px;
|
|
|
|
color: var(--gray50);
|
|
|
|
background: var(--gray800);
|
|
|
|
}
|
2020-10-22 20:00:58 +02:00
|
|
|
|
|
|
|
@media only screen and (max-width: 576px) {
|
|
|
|
.error {
|
|
|
|
align-items: flex-start;
|
|
|
|
top: calc(100% + 7px);
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error:after {
|
|
|
|
left: 10px;
|
|
|
|
}
|
|
|
|
}
|