2015-05-14 16:45:37 +03:00
|
|
|
/* Forms
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
form label {
|
|
|
|
display: block;
|
2021-02-10 15:48:10 +03:00
|
|
|
color: var(--black);
|
2015-05-14 16:45:37 +03:00
|
|
|
font-size: 1.3rem;
|
2021-02-08 19:22:53 +03:00
|
|
|
font-weight: 500;
|
2016-01-25 13:55:52 +03:00
|
|
|
user-select: text;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
form .word-count {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
margin: 0 0 3em 0;
|
|
|
|
padding: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
border: none;
|
2016-01-25 13:55:52 +03:00
|
|
|
user-select: text;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
legend {
|
|
|
|
display: block;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 100%;
|
2017-08-03 14:45:14 +03:00
|
|
|
margin: 2em 0;
|
2018-04-03 13:52:18 +03:00
|
|
|
border-bottom: color-mod(var(--lightgrey) l(-5%) s(-10%)) 1px solid;
|
2017-02-17 17:10:02 +03:00
|
|
|
color: var(--midgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
font-size: 1.2em;
|
|
|
|
line-height: 2.0em;
|
2016-01-25 13:55:52 +03:00
|
|
|
user-select: text;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-14 23:30:25 +03:00
|
|
|
input {
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
|
2021-09-10 16:32:03 +03:00
|
|
|
input::-webkit-outer-spin-button,
|
|
|
|
input::-webkit-inner-spin-button {
|
|
|
|
appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input[type=number] {
|
|
|
|
appearance: textfield;
|
|
|
|
}
|
|
|
|
|
2017-02-17 17:10:02 +03:00
|
|
|
::-webkit-input-placeholder {
|
2021-02-04 20:19:39 +03:00
|
|
|
color: var(--midlightgrey);
|
2019-06-21 14:52:39 +03:00
|
|
|
font-weight: 400;
|
2017-02-17 17:10:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
:-ms-input-placeholder {
|
2021-02-04 20:19:39 +03:00
|
|
|
color: var(--midlightgrey);
|
2019-06-21 14:52:39 +03:00
|
|
|
font-weight: 400;
|
2017-02-17 17:10:02 +03:00
|
|
|
}
|
|
|
|
|
2022-03-08 20:30:46 +03:00
|
|
|
::-moz-placeholder {
|
|
|
|
color: var(--midlightgrey);
|
|
|
|
font-weight: 400;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2015-09-16 20:02:06 +03:00
|
|
|
.error .response {
|
2015-08-20 19:04:37 +03:00
|
|
|
color: var(--red);
|
|
|
|
}
|
|
|
|
|
2021-04-19 13:34:20 +03:00
|
|
|
.disabled-overlay {
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2021-09-23 14:12:01 +03:00
|
|
|
.form-col2 {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-column-gap: 24px;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
/* Form Groups
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
position: relative;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 100%;
|
2019-06-18 13:47:21 +03:00
|
|
|
max-width: 620px;
|
2017-08-03 14:45:14 +03:00
|
|
|
margin-bottom: 1.6em;
|
2016-01-25 13:55:52 +03:00
|
|
|
user-select: text;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2021-02-09 19:22:58 +03:00
|
|
|
.form-group.no-margin {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-08-02 10:05:59 +03:00
|
|
|
.form-group.right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.form-group p {
|
|
|
|
margin: 4px 0 0 0;
|
2022-03-01 17:57:57 +03:00
|
|
|
color: var(--midgrey-d1);
|
2021-02-09 19:22:58 +03:00
|
|
|
font-size: 1.25rem;
|
2021-02-09 19:34:46 +03:00
|
|
|
font-weight: 400;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2020-10-27 16:07:01 +03:00
|
|
|
.form-group p.green {
|
|
|
|
color: var(--green);
|
|
|
|
}
|
|
|
|
|
2015-11-05 15:00:22 +03:00
|
|
|
.form-group h3 {
|
|
|
|
margin-bottom: 1.6em;
|
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2015-11-05 15:00:22 +03:00
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.form-group label {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2020-02-14 12:34:01 +03:00
|
|
|
.form-group.max-width {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-12-09 16:26:00 +03:00
|
|
|
.form-group.pa5 {
|
|
|
|
max-width: 100%;
|
|
|
|
padding-left: calc(var(--grid-size) * 5);
|
|
|
|
padding-right: calc(var(--grid-size) * 5);
|
|
|
|
}
|
|
|
|
|
2020-02-14 12:34:01 +03:00
|
|
|
.form-group.mb0 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
@media (max-width: 550px) {
|
|
|
|
.form-group {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Input Icons
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2021-06-01 10:29:37 +03:00
|
|
|
.gh-input svg {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 1.2rem;
|
|
|
|
left: inherit;
|
|
|
|
width: 12px;
|
|
|
|
height: 6px;
|
|
|
|
margin-top: -0.2em;
|
|
|
|
transform: inherit;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
speak: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-input svg path {
|
|
|
|
stroke: var(--midlightgrey);
|
|
|
|
}
|
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.gh-input-icon {
|
2015-05-14 16:45:37 +03:00
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.gh-input-icon svg {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 10px;
|
2017-06-02 00:02:03 +03:00
|
|
|
width: 14px;
|
2017-08-03 14:45:14 +03:00
|
|
|
height: 14px;
|
2019-09-30 12:30:45 +03:00
|
|
|
fill: color-mod(var(--lightgrey) l(-15%) s(-10%));
|
2017-04-14 19:22:14 +03:00
|
|
|
transform: translateY(-7px);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.gh-input-icon.gh-icon-link svg path {
|
2019-09-30 12:30:45 +03:00
|
|
|
stroke: color-mod(var(--lightgrey) l(-15%) s(-10%));
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.gh-input-icon input {
|
|
|
|
padding-left: 35px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.gh-input-icon .gh-select select {
|
|
|
|
padding-left: 35px;
|
|
|
|
}
|
2015-05-14 16:45:37 +03:00
|
|
|
|
|
|
|
/* Inputs
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.gh-input,
|
|
|
|
.gh-select,
|
|
|
|
select {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2019-06-21 14:52:39 +03:00
|
|
|
height: 38px;
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 6px 12px;
|
|
|
|
border: var(--input-border);
|
|
|
|
background: var(--input-bg-color);
|
|
|
|
color: var(--darkgrey);
|
2019-06-21 14:52:39 +03:00
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 400;
|
2015-05-18 17:20:43 +03:00
|
|
|
user-select: text;
|
2017-08-03 14:45:14 +03:00
|
|
|
border-radius: var(--border-radius);
|
2015-05-16 14:43:12 +03:00
|
|
|
|
|
|
|
-webkit-appearance: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2016-02-05 20:01:53 +03:00
|
|
|
.gh-select,
|
|
|
|
select {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.gh-input.error,
|
2015-09-16 20:02:06 +03:00
|
|
|
.error .gh-input,
|
2018-10-18 02:18:29 +03:00
|
|
|
.error .gh-select select,
|
2018-03-13 14:17:29 +03:00
|
|
|
.error .ember-power-select-multiple-trigger,
|
2015-05-14 16:45:37 +03:00
|
|
|
.gh-select.error,
|
2020-07-03 11:36:59 +03:00
|
|
|
.error .gh-input-append,
|
2015-05-14 16:45:37 +03:00
|
|
|
select.error {
|
|
|
|
border-color: var(--red);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-input:focus,
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-input.focus {
|
|
|
|
outline: 0;
|
2021-02-10 15:48:10 +03:00
|
|
|
border-color: color-mod(var(--green)) !important;
|
2021-02-04 20:19:39 +03:00
|
|
|
box-shadow: inset 0 0 0 1px var(--green);
|
2019-06-18 13:47:21 +03:00
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
|
2021-02-11 22:07:55 +03:00
|
|
|
.error .gh-input:focus,
|
|
|
|
.error .gh-input.focus {
|
|
|
|
border-color: color-mod(var(--red)) !important;
|
|
|
|
box-shadow: inset 0 0 0 1px var(--red);
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.gh-select:focus,
|
|
|
|
select:focus {
|
2021-08-31 14:52:04 +03:00
|
|
|
border-color: var(--lightgrey-d1);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2019-08-28 12:35:17 +03:00
|
|
|
textarea {
|
2017-08-03 14:45:14 +03:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
2015-05-14 16:45:37 +03:00
|
|
|
min-width: 250px;
|
|
|
|
min-height: 10rem;
|
2015-05-16 14:43:12 +03:00
|
|
|
max-width: 500px;
|
2019-09-30 12:52:33 +03:00
|
|
|
line-height: 1.5em;
|
2015-05-14 23:30:25 +03:00
|
|
|
user-select: text;
|
2015-05-18 17:20:43 +03:00
|
|
|
resize: vertical;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2021-05-06 19:28:23 +03:00
|
|
|
.gh-input[disabled],
|
2021-05-06 19:33:08 +03:00
|
|
|
.gh-select select[disabled] {
|
2021-10-08 14:02:24 +03:00
|
|
|
background: color-mod(var(--input-bg-color) l(-1%));
|
|
|
|
color: var(--midlightgrey-d2);
|
2019-10-03 14:46:36 +03:00
|
|
|
border-color: var(--whitegrey);
|
2021-05-06 19:28:23 +03:00
|
|
|
opacity: 1.0;
|
2019-10-03 14:46:36 +03:00
|
|
|
}
|
|
|
|
|
2021-10-22 12:51:15 +03:00
|
|
|
.gh-select select[disabled] {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
2021-09-10 16:32:03 +03:00
|
|
|
.gh-input-percentage-label {
|
|
|
|
display: block;
|
|
|
|
content: "hello";
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
top: 6px;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
color: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
|
|
|
/* Radio / Checkboxes
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.for-radio label,
|
|
|
|
.for-checkbox label {
|
|
|
|
display: block;
|
|
|
|
padding-bottom: 4px;
|
2016-01-25 13:55:52 +03:00
|
|
|
cursor: pointer;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.for-radio label p,
|
|
|
|
.for-checkbox label p {
|
2016-01-25 13:55:52 +03:00
|
|
|
overflow: auto;
|
2017-06-12 18:13:10 +03:00
|
|
|
color: var(--darkgrey);
|
2015-05-16 14:43:12 +03:00
|
|
|
font-weight: normal;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.for-radio input,
|
|
|
|
.for-checkbox input {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2017-08-03 14:45:14 +03:00
|
|
|
display: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.for-radio .input-toggle-component,
|
|
|
|
.for-checkbox .input-toggle-component {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2017-08-03 14:45:14 +03:00
|
|
|
margin-right: 7px;
|
2018-04-03 13:52:18 +03:00
|
|
|
border: 1px solid color-mod(var(--lightgrey) l(-5%) s(-10%));
|
2021-02-08 23:16:41 +03:00
|
|
|
background: var(--lightgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2016-01-25 13:55:52 +03:00
|
|
|
.for-checkbox label:hover input:not(:checked) + .input-toggle-component,
|
|
|
|
.for-radio label:hover input:not(:checked) + .input-toggle-component {
|
2018-04-03 13:52:18 +03:00
|
|
|
border-color: color-mod(var(--lightgrey) l(-15%) s(-10%));
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2021-02-08 23:16:41 +03:00
|
|
|
.for-checkbox .input-toggle-component {
|
|
|
|
border-color: var(--lightgrey);
|
|
|
|
background: var(--lightgrey);
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.for-checkbox .input-toggle-component {
|
2017-02-17 17:10:02 +03:00
|
|
|
border-radius: 4px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-24 22:44:09 +03:00
|
|
|
.for-checkbox .input-toggle-component {
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2015-05-24 22:44:09 +03:00
|
|
|
.for-checkbox .input-toggle-component:before {
|
2015-05-16 00:28:30 +03:00
|
|
|
content: "";
|
2015-05-14 16:45:37 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
left: 3px;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 10px;
|
|
|
|
height: 6px;
|
2015-05-14 16:45:37 +03:00
|
|
|
border: 2px solid #fff;
|
|
|
|
border-top: none;
|
|
|
|
border-right: none;
|
|
|
|
opacity: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
transition: opacity 0.15s ease-in-out;
|
|
|
|
transform: rotate(-45deg);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-24 22:44:09 +03:00
|
|
|
.for-checkbox input:checked + .input-toggle-component {
|
2021-02-08 23:16:41 +03:00
|
|
|
border-color: var(--black);
|
|
|
|
background: var(--black);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-24 22:44:09 +03:00
|
|
|
.for-checkbox input:checked + .input-toggle-component:before {
|
2015-05-14 16:45:37 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-radio .input-toggle-component {
|
|
|
|
border-radius: 100px;
|
|
|
|
}
|
|
|
|
|
2015-05-24 22:44:09 +03:00
|
|
|
.for-radio .input-toggle-component {
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2015-05-24 22:44:09 +03:00
|
|
|
.for-radio .input-toggle-component:before {
|
2015-05-16 00:28:30 +03:00
|
|
|
content: "";
|
2015-05-14 16:45:37 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
2015-05-16 00:28:30 +03:00
|
|
|
background: #fff;
|
2015-05-14 16:45:37 +03:00
|
|
|
border-radius: 100%;
|
|
|
|
opacity: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
transition: opacity 0.15s ease-in-out;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-24 22:44:09 +03:00
|
|
|
.for-radio input:checked + .input-toggle-component {
|
2018-04-03 13:52:18 +03:00
|
|
|
border-color: color-mod(var(--green) lightness(-10%));
|
2015-05-16 14:43:12 +03:00
|
|
|
background: var(--green);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-24 22:44:09 +03:00
|
|
|
.for-radio input:checked + .input-toggle-component:before {
|
2015-05-14 16:45:37 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2019-10-02 15:17:42 +03:00
|
|
|
.gh-radio {
|
|
|
|
display: flex;
|
2021-04-20 12:31:22 +03:00
|
|
|
margin: 0 0 24px;
|
2019-10-02 15:17:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-button {
|
|
|
|
flex-shrink: 0;
|
|
|
|
position: relative;
|
2021-02-09 19:22:58 +03:00
|
|
|
width: 17px;
|
|
|
|
height: 17px;
|
2019-10-02 15:17:42 +03:00
|
|
|
border: color-mod(var(--lightgrey) l(-10%)) 1px solid;
|
|
|
|
border-radius: 100%;
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 0 0 0 15px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-label {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 1.2em;
|
2021-04-20 12:31:22 +03:00
|
|
|
font-weight: 600;
|
2019-10-02 15:17:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-desc {
|
2021-04-20 12:31:22 +03:00
|
|
|
margin: 4px 0 0;
|
|
|
|
color: var(--midgrey);
|
2019-10-02 15:17:42 +03:00
|
|
|
font-size: 1.3rem;
|
2021-04-20 12:31:22 +03:00
|
|
|
line-height: 1.2em;
|
|
|
|
font-weight: 400;
|
2019-10-02 15:17:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-label:hover,
|
|
|
|
.gh-radio-button:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio.active .gh-radio-button {
|
2021-02-09 19:22:58 +03:00
|
|
|
border-color: color-mod(var(--black) l(-12%));
|
|
|
|
background: var(--black);
|
2019-10-02 15:17:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio.active .gh-radio-button:before {
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
left: 3px;
|
2021-02-09 19:22:58 +03:00
|
|
|
width: 9px;
|
|
|
|
height: 9px;
|
2021-02-15 20:03:07 +03:00
|
|
|
background: var(--white);
|
2019-10-02 15:17:42 +03:00
|
|
|
border-radius: 100%;
|
|
|
|
box-shadow: rgba(0,0,0,0.25) 0 1px 3px;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2020-01-30 18:35:36 +03:00
|
|
|
.gh-radio-color {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color > input[type="radio"] {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
background: none;
|
|
|
|
opacity: .00001;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color > label {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 999px;
|
|
|
|
transition: transform .2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color input[type="radio"]:checked + label:after {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
top: -4px;
|
|
|
|
right: -4px;
|
|
|
|
bottom: -4px;
|
|
|
|
left: -4px;
|
|
|
|
border-radius: 999px;
|
|
|
|
border: 2px solid var(--blue);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-blue {
|
|
|
|
background-color: var(--blue);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-green {
|
|
|
|
background-color: var(--green);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-purple {
|
|
|
|
background-color: var(--purple);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-yellow {
|
|
|
|
background-color: var(--yellow);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-red {
|
|
|
|
background-color: var(--red);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-pink {
|
|
|
|
background-color: var(--pink);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-midgrey {
|
|
|
|
background-color: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-teal {
|
|
|
|
background-color: #4dcddc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-radio-color label span.gh-radio-color-orange {
|
|
|
|
background-color: #fe8b05;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
/* Switch
|
|
|
|
/* ---------------------------------------------------------- */
|
2019-11-08 07:46:38 +03:00
|
|
|
.for-switch label,
|
|
|
|
.for-switch .container {
|
2019-06-18 13:47:21 +03:00
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 50px !important;
|
|
|
|
height: 28px !important;
|
|
|
|
}
|
|
|
|
|
2019-11-08 07:46:38 +03:00
|
|
|
.for-switch label p,
|
|
|
|
.for-switch .container p {
|
2019-06-18 13:47:21 +03:00
|
|
|
overflow: auto;
|
|
|
|
color: var(--darkgrey);
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch input {
|
|
|
|
opacity: 0;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch .input-toggle-component {
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2021-02-08 16:55:14 +03:00
|
|
|
background: var(--lightgrey);
|
2019-06-18 13:47:21 +03:00
|
|
|
transition: .3s;
|
2021-02-08 16:55:14 +03:00
|
|
|
width: 48px !important;
|
|
|
|
height: 26px !important;
|
2019-06-18 13:47:21 +03:00
|
|
|
border-radius: 999px;
|
|
|
|
transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2019-11-08 07:46:38 +03:00
|
|
|
.for-switch label:hover input:not(:checked) + .input-toggle-component,
|
|
|
|
.for-switch .container:hover input:not(:checked) + .input-toggle-component {
|
2019-06-18 13:47:21 +03:00
|
|
|
border-color: color-mod(var(--lightgrey) l(-10%) s(-10%));
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch .input-toggle-component:before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
height: 22px !important;
|
|
|
|
width: 22px !important;
|
|
|
|
left: 2px !important;
|
|
|
|
top: 2px !important;
|
|
|
|
background-color: white;
|
|
|
|
transition: .3s;
|
2021-02-08 16:55:14 +03:00
|
|
|
box-shadow: 0 1px 3px rgba(0,0,0,.15);
|
2019-06-18 13:47:21 +03:00
|
|
|
border-radius: 999px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch input:checked + .input-toggle-component {
|
2021-02-08 16:55:14 +03:00
|
|
|
background: var(--black);
|
2019-06-18 13:47:21 +03:00
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch input:checked + .input-toggle-component:before {
|
|
|
|
transform: translateX(22px);
|
2020-08-26 18:21:47 +03:00
|
|
|
box-shadow: 0 2px 3px rgba(0,0,0,.2);
|
|
|
|
border-color: transparent;
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
2019-11-08 07:46:38 +03:00
|
|
|
.for-switch .container {
|
|
|
|
width: 38px !important;
|
|
|
|
height: 22px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch.small .input-toggle-component {
|
|
|
|
width: 38px !important;
|
|
|
|
height: 22px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch.small .input-toggle-component:before {
|
2021-02-09 19:22:58 +03:00
|
|
|
height: 18px !important;
|
|
|
|
width: 18px !important;
|
2019-11-08 07:46:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch.small input:checked + .input-toggle-component:before {
|
|
|
|
transform: translateX(16px);
|
|
|
|
}
|
|
|
|
|
2021-05-21 20:22:01 +03:00
|
|
|
.for-switch.x-small .input-toggle-component {
|
|
|
|
width: 34px !important;
|
|
|
|
height: 20px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch.x-small .input-toggle-component:before {
|
|
|
|
height: 16px !important;
|
|
|
|
width: 16px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.for-switch.x-small input:checked + .input-toggle-component:before {
|
|
|
|
transform: translateX(14px);
|
|
|
|
}
|
|
|
|
|
2021-05-19 17:26:45 +03:00
|
|
|
.for-switch.disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-06-18 13:47:21 +03:00
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
/* Select
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.gh-select {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 100%;
|
2017-08-03 14:45:14 +03:00
|
|
|
max-width: 100%;
|
|
|
|
padding: 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
border-width: 0;
|
|
|
|
}
|
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.gh-select svg {
|
2015-05-16 14:43:12 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
2015-05-31 01:12:40 +03:00
|
|
|
right: 1.2rem;
|
2017-04-14 19:22:14 +03:00
|
|
|
left: inherit;
|
2019-06-18 13:47:21 +03:00
|
|
|
width: 12px;
|
|
|
|
height: 6px;
|
2017-04-14 19:22:14 +03:00
|
|
|
margin-top: -0.2em;
|
2017-08-03 14:45:14 +03:00
|
|
|
transform: inherit;
|
2015-05-16 14:43:12 +03:00
|
|
|
pointer-events: none;
|
2017-08-03 14:45:14 +03:00
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
speak: none;
|
2017-04-14 19:22:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-select svg path {
|
2020-02-14 12:34:01 +03:00
|
|
|
stroke: var(--midlightgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-select select {
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 6px 12px;
|
2015-05-16 14:43:12 +03:00
|
|
|
outline: none;
|
2017-08-03 14:45:14 +03:00
|
|
|
line-height: normal;
|
2015-05-14 16:45:37 +03:00
|
|
|
text-indent: 0.01px;
|
|
|
|
text-overflow: "";
|
2015-05-16 14:43:12 +03:00
|
|
|
|
|
|
|
appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: window;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-select select::-ms-expand {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-select select:-moz-focusring {
|
|
|
|
color: transparent;
|
|
|
|
text-shadow: 0 0 0 #000;
|
|
|
|
}
|
|
|
|
|
2017-10-10 15:26:19 +03:00
|
|
|
.gh-select.disabled select {
|
2018-04-03 13:52:18 +03:00
|
|
|
color: color-mod(var(--midgrey) l(+18%));
|
2017-10-10 15:26:19 +03:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-select.disabled svg path {
|
2018-04-03 13:52:18 +03:00
|
|
|
stroke: color-mod(var(--midgrey) l(+30%));
|
2017-10-10 15:26:19 +03:00
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2017-02-17 17:10:02 +03:00
|
|
|
/* File Uploads
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.gh-input-file {
|
|
|
|
width: auto;
|
2017-04-25 11:17:16 +03:00
|
|
|
height: auto;
|
2017-08-03 14:45:14 +03:00
|
|
|
font-size: 1.2rem;
|
2017-02-17 17:10:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-input-file + .gh-btn {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2019-10-16 22:35:06 +03:00
|
|
|
/* Input appends
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.gh-input-group {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-input-group .gh-input {
|
|
|
|
border-right: none;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2021-05-21 12:25:23 +03:00
|
|
|
padding-right: 2px;
|
2019-10-21 14:09:56 +03:00
|
|
|
min-width: 0; /* Firefox fix */
|
2019-10-16 22:35:06 +03:00
|
|
|
}
|
|
|
|
|
2019-10-20 10:21:15 +03:00
|
|
|
.gh-input-group .gh-input:focus + .gh-input-append,
|
|
|
|
.gh-input-group .gh-input:focus + .gh-input-append:before {
|
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
|
2019-10-16 22:35:06 +03:00
|
|
|
.gh-input-append {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 38px;
|
|
|
|
padding: 6px 12px;
|
|
|
|
border: var(--input-border);
|
|
|
|
background: var(--input-bg-color);
|
|
|
|
color: var(--darkgrey);
|
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2019-10-16 22:35:06 +03:00
|
|
|
font-weight: 400;
|
|
|
|
user-select: text;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
word-wrap: none;
|
|
|
|
border-left: none;
|
2019-11-15 18:11:26 +03:00
|
|
|
white-space: nowrap;
|
2019-10-16 22:35:06 +03:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
flex: 1;
|
|
|
|
color: var(--midlightgrey);
|
|
|
|
}
|
|
|
|
|
2021-05-21 12:25:23 +03:00
|
|
|
@media (max-width: 430px) {
|
|
|
|
.gh-input-append {
|
|
|
|
padding: 6px 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-17 14:01:12 +03:00
|
|
|
.gh-expandable-content .gh-input-append {
|
|
|
|
border-color: var(--whitegrey-d1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group:not(.error) .gh-input-group .gh-input:focus + .gh-input-append {
|
|
|
|
border-color: color-mod(var(--green));
|
|
|
|
box-shadow: inset 0 0 0 1px var(--green);
|
|
|
|
}
|
|
|
|
|
2019-10-16 22:35:06 +03:00
|
|
|
.gh-input-append:before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
top: 1px;
|
|
|
|
left: -2px;
|
|
|
|
bottom: 1px;
|
|
|
|
width: 4px;
|
|
|
|
background: var(--input-bg-color);
|
|
|
|
}
|
|
|
|
|
2020-02-27 06:50:15 +03:00
|
|
|
.gh-input-group .gh-btn {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-input-group .gh-btn span {
|
2021-10-07 12:21:53 +03:00
|
|
|
height: 38px;
|
|
|
|
line-height: 38px;
|
2020-02-27 06:50:15 +03:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
2021-03-08 19:16:16 +03:00
|
|
|
.form-group.error .gh-input-group .gh-input,
|
|
|
|
.form-group.error .gh-input-group .gh-input + .gh-input-append {
|
|
|
|
border-color: color-mod(var(--red));
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group.error .gh-input-group .gh-input:focus + .gh-input-append {
|
|
|
|
box-shadow: inset 0 0 0 1px var(--red);
|
|
|
|
}
|
|
|
|
|
2019-10-16 22:35:06 +03:00
|
|
|
|
2021-06-03 19:02:32 +03:00
|
|
|
/* Email newsletter design settings
|
|
|
|
/* -------------------------------------------------------- */
|
|
|
|
.form-rich-radio .gh-radio {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: -1px 0 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .gh-radio-content {
|
|
|
|
border: 1px solid var(--whitegrey);
|
|
|
|
margin: 0 -32px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .gh-radio:first-of-type .gh-radio-content {
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .gh-radio:last-of-type .gh-radio-content {
|
|
|
|
border-radius: 0 0 3px 3px;
|
|
|
|
}
|
|
|
|
|
2022-08-23 11:38:29 +03:00
|
|
|
.form-rich-radio .gh-radio:only-child .gh-radio-content {
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2021-06-03 19:02:32 +03:00
|
|
|
.form-rich-radio .active .gh-radio-content {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
box-shadow: 0px 0px 0px 2px var(--green);
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .gh-radio-button {
|
|
|
|
margin-right: 12px;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .gh-radio-label {
|
2021-06-18 17:57:52 +03:00
|
|
|
position: relative;
|
|
|
|
padding: 12px 40px 12px 14px;
|
2021-06-03 19:02:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .gh-radio-label .description h4 {
|
2021-06-04 15:27:33 +03:00
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2021-06-04 15:27:33 +03:00
|
|
|
font-weight: 600;
|
2021-06-03 19:02:32 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .gh-radio-label .description p {
|
2021-06-17 10:39:43 +03:00
|
|
|
font-size: 1.3rem !important;
|
2021-06-03 19:02:32 +03:00
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.45em;
|
2021-06-17 10:39:43 +03:00
|
|
|
margin: 0;
|
2021-06-03 19:02:32 +03:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-06-17 10:39:43 +03:00
|
|
|
.form-rich-radio .check {
|
2021-06-18 17:57:52 +03:00
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 7px);
|
|
|
|
right: 12px;
|
2021-06-17 10:39:43 +03:00
|
|
|
color: var(--darkgrey);
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
margin-right: 4px;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .check path {
|
|
|
|
stroke-width: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-rich-radio .gh-radio:not(.active) .check {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-06-03 19:02:32 +03:00
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
/* FFF: Fucking Firefox Fixes
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
.gh-select select {
|
|
|
|
padding: 7px 10px 7px 8px;
|
|
|
|
}
|
|
|
|
.gh-select:focus {
|
2018-04-03 13:52:18 +03:00
|
|
|
border-color: color-mod(var(--lightgrey) l(-15%) s(-10%));
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
}
|