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

396 lines
6.3 KiB
SCSS
Raw Normal View History

@import 'scss/variables';
.photoInformationHolder {
position: absolute;
bottom: 1rem;
left: 1rem;
flex-flow: column-reverse;
display: flex;
&:hover {
.photoInformation {
height: auto;
align-items: flex-start;
flex-flow: column;
.concept-buttons {
2022-11-12 01:37:50 +00:00
padding: 30px 0 0 0;
display: flex;
}
.extra-content {
display: flex;
flex-flow: column;
gap: 10px;
transition: 0.8s;
}
.concept-stats {
display: flex;
2022-11-13 19:17:08 +00:00
padding-top: 5px;
2022-11-12 01:37:50 +00:00
gap: 20px;
@include themed() {
color: t($subColor);
}
div {
display: flex;
align-items: center;
align-content: center;
flex-direction: row;
2022-11-12 01:37:50 +00:00
gap: 5px;
svg {
font-size: 1em;
}
}
}
.concept-copyright {
display: flex;
margin-top: 10px;
gap: 10px;
a {
text-decoration: none;
@include themed() {
color: t($subColor);
}
}
}
.photoInformation-content {
padding: 20px;
padding-left: 0;
}
.map-concept {
width: 100%;
}
}
}
}
2022-11-13 19:17:08 +00:00
.mapOn {
width: 100%;
height: 150px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
img {
flex-shrink: 0;
min-width: 100%;
min-height: 100%;
}
svg {
display: none;
}
2022-11-13 19:17:08 +00:00
}
.photoInformation-legacy {
font-size: 1.36em;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
color: #fff;
2021-03-20 12:05:14 +00:00
z-index: 99;
user-select: none;
cursor: initial;
font-weight: bolder;
2020-11-29 14:32:08 +00:00
svg {
font-size: 1.36em;
}
2020-11-29 14:32:08 +00:00
&:hover .infoCard {
display: block !important;
}
2020-11-29 14:32:08 +00:00
display: flex;
align-items: center;
gap: 15px;
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,
.MuiSvgIcon-root {
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
}
.photoInformation {
@extend %basic;
2022-11-16 08:44:10 +00:00
animation: fadeIn 2s;
min-width: 300px;
font-size: 0.8em;
font-weight: 300;
z-index: 99;
display: flex;
flex-flow: row;
align-items: center;
transition: 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
// width: 300px;
padding: 10px;
2022-04-13 21:15:07 +00:00
.link {
text-decoration: none;
cursor: pointer;
@include themed() {
color: t($link);
}
&:hover {
opacity: 0.8;
2022-04-13 21:15:07 +00:00
}
}
&:hover {
padding: 20px;
height: auto;
align-items: flex-start;
flex-flow: column;
.concept-buttons {
2022-11-12 01:37:50 +00:00
padding: 30px 0 0 0;
display: flex;
}
.extra-content {
display: flex;
flex-flow: column;
gap: 10px;
transition: 0.8s;
}
.concept-stats {
display: flex;
gap: 15px;
@include themed() {
color: t($subColor);
}
div {
display: flex;
align-items: center;
align-content: center;
flex-direction: row;
gap: 10px;
svg {
font-size: 1em;
}
}
}
.concept-copyright {
display: flex;
margin-top: 10px;
gap: 10px;
a {
text-decoration: none;
@include themed() {
color: t($subColor);
}
}
}
.photoInformation-content {
padding-left: 0;
}
.map-concept {
width: 100%;
}
}
.map-concept {
@extend %basic;
height: 50px;
width: 50px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
border: none !important;
svg {
font-size: 24px;
}
img {
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: cover;
object-fit: cover;
border-radius: 12px;
}
}
.concept-location {
font-size: 1.9em;
}
.concept-credit {
font-size: 1.4em;
@include themed() {
color: t($subColor);
}
a {
@include themed() {
color: t($subColor);
}
&:nth-child(2) {
color: var(--modal-link);
}
}
}
}
.photoInformation-content {
2022-11-13 19:17:08 +00:00
line-height: 2em;
2022-08-23 21:08:18 +00:00
margin-right: 3px;
display: flex;
flex-flow: column;
padding-left: 20px;
a {
2022-11-12 01:37:50 +00:00
@include themed() {
color: t($link);
}
text-decoration: none;
&:hover {
opacity: 0.9;
}
}
}
.extra-content {
display: none;
flex-flow: column;
width: 100%;
transition: 1s;
.concept-row {
display: flex;
align-items: center;
gap: 20px;
svg {
@include themed() {
color: t($subColor);
font-size: 18px;
}
}
}
}
.concept-copyright {
display: none;
}
.concept-stats {
display: none;
}
.concept-buttons {
align-items: center;
2022-11-12 01:37:50 +00:00
gap: 20px;
padding: 20px 20px 0 0;
display: none;
svg {
@include basicIconButton(11px, 1.3rem, ui);
}
}
2022-11-16 08:44:10 +00:00
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
2023-01-21 12:10:40 +00:00
.photoMap {
img {
height: 50px !important;
width: 50px !important;
}
a {
height: 50px;
}
}
.photoInformation:hover {
.photoMap {
height: auto !important;
img {
height: auto !important;
width: auto !important;
}
a {
height: auto !important;
}
}
}