Files
wk_wars2x/nui/radar.css
2019-11-15 20:27:04 +00:00

259 lines
5.9 KiB
CSS

@font-face {
font-family: "Seg-7";
src: url( "Segment7Standard.otf" );
}
@font-face {
font-family: "Muli";
src: url( "Muli-Bold.ttf" );
}
@font-face {
font-family: "Heebo";
/* src: url( "Heebo-Regular.ttf" ); */
src: url( "Heebo-Bold.ttf" );
}
* {
font-family: 'Heebo', Verdana, Geneva, Tahoma, sans-serif;
font-size: 13px;
/* color: rgb(216, 74, 17); temp */
box-sizing: border-box;
}
.radar_container {
width: 670px;
height: 200px;
/* Temp centre */
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: grid;
grid-template-columns: 2.50% 95% 2.50%;
}
.panel_side {
width: 100%;
height: 100%;
background: linear-gradient( to bottom, rgb( 50, 50, 50 ), rgb( 25, 25, 25 ) );
}
.panel_left {
clip-path: polygon( 0 30%, 100% 0, 100% 100%, 0 70% );
}
.panel_right {
clip-path: polygon( 0 0, 100% 30%, 100% 70%, 0 100% );
}
.arrow {
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_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: auto 50px 150px 35px 50px 135px 35px 135px;
}
#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;
}
#radar .pwr_button_container .pwr_button {
width: 45px;
height: 45px;
margin: auto;
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;
}
#radar .modes_container {
display: grid;
grid-template-rows: 50% 50%;
}
#radar .modes_container .modes {
display: flex;
flex-direction: column;
padding: 10px 0;
}
#radar .modes_container .modes p {
margin: auto;
}
#radar .modes_container .fast_top {
margin-top: 15px;
margin-bottom: 10px;
padding-top: 10px;
padding-bottom: 0;
}
#radar .modes_container .fast_bottom {
margin-top: 10px;
margin-bottom: 15px;
padding-top: 0;
padding-bottom: 10px;
}
#radar .speeds_container {
width: 100%;
display: flex;
flex-direction: column;
}
#radar .speeds_container .display {
display: grid;
grid-template-columns: 1fr;
height: 70px;
border: 3px solid black;
margin: auto 0;
background-color: rgb(61, 18, 0);
}
#radar .speeds_container .display p {
grid-row-start: 1;
grid-column-start: 1;
font-size: 70px;
text-align: center;
line-height: 108%;
margin: 0 auto;
letter-spacing: 10px;
margin-right: -6px;
}
#radar .speeds_container .fast {
height: 60px;
background-color: rgb(50, 0, 0)
}
#radar .speeds_container .fast p {
font-size: 60px;
line-height: 106%;
margin-right: -8px;
}
#radar .speeds_container .fast_top {
margin-top: 27px;
}
#radar .speeds_container .fast_bottom {
margin-bottom: 27px;
}
#radar .speed_arrows_container {
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;
}
#radar .speed_arrows_container .fast_top {
margin-top: 22px;
}
#radar .speed_arrows_container .fast_bottom {
margin-bottom: 22px;
}
#radar .patrol_and_logo_container {
display: grid;
grid-template-rows: repeat( 3, 1fr );
justify-items: center;
align-items: center;
height: 100%;
}
#radar .patrol_and_logo_container .logo {
font-size: 18px;
color: white;
}
#radar .patrol_and_logo_container .display {
background-color: rgb(0, 57, 35);
}
#radar .patrol_and_logo_container .speed_label {
color: white;
margin-bottom: 40px;
}
/* Colours and fonts used in multiple areas that are similar */
#radar .display p {
font-family: 'Seg-7';
}
#radar .display .ghost_speed {
color: rgb(90, 35, 1);
}
#radar .display .speed {
color: rgb(252, 113, 1);;
}
#radar .display .fast_ghost_speed {
color: rgb(70, 0, 0);
}
#radar .display .fast_speed {
color: rgb(243, 12, 10);
}
#radar .display .patrol_ghost_speed {
color: rgb(0, 91, 68);
}
#radar .display .patrol_speed {
color: rgb(15, 244, 57);
}