mapcomplete/index.css

1342 lines
22 KiB
CSS
Raw Normal View History

2020-06-24 00:35:19 +02:00
html, body {
height: 100%;
margin: 0;
padding: 0;
}
2020-06-24 00:35:19 +02:00
body {
font-family: 'Helvetica Neue', Arial, sans-serif;
}
2020-07-08 16:07:16 +02:00
form {
display: inline;
}
2020-07-23 17:32:18 +02:00
.invalid {
box-shadow: 0 0 10px #ff5353;
}
2020-07-27 15:40:55 +02:00
.shadow {
box-shadow: 0 0 10px #00000066;
}
2020-06-24 00:35:19 +02:00
#leafletDiv {
height: 100%;
}
#geolocate-button {
position: absolute;
2020-07-27 15:40:55 +02:00
bottom: 25px;
right: 50px;
z-index: 999; /*Just below leaflets zoom*/
background-color: white;
border-radius: 5px;
2020-07-27 15:40:55 +02:00
border: solid 2px #0005;
cursor: pointer;
width: 43px;
2020-06-28 23:33:48 +02:00
height: 43px;
display: none; /*Hidden by default, only visible on mobile*/
}
2020-07-27 15:40:55 +02:00
#help-button-mobile {
display: none;
}
#geolocate-button img{
width: 31px;
height:31px;
margin: 6px;
}
2020-07-27 13:04:38 +02:00
#geolocate-button > .uielement {
display: block;
}
.selected-element {
fill: black
}
/**************** GENERIC ****************/
.uielement {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.alert {
background-color: #fee4d1;
font-weight: bold;
border-radius: 1em;
padding: 0.3em;
margin: 0.25em;
text-align: center;
padding-top: 0.15em;
padding-bottom: 0.15em;
}
.subtle {
color: #999;
}
.thanks {
background-color: #43d904;
font-weight: bold;
border-radius: 1em;
padding: 0.3em;
margin: 0.25em;
text-align: center;
padding-top: 0.15em;
padding-bottom: 0.15em;
}
.activate-osm-authentication {
cursor: pointer;
color: blue;
text-decoration: underline;
}
/**************** USER BADGE ****************/
2020-06-29 03:12:44 +02:00
.small-userbadge-icon {
2020-06-24 00:35:19 +02:00
width: 1em;
height: 1em;
2020-06-29 03:12:44 +02:00
fill: black;
border-radius: 0;
2020-06-24 00:35:19 +02:00
}
2020-06-29 03:12:44 +02:00
#home {
cursor: pointer;
}
2020-06-24 00:35:19 +02:00
#profile-pic {
float: left;
width: 4em;
height: 4em;
padding: 0;
margin: 0;
2020-06-24 00:35:19 +02:00
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
opacity: 0;
transition: opacity 500ms linear;
}
#username {
2020-06-24 00:35:19 +02:00
text-decoration: none;
color: black;
}
2020-06-24 00:35:19 +02:00
#usertext {
2020-07-24 01:12:57 +02:00
width: max-content;
margin: 0;
2020-06-24 00:35:19 +02:00
padding: 0.9em;
padding-left: 4.7em; /* Should be half of profile-pic's width + actual padding (same as padding-right)*/
padding-right: 1.5em;
border-radius: 2em; /*Half border radius width/height*/
height: 2.2em; /*SHould equal profile-pic height - padding*/
z-index: 5000;
text-align: left;
background-color: white;
background-size: 100%;
display: block;
line-height: 0.75em;
2020-06-24 00:35:19 +02:00
}
#usertext a {
2020-06-24 00:35:19 +02:00
text-decoration: none;
color: black;
}
#userbadge {
display: inline-block;
2020-06-24 00:35:19 +02:00
text-align: center;
background-color: white;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
2020-07-01 02:12:33 +02:00
border-bottom-right-radius: 1.5em;
border-top-right-radius: 1.5em;
2020-06-24 00:35:19 +02:00
transition: all 500ms linear;
2020-07-01 02:12:33 +02:00
margin: 0;
margin-bottom: 0.5em;
min-width: 20em;
pointer-events: all;
2020-07-01 02:12:33 +02:00
}
#userbadge-and-search {
display: inline-block;
2020-07-23 23:33:17 +02:00
width: min-content;
2020-07-01 02:12:33 +02:00
}
#searchbox {
display: inline-block;
text-align: left;
background-color: white;
transition: all 500ms linear;
pointer-events: all;
border-radius: 1.3em;
margin: 0;
2020-07-27 15:40:55 +02:00
margin-bottom: 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-07-01 02:12:33 +02:00
}
.search-go {
position: relative;
2020-07-05 18:59:47 +02:00
float: right;
2020-07-01 02:12:33 +02:00
height: 1.2em;
border: 2px solid black;
border-radius: 2em;
padding: 0.4em;
2020-07-05 18:59:47 +02:00
margin-left: 0.5em;
margin-right: 0;
2020-06-24 00:35:19 +02:00
}
2020-07-23 23:33:17 +02:00
#userbadge {
width: 100%
}
#userbadge p {
margin: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
}
2020-07-25 18:00:08 +02:00
2020-07-27 15:40:55 +02:00
@media only screen and (max-height: 600px) and (not (max-width:700px)) {
2020-07-27 13:04:38 +02:00
2020-07-27 15:40:55 +02:00
/* Landscape and portrait */
2020-07-27 13:04:38 +02:00
#topleft-tools {
2020-07-27 15:40:55 +02:00
padding: 0.1em;
padding-left: unset;
2020-07-27 13:04:38 +02:00
}
2020-07-27 15:40:55 +02:00
2020-07-23 23:33:17 +02:00
#userbadge-and-search {
2020-07-24 13:46:03 +02:00
position: relative;
2020-07-23 23:33:17 +02:00
display: inline-block;
width: auto;
max-width: 50vw;
2020-07-24 13:46:03 +02:00
margin: 0;
2020-07-23 23:33:17 +02:00
}
#userbadge {
2020-07-24 13:46:03 +02:00
position: fixed;
right: 0.3em;
width: min-content;
max-width: 50vw;
margin:0;
padding: 0;
2020-07-23 23:33:17 +02:00
}
2020-07-27 15:40:55 +02:00
}
@media only screen and (max-width: 600px) {
/* Portrait */
#userbadge-and-search {
display: inline-block;
width: auto;
max-width: 100vw;
}
2020-07-23 23:33:17 +02:00
#topleft-tools {
2020-07-27 15:40:55 +02:00
padding: 0.2em !important;
padding-top: 0.3em !important;
2020-07-23 23:33:17 +02:00
}
2020-07-27 15:40:55 +02:00
#userbadge {
margin-bottom: 0.3em;
2020-07-25 18:00:08 +02:00
}
2020-07-23 23:33:17 +02:00
}
/**************************************/
#topleft-tools {
display: block;
2020-06-24 00:35:19 +02:00
position: absolute;
padding: 0;
2020-07-27 15:40:55 +02:00
padding-top: 0.5em;
padding-left:0.5em;
2020-06-24 00:35:19 +02:00
z-index: 5000;
transition: all 500ms linear;
overflow: hidden;
pointer-events: none;
2020-07-27 15:40:55 +02:00
padding-right: 10px; /* Shadow offset */
2020-06-24 00:35:19 +02:00
}
2020-07-01 21:21:29 +02:00
#messagesboxmobilewrapper {
display: none; /*Only shown on small screens*/
}
2020-06-24 00:35:19 +02:00
2020-07-24 01:12:57 +02:00
.collapse-button {
2020-07-01 21:21:29 +02:00
position: absolute;
2020-07-24 01:12:57 +02:00
background-color: #e5f5ff;
width: 3.5em;
border-top-left-radius: 2em;
border-bottom-left-radius: 2em;
2020-07-01 21:21:29 +02:00
display: inline-block;
2020-07-27 15:40:55 +02:00
height:100%;
box-shadow: -10px 0 10px -10px #0006;
}
2020-06-24 00:35:19 +02:00
2020-07-24 01:12:57 +02:00
.collapse-button .collapse-button-img{
background-color: #e5f5ff;
}
.open-button {
width: 2em;
border-top-left-radius: 2em;
border-bottom-left-radius: 2em;
2020-07-27 15:40:55 +02:00
margin-bottom: 10px;
2020-07-25 18:00:08 +02:00
}
2020-07-27 15:40:55 +02:00
.open-button .collapse-button-img {
2020-07-25 18:00:08 +02:00
border-radius: 50%;
box-sizing: border-box;
display: inline-block;
padding: 1em;
2020-07-27 13:04:38 +02:00
background-color: white;
2020-07-27 15:40:55 +02:00
box-shadow: 0 0 10px #0006;
}
.collapse-button-img {
border-radius: 50%;
box-sizing: border-box;
display: inline-block;
padding: 1em;
background-color: white;
box-shadow: none;
margin: 0;
2020-07-01 21:21:29 +02:00
}
2020-07-24 01:12:57 +02:00
.collapse-button-img img{
width: 1.5em;
padding: 0.5em;
margin: 0;
padding: 0;
2020-07-01 21:21:29 +02:00
}
2020-07-24 01:12:57 +02:00
#welcomeMessage {
display: inline-block;
margin-left: 3.5em;
border-radius: 2em;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
2020-07-29 15:54:44 +02:00
max-width: 40em;
width: 45vw;
2020-07-27 15:40:55 +02:00
max-height: calc(100vh - 15em);
overflow-y: auto;
2020-07-24 01:12:57 +02:00
}
2020-07-01 21:21:29 +02:00
2020-06-24 00:35:19 +02:00
#messagesbox {
/*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;
pointer-events: all;
}
2020-07-22 11:01:25 +02:00
/* filter ui */
.filter__popup {
position: absolute;
bottom: 0;
z-index: 500;
padding-left: 10px;
padding-bottom: 10px;
}
.filter__button {
outline: none;
border: none;
2020-07-22 14:57:35 +02:00
width: 60px;
height: 60px;
2020-07-22 11:01:25 +02:00
border-radius: 50%;
2020-07-20 16:57:46 +02:00
background-color: white;
2020-07-22 14:57:35 +02:00
position: relative;
}
.filter__button svg {
vertical-align: middle;
2020-07-22 11:01:25 +02:00
}
2020-07-23 16:28:19 +02:00
#filter__selection{
}
2020-07-22 16:40:19 +02:00
#filter__selection form {
display: flex;
flex-flow: column;
width: 100%;
background-color: #ffffff;
2020-07-23 16:28:19 +02:00
border-radius: 15px;
border-bottom-left-radius: 30px;
2020-07-22 16:40:19 +02:00
border: none;
font-size: 16px;
transform: translateY(60px);
padding: 15px 0 60px 0;
2020-07-22 16:40:19 +02:00
}
#filter__selection label {
font-size: 16px;
background-color: #ffffff;
padding: 0 15px 12px 15px;
margin: 0;
color: #003B8B;
font-weight: 600;
2020-07-22 16:40:19 +02:00
}
2020-07-27 15:40:55 +02:00
2020-07-22 16:40:19 +02:00
#filter__selection select {
outline: none;
2020-07-22 16:40:19 +02:00
background-color: #F0EFEF;
border: none;
border-radius: 5px;
font-size: 14px;
padding: 5px;
margin: 0 15px;
2020-07-23 16:28:19 +02:00
max-width: 250px;
2020-07-22 16:40:19 +02:00
}
2020-07-22 13:33:26 +02:00
#filter__selection ul {
2020-07-22 16:40:19 +02:00
background-color: #ffffff;
padding: 10px 25px 18px 18px;
2020-07-22 13:33:26 +02:00
list-style: none;
margin: 0;
font-weight: 600;
transform: translateY(75px);
2020-07-27 15:40:55 +02:00
max-height: calc(50vh - 10em);
overflow-y: auto;
2020-07-22 13:33:26 +02:00
}
#filter__selection ul li span > span {
display: flex;
align-items: center;
}
#filter__selection ul svg {
padding: 10px 14px 10px 0;
border-right: 1px solid #003B8B;
}
#filter__selection ul img {
width: 20px;
height: auto;
margin: 0 10px 0 18px;
2020-07-22 11:01:25 +02:00
}
#filter__selection ul svg {
width: 20px;
height: auto;
margin: 0 10px 0 18px;
}
2020-07-22 16:40:19 +02:00
.filter__label {
font-size: 16px;
transform: translateY(75px);
2020-07-22 16:40:19 +02:00
background-color: #ffffff;
padding: 10px 15px;
2020-07-22 16:40:19 +02:00
margin: 0;
color: #003B8B;
font-weight: 600;
border-radius: 15px 15px 0 0;
2020-07-22 16:40:19 +02:00
}
2020-07-27 15:40:55 +02:00
#centermessage {
position: absolute;
top: 30%;
left: 25%;
width: 50%;
font-size: large;
padding: 2em;
border-radius: 2em;
z-index: 4000;
pointer-events: none;
opacity: 1;
background-color: white;
transition: opacity 500ms linear;
text-align: center;
horiz-align: center;
font-weight: bold;
}
@media only screen and (max-width: 600px), only screen and (max-height: 600px) {
2020-07-01 21:21:29 +02:00
#messagesbox-wrapper {
display: none;
}
#messagesbox {
display: none;
}
2020-07-27 15:40:55 +02:00
#help-button-mobile{
display: unset;
pointer-events: all;
2020-07-27 15:40:55 +02:00
}
#help-button-mobile div {
box-shadow: 0 0 10px #0006;
margin-bottom: 10px;
}
2020-06-28 23:33:48 +02:00
#geolocate-button {
display: block;
}
2020-06-29 16:21:36 +02:00
.leaflet-popup {
/* Popups are hidden on mobile */
2020-07-01 21:21:29 +02:00
display: none;
2020-06-29 16:21:36 +02:00
}
2020-07-27 15:40:55 +02:00
#centermessage {
top: 30%;
left: 15%;
width: 60%;
}
#messagesboxmobilewrapper {
position: absolute;
padding: 0;
margin: 0;
z-index: 5050;
transition: all 500ms linear;
overflow: hidden;
border-radius: 0;
width: 100%;
height: 100%;
display: block;
background-color: white;
}
#messagesboxmobile-scroll {
display: block;
2020-07-27 13:04:38 +02:00
width: 100vw;
2020-07-27 15:40:55 +02:00
overflow-y: auto;
padding: 0;
2020-07-23 23:33:17 +02:00
margin: 0;
2020-07-27 15:40:55 +02:00
height: calc(100% - 5em); /*Height of to-the-map is 5em*/
}
2020-07-23 23:33:17 +02:00
#messagesboxmobile {
2020-06-29 16:21:36 +02:00
padding: 1em;
padding-bottom: 2em;
2020-07-23 23:33:17 +02:00
border-radius: 1em;
2020-06-29 16:21:36 +02:00
background-color: white;
}
2020-07-27 15:40:55 +02:00
#welcomeMessage {
display: inline-block;
background-color: white;
padding: 1em;
border-radius: 0;
width: 100%;
max-width: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
max-height: max-content;
box-shadow: unset;
overflow-y: unset;
}
2020-06-24 00:35:19 +02:00
}
2020-07-23 23:33:17 +02:00
#to-the-map {
2020-07-21 00:07:04 +02:00
position: relative;
}
2020-07-27 15:40:55 +02:00
#to-the-map > span{
2020-07-21 00:07:04 +02:00
position: absolute;
2020-07-27 15:40:55 +02:00
box-sizing: border-box;
height: 3em;
2020-07-21 00:07:04 +02:00
padding: 0.5em;
margin: 0;
2020-07-23 23:33:17 +02:00
2020-07-27 15:40:55 +02:00
padding-top: 0.75em;
2020-07-21 00:07:04 +02:00
text-align: center;
width: 100%;
color: white;
background-color: #7ebc6f;
cursor: pointer;
2020-07-27 15:40:55 +02:00
font-size: xx-large;
font-weight: bold;
2020-07-23 23:33:17 +02:00
}
2020-07-23 23:33:17 +02:00
@media only screen and (max-height: 400px) {
2020-07-27 15:40:55 +02:00
/* Landscape: small 'to the map' */
2020-07-23 23:33:17 +02:00
#to-the-map {
position: relative;
height: 100%;
width: 100%
}
2020-07-27 15:40:55 +02:00
#to-the-map span {
2020-07-23 23:33:17 +02:00
width: auto;
border-top-left-radius: 1.5em;
position: absolute;
z-index: 5;
right: 0;
bottom: 0;
height: auto;
margin:0;
padding: 1em;
padding-bottom: 0.75em;
2020-07-27 15:40:55 +02:00
height: 3em;
font-size: x-large;
2020-07-23 23:33:17 +02:00
}
#messagesboxmobile {
2020-07-27 15:40:55 +02:00
padding-bottom: 5em;
2020-07-23 23:33:17 +02:00
}
#messagesboxmobile-scroll {
position: absolute;
z-index: 2;
2020-07-27 15:40:55 +02:00
width: 100vw;
2020-07-23 23:33:17 +02:00
height: 100vh;
2020-07-27 15:40:55 +02:00
box-sizing: border-box;
}
#welcomeMessage{
box-shadow: unset;
max-height: 100vh;
2020-07-23 23:33:17 +02:00
}
}
2020-07-27 15:40:55 +02:00
.logo {
float:right;
2020-06-24 00:35:19 +02:00
margin: 1em;
2020-07-27 15:40:55 +02:00
width: 10em;
height: auto;
2020-06-24 00:35:19 +02:00
}
2020-07-29 15:05:19 +02:00
#top-right {
2020-06-24 00:35:19 +02:00
position: absolute;
2020-07-29 15:05:19 +02:00
display: block;
right: 0.5em;
top: 0.5em;
2020-06-24 00:35:19 +02:00
z-index: 5000;
}
/************ Slideshow *****************/
.image-slideshow {
position: relative;
text-align: center;
max-width: 100%;
margin-top: 1em;
margin-bottom: 1em;
2020-06-24 00:35:19 +02:00
}
.slides {
overflow: hidden;
2020-06-24 00:35:19 +02:00
}
.prev-button {
background-color: black;
2020-06-29 16:21:36 +02:00
opacity: 0.3;
2020-07-06 13:47:22 +02:00
width: 4.0em;
height: 100%;
padding-left: 0.5em;
padding-right: 0.5em;
position: absolute;
top: 50%;
left: 0;
transform: translate(0, -50%);
z-index: 5060;
border-radius: 1em;
2020-06-24 00:35:19 +02:00
}
.next-button {
background-color: black;
2020-06-28 23:33:48 +02:00
opacity: 0.3;
2020-07-06 13:47:22 +02:00
width: 4.0em;
height: 100%;
padding-left: 0.5em;
padding-right: 0.5em;
position: absolute;
top: 50%;
right: 0;
transform: translate(0, -50%);
border-radius: 1em;
z-index: 5060;
}
2020-07-06 13:47:22 +02:00
.vspan {
height: calc(50% - 3em);
}
.prev-button img {
margin-left: -1em;
width: 6em;
text-align: center;
}
.next-button img {
margin-left: -1em;
width: 6em;
text-align: center;
}
2020-07-07 15:08:52 +02:00
.slide > span {
max-height: 40vh;
}
.slide > span img {
height: auto;
width: auto;
max-width: 100%;
2020-07-07 15:08:52 +02:00
max-height: 30vh;
border-radius: 1em;
}
.hidden {
/* This is used by the slideshow, to hide non-active slides*/
display: none !important;
2020-06-24 00:35:19 +02:00
}
.imgWithAttr {
max-height: 20em;
position: relative;
overflow: hidden;
2020-06-24 00:35:19 +02:00
}
.wikimedia-link {
/*The actual wikimedia logo*/
width: 1.5em !important;
2020-06-24 00:35:19 +02:00
}
.attribution {
background-color: rgba(0, 0, 0, 0.5);
color: white;
font-weight: bold;
font-size: smaller;
position: absolute;
bottom: 0;
2020-07-07 15:08:52 +02:00
left: 6em; /* Offset for the go left button*/
padding: 0.25em;
margin-bottom: 0.25em;
border-radius: 0.5em;
}
.attribution-author {
display: inline-block;
}
.license {
font-size: small;
font-weight: lighter;
}
.attribution a {
color: white;
}
/**************** Image upload flow ***************/
.imageflow {
margin-top: 1em;
margin-bottom: 2em;
text-align: center;
}
.imageflow-file-input-wrapper {
display: flex;
flex-wrap: wrap;
padding: 0.5em;
border-radius: 1em;
border: 3px solid black;
}
.imageflow-add-picture {
font-size: 28px;
font-weight: bold;
float: left;
margin-top: 4px;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 13px;
}
.imageflow-file-input-wrapper img {
width: 36px;
height: 36px;
padding: 0.1em;
margin-top: 5px;
border-radius: 0;
float: left;
}
.license-picker {
float: left;
}
.imageflow > input {
display: none;
}
/***************** Info box (box containing features and questions ******************/
2020-07-01 21:21:29 +02:00
.leaflet-popup-content {
width: 40em !important;
2020-07-01 21:21:29 +02:00
}
2020-07-27 15:40:55 +02:00
#messagesboxmobile .featureinfobox {
max-height: unset;
overflow-y: unset;
}
#messagesboxmobile .featureinfobox > div {
width: 100%;
max-width: unset;
padding-left: unset;
}
.featureinfobox {
2020-07-27 15:40:55 +02:00
max-height: 80vh;
overflow-y: auto;
}
2020-07-27 15:40:55 +02:00
.featureinfobox > div {
width: calc(100% - 2em);
padding-left: 1em;
}
.featureinfoboxtitle {
position: relative;
}
.osmlink {
position: absolute;
right: 0;
}
.osm-logo path {
fill: #7ebc6f;
}
2020-07-05 18:59:47 +02:00
.featureinfoboxtitle .answer {
display: inline;
margin-right: 3em;
}
.featureinfoboxtitle .answer-text {
display: inline;
}
.featureinfoboxtitle .editbutton {
float: none;
width: 0.8em;
height: 0.8em;
padding: 0.3em;
border-radius: 0.35em;
border: solid black 1px;
2020-07-16 15:36:57 +02:00
margin-left: 0.5em;
2020-07-05 18:59:47 +02:00
top: 0.2em;
2020-07-16 15:24:44 +02:00
vertical-align: middle;
2020-07-05 18:59:47 +02:00
}
.editbutton {
width: 1.3em;
height: 1.3em;
padding: 0.5em;
border-radius: 0.65em;
border: solid black 1px;
font-size: medium;
float: right;
}
.wikipedialink {
position: absolute;
right: 24px;
width: 24px;
height: 24px;
padding-right: 12px;
}
.wikipedialink img {
width: 24px;
height: 24px;
}
.featureinfoboxtitle span {
font-weight: bold;
font-size: x-large;
}
.featureinfoboxtitle a {
float: right;
margin-left: 1em;
}
.infoboxcontents {
margin: 0.5em;
margin-top: 1em;
}
.infobox-information {
width: 100%;
margin-top: 1em;
}
2020-07-05 18:59:47 +02:00
.question {
margin-top: 1em;
background-color: #e5f5ff;
padding: 1em;
border-radius: 1em;
2020-07-05 18:59:47 +02:00
font-size: larger;
}
2020-07-08 16:07:16 +02:00
.question-text{
font-size: larger;
font-weight: bold;
}
.question-text img {
max-width: 100%;
}
.question-subtext{
font-size: medium;
font-weight: normal;
}
2020-07-05 18:59:47 +02:00
.answer {
display: inline-block;
margin: 0.1em;
width: 100%;
font-size: large;
}
.answer-text {
width: 90%;
display: inline-block
}
2020-07-08 11:23:36 +02:00
/******* THe remove image buttons ****/
.image-carousel-container {
position: relative;
}
2020-07-08 13:12:23 +02:00
.image-is-removed{
display: inline-block;
left: 0;
top: 2.5em;
padding: 0.5em;
padding-left: 0.75em;
height: 3em;
width: 14em;
border-radius: 1em;
background-color: black;
color: white;
font-weight: bold;
height: 1.5em; /* same as .delete-image */
z-index: 7000;
}
2020-07-08 11:23:36 +02:00
.image-delete-container {
position: absolute;
left: 6em;
top: 1.5em;
display: inline-block;
z-index: 7000;
}
.delete-image {
width: 1.5em;
height: 1.5em;
padding: 0.5em;
border-radius: 3em;
background-color: black;
}
.delete-image-confirm {
position: absolute;
display: inline-block;
left: 0;
top: 2.5em;
padding: 0.5em;
padding-left: 0.75em;
height: 3em;
width: 14em;
border-radius: 1em;
border-top-left-radius: 0;
border-top-right-radius: 0;
background-color: #ff8c8c;
color: white;
height: 1.5em; /* same as .delete-image */
z-index: 7000;
}
.delete-image-confirm span {
font-size: larger;
font-weight: bold;
}
.delete-image-cancel {
display: inline-block;
position: absolute;
left: 0em;
padding: 0.5em;
padding-left: 0.75em;
border-radius: 1em;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
height: 1.5em; /* same as .delete-image */
width: 14em; /* Same as delete-image-confirm */
background-color: black;
color: white;
z-index: 7000;
}
.delete-image-cancel span {
font-size: larger;
font-weight: bold;
}
2020-07-05 18:59:47 +02:00
/**** The save button *****/
.save {
display: inline-block;
border: solid white 2px;
background-color: #3a3aeb;
color: white;
padding: 0.2em;
padding-left: 0.6em;
padding-right: 0.6em;
2020-07-05 18:59:47 +02:00
font-size: x-large;
font-weight: bold;
border-radius: 1.5em;
}
.login-button-friendly {
display: inline-block;
border: solid white 2px;
background-color: #3a3aeb;
color: white;
padding: 0.2em;
padding-left: 0.6em;
padding-right: 0.6em;
font-size: large;
font-weight: bold;
border-radius: 1.5em;
box-sizing: border-box;
width: 100%;
}
2020-07-05 18:59:47 +02:00
.save-non-active {
display: inline-block;
border: solid lightgrey 2px;
color: grey;
padding: 0.2em;
padding-left: 0.3em;
padding-right: 0.3em;
font-size: x-large;
font-weight: bold;
border-radius: 1.5em;
}
.skip-button {
display: inline-block;
border: solid black 0.5px;
padding: 0.2em;
padding-left: 0.3em;
padding-right: 0.3em;
border-radius: 1.5em;
2020-07-29 15:05:19 +02:00
}
/******** TabbedElement ****/
.tabs-header-bar {
padding-left: 1em;
padding-top: 10px; /* For the shadow */
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: start;
background-color: white;
}
.tab-single-header img {
height: 3em;
2020-08-22 14:59:52 +02:00
max-width: 3em;
2020-07-29 15:05:19 +02:00
padding: 0.5em;
2020-08-22 14:59:52 +02:00
display:block;
margin:auto;
2020-07-29 15:05:19 +02:00
}
2020-07-29 15:05:19 +02:00
.tab-content {
padding: 1em;
z-index: 5002;
background-color: white;
position: relative;
}
.tab-single-header {
border-top-left-radius: 1em;
border-top-right-radius: 1em;
z-index: 5000;
2020-07-30 09:59:30 +02:00
padding-bottom: 0;
margin-bottom: 0;
2020-07-29 15:05:19 +02:00
}
.tab-active {
background-color: white;
z-index: 5001;
2020-07-30 09:59:30 +02:00
box-shadow: 0 0 10px black;
2020-07-31 16:17:16 +02:00
border: 1px solid white;
2020-08-22 14:59:52 +02:00
min-width: 4em;
2020-07-29 15:05:19 +02:00
}
.tab-non-active {
background-color: #e5f5ff;
opacity: 0.5;
2020-07-30 09:59:30 +02:00
border-left: 1px solid gray;
border-right:1px solid gray;
border-top: 1px solid gray;
2020-07-29 15:05:19 +02:00
border-bottom: 1px solid lightgray;
2020-08-22 16:00:33 +02:00
min-width: 4em;
2020-07-29 15:05:19 +02:00
}
/****** ShareScreen *****/
.literal-code {
display: inline-block;
background-color: lightgray;
padding: 0.5em;
2020-08-08 22:18:10 +02:00
word-break: break-all;
color: black;
2020-07-29 15:05:19 +02:00
}
.iframe-code-block {
}
.iframe-escape {
background-color: white;
border-radius: 2em;
display: block;
width: min-content;
2020-07-29 15:05:19 +02:00
}
.iframe-escape img{
padding: 1em;
width: 2em;
height: 2em;
2020-07-29 15:48:21 +02:00
}
/** Switch layout **/
.subtle-button{
2020-07-29 15:48:21 +02:00
display: flex;
flex-wrap: nowrap;
flex-direction: row;
font-size: large;
margin: 0.5em;
background-color: #e5f5ff;
border-radius: 1em;
align-items: center;
text-decoration: none;
color: black;
}
2020-07-29 19:02:36 +02:00
.subtle-button a {
text-decoration: unset !important;
color:unset !important;
display: block ruby;
}
.subtle-button img{
2020-07-29 15:48:21 +02:00
width: 3em;
max-height: 3em;
margin-right: 0.5em;
padding: 0.5em;
}
.add-ui {
font-size: large;
2020-07-31 04:58:58 +02:00
}
2020-08-07 20:50:46 +02:00
.add-popup-all-buttons{
max-height: 50vh;
display: inline-block;
overflow-y: auto;
}
2020-07-31 04:58:58 +02:00
.custom-layer-panel {
}
.custom-layer-panel-header {
display: flex;
flex-wrap: nowrap;
flex-direction: row;
font-size: large;
margin: 0.5em;
background-color: white;
justify-content: flex-start;
align-items: center;
text-decoration: none;
color: black;
}
.custom-layer-panel-header-img img {
max-width: 3em;
width: 100%;
max-height: 3em;
padding: 0.5em;
}
.custom-layer-panel-header-img {
2020-07-31 16:17:16 +02:00
min-width: 4em;
2020-07-31 04:58:58 +02:00
height: 4em;
}
.custom-layer-checkbox {
font-size: larger;
2020-07-31 16:17:16 +02:00
min-height: 2em;
2020-07-31 04:58:58 +02:00
background-color: #e5f5ff;
margin:0.3em;
display: flex;
justify-content: flex-start;
align-items: stretch;
text-decoration: none;
padding: 0.5em;
border-radius: 1em;
2020-07-31 16:17:16 +02:00
width: unset;
2020-07-31 04:58:58 +02:00
}
.custom-layer-checkbox img {
max-width: 1.5em;
max-height: 1.5em;
width: 100%;
height: 100%;
padding: 0.2em;
padding-right: 0.5em;
}
.custom-layer-checkbox svg {
max-width: 1.5em;
max-height: 1.5em;
padding: 0.2em;
padding-right: 0.5em;
}