2018-04-21 17:31:13 +02:00
|
|
|
@color-1: #047E7C;
|
|
|
|
@color-2: #0C6D74;
|
|
|
|
@color-3: #0C6D74;
|
2018-04-21 22:53:50 +02:00
|
|
|
@color-white: #F1F2E3;
|
2018-04-21 17:31:13 +02:00
|
|
|
@color-grey: #787970;
|
|
|
|
|
|
|
|
/* ======== MIXINS ======== */
|
|
|
|
|
|
|
|
.step-color(@color) {
|
|
|
|
background-color: @color;
|
|
|
|
.step-number:not(.done) {
|
|
|
|
color: @color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// shadow appilied to element under to shadow element
|
|
|
|
// (shadow is placed on the top)
|
|
|
|
.top-bottom-shadow {
|
|
|
|
box-shadow: inset 0px 8px 6px -5px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
2018-04-21 22:53:50 +02:00
|
|
|
/* ======== ANIMATIONS ======== */
|
|
|
|
|
|
|
|
@keyframes rotate-step-number {
|
|
|
|
0% {
|
|
|
|
transform: rotate3d(0,0,0,0deg);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: rotate3d(45, 45, 1, 90deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate3d(0,0,0,0deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-21 17:31:13 +02:00
|
|
|
/* ======== ======== */
|
|
|
|
|
|
|
|
body {
|
|
|
|
cursor: default;
|
2018-04-21 22:53:50 +02:00
|
|
|
background-color: @color-white;
|
2018-04-21 17:31:13 +02:00
|
|
|
font-family: "Source Sans Pro", sans;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
2018-04-21 22:53:50 +02:00
|
|
|
background-color: @color-white;
|
2018-04-21 17:31:13 +02:00
|
|
|
padding: 1rem;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
//font-size: 50px;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
font-weight: 300;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#steps {
|
2018-04-21 22:53:50 +02:00
|
|
|
color: @color-white;
|
2018-04-21 17:31:13 +02:00
|
|
|
.step-heading {
|
|
|
|
.top-bottom-shadow;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-weight: 300;
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
.step-number {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0.5em;
|
|
|
|
text-align: center;
|
2018-04-21 22:53:50 +02:00
|
|
|
font-weight: 400;
|
2018-04-21 17:31:13 +02:00
|
|
|
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
|
|
|
|
border: 0px;
|
|
|
|
border-radius: 50%;
|
2018-04-21 22:53:50 +02:00
|
|
|
|
|
|
|
transition: background-color 0.5s, transform 0.5s;
|
2018-04-21 17:31:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.step-number:not(.done) {
|
2018-04-21 22:53:50 +02:00
|
|
|
background-color: @color-white;
|
2018-04-21 17:31:13 +02:00
|
|
|
color: black;
|
|
|
|
.number {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.check {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.step-number.done {
|
2018-04-21 22:53:50 +02:00
|
|
|
&:not(.final) { // prevents animation to be shown at final step
|
|
|
|
animation: rotate-step-number 0.5s;
|
|
|
|
}
|
2018-04-21 17:31:13 +02:00
|
|
|
background-color: #8ECA63; // green
|
2018-04-21 22:53:50 +02:00
|
|
|
color: @color-white;
|
2018-04-21 17:31:13 +02:00
|
|
|
.number {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.check {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.step {
|
|
|
|
form {
|
|
|
|
.row {
|
|
|
|
margin-bottom: 0.7em;
|
|
|
|
.col {
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
color: white; // (!)
|
|
|
|
background-color: rgba(255, 255, 255, 0.30);
|
|
|
|
border: 0px solid rgba(255, 255, 255, 0.30);
|
|
|
|
border-radius: 6px;
|
|
|
|
padding: 0.4em 0.6em;
|
|
|
|
width: 100%;
|
|
|
|
&::placeholder {
|
|
|
|
color: rgba(255, 255, 255, 0.5);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-04-21 22:53:50 +02:00
|
|
|
// show numbers without spin box
|
|
|
|
-moz-appearance:textfield;
|
|
|
|
&::-webkit-outer-spin-button,
|
|
|
|
&::-webkit-inner-spin-button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
2018-04-21 17:31:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.next-wrapper {
|
|
|
|
text-align: center;
|
|
|
|
height: 96px;
|
|
|
|
padding-top: 2em;
|
|
|
|
|
2018-04-21 22:53:50 +02:00
|
|
|
button {
|
|
|
|
/* unstyle button */
|
|
|
|
background-color: transparent;
|
|
|
|
color: @color-white;
|
|
|
|
border: none;
|
2018-04-21 17:31:13 +02:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 48px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.step-heading, .step {
|
|
|
|
padding: 2em 30vw;
|
|
|
|
&.step-heading {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
|
|
|
&.step {
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#step-1, #step-1-heading {
|
|
|
|
.step-color(@color-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
#step-2, #step-2-heading {
|
|
|
|
.step-color(@color-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
#step-3, #step-3-heading {
|
|
|
|
.step-color(@color-3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
.top-bottom-shadow;
|
2018-04-21 22:53:50 +02:00
|
|
|
background-color: @color-white;
|
2018-04-21 17:31:13 +02:00
|
|
|
padding: 2em 30vw;
|
|
|
|
text-align: center;
|
|
|
|
a {
|
|
|
|
color: @color-grey;
|
|
|
|
border-bottom: dotted 1px rgba(0,0,0,0.25);
|
|
|
|
}
|
|
|
|
}
|
2018-04-21 22:53:50 +02:00
|
|
|
|
|
|
|
/* ======== FINAL STEP ======== */
|
|
|
|
|
|
|
|
.step.final {
|
|
|
|
pre.address {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
color: @color-white;
|
|
|
|
}
|
|
|
|
.download-wrapper {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: @color-white;
|
|
|
|
border-bottom: dotted 1px rgba(0,0,0,0.25);
|
|
|
|
}
|
|
|
|
}
|