mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
New font, updated arrows, added labels
This commit is contained in:
BIN
nui/Heebo-Bold.ttf
Normal file
BIN
nui/Heebo-Bold.ttf
Normal file
Binary file not shown.
BIN
nui/Heebo-Regular.ttf
Normal file
BIN
nui/Heebo-Regular.ttf
Normal file
Binary file not shown.
@@ -8,13 +8,19 @@
|
||||
src: url( "Muli-Bold.ttf" );
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Heebo";
|
||||
src: url( "Heebo-Bold.ttf" );
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: Muli, Verdana, Geneva, Tahoma, sans-serif;
|
||||
font-family: 'Heebo', Verdana, Geneva, Tahoma, sans-serif;
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.radar_container {
|
||||
width: 700px;
|
||||
width: 660px;
|
||||
height: 200px;
|
||||
|
||||
/* Temp centre */
|
||||
@@ -43,28 +49,47 @@
|
||||
}
|
||||
|
||||
.arrow {
|
||||
transform: scale(0.50);
|
||||
width: 25px;
|
||||
height: 35px;
|
||||
margin: auto;
|
||||
background-color: red;
|
||||
width: 11px;
|
||||
height: 15.4px;
|
||||
min-width: 11px;
|
||||
min-height: 15.4px;
|
||||
margin: 8px auto;
|
||||
background-color: black;
|
||||
clip-path: polygon( 50% 0, 100% 55%, 65% 55%, 65% 100%, 35% 100%, 35% 55%, 0 55% );
|
||||
}
|
||||
.arrow_up {
|
||||
|
||||
}
|
||||
|
||||
.arrow_down {
|
||||
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
#radar {
|
||||
/* background-color: gray; */
|
||||
background: linear-gradient( to bottom, rgb( 50, 50, 50 ), rgb( 25, 25, 25 ) );
|
||||
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 45px 50px 150px 45px auto;
|
||||
grid-template-columns: 45px 50px 150px 30px auto;
|
||||
}
|
||||
#radar .label {
|
||||
font-size: 15px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
color: white;
|
||||
}
|
||||
#radar .labeltop {
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
#radar .labelbottom {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
#radar .pwr_button_container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -76,6 +101,7 @@
|
||||
background: linear-gradient(to bottom, rgba( 230, 230, 230, 0.8 ), limegreen 10%, rgb(0, 149, 0) );
|
||||
box-shadow: 0px 0px 3px 0px rgb( 80, 80, 80 ) ;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
line-height: 45px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
@@ -88,8 +114,6 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
box-sizing: border-box;
|
||||
|
||||
padding: 10px 0;
|
||||
}
|
||||
#radar .modes_container .modes p {
|
||||
@@ -106,8 +130,6 @@
|
||||
|
||||
height: 70px;
|
||||
|
||||
box-sizing: border-box;
|
||||
|
||||
border: 3px solid black;
|
||||
|
||||
margin: auto 0;
|
||||
@@ -138,10 +160,16 @@
|
||||
}
|
||||
|
||||
#radar .speed_arrows_container {
|
||||
display: grid;
|
||||
grid-template-rows: 50% 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
#radar .speed_arrows_container .speed_arrows {
|
||||
height: 70px;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
margin: auto 0;
|
||||
}
|
||||
@@ -9,6 +9,8 @@
|
||||
<div class="panel_side panel_left"></div>
|
||||
|
||||
<div id="radar">
|
||||
<div class="label labeltop">FRONT ANTENNA</div>
|
||||
|
||||
<div class="pwr_button_container">
|
||||
<div class="pwr_button">PWR</div>
|
||||
</div>
|
||||
@@ -41,15 +43,17 @@
|
||||
|
||||
<div class="speed_arrows_container">
|
||||
<div class="speed_arrows">
|
||||
<div class="arrow arrow_up" id="frontDirAway"></div>
|
||||
<div class="arrow" id="frontDirAway"></div>
|
||||
<div class="arrow arrow_down" id="frontDirTowards"></div>
|
||||
</div>
|
||||
|
||||
<div class="speed_arrows">
|
||||
<div class="arrow arrow_up" id="rearDirTowards"></div>
|
||||
<div class="arrow" id="rearDirTowards"></div>
|
||||
<div class="arrow arrow_down" id="rearDirAway"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="label labelbottom">REAR ANTENNA</div>
|
||||
</div>
|
||||
|
||||
<div class="panel_side panel_right"></div>
|
||||
|
||||
Reference in New Issue
Block a user