|
|
|
@ -23,6 +23,8 @@
@@ -23,6 +23,8 @@
|
|
|
|
|
&-author { |
|
|
|
|
height: 100%; |
|
|
|
|
cursor: pointer; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
|
margin-left: 1.5rem; |
|
|
|
@ -30,9 +32,7 @@
@@ -30,9 +32,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&-userpic { |
|
|
|
|
position: absolute; |
|
|
|
|
top: .5rem; |
|
|
|
|
left: 1.25rem; |
|
|
|
|
margin-right: 1rem; |
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
|
display: none; |
|
|
|
@ -43,6 +43,10 @@
@@ -43,6 +43,10 @@
|
|
|
|
|
line-height: var(--line-height); |
|
|
|
|
font-weight: 500; |
|
|
|
|
margin: .0625rem 0; |
|
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) { |
|
|
|
|
margin: .0625rem 0 .125rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&-date { |
|
|
|
@ -56,7 +60,7 @@
@@ -56,7 +60,7 @@
|
|
|
|
|
right: 0; |
|
|
|
|
display: flex; |
|
|
|
|
flex-flow: row nowrap; |
|
|
|
|
padding: .5rem; |
|
|
|
|
padding: .5rem .75rem; |
|
|
|
|
|
|
|
|
|
.btn-icon { |
|
|
|
|
margin: 0 .25rem; |
|
|
|
@ -220,7 +224,10 @@
@@ -220,7 +224,10 @@
|
|
|
|
|
overflow: hidden; |
|
|
|
|
transform: translateZ(0) scale3d(1, 1, 1); |
|
|
|
|
border-radius: 0; |
|
|
|
|
-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); // fix border-radius overflow |
|
|
|
|
|
|
|
|
|
&:not(.center) { |
|
|
|
|
-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); // fix border-radius overflow |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// эти значения должны быть такими же, как при установке maxWidth и maxHeight в openMedia! |
|
|
|
|
//max-width: 100%; |
|
|
|
@ -300,13 +307,13 @@
@@ -300,13 +307,13 @@
|
|
|
|
|
top: 50% !important; |
|
|
|
|
transform: translate3d(-50%, -50%, 0) !important; |
|
|
|
|
max-width: calc(100vw - 16px); |
|
|
|
|
max-height: calc((var(--vh, 1vh) * 100) - 100px); |
|
|
|
|
max-height: calc((var(--vh, 1vh) * 100) - 120px); |
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
|
width: 100% !important; |
|
|
|
|
height: 100% !important; |
|
|
|
|
max-width: 100vw !important; |
|
|
|
|
max-height: 100vh !important; |
|
|
|
|
// max-height: 100vh !important; |
|
|
|
|
// TODO: max-height: calc((var(--vh, 1vh) * 100)); |
|
|
|
|
//height: calc(100% - 100px) !important; |
|
|
|
|
/* height: calc(100% - 50px) !important; |
|
|
|
@ -320,15 +327,12 @@
@@ -320,15 +327,12 @@
|
|
|
|
|
max-height: calc(100% - 100px); |
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
/* .ckin__player:not(.ckin__fullscreen) { |
|
|
|
|
.default__controls { |
|
|
|
|
bottom: -50px; |
|
|
|
|
.ckin__player:not(.ckin__fullscreen) { |
|
|
|
|
.default__controls/* , |
|
|
|
|
.default__gradient-bottom */ { |
|
|
|
|
bottom: -61px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.default__gradient-bottom { |
|
|
|
|
bottom: -50px; |
|
|
|
|
} |
|
|
|
|
} */ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* @include respond-to(handhelds) { |
|
|
|
@ -341,9 +345,10 @@
@@ -341,9 +345,10 @@
|
|
|
|
|
} |
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
img:not(.thumbnail), video { |
|
|
|
|
height: auto; |
|
|
|
|
width: auto; |
|
|
|
|
img:not(.thumbnail), |
|
|
|
|
video { |
|
|
|
|
/* height: auto; |
|
|
|
|
width: auto; */ |
|
|
|
|
object-fit: contain; |
|
|
|
|
//max-height: calc(100% - 100px); |
|
|
|
|
} |
|
|
|
@ -361,6 +366,12 @@
@@ -361,6 +366,12 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&-appear { |
|
|
|
|
opacity: 0; |
|
|
|
|
visibility: hidden; |
|
|
|
|
transition: opacity var(--open-duration) 0s, visibility 0s var(--open-duration); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&-topbar { |
|
|
|
|
position: absolute; |
|
|
|
@ -372,7 +383,7 @@
@@ -372,7 +383,7 @@
|
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
z-index: 5; |
|
|
|
|
padding: 0 .5rem; |
|
|
|
|
padding: 0 1.25rem; |
|
|
|
|
|
|
|
|
|
.btn-icon, .media-viewer-author { |
|
|
|
|
color: #8b8b8b; |
|
|
|
@ -392,12 +403,13 @@
@@ -392,12 +403,13 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
|
padding: 0 .5rem; |
|
|
|
|
// transform: translateY(-3.5rem); |
|
|
|
|
// background: rgba(0, 0, 0, .2); |
|
|
|
|
|
|
|
|
|
@include animation-level(2) { |
|
|
|
|
/* @include animation-level(2) { |
|
|
|
|
transition: transform var(--open-duration) ease-in-out; |
|
|
|
|
} |
|
|
|
|
} */ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -442,7 +454,8 @@
@@ -442,7 +454,8 @@
|
|
|
|
|
visibility: visible; |
|
|
|
|
transition-delay: 0s; |
|
|
|
|
|
|
|
|
|
.overlays/* , |
|
|
|
|
.overlays, |
|
|
|
|
.media-viewer-appear/* , |
|
|
|
|
> .btn-icon */ { |
|
|
|
|
opacity: 1; |
|
|
|
|
visibility: visible; |
|
|
|
|