|
|
@ -1508,6 +1508,12 @@
|
|
|
|
* @return {number}
|
|
|
|
* @return {number}
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* https://css-tricks.com/snippets/sass/str-replace-function/
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* get value of key "default" in map
|
|
|
|
* get value of key "default" in map
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -1631,7 +1637,7 @@
|
|
|
|
--success-contrast: #a6d0a6;
|
|
|
|
--success-contrast: #a6d0a6;
|
|
|
|
--warning: #f0ad4e;
|
|
|
|
--warning: #f0ad4e;
|
|
|
|
--warning-contrast: #f8d9ac;
|
|
|
|
--warning-contrast: #f8d9ac;
|
|
|
|
--background: #f9f9f9;
|
|
|
|
--background: #3e3e3e;
|
|
|
|
--background-contrast: #ffffff;
|
|
|
|
--background-contrast: #ffffff;
|
|
|
|
--border: #3e3e3e;
|
|
|
|
--border: #3e3e3e;
|
|
|
|
--border-contrast: #ffffff;
|
|
|
|
--border-contrast: #ffffff;
|
|
|
@ -2123,9 +2129,9 @@ h6, .h6 {
|
|
|
|
text-decoration: none;
|
|
|
|
text-decoration: none;
|
|
|
|
font-family: "IBM Plex Mono", sans-serif;
|
|
|
|
font-family: "IBM Plex Mono", sans-serif;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
border: 1px solid var(--primary);
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
background-color: var(--white);
|
|
|
|
background-color: var(--background-contrast);
|
|
|
|
color: var(--primary);
|
|
|
|
color: var(--text);
|
|
|
|
border-radius: 2px;
|
|
|
|
border-radius: 2px;
|
|
|
|
transition: background-color 0.1s;
|
|
|
|
transition: background-color 0.1s;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
@ -2141,33 +2147,33 @@ h6, .h6 {
|
|
|
|
.button--small {
|
|
|
|
.button--small {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--transparent {
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.button--transparent:focus, .button--transparent:active {
|
|
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.button:hover, .button--selected {
|
|
|
|
.button:hover, .button--selected {
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
text-decoration: none;
|
|
|
|
color: white;
|
|
|
|
color: white;
|
|
|
|
background-color: var(--primary-active);
|
|
|
|
background-color: var(--active);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button:focus, .button:active {
|
|
|
|
.button:focus, .button:active {
|
|
|
|
outline: 1px solid var(--primary-active);
|
|
|
|
outline: 1px solid var(--active);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button:disabled {
|
|
|
|
.button:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button:disabled:hover {
|
|
|
|
.button:disabled:hover {
|
|
|
|
cursor: not-allowed;
|
|
|
|
cursor: not-allowed;
|
|
|
|
border: 1px solid var(--primary);
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
background-color: white;
|
|
|
|
background-color: var(--background-contrast);
|
|
|
|
color: var(--primary);
|
|
|
|
color: var(--border);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.button--transparent {
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.button--transparent:focus, .button--transparent:active {
|
|
|
|
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--danger {
|
|
|
|
.button--danger {
|
|
|
|
border-color: var(--danger);
|
|
|
|
border-color: var(--danger);
|
|
|
@ -2176,7 +2182,7 @@ h6, .h6 {
|
|
|
|
background-color: var(--danger);
|
|
|
|
background-color: var(--danger);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--danger:focus, .button--danger:active {
|
|
|
|
.button--danger:focus, .button--danger:active {
|
|
|
|
outline: 2px solid var(--primary-active);
|
|
|
|
outline: 2px solid var(--active);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--success {
|
|
|
|
.button--success {
|
|
|
|
border-color: var(--success);
|
|
|
|
border-color: var(--success);
|
|
|
@ -2185,21 +2191,21 @@ h6, .h6 {
|
|
|
|
background-color: var(--sucess);
|
|
|
|
background-color: var(--sucess);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--success:focus, .button--success:active {
|
|
|
|
.button--success:focus, .button--success:active {
|
|
|
|
outline: 2px solid var(--primary-active);
|
|
|
|
outline: 2px solid var(--active);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--outline {
|
|
|
|
.button--outline {
|
|
|
|
background-color: transparent;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--outline:hover {
|
|
|
|
.button--outline:hover {
|
|
|
|
color: var(--primary);
|
|
|
|
color: var(--border);
|
|
|
|
border-color: var(--primary-light);
|
|
|
|
border-color: var(--border-contrast);
|
|
|
|
background-color: transparent;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--danger.button--outline:hover {
|
|
|
|
.button--danger.button--outline:hover {
|
|
|
|
border-color: var(--danger-light);
|
|
|
|
border-color: var(--danger);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--success.button--outline:hover {
|
|
|
|
.button--success.button--outline:hover {
|
|
|
|
border-color: var(--success-light);
|
|
|
|
border-color: var(--success);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -2239,14 +2245,14 @@ input.field-text, textarea.field-text, select.field-choice {
|
|
|
|
font-family: "IBM Plex Mono", sans-serif;
|
|
|
|
font-family: "IBM Plex Mono", sans-serif;
|
|
|
|
font-size: 0.95rem;
|
|
|
|
font-size: 0.95rem;
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid var(--primary-active);
|
|
|
|
border: 1px solid var(--active);
|
|
|
|
background-color: var(--white);
|
|
|
|
background-color: var(--background-contrast);
|
|
|
|
border-radius: 2px;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 0.7rem 0 0;
|
|
|
|
margin: 0.7rem 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input.field-text:focus, input.field-text:active, textarea.field-text:focus, textarea.field-text:active, select.field-choice:focus, select.field-choice:active {
|
|
|
|
input.field-text:focus, input.field-text:active, textarea.field-text:focus, textarea.field-text:active, select.field-choice:focus, select.field-choice:active {
|
|
|
|
outline: 0;
|
|
|
|
outline: 0;
|
|
|
|
border-color: var(--primary);
|
|
|
|
border-color: var(--border);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input.field-text, textarea.field-text {
|
|
|
|
input.field-text, textarea.field-text {
|
|
|
@ -2312,7 +2318,7 @@ input[type=radio].field-choice:checked ~ .field-choice__unchecked {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
svg.field-choice__unchecked {
|
|
|
|
svg.field-choice__unchecked {
|
|
|
|
fill: var(--primary-active);
|
|
|
|
fill: var(--active);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
svg.field-choice__checked {
|
|
|
|
svg.field-choice__checked {
|
|
|
@ -2410,7 +2416,7 @@ svg.field-choice__checked {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tabs__item:hover {
|
|
|
|
.tabs__item:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: var(--primary-active);
|
|
|
|
background-color: var(--active);
|
|
|
|
color: var(--text-contrast);
|
|
|
|
color: var(--text-contrast);
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
border-top-right-radius: 2px;
|
|
|
@ -2426,7 +2432,7 @@ svg.field-choice__checked {
|
|
|
|
color: var(--text-contrast);
|
|
|
|
color: var(--text-contrast);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tabs--contrast .tabs__item:hover {
|
|
|
|
.tabs--contrast .tabs__item:hover {
|
|
|
|
background-color: var(--primary-active-contrast);
|
|
|
|
background-color: var(--background-contrast);
|
|
|
|
color: var(--text);
|
|
|
|
color: var(--text);
|
|
|
|
border-radius: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -2569,7 +2575,7 @@ svg.field-choice__checked {
|
|
|
|
.bar {
|
|
|
|
.bar {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
min-height: 2.8em;
|
|
|
|
min-height: 2.8em;
|
|
|
|
background-color: var(--primary);
|
|
|
|
background-color: var(--background);
|
|
|
|
color: var(--text-contrast);
|
|
|
|
color: var(--text-contrast);
|
|
|
|
border: 1px solid var(--primary);
|
|
|
|
border: 1px solid var(--primary);
|
|
|
|
border-radius: 2px;
|
|
|
|
border-radius: 2px;
|
|
|
@ -2632,13 +2638,13 @@ svg.field-choice__checked {
|
|
|
|
font-size: 3rem;
|
|
|
|
font-size: 3rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.modal__title, .modal__body {
|
|
|
|
.modal__title, .modal__body {
|
|
|
|
color: var(--white);
|
|
|
|
color: var(--text-contrast);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.modal__body {
|
|
|
|
.modal__body {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.modal .button {
|
|
|
|
.modal .button {
|
|
|
|
color: var(--white);
|
|
|
|
color: var(--text-contrast);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.modal:before {
|
|
|
|
.modal:before {
|
|
|
|
position: fixed;
|
|
|
|
position: fixed;
|
|
|
|