2021-01-17 20:01:44 +00:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2021-01-21 03:48:52 +00:00
|
|
|
@layer utilities {
|
2021-01-24 17:33:16 +00:00
|
|
|
@variants responsive {
|
|
|
|
.max-h-65vh {
|
|
|
|
max-height: 65vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.max-h-20vh {
|
|
|
|
max-height: 20vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.z-above-map{
|
|
|
|
z-index: 10000
|
|
|
|
}
|
|
|
|
|
2021-02-21 02:51:29 +00:00
|
|
|
.z-above-controls{
|
|
|
|
z-index: 10001
|
|
|
|
}
|
|
|
|
|
2021-01-24 17:33:16 +00:00
|
|
|
}
|
|
|
|
|
2021-01-24 21:20:40 +00: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 03:48:52 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-24 17:33:16 +00:00
|
|
|
|
2021-01-25 02:12:09 +00:00
|
|
|
|
2020-11-14 01:54:33 +00:00
|
|
|
:root {
|
|
|
|
--subtle-detail-color: #e5f5ff;
|
|
|
|
--subtle-detail-color-contrast: black;
|
2020-12-07 02:02:50 +00:00
|
|
|
--subtle-detail-color-light-contrast: lightgrey;
|
2021-01-07 03:50:12 +00:00
|
|
|
|
2020-11-14 01:54:33 +00: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 00:59:30 +00:00
|
|
|
--shadow-color: #00000066;
|
2021-01-07 03:50:12 +00:00
|
|
|
--variable-title-height: 0px; /* Set by javascript */
|
2021-01-07 04:10:27 +00:00
|
|
|
--return-to-the-map-height: 2em;
|
2021-01-29 02:23:53 +00:00
|
|
|
|
|
|
|
--image-carousel-height: 400px;
|
2020-11-14 01:54:33 +00:00
|
|
|
}
|
|
|
|
|
2021-01-29 02:23:53 +00: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 02:12:09 +00:00
|
|
|
|
2020-09-13 01:29:44 +00:00
|
|
|
html, body {
|
|
|
|
height: 100%;
|
2020-12-18 01:10:26 +00:00
|
|
|
min-height: 100vh;
|
|
|
|
min-height: -webkit-fill-available;
|
2020-09-13 01:29:44 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-11-14 01:54:33 +00:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
|
|
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
2020-09-13 01:29:44 +00:00
|
|
|
}
|
2021-02-05 15:08:35 +00: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-23 22:35:19 +00:00
|
|
|
|
2021-01-18 18:36:19 +00:00
|
|
|
svg, img {
|
|
|
|
box-sizing: content-box;
|
2021-01-21 22:39:31 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-01-18 18:36:19 +00:00
|
|
|
}
|
|
|
|
|
2021-02-05 15:08:35 +00:00
|
|
|
|
2020-11-14 23:27:55 +00:00
|
|
|
a {
|
2021-02-21 00:36:31 +00:00
|
|
|
color: var(--foreground-color);
|
2020-11-14 23:27:55 +00:00
|
|
|
}
|
2020-11-14 01:54:33 +00:00
|
|
|
|
2021-02-21 02:38:12 +00:00
|
|
|
.subtle-background {
|
|
|
|
background: var(--subtle-detail-color);
|
|
|
|
}
|
2021-02-05 23:05:38 +00:00
|
|
|
.slick-prev:before, .slick-next:before {
|
|
|
|
/*Slideshow workaround*/
|
|
|
|
color:black !important;
|
|
|
|
}
|
2021-01-21 22:39:31 +00:00
|
|
|
|
2020-11-16 01:33:44 +00:00
|
|
|
#topleft-tools svg {
|
2020-11-14 01:54:33 +00:00
|
|
|
fill: var(--foreground-color) !important;
|
|
|
|
stroke: var(--foreground-color) !important;
|
|
|
|
}
|
|
|
|
|
2020-11-16 01:33:44 +00:00
|
|
|
#topleft-tools svg path {
|
2020-11-14 01:54:33 +00:00
|
|
|
fill: var(--foreground-color) !important;
|
|
|
|
stroke: var(--foreground-color) !important;
|
2020-09-13 01:29:44 +00:00
|
|
|
}
|
2020-06-23 22:35:19 +00:00
|
|
|
|
2021-01-07 03:50:12 +00:00
|
|
|
.direction-svg svg path {
|
|
|
|
fill: var(--catch-detail-color) !important;
|
2020-11-15 02:10:44 +00:00
|
|
|
}
|
|
|
|
|
2020-07-27 13:40:55 +00:00
|
|
|
|
2020-09-13 01:29:44 +00:00
|
|
|
#leafletDiv {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-06-23 22:35:19 +00:00
|
|
|
|
2020-11-14 01:54:33 +00:00
|
|
|
.leaflet-popup-content-wrapper {
|
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-11-14 02:26:09 +00:00
|
|
|
border: 2px solid var(--popup-border);
|
|
|
|
box-shadow: 0 3px 14px var(--shadow-color) !important;
|
2020-11-14 01:54:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.leaflet-container {
|
|
|
|
background-color: var(--background-color) !important;
|
|
|
|
}
|
|
|
|
|
2020-11-14 23:27:55 +00: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 03:50:12 +00:00
|
|
|
.single-layer-selection-toggle {
|
2020-11-27 02:05:29 +00:00
|
|
|
position: relative;
|
2021-01-07 03:50:12 +00:00
|
|
|
width: 2em;
|
2020-11-27 12:39:00 +00:00
|
|
|
height: 2em;
|
2021-01-08 13:23:12 +00:00
|
|
|
flex-shrink: 0;
|
2020-11-27 02:05:29 +00:00
|
|
|
}
|
2021-01-07 03:50:12 +00:00
|
|
|
|
|
|
|
.single-layer-selection-toggle img {
|
2020-11-27 12:39:00 +00:00
|
|
|
max-height: 2em !important;
|
2021-01-07 03:50:12 +00:00
|
|
|
max-width: 2em !important;
|
2020-11-27 02:05:29 +00:00
|
|
|
}
|
|
|
|
|
2021-01-07 03:50:12 +00:00
|
|
|
.single-layer-selection-toggle svg {
|
|
|
|
max-height: 2em !important;
|
2020-11-27 12:39:00 +00:00
|
|
|
max-width: 2em !important;
|
|
|
|
}
|
|
|
|
|
2021-01-07 03:50:12 +00:00
|
|
|
.simple-add-ui-icon {
|
2020-11-27 12:39:00 +00:00
|
|
|
position: relative;
|
|
|
|
display: block;
|
2021-01-18 18:36:19 +00:00
|
|
|
width: 4em;
|
2020-11-27 12:39:00 +00:00
|
|
|
height: 3.5em;
|
|
|
|
}
|
|
|
|
|
2021-01-07 03:50:12 +00:00
|
|
|
.simple-add-ui-icon img {
|
|
|
|
max-height: 3.5em !important;
|
2020-11-27 12:39:00 +00:00
|
|
|
max-width: 3.5em !important;
|
|
|
|
}
|
|
|
|
|
2021-01-07 03:50:12 +00:00
|
|
|
.simple-add-ui-icon svg {
|
|
|
|
max-height: 3.5em !important;
|
2020-11-27 12:39:00 +00:00
|
|
|
max-width: 3.5em !important;
|
2020-11-27 02:05:29 +00:00
|
|
|
}
|
|
|
|
|
2020-06-27 01:06:51 +00:00
|
|
|
|
2020-09-13 01:29:44 +00:00
|
|
|
/**************** GENERIC ****************/
|
2020-06-27 01:06:51 +00:00
|
|
|
|
2020-09-13 01:29:44 +00:00
|
|
|
|
|
|
|
.alert {
|
2020-11-14 01:54:33 +00:00
|
|
|
background-color: var(--alert-color);
|
2020-09-13 01:29:44 +00:00
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 1em;
|
|
|
|
margin: 0.25em;
|
2020-09-30 23:23:45 +00:00
|
|
|
text-align: center;
|
2020-09-14 18:16:03 +00:00
|
|
|
padding: 0.15em 0.3em;
|
|
|
|
}
|
2020-06-27 01:06:51 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.question form {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 90vw;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-09-03 17:05:18 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.invalid {
|
|
|
|
box-shadow: 0 0 10px #ff5353;
|
|
|
|
height: min-content;
|
|
|
|
}
|
2020-09-03 17:05:18 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.shadow {
|
2020-11-14 01:54:33 +00:00
|
|
|
box-shadow: 0 0 10px var(--shadow-color);
|
2020-09-30 23:23:45 +00:00
|
|
|
}
|
2020-08-24 22:10:48 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.title-font span {
|
|
|
|
font-size: xx-large !important;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-08-24 22:10:48 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.soft {
|
2020-11-14 01:54:33 +00:00
|
|
|
background-color: var(--subtle-detail-color);
|
|
|
|
color: var(--subtle-detail-color-contrast);
|
2020-09-30 23:23:45 +00:00
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 1em;
|
|
|
|
margin: 0.25em;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.15em 0.3em;
|
|
|
|
}
|
2020-08-22 00:12:46 +00:00
|
|
|
|
2020-08-26 23:03:58 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.subtle {
|
|
|
|
color: #999;
|
|
|
|
}
|
2020-09-12 22:53:24 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-07-30 09:30:04 +00:00
|
|
|
|
2020-09-30 23:23:45 +00: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 16:44:16 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.clickable {
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
2020-06-27 01:06:51 +00:00
|
|
|
|
2020-11-17 15:29:51 +00:00
|
|
|
.unclickable {
|
|
|
|
pointer-events: none !important;
|
|
|
|
}
|
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.page-split {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-09-02 09:37:34 +00:00
|
|
|
|
2020-06-27 01:06:51 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.activate-osm-authentication {
|
|
|
|
cursor: pointer;
|
|
|
|
color: blue;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2020-06-27 01:06:51 +00:00
|
|
|
|
2020-07-01 00:12:33 +00:00
|
|
|
|
|
|
|
#searchbox {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: left;
|
2020-11-14 01:54:33 +00:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
|
|
|
|
2020-07-01 00:12:33 +00:00
|
|
|
transition: all 500ms linear;
|
|
|
|
pointer-events: all;
|
2020-09-14 18:16:03 +00:00
|
|
|
margin: 0 0 0.5em;
|
2020-07-01 00:12:33 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
height: 2em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2020-07-23 21:33:17 +00:00
|
|
|
#searchbox {
|
|
|
|
width: 100%
|
|
|
|
}
|
|
|
|
|
2020-07-01 00:12:33 +00:00
|
|
|
#searchbox .form-text-field {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
margin-top: 0.2em;
|
2020-07-05 16:59:47 +00:00
|
|
|
margin-left: 1em;
|
2020-07-23 21:33:17 +00:00
|
|
|
width: calc(100% - 4em)
|
2020-07-01 00:12:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#searchbox input[type="text"] {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
font-size: large;
|
2020-07-23 21:33:17 +00:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2020-11-14 01:54:33 +00:00
|
|
|
color: var(--foreground-color);
|
2020-07-01 00:12:33 +00:00
|
|
|
}
|
|
|
|
|
2020-06-27 01:06:51 +00:00
|
|
|
/**************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#topleft-tools {
|
|
|
|
display: block;
|
2020-06-23 22:35:19 +00:00
|
|
|
position: absolute;
|
|
|
|
z-index: 5000;
|
|
|
|
transition: all 500ms linear;
|
2020-06-27 01:06:51 +00:00
|
|
|
pointer-events: none;
|
2021-01-20 19:40:40 +00:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-06-23 22:35:19 +00:00
|
|
|
}
|
|
|
|
|
2020-11-06 00:58:26 +00: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 01:54:33 +00:00
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-11-06 00:58:26 +00:00
|
|
|
}
|
2020-06-23 22:35:19 +00:00
|
|
|
|
2020-07-01 19:21:29 +00:00
|
|
|
|
2020-06-23 22:35:19 +00:00
|
|
|
#messagesbox {
|
2020-06-27 01:06:51 +00:00
|
|
|
/*Only shown on big screens*/
|
2020-07-27 13:40:55 +00:00
|
|
|
position: relative;
|
2020-07-23 23:12:57 +00:00
|
|
|
padding: 0;
|
2020-06-27 01:06:51 +00:00
|
|
|
pointer-events: all;
|
2020-11-14 01:54:33 +00:00
|
|
|
box-shadow: 0 0 10px var(--shadow-color);
|
|
|
|
width: min-content;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
color: var(--foreground-color);
|
2020-06-27 01:06:51 +00:00
|
|
|
}
|
|
|
|
|
2020-07-27 13:40:55 +00:00
|
|
|
|
|
|
|
#centermessage {
|
|
|
|
z-index: 4000;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: opacity 500ms linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-27 01:06:51 +00:00
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
/***************** Info box (box containing features and questions ******************/
|
2020-07-27 13:40:55 +00:00
|
|
|
|
2020-11-06 00:58:26 +00:00
|
|
|
|
|
|
|
.map-attribution img {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
fill: black;
|
|
|
|
border-radius: 0;
|
2021-01-18 18:36:19 +00:00
|
|
|
display: inline;
|
2020-11-06 00:58:26 +00:00
|
|
|
}
|
|
|
|
|
2020-09-30 23:23:45 +00:00
|
|
|
.leaflet-popup-content {
|
2020-11-20 13:00:37 +00:00
|
|
|
width: 45em !important;
|
2020-09-30 23:23:45 +00:00
|
|
|
}
|
2020-11-17 01:22:48 +00:00
|
|
|
|
|
|
|
.leaflet-div-icon {
|
|
|
|
background-color: unset !important;
|
|
|
|
border: unset !important;
|
|
|
|
}
|
|
|
|
|
2020-11-17 15:29:51 +00:00
|
|
|
|
2020-11-18 12:41:31 +00:00
|
|
|
.leaflet-div-icon svg {
|
|
|
|
width: calc(100%);
|
|
|
|
height: calc(100%);
|
|
|
|
}
|
|
|
|
|
2020-09-14 18:16:03 +00:00
|
|
|
/****** ShareScreen *****/
|
2020-07-29 13:05:19 +00:00
|
|
|
|
2020-09-14 18:16:03 +00:00
|
|
|
.literal-code {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: lightgray;
|
|
|
|
padding: 0.5em;
|
2020-10-27 00:01:34 +00:00
|
|
|
word-break: break-word;
|
2020-09-14 18:16:03 +00:00
|
|
|
color: black;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2020-07-29 13:05:19 +00:00
|
|
|
|
|
|
|
|
2020-09-14 18:16:03 +00:00
|
|
|
/** Switch layout **/
|
2020-11-12 11:18:02 +00:00
|
|
|
.small-image img {
|
|
|
|
height: 1em;
|
|
|
|
max-width: 1em;
|
|
|
|
}
|
|
|
|
|