Files
wk_wars2x/nui/radar.css
2019-11-14 10:21:08 +00:00

78 lines
1.7 KiB
CSS

@font-face {
font-family: "Seg-7";
src: url( "Segment7Standard.otf" );
}
@font-face {
font-family: "Muli";
src: url( "Muli-Bold.ttf" );
}
* {
font-family: Muli, Verdana, Geneva, Tahoma, sans-serif;
font-size: 12px;
}
.radar_container {
width: 700px;
height: 220px;
/* Temp centre */
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: grid;
grid-template-columns: 5% 90% 5%;
}
.panel_left_side {
border-right: 20px solid darkslategray;
border-top: 80px solid transparent;
border-bottom: 80px solid transparent;
}
.panel_right_side {
border-left: 20px solid darkslategray;
border-top: 80px solid transparent;
border-bottom: 80px solid transparent;
}
#radar {
background-color: gray;
display: grid;
grid-template-columns: 60px 50px auto;
}
#radar .pwr_button_container {
display: flex;
flex-direction: column;
}
#radar .pwr_button_container .pwr_button {
width: 50px;
height: 50px;
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;
line-height: 50px;
border-radius: 10px;
}
#radar .modes_container {
display: grid;
grid-template-rows: 50% 50%;
}
#radar .modes_container .modes {
display: flex;
flex-direction: column;
padding: 10px;
}
#radar .modes_container .modes p {
margin: auto;
}