mapcomplete/css/tagrendering.css

274 lines
5.4 KiB
CSS
Raw Normal View History

.featureinfobox {
display: flex;
2021-01-07 03:50:12 +00:00
flex-direction: column;
}
2020-10-27 00:01:34 +00:00
.featureinfobox-title {
2021-01-07 03:50:12 +00:00
font-size: xx-large;
word-break: break-word;
2020-10-27 00:01:34 +00:00
}
2021-01-07 03:50:12 +00:00
.featureinfobox-icons img {
2020-10-27 00:01:34 +00:00
max-height: 1.5em;
width: 1.5em;
2020-10-27 00:01:34 +00:00
}
2021-01-07 03:50:12 +00:00
2020-10-27 00:01:34 +00:00
.featureinfobox-icons {
2021-01-07 03:50:12 +00:00
margin-left: auto;
2020-10-27 00:01:34 +00:00
}
.featureinfobox-icons span {
display: inline-block;
padding-right: 0.1em;
}
2021-01-07 03:50:12 +00:00
.featureinfobox-titlebar {
border-bottom: 2px solid var(--foreground-color);
box-shadow: 0 10px 10px -10px lightgray;
display: flex;
justify-content: space-between;
}
.featureinfobox-titlebar-title {
2020-10-27 00:01:34 +00:00
font-size: large;
font-weight: bold;
display: flex;
justify-content: space-between;
2021-01-07 03:50:12 +00:00
flex-wrap: wrap;
flex-grow: 2;
word-break: break-all;
2020-10-27 00:01:34 +00:00
}
2021-01-07 03:50:12 +00:00
.featureinfobox-back-to-the-map {
padding: 0.5em;
border-radius: 999em;
margin-right: 0.4em;
width: 2em;
height: 2em;
background: var(--subtle-detail-color);
flex-shrink: 0;
}
.featureinfobox-back-to-the-map svg {
width: 1.75em;
height: 1.75em;
margin-left: 0.15em;
margin-top: 0.15em
}
.featureinfobox-back-to-the-map svg path{
stroke: var(--subtle-detail-color-contrast) !important;
}
.featureinfobox-content {
2020-11-24 10:10:43 +00:00
display: block;
max-height: 75vh;
overflow-y: auto;
overflow-x: hidden;
2020-11-24 10:10:43 +00:00
padding-top: 1em;
}
2021-01-07 03:50:12 +00:00
@media only screen and (max-width: 600px), only screen and (max-height: 600px) {
.featureinfobox-content {
2021-01-07 03:50:12 +00:00
display: block;
max-height: unset !important;
overflow-y: auto;
}
}
2021-01-07 03:50:12 +00:00
@media only screen and (max-height: 600px) and (min-width: 600px) {
/* landscape mode: the first tagrendering of the infobox gets a special treatment and is placed on the right*/
.featureinfobox-content {
position: relative;
width: 100% !important;
max-width: unset !important;
max-height: unset !important;
height: 100vh;
}
2021-01-07 03:50:12 +00:00
.answer {
max-width: 48% !important;
padding-right: 0.3em;
box-sizing: border-box;
}
.question {
max-width: 48% !important;
padding-right: 0.3em;
box-sizing: border-box;
}
2021-01-07 03:50:12 +00:00
.first-rendering {
position: absolute;
left: 50%;
width: 94%;
padding-right: 0.3em;
box-sizing: border-box;
}
}
2020-10-27 00:01:34 +00:00
.answer {
display: flex;
width: 100%;
font-size: large;
justify-content: space-between;
word-break: break-word;
}
.question .form-text-field > input {
width: 100%;
box-sizing: border-box;
}
.question {
display: block;
margin-top: 1em;
background-color: var(--subtle-detail-color);
2020-11-14 02:26:09 +00:00
color: var(--subtle-detail-color-contrast);
2020-10-27 00:01:34 +00:00
padding: 1em;
border-radius: 1em;
font-size: larger;
}
2020-11-17 01:22:48 +00:00
.question svg {
width: 100%;
height: 100%;
}
.question a {
pointer-events: none;
text-decoration: none;
color: var(--subtle-detail-color-contrast)
}
2020-10-27 00:01:34 +00:00
.question-text {
font-size: larger;
font-weight: bold;
margin-bottom: 0.5em;
}
.question-text img {
max-width: 100%;
}
.question-subtext {
font-size: medium;
font-weight: normal;
}
.question-option-with-border {
border: 2px solid lightgray;
border-radius: 0.5em;
display: inline-block;
2020-11-02 18:54:32 +00:00
width: 100%;
2021-01-07 03:50:12 +00:00
margin: 0;
2020-11-02 18:54:32 +00:00
margin-left: -2em;
2020-10-27 00:01:34 +00:00
box-sizing: border-box;
padding: 0.5em;
2020-11-02 18:54:32 +00:00
padding-left: 2em;
2020-11-02 18:50:07 +00:00
}
2020-10-27 00:01:34 +00:00
input:checked + label .question-option-with-border {
2020-11-14 02:26:09 +00:00
border: 2px solid var(--subtle-detail-color-contrast);
2020-10-27 00:01:34 +00:00
}
.save {
display: inline-block;
2020-11-14 02:26:09 +00:00
border: solid var(--catch-detail-color-contrast) 2px;
background-color: var(--catch-detail-color);
2020-11-14 02:26:09 +00:00
color: var(--catch-detail-color-contrast);
2020-10-27 00:01:34 +00:00
padding: 0.2em 0.6em;
font-size: x-large;
font-weight: bold;
border-radius: 1.5em;
}
.cancel {
display: inline-block;
border: solid black 0.5px;
padding: 0.2em 0.3em;
border-radius: 1.5em;
}
.login-button-friendly {
display: inline-block;
2021-01-07 03:50:12 +00:00
background-color: var(--catch-detail-color);
color: var(--catch-detail-color-contrast);
2020-11-14 02:26:09 +00:00
border: solid var(--catch-detail-color-contrast) 2px;
2020-10-27 00:01:34 +00:00
padding: 0.2em 0.6em;
font-size: large;
font-weight: bold;
border-radius: 1.5em;
box-sizing: border-box;
width: 100%;
}
.save-non-active {
display: inline-block;
border: solid lightgrey 2px;
color: grey;
padding: 0.2em 0.3em;
font-size: x-large;
font-weight: bold;
border-radius: 1.5em;
2020-11-06 00:58:26 +00:00
}
.edit-button img {
width: 1.3em;
height: 1.3em;
padding: 0.5em;
border-radius: 0.65em;
border: solid var(--popup-border) 1px;
2020-11-06 00:58:26 +00:00
font-size: medium;
float: right;
}
.edit-button svg {
width: 1.3em;
height: 1.3em;
padding: 0.5em;
border-radius: 0.65em;
2020-11-14 02:26:09 +00:00
border: solid var(--foreground-color) 1px;
stroke: var(--foreground-color) !important;
fill: var(--foreground-color) !important;
font-size: medium;
float: right;
}
2021-01-07 03:50:12 +00:00
.edit-button svg path {
2020-11-14 02:26:09 +00:00
stroke: var(--foreground-color) !important;
fill: var(--foreground-color) !important;
2021-01-07 03:50:12 +00:00
}
.to-the-map span {
font-size: xx-large;
}
.to-the-map {
background: var(--catch-detail-color);
height: var(--return-to-the-map-height);
color: var(--catch-detail-color-contrast);
font-weight: bold;
pointer-events: all;
cursor: pointer;
padding-top: 0.4em;
text-align: center;
box-sizing: border-box;
display: block;
2021-01-07 04:10:27 +00:00
max-height: var(--return-to-the-map-height);
position: fixed;
width: 100vw;
bottom: 0;
2021-01-07 03:50:12 +00:00
}
.to-the-map-inner{
font-size: xx-large;
}