ldc-tousenselle/resources/sass/layout/elements.scss
Jérémy Munsch f7a3f5d5f9 first draw
2021-06-14 09:34:42 +02:00

167 lines
3.5 KiB
SCSS
Vendored

.roundLogo {
display: block;
height: 9rem;
width: 9rem;
border-radius: 50%;
margin: 0 auto;
margin-bottom: 2rem;
padding: 1rem;
background-color: $buttonColor;
&.grayed {
color: gray !important;
background-color: gray !important;
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
img {
object-fit: contain;
border-radius: 50%;
border-style: dotted;
border-color: $buttonColor;
height: 10rem;
width: 10rem;
margin-top: -1.5rem;
margin-left: -1.5rem;
padding: 0.5rem;
}
}
.blueArrow {
position: absolute;
top: 4.5rem;
right: -5rem;
.line {
height: 0.15rem;
background-color: $buttonColor;
}
.head {
height: 1rem;
width: 1rem;
border: 0;
border-bottom-width: 0.15rem;
border-right-width: 0.15rem;
border-style: solid;
border-color: $buttonColor;
transform: rotate(-45deg);
position: absolute;
right: 0;
top: -0.4rem;
}
}
.bigButton {
background-color: $buttonColor;
padding: 0.1rem 2rem;
display: inline-block;
color: #FFF;
font-family: Calibri;
font-weight: 700;
font-size: 2rem;
text-decoration: none;
border-radius: 0.7rem;
box-shadow: 0.2rem 0.2rem 0.2rem rgba(0,0,0,0.5);
border: none;
outline:none;
&:hover {
background-color: darken($color: $buttonColor, $amount: 5);
color: darken($color: #FFF, $amount: 5)
}
@include max-width($tablet) {
font-size: 1.5rem;
}
@include max-width($mobile) {
font-size: 1.2rem;
}
}
.yellowButton {
color: $buttonColor !important;
background-color: $yellowBtn !important;
box-shadow: 0 0 0.1rem rgba(0,0,0,0.1);
font-weight: 400 !important;
border-radius: 1rem;
&:hover {
color: darken($color: $buttonColor, $amount: 2) !important;
background-color: darken($color: $yellowBtn, $amount: 2) !important;
}
}
.participationlabel {
display: block;
text-align: center;
color: $buttonColor;
font-weight: 700;
text-transform: uppercase;
margin-bottom: 2rem;
}
.magasinSelect {
position: relative;
&::after {
content: '▼';
color: $buttonColor;
font-weight: 700;
display: block;
position: absolute;
top: 0.4rem;
right: 0.3rem;
}
}
.textBlue {
color: $buttonColor;
}
.at {
font-weight: 100 !important;
font-family: serif;
font-size: 0.8em;
text-transform: lowercase;
text-shadow: inherit;
}
#scratchElement {
position: relative;
.scratchcard canvas {
top: 5px;
}
#scratchContainer {
display: inline-block;
position: relative;
left: 0;
z-index: 1;
& > a.bigButton {
position: absolute;
bottom: 9.3rem;
left: 50%;
transform: translateX(-50%);
font-size: 1.5em;
width: 80%;
@media (max-width: 992px) {
bottom: 7.5rem;
}
@media (max-width: 768px) {
bottom: 8.5rem;
}
@media (max-width: 630px) {
bottom: 1rem;
font-size: 1em;
width: 90%;
}
&.validate {
width: auto !important;
bottom: 2rem !important;
font-size: 3em !important;
}
}
}
}