mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
245 lines
4.2 KiB
CSS
245 lines
4.2 KiB
CSS
/* Page style */
|
|
#map-container {
|
|
height: 100%;
|
|
min-width: 820px;
|
|
width: 100%;
|
|
}
|
|
|
|
#primary-toolbar {
|
|
align-items: center;
|
|
display:flex;
|
|
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::after {
|
|
content: attr(data-bearing) '\00B0 / ' attr(data-distance) attr(data-distance-units);
|
|
}
|
|
|
|
.br-info[data-message]::after {
|
|
content: attr(data-message);
|
|
}
|
|
|
|
.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: 20px;
|
|
}
|
|
|
|
.ol-dialog-close {
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
font-weight: var(--font-weight-bolder);
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 10px;
|
|
}
|
|
|
|
.ol-dialog-close::before {
|
|
content: "\d7";
|
|
}
|
|
|
|
.ol-dialog-header {
|
|
border-bottom: 1px solid var(--background-grey);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.ol-dialog-content {
|
|
margin:4px 0;
|
|
}
|
|
|
|
.ol-dialog-footer {
|
|
border-top: 1px solid var(--background-grey);
|
|
padding-top: 15px;
|
|
display: flex;
|
|
row-gap: 10px;
|
|
}
|
|
|
|
.ol-dialog.scrollable .ol-dialog-content {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.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-regular.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-check-solid.svg");
|
|
}
|
|
|
|
.ol-text-input input {
|
|
height: 40px;
|
|
border-radius: 5px;
|
|
color: var(--background-offwhite);
|
|
background-color: var(--background-grey);
|
|
border: 1px solid var(--background-grey);
|
|
border-radius: var(--border-radius-sm);
|
|
text-align: center;
|
|
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
input[type=number] {
|
|
-moz-appearance: textfield;
|
|
appearance: textfield;
|
|
margin: 0;
|
|
}
|
|
|
|
input[type=number]::-webkit-inner-spin-button,
|
|
input[type=number]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
[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-apply {
|
|
background: transparent;
|
|
border: 1px solid white;
|
|
}
|
|
|
|
.ol-button-apply::before {
|
|
content: "\2713";
|
|
}
|
|
|
|
.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;
|
|
} |