mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
209 lines
3.4 KiB
CSS
209 lines
3.4 KiB
CSS
|
|
/* Page style */
|
|
#map-container {
|
|
height: 100%;
|
|
min-width: 820px;
|
|
width: 100%;
|
|
}
|
|
|
|
#primary-toolbar {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 10px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
#olympus-toolbar-summary {
|
|
background-image: url( "/images/icon-round.png" );
|
|
background-position: 25px 20px;
|
|
background-repeat: no-repeat;
|
|
background-size:36px 36px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-indent: 44px;
|
|
}
|
|
|
|
|
|
|
|
dl.ol-data-grid {
|
|
align-items: center;
|
|
display:flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
margin:0;
|
|
row-gap: 4px;
|
|
}
|
|
|
|
dl.ol-data-grid dt {
|
|
width:60%;
|
|
}
|
|
|
|
dl.ol-data-grid dd {
|
|
width:40%;
|
|
}
|
|
|
|
|
|
dl.ol-data-grid dt.icon {
|
|
text-indent: 10px;
|
|
}
|
|
|
|
dl.ol-data-grid dt.icon::before {
|
|
content: url( /images/icons/speed.svg );
|
|
display:inline-block;
|
|
filter:invert(100%);
|
|
width: 20px;
|
|
translate:-20px 2px;
|
|
}
|
|
|
|
|
|
dl.ol-data-grid dt.icon-speed::before {
|
|
content: url( /images/icons/speed.svg );
|
|
}
|
|
|
|
|
|
dl.ol-data-grid dt.icon-altitude::before {
|
|
content: url( /images/icons/altitude.svg );
|
|
}
|
|
|
|
|
|
dl.ol-data-grid dd {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.br-info[data-bearing][data-distance][data-distance-units]::after {
|
|
content: attr( data-bearing ) '\00B0 / ' attr( data-distance ) attr( data-distance-units );
|
|
}
|
|
|
|
.coordinates::after {
|
|
content: attr( data-dd ) "\00b0 " attr( data-mm ) "'" attr( data-ss ) "." attr( data-sss ) '"' attr( data-label );
|
|
}
|
|
|
|
|
|
|
|
|
|
.ol-button-box {
|
|
column-gap: 6px;
|
|
display:flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
margin:5px 0;
|
|
row-gap: 5px;
|
|
}
|
|
|
|
.ol-button-box button {
|
|
background-repeat: no-repeat;;
|
|
border:1px solid var( --accent-light-blue );
|
|
color: var( --accent-light-blue );
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ol-dialog {
|
|
align-self: center;
|
|
background-color: var( --background-slate-blue );
|
|
color:white;
|
|
justify-self: center;
|
|
position: absolute;
|
|
z-index:1000;
|
|
}
|
|
|
|
.ol-panel.ol-dialog {
|
|
padding:25px;
|
|
}
|
|
|
|
.ol-dialog-close {
|
|
cursor: pointer;
|
|
font-size:16px;
|
|
font-weight: var( --font-weight-bolder );
|
|
position: absolute;
|
|
right: 25px;
|
|
top: 25px;
|
|
}
|
|
|
|
.ol-dialog-close::before {
|
|
content: "\d7";
|
|
}
|
|
|
|
.ol-dialog-header {
|
|
border-bottom:1px solid var( --background-grey );
|
|
padding-bottom:10px;
|
|
}
|
|
|
|
.ol-dialog-footer {
|
|
border-top:1px solid var( --background-grey );
|
|
padding-top:15px;
|
|
}
|
|
|
|
.ol-checkbox label {
|
|
align-items: center;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ol-checkbox input[type="checkbox"] {
|
|
appearance:none;
|
|
background-color: transparent;
|
|
border:none;
|
|
margin:0;
|
|
}
|
|
|
|
.ol-checkbox input[type="checkbox"]::before {
|
|
align-self:center;
|
|
background-image: url( "/images/icons/square-check-solid.svg" );
|
|
background-repeat: no-repeat;
|
|
content: "";
|
|
filter: invert( 100% );
|
|
display:flex;
|
|
height:16px;
|
|
margin-right:10px;
|
|
width:16px;
|
|
}
|
|
|
|
|
|
.ol-checkbox input[type="checkbox"]:checked::before {
|
|
background-image: url( "/images/icons/square-regular.svg" );
|
|
}
|
|
|
|
|
|
[class|="ol-button"] {
|
|
align-items: center;
|
|
background-repeat: no-repeat;
|
|
display:flex;
|
|
font-weight: normal;
|
|
padding:8px 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
[class|="ol-button"]::before {
|
|
margin-right:8px;
|
|
}
|
|
|
|
.ol-button-close {
|
|
background: transparent;
|
|
border:1px solid white;
|
|
}
|
|
|
|
.ol-button-close::before {
|
|
content: "\d7";
|
|
}
|
|
|
|
.ol-button-settings {
|
|
background-color: var( --background-slate-blue );
|
|
}
|
|
|
|
.ol-button-settings::before {
|
|
background-image: url( "/images/icons/gears-solid.svg" );
|
|
background-position:0 50%;
|
|
background-size:24px 24px;
|
|
content: "";
|
|
display:flex;
|
|
filter: invert( 100% );
|
|
height: 24px;
|
|
width: 24px;
|
|
} |