mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
131 lines
2.2 KiB
CSS
131 lines
2.2 KiB
CSS
|
|
/* Panel properties */
|
|
#unit-info-panel {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding-left: 30px;
|
|
padding-right: 30px;
|
|
padding-top: 20px;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
/* Common */
|
|
#unit-info-panel>div {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
#unit-info-panel>.ol-vl {
|
|
margin-left: 30px;
|
|
margin-right: 30px;
|
|
}
|
|
|
|
/* Sections */
|
|
#unit-info-panel #general {
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-start;
|
|
column-gap: 5px;
|
|
row-gap: 5px;
|
|
align-content: flex-start;
|
|
}
|
|
|
|
#unit-info-panel #flight-data {
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-content: center;
|
|
align-items: center;
|
|
align-content: space-between;
|
|
}
|
|
|
|
#unit-info-panel #loadout-data {
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex-wrap: wrap;
|
|
align-content: flex-start;
|
|
justify-content: flex-start;
|
|
row-gap: 5px;
|
|
}
|
|
|
|
/* General section */
|
|
#general #unit-name {
|
|
color: white;
|
|
font-size: 18px;
|
|
width: 100%;
|
|
padding-bottom: 5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#general #task {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Flight data section */
|
|
#flight-data #flight-data-label {
|
|
color: white;
|
|
font-size: 14px;
|
|
width: 100%;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#flight-data #latitude {
|
|
width: 50%;
|
|
color: white;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
color: #8bff63;
|
|
}
|
|
|
|
#flight-data #longitude {
|
|
width: 50%;
|
|
color: white;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
color: #5ca7ff;
|
|
}
|
|
|
|
.flight-data-label, .flight-data-value {
|
|
color: white;
|
|
font-size: 12px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.flight-data-icon {
|
|
width: 10%;
|
|
padding: 2px;
|
|
filter: invert(100%);
|
|
}
|
|
|
|
.flight-data-label {
|
|
width: 58%;
|
|
}
|
|
|
|
.flight-data-value {
|
|
width: 30%;
|
|
font-weight: 600;
|
|
text-align: right;
|
|
}
|
|
|
|
/* Loadout section */
|
|
#loadout-data #loadout-label {
|
|
color: white;
|
|
font-size: 14px;
|
|
width: 100%;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#loadout-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
column-gap: 2px;
|
|
row-gap: 2px;
|
|
min-height: 0px;
|
|
max-height: 70px; /* TODO: fix me, magic number */
|
|
}
|