2021-01-17 21:01:44 +01:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2021-01-21 04:48:52 +01:00
|
|
|
@layer utilities {
|
2021-01-24 18:33:16 +01:00
|
|
|
@variants responsive {
|
|
|
|
.max-h-65vh {
|
|
|
|
max-height: 65vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.max-h-20vh {
|
|
|
|
max-height: 20vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.z-above-map{
|
|
|
|
z-index: 10000
|
|
|
|
}
|
|
|
|
|
2021-02-21 03:51:29 +01:00
|
|
|
.z-above-controls{
|
|
|
|
z-index: 10001
|
|
|
|
}
|
2021-03-13 19:07:38 +01:00
|
|
|
|
2021-01-24 18:33:16 +01:00
|
|
|
}
|
|
|
|
|
2021-01-24 22:20:40 +01:00
|
|
|
.btn {
|
|
|
|
@apply inline-flex justify-center;
|
|
|
|
@apply py-2 px-4;
|
|
|
|
@apply border border-transparent shadow-sm;
|
|
|
|
@apply shadow-sm rounded-3xl;
|
|
|
|
@apply ring-2 ring-blue-200 hover:ring-blue-300;
|
|
|
|
@apply mt-1 mr-1;
|
|
|
|
@apply text-sm font-medium text-white;
|
|
|
|
@apply bg-blue-600 hover:bg-blue-700;
|
|
|
|
@apply focus:outline-none focus:ring-blue-700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-secondary {
|
|
|
|
@apply bg-gray-600 hover:bg-gray-700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-disabled {
|
|
|
|
@apply bg-gray-500 hover:bg-gray-500;
|
|
|
|
@apply text-gray-300;
|
|
|
|
@apply ring-gray-200 hover:ring-gray-200 focus:ring-gray-200;
|
|
|
|
@apply cursor-default;
|
2021-01-21 04:48:52 +01:00
|
|
|
}
|
|
|
|
}
|
2021-01-24 18:33:16 +01:00
|
|
|
|
2021-01-25 03:12:09 +01:00
|
|
|
|
2020-11-14 02:54:33 +01:00
|
|
|
:root {
|
|
|
|
--subtle-detail-color: #e5f5ff;
|
|
|
|
--subtle-detail-color-contrast: black;
|
2020-12-07 03:02:50 +01:00
|
|
|
--subtle-detail-color-light-contrast: lightgrey;
|
2021-01-07 04:50:12 +01:00
|
|
|
|
2020-11-14 02:54:33 +01:00
|
|
|
--catch-detail-color: #3a3aeb;
|
|
|
|
--catch-detail-color-contrast: white;
|
|
|
|
--alert-color: #fee4d1;
|
|
|
|
--background-color: white;
|
|
|
|
--foreground-color: black;
|
|
|
|
--popup-border: white;
|
2020-11-16 01:59:30 +01:00
|
|
|
--shadow-color: #00000066;
|
2021-01-07 04:50:12 +01:00
|
|
|
--variable-title-height: 0px; /* Set by javascript */
|
2021-01-07 05:10:27 +01:00
|
|
|
--return-to-the-map-height: 2em;
|
2021-01-29 03:23:53 +01:00
|
|
|
|
|
|
|
--image-carousel-height: 400px;
|
2020-11-14 02:54:33 +01:00
|
|
|
}
|
|
|
|
|
2021-01-29 03:23:53 +01:00
|
|
|
.slick-carousel-content {
|
|
|
|
width: 300px;
|
|
|
|
max-height: var(--image-carousel-height);
|
|
|
|
display: block;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slick-carousel-content img {
|
|
|
|
/**
|
|
|
|
Workaround to patch images within a slick carousel
|
|
|
|
*/
|
|
|
|
height: var(--image-carousel-height);
|
|
|
|
width: auto;
|
|
|
|
}
|
2021-01-25 03:12:09 +01:00
|
|
|
|
2020-09-13 03:29:44 +02:00
|
|
|
html, body {
|
|
|
|
height: 100%;
|
2020-12-18 02:10:26 +01:00
|
|
|
min-height: 100vh;
|
|
|
|
min-height: -webkit-fill-available;
|
2020-09-13 03:29:44 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-11-14 02:54:33 +01:00
|
|
|
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-02-05 16:08:35 +01:00
|
|
|
.leaflet-overlay-pane .leaflet-zoom-animated {
|
|
|
|
/* Another workaround to keep leaflet working */
|
|
|
|
width: initial !important;
|
|
|
|
height: initial !important;
|
|
|
|
box-sizing: initial !important;
|
|
|
|
}
|
2020-06-24 00:35:19 +02:00
|
|
|
|
2021-01-18 19:36:19 +01:00
|
|
|
svg, img {
|
|
|
|
box-sizing: content-box;
|
2021-01-21 23:39:31 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-04-17 11:37:22 +02:00
|
|
|
display: unset;
|
2021-01-18 19:36:19 +01:00
|
|
|
}
|
|
|
|
|
2021-02-05 16:08:35 +01:00
|
|
|
|
2020-11-15 00:27:55 +01:00
|
|
|
a {
|
2021-02-21 01:36:31 +01:00
|
|
|
color: var(--foreground-color);
|
2020-11-15 00:27:55 +01:00
|
|
|
}
|
2020-11-14 02:54:33 +01:00
|
|
|
|
2021-04-12 13:05:30 +02:00
|
|
|
.link-underline a {
|
|
|
|
text-decoration: underline 1px #0078a855;;
|
|
|
|
color: #0078A8;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
padding-left: 0.2em;
|
|
|
|
margin-top: 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: large;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: larger;
|
|
|
|
margin-top: 0.6em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: larger;
|
|
|
|
margin-top: 0.6em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
padding-top: 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li::marker {
|
|
|
|
content: "•"
|
|
|
|
}
|
|
|
|
|
2021-02-21 03:38:12 +01:00
|
|
|
.subtle-background {
|
|
|
|
background: var(--subtle-detail-color);
|
2021-03-13 19:07:38 +01:00
|
|
|
color: var(--subtle-detail-color-contrast);
|
|
|
|
}
|
|
|
|
|
|
|
|
.subtle-lighter {
|
|
|
|
color: var(--subtle-detail-color-light-contrast);
|
2021-02-21 03:38:12 +01:00
|
|
|
}
|
2021-03-13 19:07:38 +01:00
|
|
|
|
|
|
|
.border-attention-catch{ border: 5px solid var(--catch-detail-color);}
|
|
|
|
|
2021-02-06 00:05:38 +01:00
|
|
|
.slick-prev:before, .slick-next:before {
|
|
|
|
/*Slideshow workaround*/
|
|
|
|
color:black !important;
|
|
|
|
}
|
2021-01-21 23:39:31 +01:00
|
|
|
|
2020-11-16 02:33:44 +01:00
|
|
|
#topleft-tools svg {
|
2020-11-14 02:54:33 +01:00
|
|
|
fill: var(--foreground-color) !important;
|
|
|
|
stroke: var(--foreground-color) !important;
|
|
|
|
}
|
|
|
|
|
2020-11-16 02:33:44 +01:00
|
|
|
#topleft-tools svg path {
|
2020-11-14 02:54:33 +01:00
|
|
|
fill: var(--foreground-color) !important;
|
|
|
|
stroke: var(--foreground-color) !important;
|
2020-09-13 03:29:44 +02:00
|
|
|
}
|
2020-06-24 00:35:19 +02:00
|
|
|
|
2021-01-07 04:50:12 +01:00
|
|
|
.direction-svg svg path {
|
|
|
|
fill: var(--catch-detail-color) !important;
|
2020-11-15 03:10:44 +01:00
|
|
|
}
|
|
|
|
|
2020-07-27 15:40:55 +02:00
|
|
|
|
2020-09-13 03:29:44 +02:00
|
|
|
#leafletDiv {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-06-24 00:35:19 +02:00
|
|
|
|
2020-11-14 02:54:33 +01:00
|
|
|
.leaflet-popup-content-wrapper {
|
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-11-14 03:26:09 +01:00
|
|
|
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 {
|
|
|
|
background-color: var(--background-color) !important;
|
|
|
|
}
|
|
|
|
|
2020-11-15 00:27:55 +01:00
|
|
|
.leaflet-popup-tip {
|
|
|
|
background-color: var(--popup-border) !important;
|
|
|
|
color: var(--popup-border) !important;
|
|
|
|
box-shadow: 0 3px 14px var(--shadow-color) !important;
|
|
|
|
}
|
|
|
|
|
2021-01-07 04:50:12 +01:00
|
|
|
.single-layer-selection-toggle {
|
2020-11-27 03:05:29 +01:00
|
|
|
position: relative;
|
2021-01-07 04:50:12 +01:00
|
|
|
width: 2em;
|
2020-11-27 13:39:00 +01:00
|
|
|
height: 2em;
|
2021-01-08 14:23:12 +01:00
|
|
|
flex-shrink: 0;
|
2020-11-27 03:05:29 +01:00
|
|
|
}
|
2021-01-07 04:50:12 +01:00
|
|
|
|
|
|
|
.single-layer-selection-toggle img {
|
2020-11-27 13:39:00 +01:00
|
|
|
max-height: 2em !important;
|
2021-01-07 04:50:12 +01:00
|
|
|
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 {
|
|
|
|
max-height: 2em !important;
|
2020-11-27 13:39:00 +01:00
|
|
|
max-width: 2em !important;
|
|
|
|
}
|
|
|
|
|
2021-01-07 04:50:12 +01:00
|
|
|
.simple-add-ui-icon {
|
2020-11-27 13:39:00 +01:00
|
|
|
position: relative;
|
|
|
|
display: block;
|
2021-01-18 19:36:19 +01:00
|
|
|
width: 4em;
|
2020-11-27 13:39:00 +01:00
|
|
|
height: 3.5em;
|
|
|
|
}
|
|
|
|
|
2021-01-07 04:50:12 +01:00
|
|
|
.simple-add-ui-icon img {
|
|
|
|
max-height: 3.5em !important;
|
2020-11-27 13:39:00 +01:00
|
|
|
max-width: 3.5em !important;
|
|
|
|
}
|
|
|
|
|
2021-01-07 04:50:12 +01:00
|
|
|
.simple-add-ui-icon svg {
|
|
|
|
max-height: 3.5em !important;
|
2020-11-27 13:39:00 +01:00
|
|
|
max-width: 3.5em !important;
|
2020-11-27 03:05:29 +01:00
|
|
|
}
|
|
|
|
|
2020-06-27 03:06:51 +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 {
|
2020-11-14 02:54:33 +01:00
|
|
|
background-color: var(--alert-color);
|
2020-09-13 03:29:44 +02:00
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 1em;
|
|
|
|
margin: 0.25em;
|
2020-10-01 01:23:45 +02:00
|
|
|
text-align: center;
|
2020-09-14 20:16:03 +02:00
|
|
|
padding: 0.15em 0.3em;
|
|
|
|
}
|
2020-06-27 03:06:51 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.question form {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 90vw;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-09-03 19:05:18 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.invalid {
|
|
|
|
box-shadow: 0 0 10px #ff5353;
|
|
|
|
height: min-content;
|
|
|
|
}
|
2020-09-03 19:05:18 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.shadow {
|
2020-11-14 02:54:33 +01: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 {
|
|
|
|
font-size: xx-large !important;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-08-25 00:10:48 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.soft {
|
2020-11-14 02:54:33 +01:00
|
|
|
background-color: var(--subtle-detail-color);
|
|
|
|
color: var(--subtle-detail-color-contrast);
|
2020-10-01 01:23:45 +02:00
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 1em;
|
|
|
|
margin: 0.25em;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.15em 0.3em;
|
|
|
|
}
|
2020-08-22 02:12:46 +02:00
|
|
|
|
2020-08-27 01:03:58 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.subtle {
|
|
|
|
color: #999;
|
|
|
|
}
|
2020-09-13 00:53:24 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-07-30 11:30:04 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.thanks {
|
|
|
|
background-color: #43d904;
|
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 1em;
|
|
|
|
margin: 0.25em;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.15em 0.3em;
|
|
|
|
}
|
2020-08-27 18:44:16 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.clickable {
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
2020-06-27 03:06:51 +02:00
|
|
|
|
2020-11-17 16:29:51 +01:00
|
|
|
.unclickable {
|
|
|
|
pointer-events: none !important;
|
|
|
|
}
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.page-split {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-09-02 11:37:34 +02:00
|
|
|
|
2020-06-27 03:06:51 +02:00
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.activate-osm-authentication {
|
|
|
|
cursor: pointer;
|
|
|
|
color: blue;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2020-06-27 03:06:51 +02:00
|
|
|
|
2020-07-01 02:12:33 +02:00
|
|
|
|
|
|
|
#searchbox {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: left;
|
2020-11-14 02:54:33 +01:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
|
|
|
|
2020-07-01 02:12:33 +02:00
|
|
|
transition: all 500ms linear;
|
|
|
|
pointer-events: all;
|
2020-09-14 20:16:03 +02:00
|
|
|
margin: 0 0 0.5em;
|
2020-07-01 02:12:33 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
height: 2em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2020-07-23 23:33:17 +02:00
|
|
|
#searchbox {
|
|
|
|
width: 100%
|
|
|
|
}
|
|
|
|
|
2020-07-01 02:12:33 +02:00
|
|
|
#searchbox .form-text-field {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
margin-top: 0.2em;
|
2020-07-05 18:59:47 +02:00
|
|
|
margin-left: 1em;
|
2020-07-23 23:33:17 +02:00
|
|
|
width: calc(100% - 4em)
|
2020-07-01 02:12:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#searchbox input[type="text"] {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
font-size: large;
|
2020-07-23 23:33:17 +02:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2020-11-14 02:54:33 +01:00
|
|
|
color: var(--foreground-color);
|
2020-07-01 02:12:33 +02:00
|
|
|
}
|
|
|
|
|
2020-06-27 03:06:51 +02:00
|
|
|
/**************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#topleft-tools {
|
|
|
|
display: block;
|
2020-06-24 00:35:19 +02:00
|
|
|
position: absolute;
|
|
|
|
z-index: 5000;
|
|
|
|
transition: all 500ms linear;
|
2020-06-27 03:06:51 +02:00
|
|
|
pointer-events: none;
|
2021-01-20 20:40:40 +01:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-06-24 00:35:19 +02:00
|
|
|
}
|
|
|
|
|
2020-11-06 01:58:26 +01:00
|
|
|
.welcomeMessage {
|
|
|
|
display: block;
|
|
|
|
max-width: calc(100vw - 5em);
|
|
|
|
width: 40em;
|
|
|
|
max-height: calc(100vh - 15em);
|
|
|
|
overflow-y: auto;
|
|
|
|
border-top-right-radius: 1em;
|
|
|
|
border-bottom-right-radius: 1em;
|
2020-11-14 02:54:33 +01:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-11-06 01:58:26 +01:00
|
|
|
}
|
2020-06-24 00:35:19 +02:00
|
|
|
|
2020-07-01 21:21:29 +02:00
|
|
|
|
2020-06-24 00:35:19 +02:00
|
|
|
#messagesbox {
|
2020-06-27 03:06:51 +02:00
|
|
|
/*Only shown on big screens*/
|
2020-07-27 15:40:55 +02:00
|
|
|
position: relative;
|
2020-07-24 01:12:57 +02:00
|
|
|
padding: 0;
|
2020-06-27 03:06:51 +02:00
|
|
|
pointer-events: all;
|
2020-11-14 02:54:33 +01:00
|
|
|
box-shadow: 0 0 10px var(--shadow-color);
|
|
|
|
width: min-content;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-06-27 03:06:51 +02:00
|
|
|
}
|
|
|
|
|
2020-07-27 15:40:55 +02:00
|
|
|
|
|
|
|
#centermessage {
|
|
|
|
z-index: 4000;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: opacity 500ms linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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
|
|
|
|
2020-11-06 01:58:26 +01:00
|
|
|
|
|
|
|
.map-attribution img {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
fill: black;
|
|
|
|
border-radius: 0;
|
2021-01-18 19:36:19 +01:00
|
|
|
display: inline;
|
2020-11-06 01:58:26 +01:00
|
|
|
}
|
|
|
|
|
2020-10-01 01:23:45 +02:00
|
|
|
.leaflet-popup-content {
|
2020-11-20 14:00:37 +01:00
|
|
|
width: 45em !important;
|
2020-10-01 01:23:45 +02:00
|
|
|
}
|
2020-11-17 02:22:48 +01:00
|
|
|
|
|
|
|
.leaflet-div-icon {
|
|
|
|
background-color: unset !important;
|
|
|
|
border: unset !important;
|
|
|
|
}
|
|
|
|
|
2020-11-17 16:29:51 +01:00
|
|
|
|
2020-11-18 13:41:31 +01:00
|
|
|
.leaflet-div-icon svg {
|
|
|
|
width: calc(100%);
|
|
|
|
height: calc(100%);
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: lightgray;
|
|
|
|
padding: 0.5em;
|
2020-10-27 01:01:34 +01:00
|
|
|
word-break: break-word;
|
2020-09-14 20:16:03 +02:00
|
|
|
color: black;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2020-07-29 15:05:19 +02:00
|
|
|
|
|
|
|
|
2020-09-14 20:16:03 +02:00
|
|
|
/** Switch layout **/
|
2020-11-12 12:18:02 +01:00
|
|
|
.small-image img {
|
|
|
|
height: 1em;
|
|
|
|
max-width: 1em;
|
|
|
|
}
|
|
|
|
|