This repository has been archived on 2020-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
mitgliedsantrag/css/style.less
2018-04-21 15:33:14 +00:00

162 lines
2.7 KiB
Plaintext

@color-1: #047E7C;
@color-2: #0C6D74;
@color-3: #0C6D74;
@color-bg: #F1F2E3;
@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);
}
/* ======== ======== */
body {
cursor: default;
background-color: @color-bg;
font-family: "Source Sans Pro", sans;
font-weight: 300;
}
header {
background-color: @color-bg;
padding: 1rem;
h1 {
//font-size: 50px;
padding: 0.5em 0;
font-weight: 300;
text-align: center;
}
}
#steps {
color: @color-bg;
.step-heading {
.top-bottom-shadow;
h2 {
font-weight: 300;
padding: 8px;
.step-number {
display: inline-block;
margin: 0 0.5em;
text-align: center;
width: 40px;
height: 40px;
border: 0px;
border-radius: 50%;
}
.step-number:not(.done) {
font-weight: 400;
background-color: @color-bg;
color: black;
.number {
display: inline;
}
.check {
display: none;
}
}
.step-number.done {
background-color: #8ECA63; // green
color: @color-bg;
.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;
}
}
}
.next-wrapper {
text-align: center;
height: 96px;
padding-top: 2em;
a {
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;
background-color: @color-bg;
padding: 2em 30vw;
text-align: center;
a {
color: @color-grey;
border-bottom: dotted 1px rgba(0,0,0,0.25);
}
}