1
0
mirror of https://github.com/lexogrine/cs2-react-hud.git synced 2026-05-04 04:03:10 +02:00

Updated setup to vite and moved to hooks instead of class

This commit is contained in:
Hubert Walczak
2023-11-02 12:11:03 +01:00
parent 44f173f23c
commit f88baa5fc9
90 changed files with 7411 additions and 2706 deletions
+22 -10
View File
@@ -3,7 +3,6 @@
top: 10px;
left: 10px;
border: none;
background-color: rgba(0,0,0,0.5);
transition: all 1s;
.map-container {
transition: all 1s;
@@ -24,18 +23,24 @@
perspective: 500px;
}
}
.radar-component-container {
width: 350px;
height:350px;
overflow: hidden;
}
#maps_container {
width: 100%;
height: 30px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
background-color: rgba(0,0,0,0.5);
color: white;
background-color: var(--sub-panel-color);
.bestof {
width: 121px;
font-size: 16px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
text-transform: uppercase;
}
}
.veto_entry {
display: flex;
@@ -59,8 +64,15 @@
width: 23px;
}
}
.map_name.active {
text-shadow: 0 0 15px white;
font-weight: 600;
.map_name {
font-size:12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
opacity: 0.5;
&.active {
opacity: 1;
}
}
}