2018-12-11 09:47:44 +03:00
|
|
|
/* Reusable components */
|
2019-02-14 19:59:41 +03:00
|
|
|
/* ------------------------------------------------------------
|
2018-12-11 09:47:44 +03:00
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/* Modal */
|
|
|
|
/* ------------------------------------------------------------ */
|
|
|
|
.gm-page-overlay {
|
|
|
|
width: 100%;
|
|
|
|
height: 100vh;
|
|
|
|
position: fixed;
|
|
|
|
overflow-y: scroll;
|
2019-02-26 06:09:16 +03:00
|
|
|
background: linear-gradient(45deg, rgba(13,25,40,0.96) 0%,rgba(0,0,0,0.96) 100%);
|
2018-12-14 11:57:08 +03:00
|
|
|
animation: fadeInOverlay 0.2s ease 1 forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-page-overlay.close {
|
2019-04-16 18:36:37 +03:00
|
|
|
animation: fadeOutOverlay 0.3s ease 1 forwards;
|
2018-12-14 11:57:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gm-page-overlay.close .gm-modal {
|
2019-04-16 18:36:37 +03:00
|
|
|
animation: closeModal 0.3s ease-in-out 1 forwards;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gm-modal-container {
|
|
|
|
position: relative;
|
2019-02-26 06:09:16 +03:00
|
|
|
top: 25vh;
|
2019-02-15 20:16:30 +03:00
|
|
|
display: flex;
|
2019-04-16 18:36:37 +03:00
|
|
|
min-height: 75vh;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gm-modal {
|
|
|
|
position: relative;
|
|
|
|
margin: 0 auto;
|
2018-12-14 11:57:08 +03:00
|
|
|
animation: openModal 0.6s ease 1 forwards;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gm-modal-close {
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
right: 8px;
|
|
|
|
display: block;
|
|
|
|
padding: 8px;
|
2019-02-26 06:09:16 +03:00
|
|
|
z-index: 9999;
|
|
|
|
padding: 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-modal-close svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gm-modal-close svg path {
|
|
|
|
stroke: var(--grey);
|
|
|
|
transition: all var(--animation-speed-base) ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-modal-close:hover svg path {
|
|
|
|
stroke: var(--grey-d2);
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeInOverlay {
|
|
|
|
from {opacity: 0;}
|
|
|
|
to {opacity: 1;}
|
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
@keyframes fadeOutOverlay {
|
|
|
|
from {opacity: 1;}
|
|
|
|
to {opacity: 0;}
|
|
|
|
}
|
|
|
|
|
2019-02-26 06:09:16 +03:00
|
|
|
@keyframes openModal {
|
2018-12-11 09:47:44 +03:00
|
|
|
0% {
|
2019-02-26 06:09:16 +03:00
|
|
|
/* opacity: 0; */
|
|
|
|
transform: scale(1.1);
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
2019-02-26 06:09:16 +03:00
|
|
|
/* opacity: 1.0; */
|
|
|
|
transform: scale(1.0);
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-26 06:09:16 +03:00
|
|
|
@keyframes closeModal {
|
|
|
|
90% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0.95);
|
2018-12-14 11:57:08 +03:00
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-11 09:47:44 +03:00
|
|
|
@media (max-width: 440px) {
|
|
|
|
.gm-modal-container {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
top: 0;
|
|
|
|
transform: none;
|
2019-02-26 06:09:16 +03:00
|
|
|
min-height: 100vh;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
2019-02-14 19:59:41 +03:00
|
|
|
|
2018-12-11 09:47:44 +03:00
|
|
|
.gm-modal {
|
|
|
|
width: calc(100% - 48px);
|
2019-04-16 18:36:37 +03:00
|
|
|
min-height: calc(100vh - 90px);
|
2018-12-11 09:47:44 +03:00
|
|
|
padding: 24px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2018-12-14 11:57:08 +03:00
|
|
|
|
|
|
|
.gm-page-overlay {
|
2019-02-26 06:09:16 +03:00
|
|
|
background: linear-gradient(45deg, rgba(13,25,40,0.96) 0%,rgba(0,0,0,0.96) 100%);
|
2018-12-14 11:57:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes openModal {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(40px);
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
opacity: 1.0;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes closeModal {
|
|
|
|
0% {
|
|
|
|
opacity: 1.0;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
60% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(40px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Buttons */
|
|
|
|
/* ------------------------------------------------------------ */
|
|
|
|
button {
|
2019-04-16 18:36:37 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2018-12-11 09:47:44 +03:00
|
|
|
width: 100%;
|
|
|
|
font-weight: 500;
|
|
|
|
border: 1px solid var(--grey);
|
|
|
|
color: var(--grey-d3);
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
white-space: nowrap;
|
2019-02-26 06:09:16 +03:00
|
|
|
padding: 15px 16px 16px;
|
|
|
|
border-radius: 6px;
|
2018-12-11 09:47:44 +03:00
|
|
|
outline: none;
|
|
|
|
transition: all var(--animation-speed-f1) ease-in-out;
|
|
|
|
position: relative;
|
|
|
|
letter-spacing: 0.2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:hover {
|
|
|
|
color: var(--blue-l1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-btn-blue {
|
|
|
|
background: var(--blue);
|
|
|
|
background: linear-gradient(to bottom, rgba(62,176,239,1) 0%,rgba(0,139,214,1) 100%);
|
|
|
|
color: var(--white);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-btn-blue:active {
|
|
|
|
background: var(--blue-d1);
|
|
|
|
background: linear-gradient(to bottom, rgb(22, 147, 214) 0%,rgb(0, 118, 182) 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-btn-blue:hover {
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-btn-blue:hover:before {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-btn-blue:before {
|
|
|
|
content: "";
|
|
|
|
transition: all var(--animation-speed-s1) ease;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background: linear-gradient(0deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.2));
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2019-04-16 18:36:37 +03:00
|
|
|
@keyframes spinner {
|
|
|
|
to {transform: rotate(360deg);}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-btn-blue .gm-spinner {
|
|
|
|
display: inline-block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: -3px 8px -3px 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
border-top: 2px solid #fff;
|
|
|
|
border-right: 2px solid transparent;
|
|
|
|
animation: spinner .6s linear infinite;
|
|
|
|
}
|
|
|
|
|
2018-12-11 09:47:44 +03:00
|
|
|
|
|
|
|
/* Forms inputs */
|
|
|
|
/* ------------------------------------------------------------ */
|
|
|
|
|
|
|
|
/* Change Autocomplete styles in Chrome*/
|
|
|
|
input:-webkit-autofill,
|
2019-02-14 19:59:41 +03:00
|
|
|
input:-webkit-autofill:hover,
|
2018-12-11 09:47:44 +03:00
|
|
|
input:-webkit-autofill:focus,
|
|
|
|
input:-webkit-autofill:active,
|
|
|
|
textarea:-webkit-autofill,
|
|
|
|
textarea:-webkit-autofill:hover
|
|
|
|
textarea:-webkit-autofill:focus,
|
|
|
|
textarea:-webkit-autofill:active,
|
|
|
|
select:-webkit-autofill,
|
|
|
|
select:-webkit-autofill:hover,
|
|
|
|
select:-webkit-autofill:focus,
|
|
|
|
select:-webkit-autofill:active {
|
|
|
|
-webkit-box-shadow: 0 0 0px 40px #FFF inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-input-placeholder,
|
|
|
|
::-moz-placeholder,
|
|
|
|
:-ms-input-placeholder,
|
|
|
|
:-moz-placeholder {
|
2019-02-26 06:09:16 +03:00
|
|
|
color: var(--grey-d1);
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
.gm-form-element {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-input {
|
2018-12-11 09:47:44 +03:00
|
|
|
position: relative;
|
2019-02-26 06:09:16 +03:00
|
|
|
border-bottom: 1px solid var(--grey-l1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-input.last,
|
|
|
|
.gm-input.single {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-input.first input {
|
|
|
|
border-radius: 6px 6px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-input.last input {
|
|
|
|
border-radius: 0 0 6px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-input.single input {
|
|
|
|
border-radius: 6px;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
.gm-input input {
|
2019-02-26 06:09:16 +03:00
|
|
|
font-size: var(--text-base);
|
2018-12-11 09:47:44 +03:00
|
|
|
color: var(--grey-d3);
|
|
|
|
border: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: var(--white);
|
|
|
|
width: 100%;
|
|
|
|
outline: none;
|
2019-02-26 06:09:16 +03:00
|
|
|
padding: 15px 14px 15px 38px;
|
2018-12-11 09:47:44 +03:00
|
|
|
letter-spacing: 0.2px;
|
2019-02-15 20:16:30 +03:00
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 18px;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
.gm-input input:focus {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-02-26 06:09:16 +03:00
|
|
|
.gm-input i svg {
|
2018-12-11 09:47:44 +03:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
.gm-input i svg path {
|
2019-02-26 06:09:16 +03:00
|
|
|
stroke: var(--grey-d1);
|
2018-12-11 09:47:44 +03:00
|
|
|
transition: stroke var(--animation-speed-base) ease-in-out;
|
|
|
|
}
|
|
|
|
|
2019-02-26 06:09:16 +03:00
|
|
|
.gm-input input.gm-error {
|
|
|
|
background: #FEEBE6;
|
|
|
|
box-shadow: 0 0 1px rgba(255, 0, 0, 1);
|
2018-12-14 11:57:08 +03:00
|
|
|
}
|
|
|
|
|
2019-02-26 06:09:16 +03:00
|
|
|
.gm-input input.gm-error + i svg path {
|
2018-12-14 11:57:08 +03:00
|
|
|
stroke: color-mod(var(--red) a(0.5));
|
|
|
|
}
|
|
|
|
|
2019-02-26 06:09:16 +03:00
|
|
|
.gm-input input.gm-error::-webkit-input-placeholder,
|
|
|
|
.gm-input input.gm-error::-moz-placeholder,
|
|
|
|
.gm-input input.gm-error:-ms-input-placeholder,
|
|
|
|
.gm-input input.gm-error:-moz-placeholder {
|
|
|
|
color: color-mod(var(--red) a(0.75));
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-input input.gm-input-filled + i svg path {
|
2018-12-11 09:47:44 +03:00
|
|
|
stroke: var(--grey-d2);
|
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
.gm-input i {
|
2018-12-11 09:47:44 +03:00
|
|
|
position: absolute;
|
2019-02-26 06:09:16 +03:00
|
|
|
top: 16px;
|
2018-12-14 11:57:08 +03:00
|
|
|
left: 14px;
|
2018-12-11 09:47:44 +03:00
|
|
|
opacity: 1.0;
|
2018-12-14 11:57:08 +03:00
|
|
|
transition: all var(--animation-speed-base) ease-in-out;
|
2018-12-11 09:47:44 +03:00
|
|
|
transition-delay: 0s;
|
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
.gm-input-errortext {
|
|
|
|
position: absolute;
|
|
|
|
top: 46px;
|
|
|
|
color: color-mod(var(--red) l(+5%) s(-2%));
|
|
|
|
font-size: var(--text-xs);
|
|
|
|
letter-spacing: 0.8px;
|
|
|
|
border-radius: 5px;
|
|
|
|
z-index: 9999;
|
|
|
|
animation: slideErrorText 0.4s ease;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
@keyframes slideErrorText {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateX(-10px);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateX(0px);
|
|
|
|
}
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
2018-12-14 11:57:08 +03:00
|
|
|
/* Error tooltip triangle */
|
|
|
|
.gm-input-errortext-xx:before {
|
|
|
|
position: absolute;
|
|
|
|
top: -6px;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -6px;
|
|
|
|
width: 0;
|
|
|
|
border-bottom: 6px solid var(--grey-d3);
|
|
|
|
border-bottom: 6px solid var(--grey-d3);
|
|
|
|
border-right: 6px solid transparent;
|
|
|
|
border-left: 6px solid transparent;
|
|
|
|
content: " ";
|
|
|
|
font-size: 0;
|
|
|
|
line-height: 0;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gm-form-errortext {
|
2019-02-26 06:09:16 +03:00
|
|
|
color: #FF7254;
|
2018-12-11 09:47:44 +03:00
|
|
|
letter-spacing: 0.4px;
|
2019-02-26 06:09:16 +03:00
|
|
|
margin: 24px -2px 0px;
|
|
|
|
border: 1px solid color-mod(var(--red) a(0.4));
|
|
|
|
padding: 13px 14px;
|
|
|
|
font-weight: 400;
|
2018-12-11 09:47:44 +03:00
|
|
|
display: flex;
|
2018-12-14 11:57:08 +03:00
|
|
|
justify-content: center;
|
|
|
|
align-items: start;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-form-errortext span {
|
|
|
|
margin: 1px 0 0;
|
2018-12-11 09:47:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gm-form-errortext i {
|
2018-12-14 11:57:08 +03:00
|
|
|
margin: 1px 8px 0 0;
|
2019-02-26 06:09:16 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gm-form-errortext i svg path {
|
|
|
|
stroke: #FF7254;
|
2019-02-15 20:16:30 +03:00
|
|
|
}
|