first commit
Some checks are pending
Deploy / Deploy to Production (push) Waiting to run

This commit is contained in:
isUnknown 2025-12-10 15:12:06 +01:00
commit a3620a1f5f
1042 changed files with 226722 additions and 0 deletions

View file

@ -0,0 +1,90 @@
.gauge__container {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
position: relative;
top: calc(var(--spacing) * 0.25);
padding: 0 calc(var(--spacing) * 0.5);
}
#gauge {
--gauge-h: 12px;
width: 100%;
margin-bottom: calc(var(--spacing) * 0.25);
height: var(--gauge-h);
border-radius: calc(var(--gauge-h) * 0.5);
background-color: var(--color-bg);
border: 1px solid var(--color-txt);
position: relative;
// overflow: hidden;
box-shadow: 7px 6px 5px -3px rgba(0, 0, 0, 0.14);
&::before {
content: '';
display: block;
height: calc(var(--gauge-h) - 2px);
border-radius: calc(var(--gauge-h) * 0.5);
width: var(--pourcent);
min-width: 20px;
background-color: var(--color-accent);
position: absolute;
top: 0px;
left: 0px;
transition: width cubic-bezier(0.86, 0, 0.07, 1) 1s;
}
}
.gauge--infos {
.property {
font-size: var(--fs-small);
padding-bottom: 3px;
}
.value {
font-size: var(--fs-small);
}
&:last-of-type {
text-align: right;
}
}
#gauge--infos__donors {
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
.value {
font-weight: bold;
display: inline;
}
.property {
display: inline;
padding-bottom: 0;
}
}
@media #{$small-up} {
#gauge {
--gauge-h: 18px;
border: 2px solid var(--color-txt);
&::before {
height: calc(var(--gauge-h) - 4px);
}
}
.gauge--infos {
.property {
font-size: var(--fs-small);
}
.value {
font-size: var(--fs-normal);
}
}
}