2019-05-04 14:53:18 +02:00
|
|
|
/* email, number, password, search, tel, text */
|
2018-12-26 08:45:53 +01:00
|
|
|
input[type="email"],
|
|
|
|
input[type="number"],
|
|
|
|
input[type="password"],
|
|
|
|
input[type="search"],
|
|
|
|
input[type="tel"],
|
|
|
|
input[type="text"] {
|
2019-04-01 17:11:39 +02:00
|
|
|
background-color: rgb(var(--gray-02));
|
|
|
|
padding: 0 1em;
|
2018-12-26 08:45:53 +01:00
|
|
|
margin: 0 0 1em 0;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-input-text));
|
2018-12-26 08:45:53 +01:00
|
|
|
font-size: 1em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
line-height: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
width: 100%;
|
2019-05-11 09:33:19 +02:00
|
|
|
border-width: var(--form-input-border);
|
2018-12-26 08:45:53 +01:00
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius);
|
2018-12-26 08:45:53 +01:00
|
|
|
cursor: text;
|
2019-04-04 17:52:29 +02:00
|
|
|
transition: background-color var(--animation-speed-fast) ease-in-out, color var(--animation-speed-fast) ease-in-out, border-color var(--animation-speed-fast) ease-in-out, box-shadow var(--animation-speed-fast) ease-in-out;
|
2018-12-26 08:45:53 +01:00
|
|
|
-moz-appearance: textfield;
|
|
|
|
}
|
|
|
|
|
2019-04-26 14:48:37 +02:00
|
|
|
input[type="number"] {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=number]::-webkit-inner-spin-button,
|
|
|
|
input[type=number]::-webkit-outer-spin-button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2019-04-01 17:11:39 +02:00
|
|
|
input[type="email"]:hover,
|
|
|
|
input[type="number"]:hover,
|
|
|
|
input[type="password"]:hover,
|
|
|
|
input[type="search"]:hover,
|
|
|
|
input[type="tel"]:hover,
|
|
|
|
input[type="text"]:hover {
|
|
|
|
background-color: rgb(var(--gray-03));
|
|
|
|
color: rgb(var(--form-input-text-hover));
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 var(--line-width) rgb(var(--gray-06));
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="email"]:focus,
|
|
|
|
input[type="number"]:focus,
|
|
|
|
input[type="password"]:focus,
|
|
|
|
input[type="search"]:focus,
|
|
|
|
input[type="tel"]:focus,
|
|
|
|
input[type="text"]:focus {
|
2019-05-11 09:33:19 +02:00
|
|
|
background-color: rgb(var(--gray-01));
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-input-text-focus));
|
|
|
|
outline: none;
|
|
|
|
z-index: 2;
|
2019-06-11 11:54:10 +02:00
|
|
|
box-shadow: 0 0 0 var(--line-width) rgb(var(--theme-accent)), 0 0 0 calc(var(--line-width) * 2) rgba(var(--theme-accent), 0.25);
|
2019-04-01 17:11:39 +02:00
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
input[type="email"][disabled],
|
2019-04-01 17:11:39 +02:00
|
|
|
input[type="number"][disabled],
|
|
|
|
input[type="password"][disabled],
|
|
|
|
input[type="search"][disabled],
|
|
|
|
input[type="tel"][disabled],
|
|
|
|
input[type="text"][disabled] {
|
|
|
|
background-color: transparent;
|
|
|
|
color: rgb(var(--form-input-text-disabled));
|
2019-04-04 17:52:29 +02:00
|
|
|
border-color: rgb(var(--form-input-text-disabled));
|
2019-04-01 17:11:39 +02:00
|
|
|
cursor: default;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
input[type="email"][disabled]:hover,
|
|
|
|
input[type="email"][disabled]:focus,
|
|
|
|
input[type="number"][disabled]:hover,
|
|
|
|
input[type="number"][disabled]:focus,
|
|
|
|
input[type="password"][disabled]:hover,
|
|
|
|
input[type="password"][disabled]:focus,
|
|
|
|
input[type="search"][disabled]:hover,
|
|
|
|
input[type="search"][disabled]:focus,
|
|
|
|
input[type="tel"][disabled]:hover,
|
|
|
|
input[type="tel"][disabled]:focus,
|
|
|
|
input[type="text"][disabled]:hover,
|
2019-04-01 17:11:39 +02:00
|
|
|
input[type="text"][disabled]:focus {
|
|
|
|
color: rgb(var(--form-input-text-disabled));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
input[type="email"]::placeholder,
|
|
|
|
input[type="number"]::placeholder,
|
|
|
|
input[type="password"]::placeholder,
|
|
|
|
input[type="search"]::placeholder,
|
|
|
|
input[type="tel"]::placeholder,
|
|
|
|
input[type="text"]::placeholder {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-input-placeholder));
|
2019-06-11 11:54:10 +02:00
|
|
|
transition: color var(--animation-speed-fast) ease-in-out;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="email"]:hover::placeholder,
|
|
|
|
input[type="number"]:hover::placeholder,
|
|
|
|
input[type="password"]:hover::placeholder,
|
|
|
|
input[type="search"]:hover::placeholder,
|
|
|
|
input[type="tel"]:hover::placeholder,
|
|
|
|
input[type="text"]:hover::placeholder {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-input-placeholder-hover-focus));
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="email"]:focus::placeholder,
|
|
|
|
input[type="number"]:focus::placeholder,
|
|
|
|
input[type="password"]:focus::placeholder,
|
|
|
|
input[type="search"]:focus::placeholder,
|
|
|
|
input[type="tel"]:focus::placeholder,
|
|
|
|
input[type="text"]:focus::placeholder {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-input-placeholder-hover-focus));
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="email"][disabled]::placeholder,
|
|
|
|
input[type="email"][disabled]:hover::placeholder,
|
|
|
|
input[type="email"][disabled]:focus::placeholder,
|
|
|
|
input[type="number"][disabled]::placeholder,
|
|
|
|
input[type="number"][disabled]:hover::placeholder,
|
|
|
|
input[type="number"][disabled]:focus::placeholder,
|
|
|
|
input[type="password"][disabled]::placeholder,
|
|
|
|
input[type="password"][disabled]:hover::placeholder,
|
|
|
|
input[type="password"][disabled]:focus::placeholder,
|
|
|
|
input[type="search"][disabled]::placeholder,
|
|
|
|
input[type="search"][disabled]:hover::placeholder,
|
|
|
|
input[type="search"][disabled]:focus::placeholder,
|
|
|
|
input[type="tel"][disabled]::placeholder,
|
|
|
|
input[type="tel"][disabled]:hover::placeholder,
|
|
|
|
input[type="tel"][disabled]:focus::placeholder,
|
|
|
|
input[type="text"][disabled]::placeholder,
|
|
|
|
input[type="text"][disabled]:hover::placeholder,
|
|
|
|
input[type="text"][disabled]:focus::placeholder {
|
|
|
|
color: rgb(var(--form-input-placeholder-disabled));
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
/* label */
|
2018-12-26 08:45:53 +01:00
|
|
|
label {
|
2019-05-04 14:53:18 +02:00
|
|
|
padding: 0;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-label));
|
2019-01-03 23:30:27 +01:00
|
|
|
margin-bottom: 0;
|
2018-12-26 08:45:53 +01:00
|
|
|
font-size: 1em;
|
2019-01-03 23:30:27 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
label:not(:only-child):not(:last-child) {
|
2019-05-11 09:33:19 +02:00
|
|
|
padding-bottom: 0.5em;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
label[disabled] {
|
|
|
|
color: rgb(var(--form-label-disabled));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
/* checkbox and radio */
|
2019-01-03 23:30:27 +01:00
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
2019-05-04 14:53:18 +02:00
|
|
|
margin-bottom: 0;
|
2019-01-03 23:30:27 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
opacity: 0;
|
|
|
|
display: block;
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1;
|
|
|
|
cursor: pointer;
|
2019-01-06 08:06:33 +01:00
|
|
|
pointer-events: none;
|
2019-01-03 23:30:27 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
2019-04-01 17:11:39 +02:00
|
|
|
/* transition: all var(--animation-speed-fast) ease-in-out; */
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]+label,
|
|
|
|
input[type="radio"]+label {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-checkbox-radio-label));
|
2019-01-03 23:30:27 +01:00
|
|
|
font-size: 1em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: flex-start;
|
2019-05-04 14:53:18 +02:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"]+label:before,
|
|
|
|
input[type="radio"]+label:before {
|
|
|
|
content: "";
|
2019-01-03 23:30:27 +01:00
|
|
|
margin-right: 0.5em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1;
|
|
|
|
display: block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2019-01-05 21:57:21 +01:00
|
|
|
transform: scale(1);
|
|
|
|
transition: transform 0.05s ease-in-out;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:focus+label,
|
|
|
|
input[type="checkbox"]:hover+label,
|
|
|
|
input[type="radio"]:focus+label,
|
|
|
|
input[type="radio"]:hover+label {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:active+label,
|
|
|
|
input[type="radio"]:active+label {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"]:focus+label:before,
|
|
|
|
input[type="checkbox"]:hover+label:before,
|
|
|
|
input[type="radio"]:focus+label:before,
|
|
|
|
input[type="radio"]:hover+label:before {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"]:active+label:before,
|
|
|
|
input[type="radio"]:active+label:before {
|
2019-06-11 11:54:10 +02:00
|
|
|
color: rgb(var(--theme-accent));
|
2019-01-03 23:30:27 +01:00
|
|
|
transform: scale(0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked+label,
|
|
|
|
input[type="radio"]:checked+label {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-checkbox-radio-chcked-label));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:not([disabled]):hover:checked+label,
|
|
|
|
input[type="checkbox"]:not([disabled]):focus:checked+label,
|
|
|
|
input[type="radio"]:not([disabled]):hover:checked+label,
|
|
|
|
input[type="radio"]:not([disabled]):focus:checked+label {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"]:checked+label:before,
|
|
|
|
input[type="radio"]:checked+label:before {
|
2019-06-11 11:54:10 +02:00
|
|
|
color: rgb(var(--theme-accent));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"]:checked:focus+label:before,
|
|
|
|
input[type="radio"]:checked:focus+label:before {
|
2019-01-03 23:30:27 +01:00
|
|
|
transform: scale(1.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"][disabled]+label,
|
|
|
|
input[type="radio"][disabled]+label {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-checkbox-radio-disabled-label));
|
2019-01-03 23:30:27 +01:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"][disabled]+label:before,
|
|
|
|
input[type="radio"][disabled]+label:before {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-checkbox-radio-disabled-label));
|
2019-01-03 23:30:27 +01:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"][disabled]:active+label:before,
|
|
|
|
input[type="radio"][disabled]:active+label:before {
|
2019-01-03 23:30:27 +01:00
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"]+label:before,
|
|
|
|
input[type="radio"]+label:before {
|
2019-01-03 23:30:27 +01:00
|
|
|
font-family: "Icons" !important;
|
|
|
|
speak: none;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
font-variant: normal;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"]+label:before {
|
2019-01-03 23:30:27 +01:00
|
|
|
content: "\e835";
|
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"]:checked+label:before {
|
2019-01-03 23:30:27 +01:00
|
|
|
content: "\e834";
|
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="radio"]+label:before {
|
2019-01-03 23:30:27 +01:00
|
|
|
content: "\e836";
|
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="radio"]:checked+label:before {
|
2019-01-03 23:30:27 +01:00
|
|
|
content: "\e837";
|
|
|
|
}
|
2019-01-24 21:28:11 +01:00
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
/* color */
|
|
|
|
input[type="color"] {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 1em 0;
|
2019-05-04 14:53:18 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 2.5em;
|
|
|
|
display: block;
|
|
|
|
border-width: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius);
|
2019-05-04 14:53:18 +02:00
|
|
|
overflow: hidden;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: border-color var(--animation-speed-fast) ease-in-out, box-shadow var(--animation-speed-fast) ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]:hover {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 var(--line-width) rgb(var(--gray-06));
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]:focus {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 var(--line-width) rgb(var(--gray-10));
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"][disabled] {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"][disabled]:hover,
|
|
|
|
input[type="color"][disabled]:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]::-webkit-color-swatch-wrapper {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]::-webkit-color-swatch {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]::-moz-color-swatch-wrapper {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]::-moz-color-swatch {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* range */
|
|
|
|
input[type="range"] {
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-01-24 21:28:11 +01:00
|
|
|
font-size: 1em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
height: 2em;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius);
|
2019-01-24 21:28:11 +01:00
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
background-color: rgb(var(--gray-08));
|
|
|
|
height: var(--line-width);
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius);
|
2019-01-24 21:28:11 +01:00
|
|
|
transform: translate(0, -50%);
|
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]:focus:before {
|
2019-04-01 17:11:39 +02:00
|
|
|
background-color: rgb(var(--style-neutral-text));
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"][disabled] {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"][disabled]:before {
|
|
|
|
background-color: rgb(var(--gray-04));
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-webkit-slider-runnable-track {
|
|
|
|
background-color: transparent;
|
|
|
|
margin: 0 -0.5em;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-webkit-slider-thumb {
|
|
|
|
background-color: rgb(var(--gray-01));
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-range-thumb));
|
2019-01-24 21:28:11 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border-width: var(--line-width);
|
|
|
|
border-style: solid;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-color: rgb(var(--theme-accent));
|
2019-01-24 21:28:11 +01:00
|
|
|
border-radius: 100%;
|
|
|
|
position: relative;
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
cursor: pointer;
|
|
|
|
box-sizing: border-box;
|
2019-04-26 14:48:37 +02:00
|
|
|
/* z-index: 2; */
|
2019-01-24 21:28:11 +01:00
|
|
|
transform: scale(1);
|
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]:active::-webkit-slider-thumb {
|
|
|
|
transform: scale(0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]:focus::-webkit-slider-thumb {
|
|
|
|
transform: scale(1.2);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-webkit-slider-thumb:focus,
|
|
|
|
input[type="range"]::-webkit-slider-thumb:hover {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-webkit-slider-thumb:active {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"][disabled]::-webkit-slider-thumb {
|
2019-05-04 14:53:18 +02:00
|
|
|
border-color: rgb(var(--gray-04));
|
2019-01-24 21:28:11 +01:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"][disabled]:active::-webkit-slider-thumb,
|
|
|
|
input[type="range"][disabled]:focus::-webkit-slider-thumb {
|
|
|
|
transform: scale(1);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-moz-range-track {
|
|
|
|
background-color: rgb(var(--gray-08));
|
|
|
|
margin: 0 -0.5em;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
height: var(--line-width);
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius);
|
2019-01-24 21:28:11 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-moz-range-thumb {
|
|
|
|
background-color: rgb(var(--gray-01));
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--form-range-thumb));
|
2019-01-24 21:28:11 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border-width: var(--line-width);
|
|
|
|
border-style: solid;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-color: rgb(var(--theme-accent));
|
2019-01-24 21:28:11 +01:00
|
|
|
border-radius: 100%;
|
|
|
|
position: relative;
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
cursor: pointer;
|
|
|
|
box-sizing: border-box;
|
2019-04-26 14:48:37 +02:00
|
|
|
/* z-index: 2; */
|
2019-01-24 21:28:11 +01:00
|
|
|
transform: scale(1);
|
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]:active::-moz-range-thumb {
|
|
|
|
transform: scale(0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]:focus::-moz-range-thumb {
|
|
|
|
transform: scale(1.2);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-moz-range-thumb:focus,
|
|
|
|
input[type="range"]::-moz-range-thumb:hover {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-moz-range-thumb:active {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"]::-moz-range-progress {
|
2019-06-11 11:54:10 +02:00
|
|
|
background-color: rgb(var(--theme-accent));
|
2019-01-24 21:28:11 +01:00
|
|
|
height: calc(var(--line-width) * 1.5);
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius);
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"][disabled]::-moz-range-track {
|
|
|
|
background-color: rgb(var(--gray-04));
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"][disabled]::-moz-range-thumb {
|
2019-05-04 14:53:18 +02:00
|
|
|
border-color: rgb(var(--gray-04));
|
2019-01-24 21:28:11 +01:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"][disabled]:active::-moz-range-thumb,
|
|
|
|
input[type="range"][disabled]:focus::-moz-range-thumb {
|
|
|
|
transform: scale(1);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"][disabled]::-moz-range-progress {
|
2019-06-11 11:54:10 +02:00
|
|
|
background-color: rgb(var(--gray-04));
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
2019-04-26 14:48:37 +02:00
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
/* input helper */
|
|
|
|
.input-helper {
|
|
|
|
margin-bottom: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-helper:not(:only-child):not(:last-child) {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
2019-05-11 09:33:19 +02:00
|
|
|
.input-helper[disabled],
|
2019-05-04 14:53:18 +02:00
|
|
|
input[type="checkbox"][disabled]~.input-helper,
|
|
|
|
input[type="radio"][disabled]~.input-helper,
|
|
|
|
input[type="email"][disabled]~.input-helper,
|
|
|
|
input[type="number"][disabled]~.input-helper,
|
|
|
|
input[type="password"][disabled]~.input-helper,
|
|
|
|
input[type="search"][disabled]~.input-helper,
|
|
|
|
input[type="tel"][disabled]~.input-helper,
|
|
|
|
input[type="text"][disabled]~.input-helper,
|
|
|
|
input[type="range"][disabled]~.input-helper {
|
|
|
|
color: rgb(var(--form-input-text-disabled-helper-text));
|
|
|
|
}
|
|
|
|
|
|
|
|
/* input variants */
|
|
|
|
.input-wrap {
|
|
|
|
padding: 0.5em 0;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-wrap.input-button {
|
|
|
|
width: initial;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-button input[type="checkbox"]+label,
|
|
|
|
.input-button input[type="radio"]+label,
|
|
|
|
.input-button input[type="color"]+label {
|
|
|
|
background-color: rgb(var(--gray-02));
|
|
|
|
padding: 0.125em 1em;
|
|
|
|
margin: 0;
|
|
|
|
color: rgb(var(--button-text));
|
|
|
|
font-size: 1em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
min-height: 2.5em;
|
|
|
|
line-height: 1;
|
|
|
|
border: 0;
|
|
|
|
border-top-width: var(--line-width);
|
|
|
|
border-bottom-width: var(--line-width);
|
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius);
|
2019-05-04 14:53:18 +02:00
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
|
|
box-shadow: none;
|
2019-06-11 11:54:10 +02:00
|
|
|
transition: background-color var(--animation-speed-fast) ease-in-out, color var(--animation-speed-fast) ease-in-out, border var(--animation-speed-fast) ease-in-out;
|
2019-05-04 14:53:18 +02:00
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-button input[type="checkbox"]:hover+label,
|
|
|
|
.input-button input[type="checkbox"]:focus+label,
|
|
|
|
.input-button input[type="radio"]:hover+label,
|
|
|
|
.input-button input[type="radio"]:focus+label,
|
|
|
|
.input-button input[type="color"]:hover+label,
|
|
|
|
.input-button input[type="color"]:focus+label {
|
|
|
|
background-color: rgb(var(--gray-03));
|
|
|
|
border-bottom-color: rgb(var(--gray-08));
|
|
|
|
color: rgb(var(--button-text-hover-focus));
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-button input[type="checkbox"]:active+label,
|
|
|
|
.input-button input[type="radio"]:active+label,
|
|
|
|
.input-button input[type="color"]:active+label {
|
|
|
|
background-color: rgb(var(--gray-04));
|
2019-06-11 11:54:10 +02:00
|
|
|
border-bottom-color: rgb(var(--theme-accent));
|
2019-05-04 14:53:18 +02:00
|
|
|
color: rgb(var(--button-text-active));
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-button input[type="checkbox"]:checked+label,
|
|
|
|
.input-button input[type="radio"]:checked+label,
|
|
|
|
.input-button input[type="color"]:checked+label {
|
|
|
|
background-color: rgb(var(--gray-04));
|
2019-06-11 11:54:10 +02:00
|
|
|
border-bottom-color: rgb(var(--theme-accent));
|
2019-05-04 14:53:18 +02:00
|
|
|
color: rgb(var(--button-text-active));
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-button input[type="checkbox"][disabled]+label,
|
|
|
|
.input-button input[type="checkbox"][disabled]:hover+label,
|
|
|
|
.input-button input[type="checkbox"][disabled]:focus+label,
|
|
|
|
.input-button input[type="checkbox"][disabled]:active+label,
|
|
|
|
.input-button input[type="radio"][disabled]+label,
|
|
|
|
.input-button input[type="radio"][disabled]:hover+label,
|
|
|
|
.input-button input[type="radio"][disabled]:focus+label,
|
|
|
|
.input-button input[type="radio"][disabled]:active+label,
|
|
|
|
.input-button input[type="color"][disabled]+label,
|
|
|
|
.input-button input[type="color"][disabled]:hover+label,
|
|
|
|
.input-button input[type="color"][disabled]:focus+label,
|
|
|
|
.input-button input[type="color"][disabled]:active+label {
|
|
|
|
background-color: rgb(var(--gray-02));
|
|
|
|
border-color: transparent;
|
|
|
|
color: rgb(var(--button-text-disabled));
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-color-dot input[type="color"] {
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 0.5em;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
z-index: 1;
|
|
|
|
border-radius: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-color-dot input[type="color"]:hover {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-color-dot input[type="color"]:focus {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-color-dot-accent input[type="color"],
|
|
|
|
.input-color-dot-accent input[type="color"]:hover,
|
|
|
|
.input-color-dot-accent input[type="color"]:focus {
|
2019-06-11 11:54:10 +02:00
|
|
|
box-shadow: 0 0 0.25em 0 rgba(var(--theme-accent), 0.6), 0 0 0.5em 0 rgba(var(--theme-accent), 0.4);
|
2019-05-04 14:53:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-color-dot input[type="color"]+label {
|
|
|
|
padding-right: 2.25em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-hide input[type="checkbox"]+label:before,
|
|
|
|
.input-hide input[type="checkbox"]:checked+label:before,
|
|
|
|
.input-hide input[type="radio"]+label:before,
|
|
|
|
.input-hide input[type="radio"]:checked+label:before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-hide input[type="color"] {
|
|
|
|
opacity: 0;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* form variants */
|
|
|
|
.form-indent {
|
|
|
|
margin-left: 2.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-inline {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 1.5em;
|
2019-05-11 09:33:19 +02:00
|
|
|
width: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group-text {
|
|
|
|
background-color: rgb(var(--gray-02));
|
|
|
|
padding: 0 1em;
|
|
|
|
margin: 0;
|
|
|
|
color: rgb(var(--style-neutral-text));
|
|
|
|
min-width: 4em;
|
|
|
|
font-size: 1em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
border: 0;
|
|
|
|
border-top-width: var(--line-width);
|
|
|
|
border-bottom-width: var(--line-width);
|
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius);
|
2019-05-11 09:33:19 +02:00
|
|
|
transition: background-color var(--animation-speed-fast) ease-in-out, border-color var(--animation-speed-fast) ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group-text:hover,
|
|
|
|
.form-group-text:focus {
|
|
|
|
background-color: rgb(var(--gray-03));
|
|
|
|
border-bottom-color: rgb(var(--gray-08));
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group-text[disabled] {
|
|
|
|
background-color: rgb(var(--gray-02));
|
|
|
|
color: rgb(var(--form-input-placeholder-disabled));
|
|
|
|
box-shadow: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group-text[disabled]:hover,
|
|
|
|
.form-group-text[disabled]:focus {
|
|
|
|
background-color: rgb(var(--gray-02));
|
|
|
|
border-color: transparent;
|
2019-05-04 14:53:18 +02:00
|
|
|
}
|
|
|
|
|
2019-04-26 14:48:37 +02:00
|
|
|
.form-group {
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
display: inline-flex;
|
2019-05-23 20:15:14 +02:00
|
|
|
justify-content: flex-start;
|
2019-04-26 14:48:37 +02:00
|
|
|
align-items: stretch;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group button,
|
|
|
|
.form-group .button,
|
|
|
|
.form-group>input[type="email"],
|
|
|
|
.form-group>input[type="number"],
|
|
|
|
.form-group>input[type="password"],
|
|
|
|
.form-group>input[type="search"],
|
|
|
|
.form-group>input[type="tel"],
|
2019-05-04 14:53:18 +02:00
|
|
|
.form-group>input[type="text"],
|
|
|
|
.form-group>input[type="color"] {
|
2019-04-26 14:48:37 +02:00
|
|
|
margin: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2019-05-11 09:33:19 +02:00
|
|
|
.form-group .form-group-text {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: calc(-1px * var(--form-input-border));
|
|
|
|
border-radius: 0;
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
2019-04-26 14:48:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-group>input[type="email"],
|
|
|
|
.form-group>input[type="number"],
|
|
|
|
.form-group>input[type="password"],
|
|
|
|
.form-group>input[type="search"],
|
|
|
|
.form-group>input[type="tel"],
|
2019-05-04 14:53:18 +02:00
|
|
|
.form-group>input[type="text"],
|
|
|
|
.form-group>input[type="color"] {
|
2019-05-11 09:33:19 +02:00
|
|
|
z-index: 2;
|
2019-04-26 14:48:37 +02:00
|
|
|
}
|
|
|
|
|
2019-05-11 09:33:19 +02:00
|
|
|
.form-group>.form-group-text:hover,
|
2019-04-26 14:48:37 +02:00
|
|
|
.form-group>input[type="email"]:hover,
|
|
|
|
.form-group>input[type="number"]:hover,
|
|
|
|
.form-group>input[type="password"]:hover,
|
|
|
|
.form-group>input[type="search"]:hover,
|
|
|
|
.form-group>input[type="tel"]:hover,
|
2019-05-04 14:53:18 +02:00
|
|
|
.form-group>input[type="text"]:hover,
|
|
|
|
.form-group>input[type="color"]:hover {
|
2019-05-11 09:33:19 +02:00
|
|
|
z-index: 3;
|
2019-04-26 14:48:37 +02:00
|
|
|
}
|
|
|
|
|
2019-05-11 09:33:19 +02:00
|
|
|
.form-group>.form-group-text:active,
|
|
|
|
.form-group>.form-group-text:focus,
|
2019-04-26 14:48:37 +02:00
|
|
|
.form-group>input[type="email"]:active,
|
|
|
|
.form-group>input[type="email"]:focus,
|
|
|
|
.form-group>input[type="number"]:active,
|
|
|
|
.form-group>input[type="number"]:focus,
|
|
|
|
.form-group>input[type="password"]:active,
|
|
|
|
.form-group>input[type="password"]:focus,
|
|
|
|
.form-group>input[type="search"]:active,
|
|
|
|
.form-group>input[type="search"]:focus,
|
|
|
|
.form-group>input[type="tel"]:active,
|
|
|
|
.form-group>input[type="tel"]:focus,
|
|
|
|
.form-group>input[type="text"]:active,
|
2019-05-04 14:53:18 +02:00
|
|
|
.form-group>input[type="text"]:focus,
|
|
|
|
.form-group>input[type="color"]:active,
|
|
|
|
.form-group>input[type="color"]:focus {
|
2019-05-11 09:33:19 +02:00
|
|
|
z-index: 4;
|
2019-04-26 14:48:37 +02:00
|
|
|
}
|
|
|
|
|
2019-05-11 09:33:19 +02:00
|
|
|
.form-group>.form-group-text:first-child,
|
2019-04-26 14:48:37 +02:00
|
|
|
.form-group>button:first-child,
|
|
|
|
.form-group>.button:first-child,
|
|
|
|
.form-group>input[type="email"]:first-child,
|
|
|
|
.form-group>input[type="number"]:first-child,
|
|
|
|
.form-group>input[type="password"]:first-child,
|
|
|
|
.form-group>input[type="search"]:first-child,
|
|
|
|
.form-group>input[type="tel"]:first-child,
|
2019-05-04 14:53:18 +02:00
|
|
|
.form-group>input[type="text"]:first-child,
|
|
|
|
.form-group>input[type="color"]:first-child {
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius) 0 0 var(--theme-radius);
|
2019-04-26 14:48:37 +02:00
|
|
|
}
|
|
|
|
|
2019-05-11 09:33:19 +02:00
|
|
|
.form-group>.form-group-text:last-child,
|
2019-04-26 14:48:37 +02:00
|
|
|
.form-group>button:last-child,
|
|
|
|
.form-group>.button:last-child,
|
|
|
|
.form-group>input[type="email"]:last-child,
|
|
|
|
.form-group>input[type="number"]:last-child,
|
|
|
|
.form-group>input[type="password"]:last-child,
|
|
|
|
.form-group>input[type="search"]:last-child,
|
|
|
|
.form-group>input[type="tel"]:last-child,
|
2019-05-04 14:53:18 +02:00
|
|
|
.form-group>input[type="text"]:last-child,
|
|
|
|
.form-group>input[type="color"]:last-child {
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: 0 var(--theme-radius) var(--theme-radius) 0;
|
2019-04-26 14:48:37 +02:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
.form-group.nested-button * .button,
|
|
|
|
.form-group.nested-button * input[type="checkbox"]+label,
|
|
|
|
.form-group.nested-button * input[type="radio"]+label,
|
|
|
|
.form-group.nested-button * input[type="color"]+label {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group.nested-button *:first-child .button,
|
|
|
|
.form-group.nested-button *:first-child input[type="checkbox"]+label,
|
|
|
|
.form-group.nested-button *:first-child input[type="radio"]+label,
|
|
|
|
.form-group.nested-button *:first-child input[type="color"]+label {
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: var(--theme-radius) 0 0 var(--theme-radius);
|
2019-04-26 14:48:37 +02:00
|
|
|
}
|
|
|
|
|
2019-05-04 14:53:18 +02:00
|
|
|
.form-group.nested-button *:last-child .button,
|
|
|
|
.form-group.nested-button *:last-child input[type="checkbox"]+label,
|
|
|
|
.form-group.nested-button *:last-child input[type="radio"]+label,
|
|
|
|
.form-group.nested-button *:last-child input[type="color"]+label {
|
2019-06-11 11:54:10 +02:00
|
|
|
border-radius: 0 var(--theme-radius) var(--theme-radius) 0;
|
2019-04-26 14:48:37 +02:00
|
|
|
}
|