2021-10-02 11:57:08 +02:00
|
|
|
#main_results #results.image-detail-open.only_template_images {
|
2021-11-19 10:32:42 +01:00
|
|
|
width: min(98%, 59.25rem) !important;
|
2021-10-02 11:57:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#main_results #results.only_template_images.image-detail-open #backToTop {
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-left(56.75rem) !important;
|
|
|
|
.ltr-right(inherit);
|
2021-10-02 11:57:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
article.result-images .detail {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#results.image-detail-open article.result-images[data-vim-selected] .detail {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: fixed;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-left(60rem);
|
|
|
|
.ltr-right(0);
|
2021-10-28 16:14:34 +02:00
|
|
|
top: @search-height;
|
2021-10-31 10:57:06 +01:00
|
|
|
transition: top 0.064s ease-in 0s;
|
2021-10-02 11:57:08 +02:00
|
|
|
bottom: 0;
|
|
|
|
background: var(--color-result-detail-background);
|
|
|
|
border: 1px solid var(--color-result-detail-background);
|
|
|
|
z-index: 10000;
|
|
|
|
padding: 4rem 3rem 3rem 3rem;
|
|
|
|
|
|
|
|
a.result-images-source {
|
|
|
|
display: block;
|
|
|
|
flex: 1;
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
img {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
object-fit: contain;
|
|
|
|
width: inherit;
|
|
|
|
max-width: 100%;
|
|
|
|
min-height: inherit;
|
|
|
|
max-height: calc(100vh - 25rem - 7rem);
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.result-images-labels {
|
|
|
|
color: var(--color-result-detail-font);
|
|
|
|
max-height: 16rem;
|
|
|
|
min-height: 16rem;
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-top: 1px solid var(--color-result-detail-hr);
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
height: 2rem;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
color: var(--color-result-detail-label-font);
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
width: 12rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
p,
|
|
|
|
a {
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-text-align-left();
|
2021-10-02 11:57:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
p.result-content {
|
|
|
|
height: 2rem;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.result-url {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.result-content:hover,
|
|
|
|
p.result-url:hover {
|
|
|
|
position: relative;
|
|
|
|
overflow: inherit !important;
|
|
|
|
background: var(--color-result-detail-background);
|
|
|
|
text-overflow: inherit !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
|
|
|
a:visited,
|
|
|
|
a:hover,
|
|
|
|
a:active {
|
|
|
|
color: var(--color-result-detail-link);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.result-detail-close {
|
|
|
|
top: 1rem;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-left(1rem);
|
2021-10-02 11:57:08 +02:00
|
|
|
padding: 0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.result-detail-previous {
|
|
|
|
top: 1rem;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-right(6rem);
|
2021-10-02 11:57:08 +02:00
|
|
|
// center the icon by moving it slightly on the left
|
2022-01-13 21:36:08 +01:00
|
|
|
padding-top: 0.4rem;
|
|
|
|
.ltr-padding-right(0.5rem);
|
|
|
|
padding-bottom: 0.4rem;
|
|
|
|
.ltr-padding-left(0.3rem);
|
2021-10-02 11:57:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a.result-detail-next {
|
|
|
|
top: 1rem;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-right(2rem);
|
2021-10-02 11:57:08 +02:00
|
|
|
padding: 0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.result-detail-close,
|
|
|
|
a.result-detail-next,
|
|
|
|
a.result-detail-previous {
|
|
|
|
border-radius: 50%;
|
|
|
|
display: block;
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
position: absolute;
|
|
|
|
filter: opacity(40%);
|
|
|
|
z-index: 2000002;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.result-detail-next,
|
|
|
|
a.result-detail-previous {
|
|
|
|
span::before {
|
|
|
|
// vertical center small icons
|
|
|
|
vertical-align: sub;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.result-detail-close,
|
|
|
|
a.result-detail-close:visited,
|
|
|
|
a.result-detail-close:hover,
|
|
|
|
a.result-detail-close:active,
|
|
|
|
a.result-detail-previous,
|
|
|
|
a.result-detail-previous:visited,
|
|
|
|
a.result-detail-previous:hover,
|
|
|
|
a.result-detail-previous:active,
|
|
|
|
a.result-detail-next,
|
|
|
|
a.result-detail-next:visited,
|
|
|
|
a.result-detail-next:hover,
|
|
|
|
a.result-detail-next:active {
|
|
|
|
color: var(--color-result-detail-font);
|
|
|
|
background: var(--color-result-detail-background);
|
|
|
|
border: 1px solid var(--color-result-detail-font);
|
|
|
|
}
|
|
|
|
|
|
|
|
a.result-detail-close:focus,
|
|
|
|
a.result-detail-close:hover,
|
|
|
|
a.result-detail-previous:focus,
|
|
|
|
a.result-detail-previous:hover,
|
|
|
|
a.result-detail-next:focus,
|
|
|
|
a.result-detail-next:hover {
|
|
|
|
filter: opacity(80%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.loader {
|
|
|
|
position: absolute;
|
|
|
|
top: 1rem;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-right(50%);
|
2021-10-02 11:57:08 +02:00
|
|
|
border-top: 0.5em solid var(--color-result-detail-loader-border);
|
|
|
|
border-right: 0.5em solid var(--color-result-detail-loader-border);
|
|
|
|
border-bottom: 0.5em solid var(--color-result-detail-loader-border);
|
|
|
|
border-left: 0.5em solid var(--color-result-detail-loader-borderleft);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#results.image-detail-open.scrolling article.result-images[data-vim-selected] .detail {
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
a.result-images-source img {
|
|
|
|
max-height: calc(100vh - 25rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: @tablet) {
|
|
|
|
#results.image-detail-open article.result-images[data-vim-selected] .detail {
|
|
|
|
top: 0;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-left(0);
|
2021-10-02 11:57:08 +02:00
|
|
|
|
|
|
|
a.result-images-source {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
max-height: calc(100vh - 24rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.result-detail-next {
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-right(1rem);
|
2021-10-02 11:57:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: @phone) {
|
|
|
|
#results.image-detail-open article.result-images[data-vim-selected] .detail {
|
|
|
|
top: 0;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-left(0);
|
2021-10-02 11:57:08 +02:00
|
|
|
padding: 1rem;
|
|
|
|
|
|
|
|
a.result-images-source img {
|
|
|
|
width: 100%;
|
|
|
|
max-height: calc(100vh - 20rem);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.result-images-labels p span {
|
|
|
|
width: inherit;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-margin-right(1rem);
|
2021-10-02 11:57:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|