2019-03-22 11:52:06 -04:00
|
|
|
$meta-element-margin: 6px;
|
|
|
|
|
2018-12-13 02:17:08 -05:00
|
|
|
.lightbox-wrapper .lightbox {
|
2013-09-05 15:37:07 -04:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2018-12-14 17:44:38 -05:00
|
|
|
overflow: hidden;
|
2013-09-05 15:37:07 -04:00
|
|
|
&:hover .meta {
|
2018-08-28 15:25:54 -04:00
|
|
|
opacity: 0.9;
|
2018-06-08 05:49:31 -04:00
|
|
|
transition: opacity 0.5s;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2018-12-10 15:44:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-lazyload-hidden {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2020-07-22 10:38:35 -04:00
|
|
|
.onebox img.d-lazyload-hidden:not(.ytp-thumbnail-image) {
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 1px solid var(--primary-low);
|
2018-12-21 11:29:29 -05:00
|
|
|
}
|
|
|
|
|
2021-04-22 14:05:48 -04:00
|
|
|
.cooked img.d-lazyload:not(.animated) {
|
2018-12-10 15:44:38 -05:00
|
|
|
transition: opacity 0.4s 0.75s ease;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2013-12-12 10:57:56 -05:00
|
|
|
.lightbox-wrapper {
|
|
|
|
display: inline-block;
|
2018-12-11 06:23:39 -05:00
|
|
|
img {
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: top;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
&,
|
|
|
|
* {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2013-12-12 10:57:56 -05:00
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.meta {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--secondary);
|
|
|
|
background: var(--primary);
|
2013-09-05 15:37:07 -04:00
|
|
|
opacity: 0;
|
2018-06-08 05:49:31 -04:00
|
|
|
transition: opacity 0.2s;
|
2019-03-22 11:52:06 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2013-09-05 15:37:07 -04:00
|
|
|
|
|
|
|
.filename {
|
2019-03-22 11:52:06 -04:00
|
|
|
margin: $meta-element-margin;
|
2019-11-06 14:00:29 -05:00
|
|
|
@include ellipsis;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2019-03-22 11:52:06 -04:00
|
|
|
.d-icon {
|
|
|
|
margin: $meta-element-margin;
|
|
|
|
opacity: 0.8;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--secondary);
|
2019-03-22 11:52:06 -04:00
|
|
|
+ .filename {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.informations {
|
2019-03-22 11:52:06 -04:00
|
|
|
margin: $meta-element-margin;
|
2013-09-05 15:37:07 -04:00
|
|
|
padding-right: 20px;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--secondary-high);
|
2022-10-12 09:31:59 -04:00
|
|
|
font-size: var(--font-0);
|
2019-03-22 11:52:06 -04:00
|
|
|
flex-shrink: 0;
|
|
|
|
flex-grow: 3;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
2019-04-17 13:24:03 -04:00
|
|
|
|
|
|
|
.mfp-preloader .spinner {
|
|
|
|
margin: auto;
|
|
|
|
}
|
2019-11-26 09:06:30 -05:00
|
|
|
|
2019-11-28 04:51:08 -05:00
|
|
|
.discourse-no-touch {
|
2020-08-04 10:43:18 -04:00
|
|
|
a.lightbox {
|
|
|
|
transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
|
|
}
|
2019-11-26 09:06:30 -05:00
|
|
|
|
2020-08-04 10:43:18 -04:00
|
|
|
a.lightbox:hover {
|
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: 0 2px 5px 0 rgba(var(--always-black-rgb), 0.2),
|
|
|
|
0 2px 10px 0 rgba(var(--always-black-rgb), 0.2);
|
2019-11-26 09:06:30 -05:00
|
|
|
}
|
|
|
|
}
|