Revert "CSS updates (including dark mode)" (#149)

This commit is contained in:
Eric Tran 2021-08-18 13:37:50 -05:00 committed by GitHub
parent 88fec00f17
commit abf8fa2b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 213 additions and 336 deletions

View File

@ -18,11 +18,11 @@
} }
.layer-switcher .panel { .layer-switcher .panel {
padding: 1em; padding: 0 1em 0 0;
margin: 0; margin: 0;
border: 4px solid var(--modal-bgcolor); border: 4px solid #eee;
border-radius: 4px; border-radius: 4px;
background-color: var(--body-bgcolor); background-color: white;
display: none; display: none;
max-height: 100%; max-height: 100%;
overflow-y: auto; overflow-y: auto;
@ -60,14 +60,10 @@
} }
.layer-switcher ul { .layer-switcher ul {
padding: 0; padding-left: 2em;
margin:0;
list-style: none; list-style: none;
} }
.layer-switcher li.group label {
color: var(--body-text);
}
.layer-switcher li.group > label { .layer-switcher li.group > label {
font-weight: bold; font-weight: bold;
} }

View File

@ -1,72 +1,36 @@
:root { html, body {
color-scheme: light dark; -ms-overflow-style: -ms-autohiding-scrollbar;
--body-bgcolor: #ffffff; margin: 0; padding: 0; background-color: #ffffff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
--modal-bgcolor: #dddddd; font-size: 10pt; overflow: hidden; height: 100%;
--body-text: #222222;
--head-text: #444444;
--title-text: #002F5D;
--link-default: #0000C8;
--link-hover: #d77925;
--error-text: red;
--error-border: red;
--error-background: #FFFFA3;
} }
@media (prefers-color-scheme: dark) { #layout_container {
:root {
--body-bgcolor: #000000;
--modal-bgcolor: #333333;
--body-text: #eeeeee;
--head-text: #cccccc;
--title-text: #ffffff;
--link-default: rgba(0, 160, 226, 1);
--link-hover: #de914b;
--error-text: red;
--error-border: red;
--error-background: #FFFFA3;
}
}
html,
body {
-ms-overflow-style: -ms-autohiding-scrollbar;
margin: 0;
padding: 0;
background-color: var(--body-bgcolor);
color: var(--body-text);
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 10pt;
overflow: hidden;
height: 100%;
}
#layout_container {
display: flex; display: flex;
height: calc(100% - 60px); height: calc(100% - 60px);
} }
#selected_infoblock { #selected_infoblock {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
margin: 0; margin: 0;
background: #var(--body-bgcolor); background: #ffffff;
width: 100%; width: 100%;
height: 400px; height: 400px;
} }
.infoblock-container { .infoblock-container {
overflow: scroll; overflow: scroll;
height: 100%; height: 100%;
} }
#sidebar_canvas { #sidebar_canvas {
padding: 10px; padding: 10px;
overflow: auto; overflow: auto;
} }
#sidebar_container { #sidebar_container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 500px; width: 500px;
left: 0 !important; left: 0 !important;
height: 100%; height: 100%;
} }
#map_container { #map_container {
@ -110,6 +74,7 @@ body {
display: table-cell; display: table-cell;
width: 100%; width: 100%;
left: 5px; left: 5px;
} }
#toggle_sidebar_control { #toggle_sidebar_control {
@ -165,6 +130,7 @@ body {
background-size: cover; background-size: cover;
} }
#splitter { #splitter {
cursor: ew-resize; cursor: ew-resize;
display: block; display: block;
@ -184,43 +150,43 @@ body {
} }
#splitter-infoblock { #splitter-infoblock {
cursor: ns-resize; cursor: ns-resize;
display: inline-block; display: inline-block;
position: absolute; position: absolute ;
top: 0px; top: 0px;
right: 0; right: 0;
margin-left: auto; margin-left: auto;
width: 24px; width: 24px;
height: 4px; height: 4px;
background-size: 24px 25px; background-size: 24px 25px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0px; background-position: 0px;
border: none; border: none;
width: 100%; width: 100%;
border-bottom: #234c75; border-bottom: #234c75;
background-color: #65819e; background-color: #65819e;
border-bottom-width: 1px; border-bottom-width: 1px;
border-bottom-style: solid; border-bottom-style: solid;
} }
#close-button { #close-button {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
top: 18px; top: 18px;
color: #00a0e2; color: #00A0E2;
right: 30px; right: 30px;
margin-left: auto; margin-left: auto;
font-size: 75%; font-size: 75%;
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
background-color: var(--body-bgcolor); background: #fff;
padding: 3px; padding: 3px;
border-radius: 2px; border-radius: 2px;
} }
.ol-zoom-in { .ol-zoom-in {
background-image: url("images/zoom-in.png"); background-image: url("images/zoom-in.png");
background-size: cover; background-size: cover;
color: transparent !important; color:transparent !important;
width: 19px !important; width: 19px !important;
height: 19px !important; height: 19px !important;
background-color: transparent !important; background-color: transparent !important;
@ -230,7 +196,7 @@ body {
.ol-zoom-out { .ol-zoom-out {
background-image: url("images/zoom-out.png"); background-image: url("images/zoom-out.png");
background-size: cover; background-size: cover;
color: transparent !important; color:transparent !important;
width: 19px !important; width: 19px !important;
height: 19px !important; height: 19px !important;
background-color: transparent !important; background-color: transparent !important;
@ -241,61 +207,21 @@ body {
left: 10px !important; left: 10px !important;
} }
div#SpecialSquawkWarning {
position: absolute;
bottom: 25px;
right: 430px;
border: 2px solid red;
background-color: #ffffa3;
opacity: 0.75;
filter: alpha(opacity=75);
padding: 5px;
text-align: center;
}
div#update_error {
position: absolute;
bottom: 25px;
left: 25px;
border: 2px solid red;
background-color: #ffffa3;
opacity: 0.75;
filter: alpha(opacity=75);
padding: 5px;
text-align: center;
}
div#loader { div#SpecialSquawkWarning { position: absolute; bottom: 25px; right: 430px; border: 2px solid red;
z-index: 99; background-color: #FFFFA3; opacity: 0.75; filter:alpha(opacity=75); padding: 5px;
position: absolute; text-align: center; }
left: 0;
top: 0;
bottom: 0;
right: 0;
background: #000;
opacity: 0.8;
filter: alpha(opacity=80);
}
#spinny {
width: 128px;
height: 128px;
position: absolute;
top: 50%;
left: 50%;
margin: -64px 0 0 -64px;
}
#loader_progress {
width: 250px;
height: 20px;
position: absolute;
top: 50%;
left: 50%;
margin: 128px 0 0 -125px;
}
#tableinfo { div#update_error { position: absolute; bottom: 25px; left: 25px; border: 2px solid red;
font-size: small; background-color: #FFFFA3; opacity: 0.75; filter:alpha(opacity=75); padding: 5px;
} text-align: center; }
div#loader { z-index: 99; position: absolute; left: 0; top: 0; bottom: 0; right: 0; background: #000; opacity: 0.8; filter: alpha(opacity=80); }
#spinny { width: 128px; height: 128px; position: absolute; top: 50%; left: 50%; margin: -64px 0 0 -64px; }
#loader_progress { width: 250px; height: 20px; position: absolute; top: 50%; left: 50%; margin: 128px 0 0 -125px; }
#tableinfo { font-size: small; }
#sudo_buttons { #sudo_buttons {
display: flex; display: flex;
@ -309,9 +235,9 @@ div#loader {
margin: 10px 0 10px 0; margin: 10px 0 10px 0;
} }
.aircraft_table_header { .aircraft_table_header {
background-color: #002f5d; background-color: #002F5D;
color: #ffffff; color: #FFFFFF;
cursor: pointer; cursor: pointer;
white-space: nowrap; white-space: nowrap;
} }
@ -325,7 +251,7 @@ div#loader {
} }
.verticalRateTriangle { .verticalRateTriangle {
font-family: "Courier New", monospace; font-family: "Courier New",monospace;
} }
.icaoCodeColumn { .icaoCodeColumn {
@ -333,80 +259,41 @@ div#loader {
text-transform: uppercase; text-transform: uppercase;
} }
.vPosition { .vPosition { background-color: #E5F6FC; }
background-color: #e5f6fc; .uat { background-color: #CDF7D0; }
} .mlat { background-color: #FDF2E5; }
.uat { .other { background-color: #CCD5F8; }
background-color: #cdf7d0; .tisb { background-color: #FFF3B8; }
} .squawk7500 { font-weight: bold; background-color: #ff5555; }
.mlat { .squawk7600 { font-weight: bold; background-color: #00ffff; }
background-color: #fdf2e5; .squawk7700 { font-weight: bold; background-color: #ffff00; }
} .selected { background-color: #dddddd; }
.other { .plane_table_row {
background-color: #ccd5f8;
}
.tisb {
background-color: #fff3b8;
}
.squawk7500 {
font-weight: bold;
background-color: #ff5555;
}
.squawk7600 {
font-weight: bold;
background-color: #00ffff;
}
.squawk7700 {
font-weight: bold;
background-color: #ffff00;
}
.selected {
background-color: #dddddd;
}
.plane_table_row {
cursor: pointer; cursor: pointer;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
} }
.ident_normal { .ident_normal { font-weight: normal; font-style: normal; }
font-weight: normal; .ident_fallback { font-weight: bold; font-style: italic; }
font-style: normal; .hidden { display: none; }
}
.ident_fallback {
font-weight: bold;
font-style: italic;
}
.hidden {
display: none;
}
.infoblock_heading { .infoblock_heading { font-size: larger; }
font-size: larger; .infoblock_heading a { text-decoration: none; color: blue; font-size: x-small;}
}
.infoblock_heading a {
text-decoration: none;
font-size: x-small;
}
.dim { .dim { opacity: 0.3; filter:alpha(opacity=30); /* For IE8 and earlier */ }
opacity: 0.3;
filter: alpha(opacity=30); /* For IE8 and earlier */
}
.pointer { .pointer { cursor: pointer; }
cursor: pointer;
}
.sidebarButton { .sidebarButton {
background-color: #409edf; background-color: #409EDF;
padding: 4px 15px 4px 15px; padding: 4px 15px 4px 15px;
color: #ffffff; color: #FFFFFF;
font-weight: normal; font-weight: normal;
font-size: small; font-size: small;
} }
.sidebarButton:hover { .sidebarButton:hover {
background-color: #3c6ea3; background-color: #3c6ea3;
} }
.altitudeFilterInput { .altitudeFilterInput {
@ -423,19 +310,17 @@ div#loader {
} }
.rangeOptions { .rangeOptions {
width: 170px; width: 170px;
padding-top: 8px; padding-top: 8px;
text-indent: 10px; text-indent: 10px;
} }
.set_range_rings_button { .set_range_rings_button {
padding-top: 8px; padding-top: 8px;
} }
select.error, select.error, textarea.error, input.error {
textarea.error, color: #FF0000;
input.error {
color: #ff0000;
} }
.layer-switcher { .layer-switcher {
@ -445,7 +330,8 @@ input.error {
} }
/* new css */ /* new css */
.rangeRingText { .rangeRingText
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold; font-weight: bold;
font-size: 8px; font-size: 8px;
@ -453,12 +339,13 @@ input.error {
color: rgb(51, 51, 51); color: rgb(51, 51, 51);
} }
.dateTime { .dateTime
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 14px;
line-height: 18px; line-height: 18px;
color: #ffffff; color: #FFFFFF;
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
line-height: 60px; line-height: 60px;
text-align: right; text-align: right;
@ -468,14 +355,14 @@ input.error {
.infoHeading { .infoHeading {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
line-height: 16px; line-height: 16px;
color: #002f5d; color: #002F5D;
} }
.infoHeading sub { .infoHeading sub {
font-weight: normal; font-weight: normal;
} }
.infoData { .infoData {
@ -486,81 +373,79 @@ input.error {
} }
.sectionTitle { .sectionTitle {
width: 100%; width: 100%;
text-transform: uppercase; text-transform: uppercase;
color: #fff; color: #fff;
background: #002f5d; background: #002F5D;
font-size: 14px; font-size: 14px;
} }
.section-title-content { .section-title-content {
padding: 5px 20px; padding: 5px 20px;
} }
.legend { .legend
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 100%; width: 100%;
font-size: 12px; font-size: 12px;
color: #000000; /* keep this fixed; the legends are in little colored bubbles */ color: #000000;
color: rgb(0, 0, 0);
display: inline-flex; display: inline-flex;
justify-content: flex-end; justify-content: flex-end;
padding-top: 10px; padding-top: 10px;
} }
.settingsHeading { .settingsHeading
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
color: var(--title-text); color: #002F5D;
color: rgb(0, 47, 93);
} }
.settingsText { .settingsText
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
text-indent: 16px; text-indent: 16px;
color: var(--body-text); color: rgb(0, 0, 0);
} }
a { .link
color: var(--link-default); {
text-decoration: underline;
}
a:visited {
color: var(--link-default);
}
a:hover {
color: var(--link-hover);
}
.link {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 10px; font-size: 10px;
line-height: 20px; line-height: 20px;
color: #0000C8;
color: rgb(0, 0, 200);
text-decoration: underline;
} }
#header { #header {
width: 100%; width: 100%;
height: 60px; height: 60px;
background: #002f5d; background: #002F5D;
background: -webkit-linear-gradient(#002f5d, #002f5d 60%, #021624); background: -webkit-linear-gradient(#002F5D, #002F5D 60%, #021624);
background: -moz-linear-gradient(#002f5d, #002f5d 60%, #021624); background: -moz-linear-gradient(#002F5D, #002F5D 60%, #021624);
background: -ms-linear-gradient(#002f5d, #002f5d 60%, #021624); background: -ms-linear-gradient(#002F5D, #002F5D 60%, #021624);
background: linear-gradient(#002f5d, #002f5d 60%, #021624); background: linear-gradient(#002F5D, #002F5D 60%, #021624);
display: flex; display: flex;
box-shadow: -6px 0px 8px #999999; box-shadow: -6px 0px 8px #999999;
z-index: 99999; z-index: 99999;
} }
.flightawareLogo { .flightawareLogo {
background-color: #fff; background-color: #FFF;
padding-top: 7px; padding-top: 7px;
padding-bottom: 6px; padding-bottom: 6px;
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
width: 121px; width: 121px;
height: 46px; height: 46px;
box-shadow: inset -12px 0 12px -12px #000000; box-shadow:inset -12px 0 12px -12px #000000;
} }
.adsbLogo { .adsbLogo {
@ -586,11 +471,12 @@ a:hover {
margin-left: auto; margin-left: auto;
} }
.buttonText { .buttonText
{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
color: #ffffff; color: #FFFFFF;
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
line-height: 28px; line-height: 28px;
padding-left: 10px; padding-left: 10px;
@ -598,7 +484,7 @@ a:hover {
} }
.button { .button {
background: #00a0e2; background: #00A0E2;
background: rgba(0, 160, 226, 1); background: rgba(0, 160, 226, 1);
min-width: 80px; min-width: 80px;
height: 28px; height: 28px;
@ -611,9 +497,8 @@ a:hover {
text-align: center; text-align: center;
} }
.lightblue-link, .lightblue-link, .lightblue-link a {
.lightblue-link a { color: #00A0E2;
color: #00a0e2;
} }
.buttonHeader { .buttonHeader {
@ -638,7 +523,7 @@ a:hover {
top: 60px; top: 60px;
min-width: 168px; min-width: 168px;
padding-right: 5px; padding-right: 5px;
background-color: var(--body-bgcolor); background: #ffffff;
box-shadow: 4px 4px 10px #444444; box-shadow: 4px 4px 10px #444444;
cursor: pointer; cursor: pointer;
z-index: 9999; z-index: 9999;
@ -647,9 +532,9 @@ a:hover {
.highlightedTitle { .highlightedTitle {
height: 36px; height: 36px;
border-bottom: 1px solid #00a0e2; border-bottom: 1px solid #00A0E2;
padding-left: 18px; padding-left: 18px;
padding-top: 18px; padding-top: 18px;
} }
.highlightedInfo { .highlightedInfo {
@ -660,7 +545,7 @@ a:hover {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 24px; font-size: 24px;
line-height: 20px; line-height: 20px;
color: #002f5d; color: #002F5D;
color: rgb(0, 47, 93); color: rgb(0, 47, 93);
font-weight: lighter; font-weight: lighter;
} }
@ -670,7 +555,7 @@ a:hover {
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
line-height: 20px; line-height: 20px;
color: #00a0e2; color: #00A0E2;
color: rgb(0, 160, 226); color: rgb(0, 160, 226);
} }
@ -695,10 +580,10 @@ a:hover {
} }
.infoRowLine { .infoRowLine {
width: 49%; width: 49%;
display: inline-block; display: inline-block;
padding-top: 2px; padding-top: 2px;
padding-bottom: 2px; padding-bottom: 2px;
} }
.removePadding { .removePadding {
@ -738,7 +623,7 @@ a:hover {
.infoBlockTitleText { .infoBlockTitleText {
font-weight: bold; font-weight: bold;
color: var(--title-text); color: #002F5D;
} }
.legendBox { .legendBox {
@ -765,7 +650,7 @@ a:hover {
top: 60px; top: 60px;
width: 398px; width: 398px;
min-height: 180px; min-height: 180px;
background-color: var(--body-bgcolor); background: #ffffff;
box-shadow: 4px 4px 10px #444444; box-shadow: 4px 4px 10px #444444;
padding: 20px; padding: 20px;
z-index: 9999; z-index: 9999;
@ -781,12 +666,10 @@ a:hover {
padding-bottom: 10px; padding-bottom: 10px;
} }
.settingsCheckbox, .settingsCheckbox, .columnSelectCheckbox, .columnSelectAllCheckbox {
.columnSelectCheckbox,
.columnSelectAllCheckbox {
width: 20px; width: 20px;
height: 11px; height: 11px;
background-image: url("images/box-empty.png"); background-image: url('images/box-empty.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: contain; background-size: contain;
@ -794,13 +677,13 @@ a:hover {
} }
.settingsCheckboxChecked { .settingsCheckboxChecked {
background-image: url("images/box-checked.png") !important; background-image: url('images/box-checked.png') !important;
} }
.sourceCheckbox { .sourceCheckbox {
width: 13px; width: 13px;
height: 13px; height: 13px;
background-image: url("images/box-empty.png"); background-image: url('images/box-empty.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: contain; background-size: contain;
@ -810,14 +693,14 @@ a:hover {
} }
.sourceCheckboxChecked { .sourceCheckboxChecked {
background-image: url("images/box-checked.png") !important; background-image: url('images/box-checked.png') !important;
} }
.settingsCloseBox { .settingsCloseBox {
position: absolute; position: absolute;
right: 8px; right: 8px;
top: 8px; top: 8px;
background-image: url("images/close-settings.png"); background-image: url('images/close-settings.png');
background-size: cover; background-size: cover;
width: 20px; width: 20px;
height: 20px; height: 20px;
@ -839,7 +722,7 @@ a:hover {
} }
#altitude_chart_button { #altitude_chart_button {
background-image: url("images/alt_legend_feet.svg"); background-image: url('images/alt_legend_feet.svg');
background-size: cover; background-size: cover;
background-color: transparent; background-color: transparent;
width: 100%; width: 100%;
@ -849,7 +732,7 @@ a:hover {
} }
.altitudeMeters { .altitudeMeters {
background-image: url("images/alt_legend_meters.svg") !important; background-image: url('images/alt_legend_meters.svg') !important;
} }
/* remove the blue highlighting around the map buttons */ /* remove the blue highlighting around the map buttons */
@ -858,54 +741,54 @@ a:hover {
} }
.bottom-container { .bottom-container {
width: 100%; width: 100%;
margin-top: 8px; margin-top: 8px;
padding: 40px 0px; padding: 40px 0px;
text-align: center; text-align: center;
background-color: #eee; background-color: #eee;
} }
#selected_flightaware_link a { #selected_flightaware_link a {
background-color: #00a0e2; background-color: #00a0e2;
color: white; color: white;
text-decoration: none; text-decoration: none;
padding: 10px; padding: 10px;
border-radius: 4px; border-radius: 4px;
float: right; float: right;
margin-right: 25px; margin-right: 25px;
margin-top: 10px; margin-top: 10px;
} }
.bottom-info-container { .bottom-info-container {
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
text-align: center; text-align: center;
color: #002f5d; color: #002F5D;
line-height: 18px; line-height: 18px;
} }
.bottom-info-container img { .bottom-info-container img {
vertical-align: middle; vertical-align: middle;
} }
.bottom-info-container .bottom-info-text { .bottom-info-container .bottom-info-text {
vertical-align: middle; vertical-align: middle;
display: inline; display: inline;
} }
.selected_airframe a { .selected_airframe a {
color: #002f5d; color: #002F5D;
} }
.infoblock-container-small .infoRowFluid { .infoblock-container-small .infoRowFluid {
display: block; display: block;
} }
/* Retina 2x images */ /* Retina 2x images */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.settingsCloseBox { .settingsCloseBox {
background-image: url("images/close-settings@2x.png"); background-image: url('images/close-settings@2x.png');
} }
.settingsCheckboxChecked { .settingsCheckboxChecked {
background-image: url("images/box-checked@2x.png") !important; background-image: url('images/box-checked@2x.png') !important;
} }
.settingsCheckbox { .settingsCheckbox {
background-image: url("images/box-empty@2x.png"); background-image: url('images/box-empty@2x.png');
} }
.ol-zoom-out { .ol-zoom-out {
background-image: url("images/zoom-out@2x.png"); background-image: url("images/zoom-out@2x.png");
@ -925,15 +808,15 @@ a:hover {
} }
/* Retina 3x images */ /* Retina 3x images */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 192dpi) { @media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 192dpi) {
.settingsCloseBox { .settingsCloseBox {
background-image: url("images/close-settings@3x.png"); background-image: url('images/close-settings@3x.png');
} }
.settingsCheckboxChecked { .settingsCheckboxChecked {
background-image: url("images/box-checked@3x.png") !important; background-image: url('images/box-checked@3x.png') !important;
} }
.settingsCheckbox { .settingsCheckbox {
background-image: url("images/box-empty@3x.png"); background-image: url('images/box-empty@3x.png');
} }
.ol-zoom-out { .ol-zoom-out {
background-image: url("images/zoom-out@3x.png"); background-image: url("images/zoom-out@3x.png");
@ -954,8 +837,8 @@ a:hover {
.config_button { .config_button {
position: relative; position: relative;
background-color: #febc11; background-color: #FEBC11;
color: #002f5d; color: #002F5D;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
width: auto; width: auto;
@ -971,7 +854,7 @@ a:hover {
.stats_button { .stats_button {
position: relative; position: relative;
background-color: rgba(0, 160, 226, 1); background-color: rgba(0, 160, 226, 1);
color: #ffffff; color: #FFFFFF;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
@ -982,10 +865,10 @@ a:hover {
-moz-border-radius: 4px; -moz-border-radius: 4px;
margin-top: 5px; margin-top: 5px;
padding: 5px 8px 5px 8px; padding: 5px 8px 5px 8px;
} }
.config_button:hover, .config_button:hover, .config_button_active {
.config_button_active {
background-color: #abcad8; background-color: #abcad8;
} }
@ -996,13 +879,13 @@ a:hover {
} }
.panel { .panel {
background-color: var(--body-bgcolor); background-color: white;
position: relative; position: relative;
padding: 3px 3px 10px 3px; padding: 3px 3px 10px 3px;
display: none; display: none;
margin-bottom: 5px; margin-bottom: 5px;
border: solid; border: solid;
border-color: #002f5d; border-color: #002F5D;
height: auto; height: auto;
border-radius: 4px; border-radius: 4px;
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
@ -1012,10 +895,9 @@ a:hover {
.wrapper { .wrapper {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
} }
#altitude_slider, #altitude_slider, #speed_slider {
#speed_slider {
position: relative; position: relative;
display: block; display: block;
margin-left: 10px; margin-left: 10px;
@ -1030,21 +912,20 @@ a:hover {
float: right; float: right;
} }
.noUi-horizontal .noUi-handle, .noUi-horizontal .noUi-handle, .noUi-vertical .noUi-handle {
.noUi-vertical .noUi-handle { background: #FEBC11;
background: #febc11;
height: 20px !important; height: 20px !important;
width: 10px !important; width: 10px !important;
right: -5px !important; /* must be (width / 2) * -1 */ right: -5px !important; /* must be (width / 2) * -1 */
} }
.noUi-handle:before, .noUi-handle:before, .noUi-handle:after {
.noUi-handle:after {
display: none !important; display: none !important;
} }
.noUi-connect { .noUi-connect {
background: #00a0e2 !important; background: #00A0E2 !important;
} }
#aircraft_type_filter_form, #aircraft_type_filter_form,
@ -1060,9 +941,9 @@ a:hover {
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
-moz-border-radius: 4px; -moz-border-radius: 4px;
background-clip: padding-box; background-clip: padding-box;
border: 1px solid var(--modal-bgcolor); border: 1px solid #e5e9f9;
background-color: var(--body-bgcolor); background: #fff;
color: var(--body-color); color: #060d46;
width: auto; width: auto;
} }