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;
|
|
|
|
|
|
2020-11-14 02:54:33 +01:00
|
|
|
|
:root {
|
2023-05-09 00:06:51 +02:00
|
|
|
|
/*
|
|
|
|
|
* The main colour scheme of mapcomplete is configured here.
|
|
|
|
|
* For a custom styling, set 'customCss' in your layoutConfig and overwrite some of these.
|
|
|
|
|
*/
|
2022-02-04 00:45:22 +01:00
|
|
|
|
|
2023-05-05 02:03:41 +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;
|
2022-07-18 10:21:16 +02:00
|
|
|
|
|
2023-05-09 00:06:51 +02:00
|
|
|
|
/* A colour scheme to indicate an error or warning */
|
2023-05-05 02:03:41 +02:00
|
|
|
|
--alert-color: #fee4d1;
|
2023-05-09 00:06:51 +02:00
|
|
|
|
--alert-foreground-color: var(--foreground-color);
|
2022-07-18 10:21:16 +02:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
--low-interaction-background: #eeeeee;
|
|
|
|
|
--low-interaction-foreground: black;
|
|
|
|
|
--low-interaction-contrast: #ff00ff;
|
|
|
|
|
|
|
|
|
|
--interactive-background: #dddddd;
|
|
|
|
|
--interactive-foreground: black;
|
|
|
|
|
--interactive-contrast: #ff00ff;
|
|
|
|
|
|
2023-05-11 17:29:25 +02:00
|
|
|
|
--button-background: black;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
--button-foreground: white;
|
|
|
|
|
|
2023-05-05 02:03:41 +02:00
|
|
|
|
/**
|
2023-05-09 00:06:51 +02:00
|
|
|
|
* Base colour of interactive elements, mainly the 'subtle button'
|
2023-05-11 02:17:41 +02:00
|
|
|
|
* @deprecated
|
2023-05-09 00:06:51 +02:00
|
|
|
|
*/
|
2023-05-05 02:03:41 +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
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
--catch-detail-color: black; /*#3a3aeb;*/
|
|
|
|
|
--catch-detail-foregroundcolor: white;
|
|
|
|
|
--catch-detail-color-contrast: #fb3afb;
|
2022-07-18 10:21:16 +02:00
|
|
|
|
|
|
|
|
|
|
2023-05-05 02:03:41 +02:00
|
|
|
|
--image-carousel-height: 350px;
|
2022-07-18 10:21:16 +02:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
/***********************************************************************\
|
|
|
|
|
* Various tweaks and settings to make some behaviours more predictable *
|
|
|
|
|
\***********************************************************************/
|
2022-07-18 10:21:16 +02:00
|
|
|
|
html,
|
|
|
|
|
body {
|
2023-05-05 02:03:41 +02:00
|
|
|
|
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
|
|
|
|
|
2022-07-18 10:21:16 +02:00
|
|
|
|
svg,
|
|
|
|
|
img {
|
2023-05-05 02:03:41 +02:00
|
|
|
|
box-sizing: content-box;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2021-01-18 19:36:19 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
li {
|
|
|
|
|
margin-left: 0.5em;
|
|
|
|
|
padding-left: 0.2em;
|
|
|
|
|
margin-top: 0.1em;
|
2022-02-01 19:02:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
li::marker {
|
|
|
|
|
content: "•";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1 {
|
2023-05-14 03:24:13 +02:00
|
|
|
|
font-size: xx-large;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
margin-top: 0.6em;
|
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
2023-05-14 03:24:13 +02:00
|
|
|
|
font-size: x-large;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
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;
|
2022-02-01 19:02:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
p {
|
|
|
|
|
padding-top: 0.1em;
|
|
|
|
|
}
|
2022-02-01 19:02:46 +01:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
input {
|
|
|
|
|
color: var(--foreground-color);
|
2022-04-01 12:51:55 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-16 03:27:49 +02:00
|
|
|
|
input[type=text]{
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
/************************* BIG CATEGORIES ********************************/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The main classes that dictate the structure of the entire app,
|
|
|
|
|
* and some interactive elements
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.subtle-background {
|
|
|
|
|
background: var(--subtle-detail-color);
|
|
|
|
|
color: var(--subtle-detail-color-contrast);
|
|
|
|
|
}
|
2021-09-07 01:49:18 +02:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.normal-background {
|
|
|
|
|
background: var(--background-color);
|
2023-05-05 02:03:41 +02:00
|
|
|
|
color: var(--foreground-color);
|
2020-11-15 00:27:55 +01:00
|
|
|
|
}
|
2020-11-14 02:54:33 +01:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.low-interaction {
|
|
|
|
|
background: var(--low-interaction-background);
|
|
|
|
|
color: var(--low-interaction-foreground)
|
|
|
|
|
}
|
2022-08-19 10:40:57 +02:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.interactive {
|
|
|
|
|
background: var(--interactive-background);
|
|
|
|
|
color: var(--interactive-foreground)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.border-interactive {
|
|
|
|
|
border: 2px dashed var(--catch-detail-color-contrast);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/******************* Styling of input elements **********************/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This very important section defines what the various input elements look like within the 'low-interaction' and 'interactive'-blocks
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button {
|
2023-05-05 02:03:41 +02:00
|
|
|
|
display: inline-flex;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
line-height: 1.25rem;
|
|
|
|
|
margin: 0.2rem;
|
|
|
|
|
padding: 0.4rem;
|
|
|
|
|
padding-left: 0.6rem;
|
|
|
|
|
padding-right: 0.6rem;
|
2023-05-05 02:03:41 +02:00
|
|
|
|
font-size: large;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
/*-- invisible border: rendered on hover*/
|
2023-05-11 02:17:41 +02:00
|
|
|
|
border: 2px solid var(--button-background);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
transition: all 250ms;
|
|
|
|
|
--tw-text-opacity: 1;
|
|
|
|
|
--tw-bg-opacity: 1;
|
2023-05-14 03:24:13 +02:00
|
|
|
|
background: var(--low-interaction-background);
|
|
|
|
|
color: var(--low-interaction-foreground);
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
button .button-shadow {
|
|
|
|
|
box-shadow: 0 5px 10px #88888888;
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
button.selected {
|
2023-05-05 02:03:41 +02:00
|
|
|
|
background-color: var(--catch-detail-color);
|
2023-05-11 02:17:41 +02:00
|
|
|
|
border-color: var(--catch-detail-color);
|
|
|
|
|
|
|
|
|
|
color: var(--catch-detail-foregroundcolor);
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
button.selected svg path {
|
|
|
|
|
fill: var(--catch-detail-foregroundcolor) !important;
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
button:not(.no-image-background) svg path {
|
|
|
|
|
fill: var(--interactive-foreground) !important;;
|
|
|
|
|
transition: all 250ms;
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
.interactive button {
|
|
|
|
|
background: var(--interactive-background);
|
|
|
|
|
color: var(--interactive-foreground);
|
2021-07-27 21:25:00 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
button:hover {
|
|
|
|
|
background-color: var(--catch-detail-color);
|
|
|
|
|
color: var(--catch-detail-foregroundcolor);
|
|
|
|
|
border: 2px solid var(--catch-detail-color-contrast);
|
2022-04-23 15:20:54 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
|
|
|
|
|
button:hover:not(.no-image-background) img {
|
|
|
|
|
background: var(--low-interaction-background);
|
|
|
|
|
border-radius: 100rem;
|
2022-04-23 15:20:54 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
|
|
|
|
|
button:hover:not(.no-image-background) svg path {
|
|
|
|
|
fill: var(--catch-detail-foregroundcolor) !important;;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
button.disabled:hover:not(.no-image-background) svg path {
|
|
|
|
|
fill: var(--low-interaction-foreground) !important;;
|
2022-09-22 16:21:07 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button.primary {
|
|
|
|
|
color: var(--button-foreground);
|
|
|
|
|
background: var(--button-background);
|
2021-05-03 16:04:35 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
button.primary:not(.no-image-background) svg path {
|
|
|
|
|
fill: var(--button-foreground) !important;;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
transition: all 250ms;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
|
|
|
|
|
button.disabled {
|
|
|
|
|
cursor: default;
|
|
|
|
|
border: 2px dashed var(--button-background);
|
2023-05-11 02:17:41 +02:00
|
|
|
|
background: unset;
|
2023-05-14 03:24:13 +02:00
|
|
|
|
color: unset;
|
|
|
|
|
box-shadow: none;
|
2023-05-09 00:06:51 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
button.disabled:hover {
|
|
|
|
|
cursor: default;
|
|
|
|
|
border: 2px dashed var(--button-background);
|
|
|
|
|
background: unset;
|
|
|
|
|
color: unset;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
.interactive button.disabled svg path {
|
|
|
|
|
fill: var(--interactive-foreground) !important;;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
|
|
|
|
|
.low-interaction button.disabled svg path {
|
2023-05-11 02:17:41 +02:00
|
|
|
|
fill: var(--low-interaction-foreground) !important;;
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
.normal-background button.disabled svg path {
|
|
|
|
|
fill: var(--foreground-color) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
label {
|
|
|
|
|
/**
|
|
|
|
|
* Label should _contain_ the input element
|
|
|
|
|
*/
|
|
|
|
|
border: 2px solid var(--interactive-background);
|
|
|
|
|
padding: 0.25rem;
|
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
background-color: var(--low-interaction-background);
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
transition: all 250ms;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label:hover {
|
|
|
|
|
background-color: var(--catch-detail-color);
|
|
|
|
|
color: var(--catch-detail-foregroundcolor);
|
|
|
|
|
border: 2px solid var(--interactive-contrast)
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 18:25:32 +02:00
|
|
|
|
label:not(.no-image-background) img {
|
2023-05-11 02:17:41 +02:00
|
|
|
|
padding: 0.25rem;
|
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
|
background: var(--low-interaction-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label svg path {
|
|
|
|
|
transition: all 250ms;
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 18:25:32 +02:00
|
|
|
|
label:hover:not(.no-image-background) svg path {
|
2023-05-11 02:17:41 +02:00
|
|
|
|
fill: var(--catch-detail-foregroundcolor) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label.checked {
|
|
|
|
|
border: 2px solid var(--foreground-color);
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
.links-w-full a {
|
|
|
|
|
display: flex;
|
|
|
|
|
column-gap: 0.25rem;
|
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2023-05-11 17:29:25 +02:00
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
.links-as-button a{
|
2023-05-11 17:29:25 +02:00
|
|
|
|
/*
|
2023-05-14 03:24:13 +02:00
|
|
|
|
* Let a 'link' mimick a button, but not entirely
|
2023-05-11 17:29:25 +02:00
|
|
|
|
*/
|
|
|
|
|
padding: 3px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
background: var(--low-interaction-background);
|
|
|
|
|
color: var(--low-interaction-foreground);
|
|
|
|
|
border: 2px solid var(--interactive-background);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
.links-as-button a:hover {
|
2023-05-11 17:29:25 +02:00
|
|
|
|
background-color: var(--interactive-background);
|
|
|
|
|
color: var(--catch-detail-foregroundcolor);
|
|
|
|
|
border-color: var(--catch-detail-color-contrast);
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-14 03:24:13 +02:00
|
|
|
|
.links-as-button a:hover svg path {
|
2023-05-11 17:29:25 +02:00
|
|
|
|
fill: var(--catch-detail-foregroundcolor) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
/************************* OTHER CATEGORIES ********************************/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Smaller categories which convey some semantic information but don't define bigger blocks.
|
|
|
|
|
* As they are _semantic_ categories, they can be styled
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
.thanks {
|
|
|
|
|
/* The class to indicate 'operation successful' or 'thank you for contributing' */
|
2023-05-05 02:03:41 +02:00
|
|
|
|
font-weight: bold;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
border-radius: 1em;
|
|
|
|
|
margin: 0.25em;
|
|
|
|
|
text-align: center;
|
2023-05-14 03:24:13 +02:00
|
|
|
|
padding: 0.25rem;
|
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
|
border: 3px dotted #58cd27;
|
|
|
|
|
background-color: #58cd2722;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.alert {
|
|
|
|
|
/* The class to convey important information, e.g. 'invalid', 'something went wrong', 'warning: testmode', ... */
|
|
|
|
|
background-color: var(--alert-color);
|
|
|
|
|
color: var(--alert-foreground-color);
|
2023-05-05 02:03:41 +02:00
|
|
|
|
font-weight: bold;
|
2023-05-11 02:17:41 +02:00
|
|
|
|
border-radius: 1em;
|
|
|
|
|
margin: 0.25em;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 0.15em 0.3em;
|
2023-05-14 03:24:13 +02:00
|
|
|
|
border: 2px dotted #ff9143;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.subtle {
|
|
|
|
|
/* For all information that is not important for 99% of the users */
|
|
|
|
|
color: #999;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.link-underline .subtle a {
|
|
|
|
|
text-decoration: underline 1px #7193bb88;
|
|
|
|
|
color: #7193bb;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
|
|
|
|
|
.literal-code {
|
|
|
|
|
/* A codeblock */
|
|
|
|
|
display: inline-block;
|
|
|
|
|
background-color: lightgray;
|
|
|
|
|
padding: 0.1rem;
|
|
|
|
|
padding-left: 0.35rem;
|
|
|
|
|
padding-right: 0.35rem;
|
|
|
|
|
word-break: break-word;
|
|
|
|
|
color: black;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
font-family: monospace;
|
2021-04-12 13:05:30 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.interactive .literal-code {
|
|
|
|
|
background-color: #b3b3b3;
|
2021-03-13 19:07:38 +01:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
/************************** UTILITY ************************/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Utility classes are there for a specific function to pin down browser behaviour (and cannot be changed)
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.text-white a {
|
|
|
|
|
/* Used solely in 'imageAttribution' and in many themes*/
|
|
|
|
|
color: var(--background-color);
|
2021-10-02 17:57:54 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-10-09 22:40:52 +02:00
|
|
|
|
.block-ruby {
|
2023-05-05 02:03:41 +02:00
|
|
|
|
display: block ruby;
|
2021-10-09 22:40:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.no-images img {
|
|
|
|
|
/* Used solely in 'imageAttribution' and in many themes for the label*/
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.link-underline a {
|
|
|
|
|
text-decoration: underline 1px var(--foreground-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a.link-underline {
|
|
|
|
|
text-decoration: underline 1px var(--foreground-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.link-no-underline a {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
2021-10-09 22:40:52 +02:00
|
|
|
|
.disable-links a {
|
2023-05-05 02:03:41 +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 {
|
2023-05-05 02:03:41 +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 {
|
2023-05-05 02:03:41 +02:00
|
|
|
|
/* Hide links if they are disabled */
|
|
|
|
|
display: none;
|
2021-10-09 22:40:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-05-09 00:06:51 +02:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.zebra-table tr:nth-child(even) {
|
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/************************* MISC ELEMENTS *************************/
|
|
|
|
|
|
2023-05-01 01:11:05 +02:00
|
|
|
|
.selected svg:not(.noselect *) path.selectable {
|
2023-05-09 00:06:51 +02:00
|
|
|
|
/* A marker on the map gets the 'selected' class when it's properties are displayed
|
|
|
|
|
*/
|
2023-05-05 02:03:41 +02:00
|
|
|
|
stroke: white !important;
|
|
|
|
|
stroke-width: 20px !important;
|
|
|
|
|
overflow: visible !important;
|
|
|
|
|
-webkit-animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
|
|
|
|
-moz-animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
|
|
|
|
animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
2023-04-27 02:24:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.selected svg {
|
2023-05-09 00:06:51 +02:00
|
|
|
|
/* A marker on the map gets the 'selected' class when it's properties are displayed
|
|
|
|
|
*/
|
2023-05-05 02:03:41 +02:00
|
|
|
|
overflow: visible !important;
|
2023-04-27 02:24:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@-webkit-keyframes glowing-drop-shadow {
|
2023-05-05 02:03:41 +02:00
|
|
|
|
from {
|
|
|
|
|
filter: drop-shadow(5px 5px 60px rgb(128 128 128 / 0.6));
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
filter: drop-shadow(5px 5px 80px rgb(0.5 0.5 0.5 / 0.8));
|
|
|
|
|
}
|
2023-04-27 02:24:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-08-22 18:48:38 +02:00
|
|
|
|
@keyframes slide {
|
2023-05-05 02:03:41 +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
|
|
|
|
|
2023-05-05 02:03:41 +02:00
|
|
|
|
to {
|
|
|
|
|
transform: translateX(calc(-100% + 42px));
|
|
|
|
|
}
|
2021-08-22 18:48:38 +02:00
|
|
|
|
}
|
2020-07-01 02:12:33 +02:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
.glowing-shadow {
|
|
|
|
|
-webkit-animation: glowing 1s ease-in-out infinite alternate;
|
|
|
|
|
-moz-animation: glowing 1s ease-in-out infinite alternate;
|
|
|
|
|
animation: glowing 1s ease-in-out infinite alternate;
|
2022-02-01 04:14:54 +01:00
|
|
|
|
}
|
2020-11-06 01:58:26 +01:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
@-webkit-keyframes glowing {
|
|
|
|
|
from {
|
|
|
|
|
box-shadow: 0 0 20px 10px #eaaf2588, inset 0 0 0px 1px #eaaf25;
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
box-shadow: 0 0 20px 20px #eaaf2588, inset 0 0 5px 1px #eaaf25;
|
|
|
|
|
}
|
2020-09-14 20:16:03 +02:00
|
|
|
|
}
|
2020-07-29 15:05:19 +02:00
|
|
|
|
|
2020-11-12 12:18:02 +01:00
|
|
|
|
|
2023-05-11 02:17:41 +02:00
|
|
|
|
/************************* LEGACY MARKER - CLEANUP BELOW ********************************/
|
|
|
|
|
|
2021-06-17 13:17:16 +02:00
|
|
|
|
|
2021-08-22 18:48:38 +02:00
|
|
|
|
.slideshow-item img {
|
2023-05-11 02:17:41 +02:00
|
|
|
|
/* Legacy: should be replace when the image element is ported to Svelte*/
|
2023-05-05 02:03:41 +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 {
|
2023-05-11 02:17:41 +02:00
|
|
|
|
/* Legacy: should be replaced by headlessui disclosure in time */
|
2023-05-05 02:03:41 +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-02-02 01:51:19 +01:00
|
|
|
|
|