Newer
Older
@import '../../styles/base/typo-variables';
.challengeTitle {
margin-top: 0;
}
display: flex;
flex-direction: column;
justify-content: center;
}
.titleBlock {
position: absolute;
left: 0;
right: 0;
margin: auto;

Guilhem CARRON
committed
background: $dark-light-2;
width: fit-content;
padding: 0 1rem;
max-width: 235px;
background: $grey-linear-gradient-background;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55);
border-radius: 4px;
color: $grey-bright;
box-sizing: border-box;
font-family: $text-font;
@media all and(max-height: 800px) {
max-height: 85px;
padding: 6%;
}
@media all and(max-height: 730px) {
padding: 3%;
background: $dark-2;
& > * {
color: $grey-dark;
}
.content {
display: flex;
flex-direction: column;
align-self: center;
justify-content: space-between;
.spinner-container {
height: 3.75rem;
width: 3.75rem;
filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.55));
}
}
.starCount {
display: flex;
align-items: center;
color: $blue-light;
margin: 0 0.3rem 0 0.7rem;
.finalDuel {
display: flex;
flex-direction: column;
.starCount {
span {
font-size: 1rem;
font-weight: 500;
}
.blueNumber {
margin-left: 0;
}
}
&.result {
span {
margin-bottom: 0.2rem;
font-weight: 600;
font-size: 1rem;
}
}
background: $dark-3;
border: solid 1px rgba(97, 240, 242, 0.5);
align-items: center;
justify-content: space-between;
&.active {
background: $grey-linear-gradient-background;
}
.goDuel {
align-items: center;
justify-content: space-between;
height: auto;
background: $blue-gradient;
color: $dark-light-2;
font-weight: 700;
font-family: $text-font;
}
.notifChallenge {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
right: 4px;
top: 4px;
width: 1.25rem;
height: 1.25rem;
color: $dark-light;
border-radius: 50%;
border: 1px solid $dark-light;
z-index: 1;
background: $blue-radial-gradient;
font-size: 12px;
}