mue/src/components/widgets/background/scss/_photoinformation.scss

120 lines
1.7 KiB
SCSS
Raw Normal View History

2020-11-29 14:32:08 +00:00
.photoInformation {
position: absolute;
bottom: 1rem;
left: 1rem;
font-size: calc(10px + 0.1vmin) !important;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
2021-03-20 12:05:14 +00:00
z-index: 99;
user-select: none;
cursor: initial;
2020-11-29 14:32:08 +00:00
svg {
float: left;
margin-right: 1rem;
font-size: calc(10px + 2vmin);
cursor: pointer;
}
2020-11-29 14:32:08 +00:00
svg,
h1 {
display: inline;
}
2020-11-29 14:32:08 +00:00
svg:hover+.infoCard {
display: block;
}
2021-04-27 13:52:04 +00:00
a {
color: white;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
2020-11-29 14:32:08 +00:00
}
.infoCard {
display: none;
2021-03-20 16:29:21 +00:00
background: var(--background);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
2021-03-20 16:29:21 +00:00
color: var(--modal-text);
position: fixed;
2021-04-16 11:50:28 +00:00
bottom: 2.9rem;
left: 0.7em;
padding: 1rem;
border-radius: 24px 24px 24px 0;
width: 300px !important;
text-align: left;
text-shadow: none;
2020-11-29 14:32:08 +00:00
svg {
margin-right: 0.5rem;
vertical-align: middle;
display: inline-flex;
padding: 2px;
}
2020-11-29 14:32:08 +00:00
.locationMap {
height: 100px;
object-fit: cover;
width: 100%;
background-position: center center;
background-repeat: no-repeat;
}
.mapboxLogo {
height: 20px;
width: auto;
}
span,
svg {
font-size: 2em;
}
2020-11-29 14:32:08 +00:00
span {
user-select: text;
}
h1,
2022-04-07 20:49:43 +00:00
svg {
user-select: none;
cursor: initial;
}
h1,
.infoIcon {
font-size: 3em;
}
2020-11-29 14:32:08 +00:00
.infoIcon {
padding: 4px;
}
2020-11-29 14:32:08 +00:00
hr {
height: 3px;
2021-03-20 16:29:21 +00:00
background: var(--photo-info);
outline: none;
border: none;
}
2020-11-29 14:32:08 +00:00
&:hover,
2021-04-21 18:35:33 +00:00
span {
display: block !important;
}
2021-04-07 09:57:28 +00:00
.download {
text-decoration: underline;
2021-04-07 09:57:28 +00:00
cursor: pointer;
&:hover {
opacity: 0.8;
}
}
.mapCopyright {
font-size: 0.9em;
}
2021-04-16 11:39:51 +00:00
}