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"] {
|
2018-12-26 18:43:38 +01:00
|
|
|
background-color: var(--gray-14);
|
2018-12-26 08:45:53 +01:00
|
|
|
padding: 0 0.5em;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
color: var(--black);
|
|
|
|
font-size: 1em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
line-height: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
width: 100%;
|
2018-12-27 17:50:30 +01:00
|
|
|
border-width: var(--line-width);
|
2018-12-26 08:45:53 +01:00
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
|
|
|
border-radius: var(--radius);
|
|
|
|
cursor: text;
|
2019-01-03 23:30:27 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
2018-12-26 08:45:53 +01:00
|
|
|
-moz-appearance: textfield;
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
input[type="email"][disabled],
|
|
|
|
input[type="email"][disabled]:hover,
|
|
|
|
input[type="email"][disabled]:focus,
|
|
|
|
input[type="email"][disabled]::placeholder,
|
|
|
|
input[type="email"][disabled]:hover::placeholder,
|
|
|
|
input[type="email"][disabled]:focus::placeholder,
|
|
|
|
input[type="number"][disabled],
|
|
|
|
input[type="number"][disabled]:hover,
|
|
|
|
input[type="number"][disabled]:focus,
|
|
|
|
input[type="number"][disabled]::placeholder,
|
|
|
|
input[type="number"][disabled]:hover::placeholder,
|
|
|
|
input[type="number"][disabled]:focus::placeholder,
|
|
|
|
input[type="password"][disabled],
|
|
|
|
input[type="password"][disabled]:hover,
|
|
|
|
input[type="password"][disabled]:focus,
|
|
|
|
input[type="password"][disabled]::placeholder,
|
|
|
|
input[type="password"][disabled]:hover::placeholder,
|
|
|
|
input[type="password"][disabled]:focus::placeholder,
|
|
|
|
input[type="search"][disabled],
|
|
|
|
input[type="search"][disabled]:hover,
|
|
|
|
input[type="search"][disabled]:focus,
|
|
|
|
input[type="search"][disabled]::placeholder,
|
|
|
|
input[type="search"][disabled]:hover::placeholder,
|
|
|
|
input[type="search"][disabled]:focus::placeholder,
|
|
|
|
input[type="tel"][disabled],
|
|
|
|
input[type="tel"][disabled]:hover,
|
|
|
|
input[type="tel"][disabled]:focus,
|
|
|
|
input[type="tel"][disabled]::placeholder,
|
|
|
|
input[type="tel"][disabled]:hover::placeholder,
|
|
|
|
input[type="tel"][disabled]:focus::placeholder,
|
|
|
|
input[type="text"][disabled],
|
|
|
|
input[type="text"][disabled]:hover,
|
|
|
|
input[type="text"][disabled]:focus,
|
|
|
|
input[type="text"][disabled]::placeholder,
|
|
|
|
input[type="text"][disabled]:hover::placeholder,
|
|
|
|
input[type="text"][disabled]:focus::placeholder {
|
|
|
|
background-color: var(--gray-04);
|
|
|
|
color: var(--gray-08);
|
|
|
|
border-color: transparent;
|
|
|
|
cursor: default;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01: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 {
|
2018-12-27 17:50:30 +01:00
|
|
|
background-color: var(--gray-16);
|
2018-12-26 08:45:53 +01:00
|
|
|
border-color: rgb(var(--accent));
|
|
|
|
color: var(--black);
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="email"]:focus,
|
|
|
|
input[type="number"]:focus,
|
|
|
|
input[type="password"]:focus,
|
|
|
|
input[type="search"]:focus,
|
|
|
|
input[type="tel"]:focus,
|
|
|
|
input[type="text"]:focus {
|
|
|
|
background-color: var(--white);
|
2018-12-27 17:50:30 +01:00
|
|
|
border-color: transparent;
|
2018-12-26 08:45:53 +01:00
|
|
|
color: var(--black);
|
|
|
|
outline: 0;
|
|
|
|
z-index: 2;
|
2018-12-27 17:50:30 +01:00
|
|
|
box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0), 0 0 0 var(--line-width) rgb(var(--accent));
|
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 {
|
|
|
|
color: var(--gray-10);
|
2019-01-03 23:30:27 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
color: var(--gray-12);
|
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 {
|
|
|
|
color: var(--gray-14);
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
2019-01-03 23:30:27 +01:00
|
|
|
padding: 0.5em 0;
|
|
|
|
color: var(--gray-16);
|
|
|
|
margin-bottom: 0;
|
2018-12-26 08:45:53 +01:00
|
|
|
font-size: 1em;
|
2019-01-03 23:30:27 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
label[disabled] {
|
|
|
|
color: var(--gray-04);
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"] {
|
2019-01-03 23:30:27 +01:00
|
|
|
opacity: 0;
|
|
|
|
width: 2px;
|
|
|
|
height: 2px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2018-12-26 08:45:53 +01:00
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]::-webkit-color-swatch-wrapper {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]::-webkit-color-swatch {
|
|
|
|
border: 0;
|
|
|
|
}
|
2019-01-03 23:30:27 +01:00
|
|
|
|
2019-01-06 08:06:33 +01:00
|
|
|
input[type="color"]+.input-label-button {
|
2019-01-03 23:30:27 +01:00
|
|
|
padding-right: 2.25em;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2019-01-06 08:06:33 +01:00
|
|
|
input[type="color"]+.input-label-button:before {
|
2019-01-03 23:30:27 +01:00
|
|
|
background-color: rgb(var(--accent));
|
|
|
|
content: "";
|
|
|
|
border-radius: 50%;
|
|
|
|
position: absolute;
|
|
|
|
right: 0.5em;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
z-index: 1;
|
|
|
|
box-shadow: 0 0 0.25em 0 rgba(var(--accent), 0.6), 0 0 0.5em 0 rgba(var(--accent), 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-wrap,
|
|
|
|
.checkbox-wrap,
|
|
|
|
.radio-wrap {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-01-05 21:57:21 +01:00
|
|
|
.form-indent-1,
|
|
|
|
.form-indent-1,
|
|
|
|
.form-indent-1 {
|
|
|
|
margin-left: 2.25em;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-01-05 21:57:21 +01:00
|
|
|
.form-indent-2,
|
|
|
|
.form-indent-2,
|
|
|
|
.form-indent-2 {
|
|
|
|
margin-left: 4.5em;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-01-05 21:57:21 +01:00
|
|
|
.form-indent-3,
|
|
|
|
.form-indent-3,
|
|
|
|
.form-indent-3 {
|
|
|
|
margin-left: 6.75em;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"],
|
|
|
|
input[type="radio"] {
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]+label,
|
|
|
|
input[type="radio"]+label {
|
|
|
|
color: var(--gray-12);
|
|
|
|
font-size: 1em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
min-height: 2.5em;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: flex-start;
|
|
|
|
/* transition: all var(--animation-speed-fast) ease-in-out; */
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]+label .label-icon,
|
|
|
|
input[type="radio"]+label .label-icon {
|
|
|
|
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 {
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:active+label,
|
|
|
|
input[type="radio"]:active+label {
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:focus+label .label-icon,
|
|
|
|
input[type="checkbox"]:hover+label .label-icon,
|
|
|
|
input[type="radio"]:focus+label .label-icon,
|
|
|
|
input[type="radio"]:hover+label .label-icon {
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:active+label .label-icon,
|
|
|
|
input[type="radio"]:active+label .label-icon {
|
|
|
|
color: rgb(var(--accent));
|
|
|
|
transform: scale(0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked+label,
|
|
|
|
input[type="radio"]:checked+label {
|
|
|
|
color: var(--gray-16);
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked+label .label-icon,
|
|
|
|
input[type="radio"]:checked+label .label-icon {
|
|
|
|
color: rgb(var(--accent));
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked:focus+label .label-icon,
|
|
|
|
input[type="radio"]:checked:focus+label .label-icon {
|
|
|
|
transform: scale(1.2);
|
|
|
|
}
|
|
|
|
|
2019-01-06 08:06:33 +01:00
|
|
|
input[type="color"]+.input-label-button,
|
|
|
|
input[type="checkbox"]+.input-label-button,
|
|
|
|
input[type="radio"]+.input-label-button {
|
2019-01-03 23:30:27 +01:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2019-01-06 08:06:33 +01:00
|
|
|
input[type="color"]:hover+.input-label-button,
|
|
|
|
input[type="color"]:focus+.input-label-button,
|
|
|
|
input[type="checkbox"]:hover+.input-label-button,
|
|
|
|
input[type="checkbox"]:focus+.input-label-button,
|
|
|
|
input[type="radio"]:hover+.input-label-button,
|
|
|
|
input[type="radio"]:focus+.input-label-button {
|
|
|
|
background-color: var(--gray-03);
|
|
|
|
border-bottom-color: rgb(var(--accent));
|
|
|
|
color: var(--white);
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="color"]:checked+.input-label-button,
|
|
|
|
input[type="checkbox"]:checked+.input-label-button,
|
|
|
|
input[type="radio"]:checked+.input-label-button {
|
2019-01-03 23:30:27 +01:00
|
|
|
border-bottom-color: rgb(var(--accent));
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"][disabled]+label,
|
|
|
|
input[type="radio"][disabled]+label {
|
|
|
|
color: var(--gray-04);
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"][disabled]+label .label-icon,
|
|
|
|
input[type="radio"][disabled]+label .label-icon {
|
|
|
|
color: var(--gray-04);
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"][disabled]:active+label .label-icon,
|
|
|
|
input[type="radio"][disabled]:active+label .label-icon {
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]+label .label-icon:before,
|
|
|
|
input[type="radio"]+label .label-icon:before {
|
|
|
|
font-family: "Icons" !important;
|
|
|
|
speak: none;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
font-variant: normal;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]+label .label-icon:before {
|
|
|
|
content: "\e835";
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked+label .label-icon:before {
|
|
|
|
content: "\e834";
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"]+label .label-icon:before {
|
|
|
|
content: "\e836";
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="radio"]:checked+label .label-icon:before {
|
|
|
|
content: "\e837";
|
|
|
|
}
|