2021-09-22 19:56:05 +02:00
|
|
|
|
/*
|
|
|
|
|
TailwindCSS JIT-Mode Input file.
|
|
|
|
|
Use TailwindCSS functions and directives here – https://tailwindcss.com/docs/functions-and-directives
|
|
|
|
|
About JIT-Mode: https://tailwindcss.com/docs/just-in-time-mode#styles-rebuild-in-an-infinite-loop
|
|
|
|
|
|
|
|
|
|
TailwindCSS CLI generates the css/index-tailwind-output.css file based on this file.
|
|
|
|
|
It is not used directly in the app.
|
|
|
|
|
*/
|
|
|
|
|
|
2021-01-17 21:01:44 +01:00
|
|
|
|
@tailwind base;
|
|
|
|
|
@tailwind components;
|
|
|
|
|
@tailwind utilities;
|
|
|
|
|
|
2021-01-21 04:48:52 +01:00
|
|
|
|
@layer utilities {
|
2022-09-08 08:24:17 +02:00
|
|
|
|
.z-above-map {
|
|
|
|
|
z-index: 10000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.z-above-controls {
|
|
|
|
|
z-index: 10001;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.w-160 {
|
|
|
|
|
width: 40rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg-subtle {
|
|
|
|
|
background-color: var(--subtle-detail-color);
|
|
|
|
|
color: var(--subtle-detail-color-contrast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg-unsubtle {
|
|
|
|
|
background-color: var(--unsubtle-detail-color);
|
|
|
|
|
color: var(--unsubtle-detail-color-contrast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg-catch {
|
|
|
|
|
background-color: var(--catch-detail-color);
|
|
|
|
|
color: var(--catch-detail-color-contrast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rounded-left-full {
|
|
|
|
|
border-bottom-left-radius: 999rem;
|
|
|
|
|
border-top-left-radius: 999rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rounded-right-full {
|
|
|
|
|
border-bottom-right-radius: 999rem;
|
|
|
|
|
border-top-right-radius: 999rem;
|
2022-07-18 10:21:16 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-25 03:12:09 +01:00
|
|
|
|
|
2020-11-14 02:54:33 +01:00
|
|
|
|
:root {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* The main colour scheme of mapcomplete is configured here.
|
2022-02-04 00:45:22 +01:00
|
|
|
|
* For a custom styling, set 'customCss' in your layoutConfig and overwrite some of these.
|
|
|
|
|
*/
|
|
|
|
|
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* Main color of the application: the background and text colours */
|
|
|
|
|
--background-color: white;
|
|
|
|
|
/* Main text colour. Also styles some elements, such as the 'close popup'-button or 'back-arrow' (in mobile) */
|
|
|
|
|
--foreground-color: black;
|
|
|
|
|
|
|
|
|
|
/* A colour to indicate an error or warning */
|
|
|
|
|
--alert-color: #fee4d1;
|
|
|
|
|
|
|
|
|
|
/**
|
2022-02-04 00:45:22 +01:00
|
|
|
|
* Base colour of interactive elements, mainly the 'subtle button'
|
2022-09-08 08:24:17 +02:00
|
|
|
|
*
|
2022-02-04 00:45:22 +01:00
|
|
|
|
*/
|
2022-07-18 10:21:16 +02:00
|
|
|
|
--subtle-detail-color: #dbeafe;
|
|
|
|
|
--subtle-detail-color-contrast: black;
|
|
|
|
|
--subtle-detail-color-light-contrast: lightgrey;
|
2021-01-07 04:50:12 +01:00
|
|
|
|
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/**
|
2022-02-04 00:45:22 +01:00
|
|
|
|
* A stronger variant of the 'subtle-detail-colour'
|
|
|
|
|
* Used as subtle button hover
|
|
|
|
|
*/
|
2022-07-18 10:21:16 +02:00
|
|
|
|
--unsubtle-detail-color: #bfdbfe;
|
|
|
|
|
--unsubtle-detail-color-contrast: black;
|
|
|
|
|
|
|
|
|
|
--catch-detail-color: #3a3aeb;
|
|
|
|
|
--catch-detail-color-contrast: white;
|
|
|
|
|
|
|
|
|
|
--non-active-tab-svg: var(--foreground-color);
|
|
|
|
|
--shadow-color: #00000066;
|
|
|
|
|
|
|
|
|
|
--return-to-the-map-height: 2em;
|
|
|
|
|
--image-carousel-height: 350px;
|
|
|
|
|
|
|
|
|
|
/* The border colour of the leaflet popup */
|
|
|
|
|
--popup-border: white;
|
|
|
|
|
|
|
|
|
|
/* Technical variable to make some dynamic behaviour possible; set by javascript. */
|
|
|
|
|
--variable-title-height: 0px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html,
|
|
|
|
|
body {
|
|
|
|
|
height: 100%;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
min-height: -webkit-fill-available;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background-color: var(--background-color);
|
|
|
|
|
color: var(--foreground-color);
|
|
|
|
|
font-family: "Helvetica Neue", Arial, sans-serif;
|
2020-09-13 03:29:44 +02:00
|
|
|
|
}
|
2021-08-22 18:48:38 +02:00
|
|
|
|
|
2021-02-05 16:08:35 +01:00
|
|
|
|
.leaflet-overlay-pane .leaflet-zoom-animated {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* Another workaround to keep leaflet working */
|
|
|
|
|
width: initial !important;
|
|
|
|
|
height: initial !important;
|
|
|
|
|
box-sizing: initial !important;
|
2021-02-05 16:08:35 +01:00
|
|
|
|
}
|
2020-06-24 00:35:19 +02:00
|
|
|
|
|
2021-07-10 21:41:56 +02:00
|
|
|
|
.leaflet-control-attribution {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
display: block ruby;
|
2021-07-10 21:41:56 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-10-21 21:41:45 +02:00
|
|
|
|
.badge {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.badge svg {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/*Workaround for leaflet*/
|
|
|
|
|
width: unset !important;
|
|
|
|
|
height: 100% !important;
|
2021-10-21 21:41:45 +02:00
|
|
|
|
}
|
|
|
|
|
|
2022-07-18 10:21:16 +02:00
|
|
|
|
svg,
|
|
|
|
|
img {
|
|
|
|
|
box-sizing: content-box;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2021-01-18 19:36:19 +01:00
|
|
|
|
}
|
|
|
|
|
|
2022-07-09 20:35:59 +02:00
|
|
|
|
.titleicon img {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
width: unset;
|
2022-07-09 20:35:59 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.titleicon svg {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
width: unset;
|
2022-07-09 20:35:59 +02:00
|
|
|
|
}
|
2022-02-01 19:02:46 +01:00
|
|
|
|
.svg-catch svg path {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
fill: var(--catch-detail-color) !important;
|
|
|
|
|
stroke: var(--catch-detail-color) !important;
|
2022-02-01 19:02:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.svg-unsubtle svg path {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
fill: var(--unsubtle-detail-color) !important;
|
|
|
|
|
stroke: var(--unsubtle-detail-color) !important;
|
2022-02-01 19:02:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.svg-subtle svg path {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
fill: var(--subtle-detail-color) !important;
|
|
|
|
|
stroke: var(--subtle-detail-color) !important;
|
2022-02-01 19:02:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.svg-foreground svg path {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
fill: var(--foreground-color) !important;
|
|
|
|
|
stroke: var(--foreground-color) !important;
|
2022-02-01 19:02:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-10-07 22:06:47 +02:00
|
|
|
|
.no-images img {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
display: none;
|
2021-10-07 22:06:47 +02:00
|
|
|
|
}
|
|
|
|
|
|
2022-04-01 12:51:55 +02:00
|
|
|
|
.weblate-link {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* Weblate-links are the little translation icon next to translatable sentences. Due to their special nature, they are exempt from some rules */
|
2022-04-01 12:51:55 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-08-22 18:48:38 +02:00
|
|
|
|
.mapcontrol svg path {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
fill: var(--subtle-detail-color-contrast) !important;
|
2021-07-27 21:02:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-09-07 01:49:18 +02:00
|
|
|
|
.red-svg svg path {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
stroke: #d71010 !important;
|
2021-09-07 01:49:18 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-11-15 00:27:55 +01:00
|
|
|
|
a {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
color: var(--foreground-color);
|
2020-11-15 00:27:55 +01:00
|
|
|
|
}
|
2020-11-14 02:54:33 +01:00
|
|
|
|
|
2022-08-19 10:40:57 +02:00
|
|
|
|
.text-white a {
|
|
|
|
|
color: var(--background-color);
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-01 04:14:54 +01:00
|
|
|
|
.btn {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
line-height: 1.25rem;
|
|
|
|
|
--tw-text-opacity: 1;
|
|
|
|
|
color: var(--catch-detail-color-contrast);
|
|
|
|
|
--tw-bg-opacity: 1;
|
|
|
|
|
background-color: var(--catch-detail-color);
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
border-radius: 1.5rem;
|
|
|
|
|
padding-top: 0.75rem;
|
|
|
|
|
padding-bottom: 0.75rem;
|
|
|
|
|
padding-left: 1.25rem;
|
|
|
|
|
padding-right: 1.25rem;
|
|
|
|
|
font-size: large;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
transition: 100ms;
|
|
|
|
|
/*-- invisible border: rendered on hover*/
|
|
|
|
|
border: 3px solid var(--unsubtle-detail-color);
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn:hover {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
border: 3px solid var(--catch-detail-color);
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-secondary {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: var(--catch-detail-color);
|
|
|
|
|
filter: saturate(0.5);
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-secondary:hover {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: var(--catch-detail-color);
|
|
|
|
|
filter: unset;
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-disabled {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
filter: saturate(0.3);
|
|
|
|
|
cursor: default;
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-disabled:hover {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
border: 3px solid var(--unsubtle-detail-color);
|
2021-07-27 21:25:00 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-07-03 20:18:52 +02:00
|
|
|
|
.h-min {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
height: min-content;
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-18 11:51:49 +02:00
|
|
|
|
/* slider */
|
2022-07-18 10:21:16 +02:00
|
|
|
|
input[type="range"].vertical {
|
|
|
|
|
writing-mode: bt-lr; /* IE */
|
|
|
|
|
-webkit-appearance: slider-vertical; /* Chromium */
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-18 16:28:12 +02:00
|
|
|
|
@-moz-document url-prefix() {
|
2022-07-22 01:33:11 +02:00
|
|
|
|
input[type="range"].elevator::-moz-range-thumb {
|
2022-07-18 16:28:12 +02:00
|
|
|
|
background-color: #00000000 !important;
|
|
|
|
|
background-image: url("/assets/svg/elevator_wheelchair.svg");
|
2022-07-22 01:33:11 +02:00
|
|
|
|
width: 150px !important;
|
|
|
|
|
height: 30px !important;
|
|
|
|
|
border: 2px;
|
|
|
|
|
border-style: solid;
|
2022-07-18 16:28:12 +02:00
|
|
|
|
background-size: contain;
|
|
|
|
|
background-position: center center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
cursor: pointer;
|
2022-07-18 16:37:29 +02:00
|
|
|
|
border-image: linear-gradient(to right, black 50%, transparent 50%) 100% 1;
|
|
|
|
|
padding-bottom: 5px;
|
2022-07-18 16:28:12 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2022-01-31 14:34:06 +01:00
|
|
|
|
|
|
|
|
|
.border-detail {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
border-color: var(--foreground-color);
|
2022-01-31 14:34:06 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-07-03 20:18:52 +02:00
|
|
|
|
.w-min {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
width: min-content;
|
2021-07-03 20:18:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
2022-04-23 15:20:54 +02:00
|
|
|
|
.rounded-left-full {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
border-bottom-left-radius: 999rem;
|
|
|
|
|
border-top-left-radius: 999rem;
|
2022-04-23 15:20:54 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rounded-right-full {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
border-bottom-right-radius: 999rem;
|
|
|
|
|
border-top-right-radius: 999rem;
|
2022-04-23 15:20:54 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-07-11 15:44:17 +02:00
|
|
|
|
.w-16-imp {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
width: 4rem !important;
|
2021-07-11 15:44:17 +02:00
|
|
|
|
}
|
|
|
|
|
|
2022-03-14 20:45:17 +01:00
|
|
|
|
.w-32-imp {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
width: 8rem !important;
|
2022-03-14 20:45:17 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.w-48-imp {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
width: 12rem !important;
|
2022-03-14 20:45:17 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-04-12 13:05:30 +02:00
|
|
|
|
.link-underline a {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
text-decoration: underline 1px var(--foreground-color);
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-05-03 16:04:35 +02:00
|
|
|
|
.link-no-underline a {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
text-decoration: none;
|
2021-05-03 16:04:35 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-04-12 13:05:30 +02:00
|
|
|
|
li {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
margin-left: 0.5em;
|
|
|
|
|
padding-left: 0.2em;
|
|
|
|
|
margin-top: 0.1em;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h2 {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
font-size: large;
|
|
|
|
|
margin-top: 0.5em;
|
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
|
font-weight: bold;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h3 {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
font-size: larger;
|
|
|
|
|
margin-top: 0.6em;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
font-weight: bold;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h3 {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
font-size: larger;
|
|
|
|
|
margin-top: 0.6em;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
font-weight: bolder;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
padding-top: 0.1em;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
li::marker {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
content: "•";
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-02-21 03:38:12 +01:00
|
|
|
|
.subtle-background {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background: var(--subtle-detail-color);
|
|
|
|
|
color: var(--subtle-detail-color-contrast);
|
2021-03-13 19:07:38 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-10-02 17:57:54 +02:00
|
|
|
|
.normal-background {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background: var(--background-color);
|
|
|
|
|
color: var(--foreground-color);
|
2021-10-02 17:57:54 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-03-13 19:07:38 +01:00
|
|
|
|
.subtle-lighter {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
color: var(--subtle-detail-color-light-contrast);
|
2021-02-21 03:38:12 +01:00
|
|
|
|
}
|
2021-03-13 19:07:38 +01:00
|
|
|
|
|
2021-08-22 18:48:38 +02:00
|
|
|
|
.border-attention-catch {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
border: 5px solid var(--catch-detail-color);
|
2021-08-22 18:48:38 +02:00
|
|
|
|
}
|
2021-03-13 19:07:38 +01:00
|
|
|
|
|
2021-11-21 02:44:35 +01:00
|
|
|
|
.border-invisible {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
border: 5px solid #00000000;
|
2021-11-21 02:44:35 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-10-08 04:33:39 +02:00
|
|
|
|
.border-attention {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
border-color: var(--catch-detail-color);
|
2021-10-08 04:33:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-07 04:50:12 +01:00
|
|
|
|
.direction-svg svg path {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
fill: var(--catch-detail-color) !important;
|
2020-11-15 03:10:44 +01:00
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 03:29:44 +02:00
|
|
|
|
#leafletDiv {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
height: 100%;
|
2020-09-13 03:29:44 +02:00
|
|
|
|
}
|
2020-06-24 00:35:19 +02:00
|
|
|
|
|
2020-11-14 02:54:33 +01:00
|
|
|
|
.leaflet-popup-content-wrapper {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: var(--background-color);
|
|
|
|
|
color: var(--foreground-color);
|
|
|
|
|
border: 2px solid var(--popup-border);
|
|
|
|
|
box-shadow: 0 3px 14px var(--shadow-color) !important;
|
2020-11-14 02:54:33 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.leaflet-container {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
font: unset !important;
|
|
|
|
|
background-color: var(--background-color) !important;
|
2020-11-14 02:54:33 +01:00
|
|
|
|
}
|
|
|
|
|
|
2020-11-15 00:27:55 +01:00
|
|
|
|
.leaflet-popup-tip {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: var(--popup-border) !important;
|
|
|
|
|
color: var(--popup-border) !important;
|
|
|
|
|
box-shadow: 0 3px 14px var(--shadow-color) !important;
|
2020-11-15 00:27:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-07 04:50:12 +01:00
|
|
|
|
.single-layer-selection-toggle {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
position: relative;
|
|
|
|
|
width: 2em;
|
|
|
|
|
height: 2em;
|
|
|
|
|
flex-shrink: 0;
|
2020-11-27 03:05:29 +01:00
|
|
|
|
}
|
2021-01-07 04:50:12 +01:00
|
|
|
|
|
|
|
|
|
.single-layer-selection-toggle img {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
max-height: 2em !important;
|
|
|
|
|
max-width: 2em !important;
|
2020-11-27 03:05:29 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-07 04:50:12 +01:00
|
|
|
|
.single-layer-selection-toggle svg {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
max-height: 2em !important;
|
|
|
|
|
max-width: 2em !important;
|
2020-11-27 13:39:00 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-10-09 22:40:52 +02:00
|
|
|
|
.block-ruby {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
display: block ruby;
|
2021-10-09 22:40:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.disable-links a {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
pointer-events: none;
|
|
|
|
|
text-decoration: none !important;
|
|
|
|
|
color: var(--subtle-detail-color-contrast) !important;
|
2021-10-09 22:40:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.enable-links a {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
pointer-events: unset;
|
|
|
|
|
text-decoration: underline !important;
|
|
|
|
|
color: unset !important;
|
2021-10-09 22:40:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
2022-07-18 10:21:16 +02:00
|
|
|
|
.disable-links a.must-link,
|
|
|
|
|
.disable-links .must-link a {
|
|
|
|
|
/* Hide links if they are disabled */
|
|
|
|
|
display: none;
|
2021-10-09 22:40:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-09-13 03:29:44 +02:00
|
|
|
|
/**************** GENERIC ****************/
|
2020-06-27 03:06:51 +02:00
|
|
|
|
|
2020-09-13 03:29:44 +02:00
|
|
|
|
.alert {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: var(--alert-color);
|
|
|
|
|
color: var(--foreground-color);
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
border-radius: 1em;
|
|
|
|
|
margin: 0.25em;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 0.15em 0.3em;
|
2020-09-14 20:16:03 +02:00
|
|
|
|
}
|
2020-06-27 03:06:51 +02:00
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
.invalid {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
box-shadow: 0 0 10px #ff5353;
|
|
|
|
|
height: min-content;
|
2020-10-01 01:23:45 +02:00
|
|
|
|
}
|
2020-09-03 19:05:18 +02:00
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
.shadow {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
box-shadow: 0 0 10px var(--shadow-color);
|
2020-10-01 01:23:45 +02:00
|
|
|
|
}
|
2020-08-25 00:10:48 +02:00
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
.title-font span {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
font-size: xx-large !important;
|
|
|
|
|
font-weight: bold;
|
2020-10-01 01:23:45 +02:00
|
|
|
|
}
|
2020-08-25 00:10:48 +02:00
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
.soft {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: var(--subtle-detail-color);
|
|
|
|
|
color: var(--subtle-detail-color-contrast);
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
border-radius: 1em;
|
|
|
|
|
margin: 0.25em;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 0.15em 0.3em;
|
2020-10-01 01:23:45 +02:00
|
|
|
|
}
|
2020-08-22 02:12:46 +02:00
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
.subtle {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
color: #999;
|
2020-10-01 01:23:45 +02:00
|
|
|
|
}
|
2020-09-13 00:53:24 +02:00
|
|
|
|
|
2021-04-21 01:26:36 +02:00
|
|
|
|
.link-underline .subtle a {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
text-decoration: underline 1px #7193bb88;
|
|
|
|
|
color: #7193bb;
|
2021-04-21 01:26:36 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
.thanks {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: #43d904;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
border-radius: 1em;
|
|
|
|
|
margin: 0.25em;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 0.15em 0.3em;
|
2020-10-01 01:23:45 +02:00
|
|
|
|
}
|
2020-08-27 18:44:16 +02:00
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
.clickable {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
pointer-events: all;
|
2020-10-01 01:23:45 +02:00
|
|
|
|
}
|
2020-06-27 03:06:51 +02:00
|
|
|
|
|
2020-11-17 16:29:51 +01:00
|
|
|
|
.unclickable {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
pointer-events: none !important;
|
2020-11-17 16:29:51 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-08-22 18:48:38 +02:00
|
|
|
|
@keyframes slide {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* This is the animation on the marker to add a new point - it slides through all the possible presets */
|
|
|
|
|
from {
|
|
|
|
|
transform: translateX(0%);
|
|
|
|
|
}
|
2021-08-22 18:48:38 +02:00
|
|
|
|
|
2022-07-18 10:21:16 +02:00
|
|
|
|
to {
|
|
|
|
|
transform: translateX(calc(-100% + 42px));
|
|
|
|
|
}
|
2021-08-22 18:48:38 +02:00
|
|
|
|
}
|
2020-07-01 02:12:33 +02:00
|
|
|
|
|
2021-09-29 19:48:36 +02:00
|
|
|
|
.hand-drag-animation {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
animation: hand-drag-animation 6s ease-in-out infinite;
|
|
|
|
|
transform-origin: 50% 125%;
|
2021-09-29 19:48:36 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes hand-drag-animation {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* This is the animation on the little extra hand on the location input. If fades in, invites the user to interact/drag the map */
|
|
|
|
|
0% {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: rotate(-30deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
6% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: rotate(-30deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
12% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
24% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: rotate(-00deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
30% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: rotate(-30deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
36% {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: rotate(-30deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
100% {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: rotate(-30deg);
|
|
|
|
|
}
|
2021-09-29 19:48:36 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-06-27 03:06:51 +02:00
|
|
|
|
/**************************************/
|
|
|
|
|
|
|
|
|
|
#topleft-tools {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 5000;
|
|
|
|
|
transition: all 500ms linear;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
2020-06-24 00:35:19 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-11-06 01:58:26 +01:00
|
|
|
|
.welcomeMessage {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
display: block;
|
|
|
|
|
max-width: calc(100vw - 5em);
|
|
|
|
|
width: 40em;
|
|
|
|
|
max-height: calc(100vh - 15em);
|
|
|
|
|
background-color: var(--background-color);
|
|
|
|
|
color: var(--foreground-color);
|
2020-06-27 03:06:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
/***************** Info box (box containing features and questions ******************/
|
2020-07-27 15:40:55 +02:00
|
|
|
|
|
2022-02-01 04:14:54 +01:00
|
|
|
|
input {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
color: var(--foreground-color);
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
2020-11-06 01:58:26 +01:00
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
|
.leaflet-popup-content {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
width: 45em !important;
|
|
|
|
|
margin: 0.25rem !important;
|
2020-10-01 01:23:45 +02:00
|
|
|
|
}
|
2020-11-17 02:22:48 +01:00
|
|
|
|
|
|
|
|
|
.leaflet-div-icon {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: unset !important;
|
|
|
|
|
border: unset !important;
|
2020-11-17 02:22:48 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-12-12 02:59:24 +01:00
|
|
|
|
.floating-element-width {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
max-width: calc(100vw - 5em);
|
|
|
|
|
width: 40em;
|
2021-12-12 02:59:24 +01:00
|
|
|
|
}
|
2020-11-17 16:29:51 +01:00
|
|
|
|
|
2020-11-18 13:41:31 +01:00
|
|
|
|
.leaflet-div-icon svg {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
width: calc(100%);
|
|
|
|
|
height: calc(100%);
|
2020-11-18 13:41:31 +01:00
|
|
|
|
}
|
|
|
|
|
|
2020-09-14 20:16:03 +02:00
|
|
|
|
/****** ShareScreen *****/
|
2020-07-29 15:05:19 +02:00
|
|
|
|
|
2020-09-14 20:16:03 +02:00
|
|
|
|
.literal-code {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
display: inline-block;
|
|
|
|
|
background-color: lightgray;
|
|
|
|
|
padding: 0.5em;
|
|
|
|
|
word-break: break-word;
|
|
|
|
|
color: black;
|
|
|
|
|
box-sizing: border-box;
|
2020-09-14 20:16:03 +02:00
|
|
|
|
}
|
2020-07-29 15:05:19 +02:00
|
|
|
|
|
2022-07-16 03:57:13 +02:00
|
|
|
|
.code {
|
2022-09-08 08:24:17 +02:00
|
|
|
|
display: inline-block;
|
|
|
|
|
background-color: lightgray;
|
|
|
|
|
padding: 0.5em;
|
|
|
|
|
word-break: break-word;
|
|
|
|
|
color: black;
|
|
|
|
|
box-sizing: border-box;
|
2022-07-16 03:57:13 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-09-14 20:16:03 +02:00
|
|
|
|
/** Switch layout **/
|
2020-11-12 12:18:02 +01:00
|
|
|
|
.small-image img {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
height: 1em;
|
|
|
|
|
max-width: 1em;
|
2020-11-12 12:18:02 +01:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-12 02:58:32 +02:00
|
|
|
|
.small-image {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
height: 1em;
|
|
|
|
|
max-width: 1em;
|
2021-06-12 02:58:32 +02:00
|
|
|
|
}
|
2021-06-17 13:17:16 +02:00
|
|
|
|
|
2021-08-22 18:48:38 +02:00
|
|
|
|
.slideshow-item img {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
height: var(--image-carousel-height);
|
|
|
|
|
width: unset;
|
2021-09-22 19:56:05 +02:00
|
|
|
|
}
|
2021-11-25 21:31:33 +01:00
|
|
|
|
|
|
|
|
|
.animate-height {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
transition: max-height 0.5s ease-in-out;
|
|
|
|
|
overflow-y: hidden;
|
2021-11-25 21:31:33 +01:00
|
|
|
|
}
|
2022-01-19 20:34:04 +01:00
|
|
|
|
|
2022-01-26 21:40:38 +01:00
|
|
|
|
.zebra-table tr:nth-child(even) {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
background-color: #f2f2f2;
|
2022-02-02 01:51:19 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layer-toggle {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* The checkbox that toggles a single layer */
|
2022-02-02 01:51:19 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layer-filters {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* If needed, the panel which contains the extra filters for a layer */
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
border-bottom: 2px solid var(--foreground-color);
|
2022-02-02 01:51:19 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-panel {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* The panel for a single layer, containing both the toggle and the filters (if any) */
|
|
|
|
|
border-bottom: 2px solid lightgrey;
|
|
|
|
|
margin-bottom: 0.5rem;
|
2022-02-02 01:51:19 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.first-filter-panel {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* Additional class on the first layer filter */
|
2022-02-02 01:51:19 +01:00
|
|
|
|
}
|
|
|
|
|
|
2022-07-10 03:58:07 +02:00
|
|
|
|
.mapping-icon-small-height {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* A mapping icon type */
|
|
|
|
|
height: 1.5rem;
|
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
|
width: unset;
|
2022-07-10 03:58:07 +02:00
|
|
|
|
}
|
2022-02-17 23:54:14 +01:00
|
|
|
|
|
2022-07-10 17:48:42 +02:00
|
|
|
|
.mapping-icon-medium-height {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* A mapping icon type */
|
|
|
|
|
height: 3rem;
|
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
|
width: unset;
|
2022-07-10 17:48:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapping-icon-large-height {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* A mapping icon type */
|
|
|
|
|
height: 5rem;
|
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
|
width: unset;
|
2022-07-10 17:48:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
2022-02-17 23:54:14 +01:00
|
|
|
|
.mapping-icon-small {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* A mapping icon type */
|
|
|
|
|
width: 1.5rem;
|
|
|
|
|
max-height: 1.5rem;
|
|
|
|
|
margin-right: 0.5rem;
|
2022-02-17 23:54:14 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapping-icon-medium {
|
2022-07-18 10:21:16 +02:00
|
|
|
|
/* A mapping icon type */
|
|
|
|
|
width: 3rem;
|
|
|
|
|
max-height: 3rem;
|
|
|
|
|
margin-right: 1rem;
|
|
|
|
|
margin-left: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mapping-icon-large {
|
|
|
|
|
/* A mapping icon type */
|
|
|
|
|
width: 6rem;
|
|
|
|
|
max-height: 5rem;
|
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
|
margin-left: 1.5rem;
|
2022-02-17 23:54:14 +01:00
|
|
|
|
}
|