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