mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
112 lines
1.9 KiB
SCSS
112 lines
1.9 KiB
SCSS
![]() |
$small-break: 600px;
|
||
|
@mixin small(){
|
||
|
@media screen and (max-width: $small-break) {
|
||
|
@content;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.posts-list .post-thumbnail{
|
||
|
flex-grow: 0;
|
||
|
flex-shrink: 0;
|
||
|
margin-right: 10px;
|
||
|
@include small {
|
||
|
margin: 0 0 0 10px;
|
||
|
float: right;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.post-thumbnail-link{
|
||
|
display: block;
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
width: 80px;
|
||
|
@include small{
|
||
|
width: 60px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.post-thumbnail-image{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.post-thumbnail-has-video:after{
|
||
|
content: '‣';
|
||
|
font-size: 40px;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
height: 36px;
|
||
|
width: 36px;
|
||
|
margin: -18px 0 0 -18px;
|
||
|
line-height: 38px;
|
||
|
text-align: center;
|
||
|
color: white;
|
||
|
display: block;
|
||
|
z-index: 10;
|
||
|
text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
|
||
|
background: rgba(0,0,0,0.4);
|
||
|
border: 2px solid rgba(255,255,255,0.8);
|
||
|
border-radius: 100%;
|
||
|
@include small{
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
.post-video-lightbox{
|
||
|
position: fixed;
|
||
|
background: rgba(0,0,0,0.7);
|
||
|
top: 0px;
|
||
|
bottom: 0px;
|
||
|
left: 0px;
|
||
|
right: 0px;
|
||
|
z-index: 10000;
|
||
|
}
|
||
|
.post-video-lightbox-inner{
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
-webkit-transform:translate(-50%, -50%);
|
||
|
-moz-transform:translate(-50%, -50%);
|
||
|
transform: translate(-50%, -50%);
|
||
|
z-index: 20000;
|
||
|
}
|
||
|
.post-video-lightbox-hide, .post-video-lightbox-hide:link, .post-video-lightbox-hide:visited, .post-video-lightbox-hide:hover{
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
top: 20px;
|
||
|
right: 20px;
|
||
|
height: 40px;
|
||
|
width: 40px;
|
||
|
color: white;
|
||
|
font-size: 40px;
|
||
|
text-align: center;
|
||
|
line-height: 40px;
|
||
|
}
|
||
|
|
||
|
.post-thumbnail-container{
|
||
|
position: relative;
|
||
|
}
|
||
|
.post-thumbnail-preview{
|
||
|
background: #eee;
|
||
|
}
|
||
|
|
||
|
.post-thumbnail-loading{
|
||
|
display: none;
|
||
|
position: absolute;
|
||
|
z-index: 100;
|
||
|
top: 0px;
|
||
|
left: 0px;
|
||
|
bottom: 0px;
|
||
|
right: 0px;
|
||
|
.loading & {
|
||
|
background: rgba(255,255,255,0.4);
|
||
|
display: block;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.regenerate-thumbnail-link{
|
||
|
margin-right: 10px;
|
||
|
}
|