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

341 lines
5.5 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 {
padding: 0 0 20px;
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: 20px;
padding-left: 0;
}
.map-concept {
width: 100%;
}
}
}
}
.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;
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 {
padding: 0 0 20px;
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 {
display: flex;
flex-flow: column;
padding-left: 20px;
a {
color: #5352ed;
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;
gap: 10px;
padding: 20px 20px 20px 0;
display: none;
svg {
@include basicIconButton(11px, 1.3rem, ui);
}
}