Skip to content

Commit

Permalink
v8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Mx committed Feb 17, 2024
1 parent be11274 commit 8ff4508
Show file tree
Hide file tree
Showing 46 changed files with 1,622 additions and 1,459 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ web/assets/img/uploads/
web/assets/js/config.js
web/robots.txt
*.pdf
*.pbf

#############
## Windows detritus
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# CHANGELOG

## v8.0.0

**Date:** 17/02/2024

Site changes
- Overhauled html/css naming conventions to be more consistent
- Replace jQuery depreciations
- Animate visual click to POI address when hovering over modal
- Allow reverse sorting in POI results list
- Separate map icons for different Places of Worship
- streetnames book to use hashed anchors
- Delay tutorial modal opening
- More of the usual bug fixes and code improvements


## v7.9.0

**Date:** 09/12/2023
Expand Down
12 changes: 6 additions & 6 deletions web/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

Redirect /ext /?M=general&T=none#13/50.8470/0.4670
Redirect /scarecrow /?M=general&T=none&G=scarecrow
Redirect /ext /?m=general&t=none#13/50.8470/0.4670
Redirect /scarecrow /?m=general&t=none&g=scarecrow
Redirect /streetnames /tour/itemStreetNames/streetnames.xml
Redirect /manorhouse /?T=tour&G=manorHouse&U=manor&O=os1955
Redirect /millifest /?T=none&G=milligan
Redirect /ww2 /?M=general&T=tour&G=bombmap&U=ww2
Redirect /xmas /?T=none&G=xmas
Redirect /manorhouse /?t=tour&g=manorHouse&u=manor&O=os1955
Redirect /millifest /?t=none&g=milligan
Redirect /ww2 /?m=general&t=tour&g=bombmap&u=ww2
Redirect /xmas /?t=none&g=xmas

# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
Expand Down
76 changes: 40 additions & 36 deletions web/assets/css/dark-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,72 +8,75 @@
--scroll-shadow: 0, 0, 0;
--scroll-shadow-popup: 0, 0, 0;
}
body {
background-color: #111111;
}
.spinner svg circle {
fill: rgba(0, 0, 0, 0.75);
}
.leaflet-control-layers-expanded, #msgStatusHead, .leaflet-control-attribution, .leaflet-tooltip, .leaflet-contextmenu a.leaflet-contextmenu-item,
.leaflet-control-layers-expanded, #modal-head, .leaflet-control-attribution, .leaflet-tooltip, .leaflet-contextmenu a.leaflet-contextmenu-item,
.leaflet-popup-content-wrapper, .leaflet-popup-tip, .leaflet-control-scale-line, .leaflet-routing-remove-waypoint:hover::after {
color: var(--text-color) !important;
}
.anchor:hover, select:hover:enabled, #home .sidebar-body a i:hover, #inputWw2 div, .leaflet-control-attribution .fa-circle-info:hover, button:hover:enabled:not(.fancybox-button),
.leaflet-bar a:hover, .navigateItem a:hover, .leaflet-container a.leaflet-popup-close-button:hover, #msgStatus div.leaflet-popup-close-button:hover,
#inputOpacity div.leaflet-popup-close-button:hover, .popup-header-button:hover, .leaflet-routing-geocoders button:hover::after, #devTools h3:hover::after,
.popup-ohContainer .popup-tagValue:hover::after, .leaflet-control-layers-list input:not(:checked,:disabled) + span:hover:before {
.sidebar-anchor:hover, select:hover:enabled, #home .sidebar-body a i:hover, #control-ww2 div, .leaflet-control-attribution .fa-circle-info:hover, button:hover:enabled:not(.fancybox-button),
.leaflet-bar a:hover, .popup-navigate a:hover, .leaflet-container a.leaflet-popup-close-button:hover, #modal div.leaflet-popup-close-button:hover,
#control-opacity div.leaflet-popup-close-button:hover, .popup-header-button:hover, .leaflet-routing-geocoders button:hover::after, #settings-devtools h3:hover::after,
.popup-openhrs .popup-tag-value:hover::after, .leaflet-control-layers-list input:not(:checked,:disabled) + span:hover:before {
color: var(--hover-color) !important;
}
.sidebar-tabs, footer, #homeBox, #xmasMsg, .anchor, input:not([type="range"]), hr, select, button, .leaflet-control-geocoder input, .slider::before,
.leaflet-control-geocoder, .leaflet-contextmenu, #msgStatusHead, .leaflet-container a.leaflet-popup-close-button, .leaflet-control-geocoder-selected, .fancybox-bg,
#poi-results-list tr:hover, .poi-checkbox-selected, .poi-checkbox > label:hover, .leaflet-touch .leaflet-bar:not(#inputWw2, #inputOpacity), #walking a img {
.sidebar-tabs, footer, #home-box, #holiday-xmas-msg, .sidebar-anchor, input:not([type="range"]), hr, select, button, .leaflet-control-geocoder input, .slider::before,
.leaflet-control-geocoder, .leaflet-contextmenu, #modal-head, .leaflet-container a.leaflet-popup-close-button, .leaflet-control-geocoder-selected, .fancybox-bg,
#pois-results-list tr:hover, .pois-checkbox-selected, .pois-checkbox > label:hover, .leaflet-touch .leaflet-bar:not(#control-ww2, #control-opacity), #walking a img {
background-color: var(--bg-color) !important;
}
#msgStatus, #inputOpacity, .leaflet-bar > a, .leaflet-bar button, .leaflet-popup-content-wrapper, .leaflet-popup-tip, .sidebar-content, .leaflet-control-layers-expanded, .leaflet-control-layers,
.leaflet-control-geocoder, .leaflet-control-geocoder-alternatives, .leaflet-control-geocoder-alternatives li:hover, .leaflet-tooltip, .popup-imgAttrib, .navigateBg {
#modal, #control-opacity, .leaflet-bar > a, .leaflet-bar button, .leaflet-popup-content-wrapper, .leaflet-popup-tip, .sidebar-content, .leaflet-control-layers-expanded, .leaflet-control-layers,
.leaflet-control-geocoder, .leaflet-control-geocoder-alternatives, .leaflet-control-geocoder-alternatives li:hover, .leaflet-tooltip, .popup-img-attrib, .popup-navigate-background {
background-color: var(--bg-color2) !important;
}
.leaflet-control-layers-list input + span:before {
color: #444444;
}
#weather, #newFeed ul {
#home-weather, #home-new-feed ul {
color: #688c81;
}
.leaflet-bar a, .leaflet-bar a:hover, .setLabel {
.leaflet-bar a, .leaflet-bar a:hover, .settings-label {
border-bottom: 1px solid var(--bg-color);
}
.leaflet-bar a:last-child {
border-bottom: none;
}
#devTools {
#settings-devtools {
border-top: 1px solid var(--bg-color);
}
#inputOpacity input[type=range] {
#control-opacity input[type=range] {
background-image: linear-gradient(to right, #333, #666);
}
input[type=range] {
background-color: #666666;
}
.custscroll {
.theme-scroll {
scrollbar-color: var(--scr-thumb) var(--scr-track) !important;
}
.layerDark, #minimap > img {
.theme-invert {
filter: invert(90%) hue-rotate(180deg) contrast(80%);
}
.sidebar-header {
.sidebar-header-text, .sidebar-close {
color: #dddddd;
}
.leaflet-control-layers-separator {
border-top: 2px solid var(--bg-color);
}
#poi-results, #walkDesc img, #thennow img, #myprofile img, .popup-imgContainer, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar:not(#inputWw2) {
#pois-results, #walk-desc img, #thennow img, #info-profile img, .popup-img, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar:not(#control-ww2) {
border: 2px solid var(--bg-color);
}
input[type=range]::-webkit-slider-thumb { border-color: var(--bg-color); }
input[type=range]:hover::-webkit-slider-thumb { background-color: var(--hover-color); }
input[type=range]::-moz-range-thumb { border-color: var(--bg-color); }
input[type=range]:hover::-moz-range-thumb { background-color: var(--hover-color); }
#poi-results-list tr, .popup-header, .leaflet-control-geocoder-alternatives li:not(:last-child) {
#pois-results-list tr, .popup-header, .leaflet-control-geocoder-alternatives li:not(:last-child) {
border-bottom: 2px solid var(--bg-color) !important;
}
.leaflet-control-scale-line, .poi-result-selected {
.leaflet-control-scale-line, .pois-result-selected {
background-color: rgba(0, 0, 0, 0.5);
}
.leaflet-control-scale-line {
Expand All @@ -83,16 +86,16 @@ input[type=range]:hover::-moz-range-thumb { background-color: var(--hover-color)
.leaflet-container .leaflet-control-attribution {
background: rgba(0, 0, 0, 0.7);
}
.anchor, .easy-autocomplete-container ul li, .easy-autocomplete-container ul .eac-category {
.sidebar-anchor, .easy-autocomplete-container ul li, .easy-autocomplete-container ul .eac-category {
border-color: #666666;
}
button:disabled, button:disabled:hover, button:disabled::after, button:disabled:hover::after {
color: #555555 !important;
}
input:not([type=range]), select, #sidebar button:not(.modalButton), .leaflet-tooltip {
input:not([type=range]), select, #sidebar button:not(.tutorial-button), .leaflet-tooltip {
border: 1px solid #333 !important;
}
.leaflet-control-geocoder input, .leaflet-control-geocoder-alternatives a, .fancybox-button, .modalButton {
.leaflet-control-geocoder input, .leaflet-control-geocoder-alternatives a, .fancybox-button, .tutorial-button {
border: none !important;
}
.easy-autocomplete-container ul li, .easy-autocomplete-container ul .eac-category {
Expand All @@ -116,14 +119,14 @@ input:not([type=range]), select, #sidebar button:not(.modalButton), .leaflet-too
.leaflet-container a.leaflet-popup-close-button {
border: 3px solid #333333;
}
.leaflet-popup .award {
.leaflet-popup .competition-award {
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 15px black;
}
.leaflet-tooltip-right::before { border-right-color: var(--bg-color2); }
.leaflet-tooltip-left::before { border-left-color: var(--bg-color2); }
.leaflet-tooltip-top::before { border-top-color: var(--bg-color2); }
.leaflet-tooltip-bottom::before { border-bottom-color: var(--bg-color2); }
.modalButton {
.tutorial-button {
background-color: #222 !important;
}
.leaflet-contextmenu a.leaflet-contextmenu-item.over {
Expand All @@ -134,31 +137,32 @@ input:not([type=range]), select, #sidebar button:not(.modalButton), .leaflet-too
.leaflet-contextmenu-separator {
border-bottom: 1px solid #333333;
}
.popup-ohTable tr, .popup-bsTable tr { border: 1px solid black; }
.popup-bsTable tr, .popup-ohTable td.times { background-color: #222222; }
.popup-bsTable tr:nth-child(1) { color: #eeeeee; }
.popup-ohTable td.workday { background-color: #333333; }
.popup-ohTable td.weekend { background-color: #444444; }
.popup-img { background-color: #333333; }
.popup-openhrs-table tr, .popup-bustime-table tr { border: 1px solid black; }
.popup-bustime-table tr, .popup-openhrs-table td.times { background-color: #222222; }
.popup-bustime-table tr:nth-child(1) { color: #eeeeee; }
.popup-openhrs-table td.workday { background-color: #333333; }
.popup-openhrs-table td.weekend { background-color: #444444; }
.sidebar-close:hover { color: #bbbbbb; }
.sidebar-notif { border-color: var(--bg-color); }
.xmasMapTree { filter: drop-shadow(0px 10px 9px #000000); }
.circleMarker { fill: #000000; }
.poi-results-circleMarker { color: #000000; }
.popup-xmas .leaflet-popup-content-wrapper, .leaflet-tooltip.popup-xmas, #xmasMsg {
.pois-results-circleMarker { color: #000000; }
.popup-xmas .leaflet-popup-content-wrapper, .leaflet-tooltip.popup-xmas, #holiday-xmas-msg {
background-blend-mode: lighten;
}

.custscroll::-webkit-scrollbar {
.theme-scroll::-webkit-scrollbar {
background-color: var(--scr-track);
}
.custscroll::-webkit-scrollbar-thumb {
.theme-scroll::-webkit-scrollbar-thumb {
background-color: var(--scr-thumb);
}
#gotocontrols .fa-border, #gotoprivacy .fa-border {
#info-privacy .fa-border {
border: 1px solid #333333;
border-radius: 5px;
background-color: var(--bg-color);
}
.comment, figcaption {
.popup-comment, .comment, figcaption {
color: #888888;
}
32 changes: 16 additions & 16 deletions web/assets/css/plugins/leaflet-sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
bottom: 10px;
resize: vertical;
min-height: 500px; } }

@media (min-width: 768px) and (max-width: 1023px) {
body {
background-color: #eeeeee; }
.sidebar {
width: 350px; } }
@media (min-width: 1024px) and (max-width: 1299px) {
Expand All @@ -33,17 +36,15 @@
width: 450px;
max-height: 950px; } }
.sidebar.collapsed {
width: 35px; }
.sidebar.collapsed .sidebar-pane.active .sidebar-body, .sidebar.collapsed #holidayImg {
opacity : 0; }
width: 35px;
resize: none; }
.sidebar.collapsed .sidebar-body {
opacity: 0; }
@media (min-width: 1024px) {
.sidebar.collapsed .sidebar-tabs {
background-color: transparent !important;
backdrop-filter: blur(7px);
transition: background-color 400ms ease-out; }
.sidebar.collapsed {
width: 35px;
resize: none; } }
transition: background-color 400ms ease-out; } }
.sidebar-left {
left: 0; }
@media (min-width: 1024px) {
Expand All @@ -53,7 +54,7 @@
top: 0;
bottom: 0;
height: 100%;
background-color: #ddd }
background-color: #e5e5e5 }
.sidebar-left .sidebar-tabs {
left: 0; }
.sidebar-tabs, .sidebar-tabs > ul {
Expand Down Expand Up @@ -100,12 +101,9 @@
position: absolute;
top: 0;
bottom: 0;
background-color: rgba(235, 235, 235, 0.8);
background-color: rgba(240, 240, 240, 0.8);
overflow: hidden;
backdrop-filter: blur(7px); }
@media (min-width: 768px) and (max-width: 1023px) {
.sidebar-content {
background-color: #ececec; } }
.sidebar-left .sidebar-content {
left: 35px;
right: 0; }
Expand All @@ -131,18 +129,19 @@
white-space: nowrap;
margin: 0;
font: normal 16pt BerlinSans, "Helvetica Neue", Arial, Helvetica, sans-serif;
color: #fff;
background-color: var(--main-color);
line-height: 45px; }
.sidebar-header-text {
width: 100%;
color: #fff;
padding: 0 15px; }
#home .sidebar-header-text {
cursor: pointer; }
color: #fff;
text-decoration: none; }
.sidebar-close::before {
content: '\f0d9';
font: var(--fa-font-solid); }
.sidebar-close {
color: #fff;
position: absolute;
right: 0;
min-width: 8px;
Expand All @@ -161,7 +160,8 @@
width: 94%;
padding: 0 3%;
min-width: 250px;
transition: opacity 300ms linear; }
opacity: 1;
transition: opacity 200ms linear; }
.sidebar-left ~ .sidebar-map {
margin-left: 35px; }
@media (min-width: 768px) and (max-width: 1023px) {
Expand Down
Loading

0 comments on commit 8ff4508

Please sign in to comment.