2020-09-18 19:07:06 +02:00
|
|
|
.form form > div:not(:last-child):not(.editor-toolbar) {
|
2021-07-14 16:30:45 +02:00
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
.form form label {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 5px 4px 0;
|
|
|
|
}
|
|
|
|
.form form label + .desc {
|
|
|
|
margin: 0 0 4px 0;
|
|
|
|
font-size: 80%;
|
2021-07-15 15:23:20 +02:00
|
|
|
opacity: .75;
|
2019-02-03 01:11:03 +01:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form form .avatar {
|
|
|
|
width: 128px;
|
|
|
|
height: 128px;
|
2019-04-04 21:31:14 +02:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form form .avatar + input[type="file"] {
|
|
|
|
margin: 16px 0 0 0;
|
|
|
|
vertical-align: middle;
|
2019-02-03 01:11:03 +01:00
|
|
|
}
|
|
|
|
.form input[type='text'],
|
|
|
|
.form input[type='email'],
|
|
|
|
.form input[type='date'],
|
|
|
|
.form input[type='password'],
|
2019-03-31 12:17:55 +02:00
|
|
|
.form input[type='search'],
|
2019-08-19 16:15:32 +02:00
|
|
|
.form textarea,
|
2021-07-14 16:30:45 +02:00
|
|
|
.form select {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 6px 8px;
|
|
|
|
background: var(--background);
|
|
|
|
color: var(--text);
|
|
|
|
border: var(--border);
|
2021-07-15 15:23:20 +02:00
|
|
|
transition: all .15s ease, width 0s, height 0s;
|
2019-02-03 01:11:03 +01:00
|
|
|
}
|
|
|
|
.form input[type='text']:focus,
|
|
|
|
.form input[type='email']:focus,
|
|
|
|
.form input[type='date']:focus,
|
|
|
|
.form input[type='password']:focus,
|
2019-03-31 12:17:55 +02:00
|
|
|
.form input[type='search']:focus,
|
2021-07-14 16:30:45 +02:00
|
|
|
.form textarea:focus,
|
|
|
|
.form select:focus {
|
|
|
|
border-color: var(--border-focused);
|
|
|
|
box-shadow: 0 0 0 3px var(--shadow-focused);
|
2019-03-31 12:17:55 +02:00
|
|
|
}
|
2021-07-08 14:09:17 +02:00
|
|
|
.form input[type='text']:focus-within,
|
|
|
|
.form input[type='email']:focus-within,
|
|
|
|
.form input[type='date']:focus-within,
|
|
|
|
.form input[type='password']:focus-within,
|
|
|
|
.form input[type='search']:focus-within,
|
2021-07-14 16:30:45 +02:00
|
|
|
.form textarea:focus-within,
|
|
|
|
.form select:focus-within {
|
|
|
|
outline: none;
|
2021-07-08 14:09:17 +02:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form input[type='checkbox'],
|
2021-07-08 11:43:09 +02:00
|
|
|
.form input[type='radio'] {
|
2021-07-14 16:30:45 +02:00
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
2021-07-08 11:43:09 +02:00
|
|
|
margin: 0 4px 0 0;
|
|
|
|
}
|
2019-03-31 12:17:55 +02:00
|
|
|
.form textarea {
|
2021-07-14 16:30:45 +02:00
|
|
|
max-width: 100%;
|
|
|
|
resize: vertical;
|
2019-02-03 01:11:03 +01:00
|
|
|
}
|
2020-07-29 00:57:06 +02:00
|
|
|
.form select {
|
2021-07-14 16:30:45 +02:00
|
|
|
width: auto;
|
2020-07-29 00:57:06 +02:00
|
|
|
}
|
2020-07-25 18:06:49 +02:00
|
|
|
.form progress.entropy {
|
2021-07-14 16:30:45 +02:00
|
|
|
display: none;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 5px;
|
|
|
|
background: var(--background);
|
|
|
|
border: var(--border);
|
|
|
|
}
|
|
|
|
.form progress.entropy.low::-moz-progress-bar,
|
2020-07-25 18:06:49 +02:00
|
|
|
.form progress.entropy.low::-webkit-progress-bar {
|
2021-07-14 16:30:45 +02:00
|
|
|
background: var(--error);
|
2020-07-25 18:06:49 +02:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form progress.entropy.medium::-moz-progress-bar,
|
2020-07-25 18:06:49 +02:00
|
|
|
.form progress.entropy.medium::-webkit-progress-bar {
|
2021-07-14 16:30:45 +02:00
|
|
|
background: var(--warn);
|
2020-07-25 18:06:49 +02:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form progress.entropy.high::-moz-progress-bar,
|
2020-07-25 18:06:49 +02:00
|
|
|
.form progress.entropy.high::-webkit-progress-bar {
|
2021-07-14 16:30:45 +02:00
|
|
|
background: var(--ok);
|
2019-08-10 20:06:07 +02:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form hr {
|
|
|
|
height: 3px;
|
|
|
|
border: var(--hr-border);
|
|
|
|
border-width: 1px 0;
|
|
|
|
margin: 24px 0;
|
2019-08-19 16:15:32 +02:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form .msgerror {
|
|
|
|
color: var(--error);
|
|
|
|
font-weight: 400;
|
|
|
|
margin-top: 5px;
|
2019-08-19 16:15:32 +02:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form .abfield {
|
|
|
|
display: none;
|
2019-09-08 14:34:51 +02:00
|
|
|
}
|
2021-07-14 16:30:45 +02:00
|
|
|
.form.filter {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
2020-11-02 14:31:28 +01:00
|
|
|
.form.filter > p:first-child {
|
|
|
|
font-size: 80%;
|
|
|
|
color: gray;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
.form.filter input {
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
.form.filter .syntax-explanation {
|
|
|
|
font-size: 80%;
|
|
|
|
color: gray;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
.form.filter .syntax-explanation ul {
|
|
|
|
font-size: inherit;
|
|
|
|
color: inherit;
|
|
|
|
padding-left: 16px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
.form.filter .syntax-explanation code {
|
2021-07-15 15:23:20 +02:00
|
|
|
background: rgba(0,0,0,.05);
|
2020-11-02 14:31:28 +01:00
|
|
|
padding: 1px 2px;
|
|
|
|
border-radius: 2px;
|
2021-07-15 15:23:20 +02:00
|
|
|
}
|