mirror of
https://github.com/Stone-Red-Code/Stone-Red-Code.git
synced 2026-09-04 00:56:21 +02:00
222 lines
5.9 KiB
XML
222 lines
5.9 KiB
XML
|
|
<svg
|
|
width="300"
|
|
height="285"
|
|
viewBox="0 0 300 285"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
role="img"
|
|
aria-labelledby="descId"
|
|
>
|
|
<title id="titleId"></title>
|
|
<desc id="descId"></desc>
|
|
<style>
|
|
.header {
|
|
font: 600 18px 'Segoe UI', Ubuntu, Sans-Serif;
|
|
fill: #fff;
|
|
animation: fadeInAnimation 0.8s ease-in-out forwards;
|
|
}
|
|
@supports(-moz-appearance: auto) {
|
|
/* Selector detects Firefox */
|
|
.header { font-size: 15.5px; }
|
|
}
|
|
|
|
@keyframes slideInAnimation {
|
|
from {
|
|
width: 0;
|
|
}
|
|
to {
|
|
width: calc(100%-100px);
|
|
}
|
|
}
|
|
@keyframes growWidthAnimation {
|
|
from {
|
|
width: 0;
|
|
}
|
|
to {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.stat {
|
|
font: 600 14px 'Segoe UI', Ubuntu, "Helvetica Neue", Sans-Serif; fill: #9f9f9f;
|
|
}
|
|
@supports(-moz-appearance: auto) {
|
|
/* Selector detects Firefox */
|
|
.stat { font-size:12px; }
|
|
}
|
|
.bold { font-weight: 700 }
|
|
.lang-name {
|
|
font: 400 11px "Segoe UI", Ubuntu, Sans-Serif;
|
|
fill: #9f9f9f;
|
|
}
|
|
.stagger {
|
|
opacity: 0;
|
|
animation: fadeInAnimation 0.3s ease-in-out forwards;
|
|
}
|
|
#rect-mask rect{
|
|
animation: slideInAnimation 1s ease-in-out forwards;
|
|
}
|
|
.lang-progress{
|
|
animation: growWidthAnimation 0.6s ease-in-out forwards;
|
|
}
|
|
|
|
|
|
|
|
/* Animations */
|
|
@keyframes scaleInAnimation {
|
|
from {
|
|
transform: translate(-5px, 5px) scale(0);
|
|
}
|
|
to {
|
|
transform: translate(-5px, 5px) scale(1);
|
|
}
|
|
}
|
|
@keyframes fadeInAnimation {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<rect
|
|
data-testid="card-bg"
|
|
x="0.5"
|
|
y="0.5"
|
|
rx="4.5"
|
|
height="99%"
|
|
stroke="#e4e2e2"
|
|
width="299"
|
|
fill="#00000000"
|
|
stroke-opacity="0"
|
|
/>
|
|
|
|
|
|
<g
|
|
data-testid="card-title"
|
|
transform="translate(25, 35)"
|
|
>
|
|
<g transform="translate(0, 0)">
|
|
<text
|
|
x="0"
|
|
y="0"
|
|
class="header"
|
|
data-testid="header"
|
|
>Most Used Languages</text>
|
|
</g>
|
|
</g>
|
|
|
|
|
|
<g
|
|
data-testid="main-card-body"
|
|
transform="translate(0, 55)"
|
|
>
|
|
|
|
<svg data-testid="lang-items" x="25">
|
|
<g transform="translate(0, 0)">
|
|
<g class="stagger" style="animation-delay: 450ms">
|
|
<text data-testid="lang-name" x="2" y="15" class="lang-name">C#</text>
|
|
<text x="215" y="34" class="lang-name">48.37%</text>
|
|
|
|
<svg width="205" x="0" y="25">
|
|
<rect data-testid="progress-background" rx="5" ry="5" x="0" y="0" width="205" height="8" fill="#ddd"></rect>
|
|
<svg data-testid="lang-progress" width="48.367045776576305%">
|
|
<rect
|
|
height="8"
|
|
fill="#178600"
|
|
rx="5" ry="5" x="0" y="0"
|
|
class="lang-progress"
|
|
style="animation-delay: 750ms;"
|
|
/>
|
|
</svg>
|
|
</svg>
|
|
|
|
</g>
|
|
</g><g transform="translate(0, 40)">
|
|
<g class="stagger" style="animation-delay: 600ms">
|
|
<text data-testid="lang-name" x="2" y="15" class="lang-name">Jupyter Notebook</text>
|
|
<text x="215" y="34" class="lang-name">18.14%</text>
|
|
|
|
<svg width="205" x="0" y="25">
|
|
<rect data-testid="progress-background" rx="5" ry="5" x="0" y="0" width="205" height="8" fill="#ddd"></rect>
|
|
<svg data-testid="lang-progress" width="18.136645831804525%">
|
|
<rect
|
|
height="8"
|
|
fill="#DA5B0B"
|
|
rx="5" ry="5" x="0" y="0"
|
|
class="lang-progress"
|
|
style="animation-delay: 900ms;"
|
|
/>
|
|
</svg>
|
|
</svg>
|
|
|
|
</g>
|
|
</g><g transform="translate(0, 80)">
|
|
<g class="stagger" style="animation-delay: 750ms">
|
|
<text data-testid="lang-name" x="2" y="15" class="lang-name">C</text>
|
|
<text x="215" y="34" class="lang-name">16.64%</text>
|
|
|
|
<svg width="205" x="0" y="25">
|
|
<rect data-testid="progress-background" rx="5" ry="5" x="0" y="0" width="205" height="8" fill="#ddd"></rect>
|
|
<svg data-testid="lang-progress" width="16.63901523031365%">
|
|
<rect
|
|
height="8"
|
|
fill="#555555"
|
|
rx="5" ry="5" x="0" y="0"
|
|
class="lang-progress"
|
|
style="animation-delay: 1050ms;"
|
|
/>
|
|
</svg>
|
|
</svg>
|
|
|
|
</g>
|
|
</g><g transform="translate(0, 120)">
|
|
<g class="stagger" style="animation-delay: 900ms">
|
|
<text data-testid="lang-name" x="2" y="15" class="lang-name">Python</text>
|
|
<text x="215" y="34" class="lang-name">11.54%</text>
|
|
|
|
<svg width="205" x="0" y="25">
|
|
<rect data-testid="progress-background" rx="5" ry="5" x="0" y="0" width="205" height="8" fill="#ddd"></rect>
|
|
<svg data-testid="lang-progress" width="11.540813217039645%">
|
|
<rect
|
|
height="8"
|
|
fill="#3572A5"
|
|
rx="5" ry="5" x="0" y="0"
|
|
class="lang-progress"
|
|
style="animation-delay: 1200ms;"
|
|
/>
|
|
</svg>
|
|
</svg>
|
|
|
|
</g>
|
|
</g><g transform="translate(0, 160)">
|
|
<g class="stagger" style="animation-delay: 1050ms">
|
|
<text data-testid="lang-name" x="2" y="15" class="lang-name">HTML</text>
|
|
<text x="215" y="34" class="lang-name">5.32%</text>
|
|
|
|
<svg width="205" x="0" y="25">
|
|
<rect data-testid="progress-background" rx="5" ry="5" x="0" y="0" width="205" height="8" fill="#ddd"></rect>
|
|
<svg data-testid="lang-progress" width="5.316479944265876%">
|
|
<rect
|
|
height="8"
|
|
fill="#e34c26"
|
|
rx="5" ry="5" x="0" y="0"
|
|
class="lang-progress"
|
|
style="animation-delay: 1350ms;"
|
|
/>
|
|
</svg>
|
|
</svg>
|
|
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
|
|
</g>
|
|
</svg>
|
|
|