mirror of https://github.com/IoTcat/ushio-img.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
635 lines
12 KiB
635 lines
12 KiB
4 years ago
|
body.compensate-for-scrollbar {
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.fancybox-active {
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.fancybox-is-hidden {
|
||
|
left: -9999px;
|
||
|
margin: 0;
|
||
|
position: absolute !important;
|
||
|
top: -9999px;
|
||
|
visibility: hidden;
|
||
|
}
|
||
|
|
||
|
.fancybox-container {
|
||
|
backface-visibility: hidden;
|
||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
|
||
|
'Segoe UI Emoji', 'Segoe UI Symbol';
|
||
|
height: 100%;
|
||
|
left: 0;
|
||
|
position: fixed;
|
||
|
-webkit-tap-highlight-color: transparent;
|
||
|
top: 0;
|
||
|
transform: translateZ(0);
|
||
|
width: 100%;
|
||
|
z-index: 99992;
|
||
|
}
|
||
|
|
||
|
.fancybox-container * {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.fancybox-outer,
|
||
|
.fancybox-inner,
|
||
|
.fancybox-bg,
|
||
|
.fancybox-stage {
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
}
|
||
|
|
||
|
.fancybox-outer {
|
||
|
-webkit-overflow-scrolling: touch;
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
|
||
|
.fancybox-bg {
|
||
|
background: rgb(30, 30, 30);
|
||
|
opacity: 0;
|
||
|
transition-duration: inherit;
|
||
|
transition-property: opacity;
|
||
|
transition-timing-function: cubic-bezier(.47, 0, .74, .71);
|
||
|
}
|
||
|
|
||
|
.fancybox-is-open .fancybox-bg {
|
||
|
opacity: .87;
|
||
|
transition-timing-function: cubic-bezier(.22, .61, .36, 1);
|
||
|
}
|
||
|
|
||
|
.fancybox-infobar,
|
||
|
.fancybox-toolbar,
|
||
|
.fancybox-caption,
|
||
|
.fancybox-navigation .fancybox-button {
|
||
|
direction: ltr;
|
||
|
opacity: 0;
|
||
|
position: absolute;
|
||
|
transition: opacity .25s, visibility 0s linear .25s;
|
||
|
visibility: hidden;
|
||
|
z-index: 99997;
|
||
|
}
|
||
|
|
||
|
.fancybox-show-infobar .fancybox-infobar,
|
||
|
.fancybox-show-toolbar .fancybox-toolbar,
|
||
|
.fancybox-show-caption .fancybox-caption,
|
||
|
.fancybox-show-nav .fancybox-navigation .fancybox-button {
|
||
|
opacity: 1;
|
||
|
transition: opacity .25s, visibility 0s;
|
||
|
visibility: visible;
|
||
|
}
|
||
|
|
||
|
.fancybox-infobar {
|
||
|
color: #ccc;
|
||
|
font-size: 13px;
|
||
|
-webkit-font-smoothing: subpixel-antialiased;
|
||
|
height: 44px;
|
||
|
left: 0;
|
||
|
line-height: 44px;
|
||
|
min-width: 44px;
|
||
|
mix-blend-mode: difference;
|
||
|
padding: 0 10px;
|
||
|
pointer-events: none;
|
||
|
text-align: center;
|
||
|
top: 0;
|
||
|
-webkit-touch-callout: none;
|
||
|
user-select: none;
|
||
|
}
|
||
|
|
||
|
.fancybox-toolbar {
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
}
|
||
|
|
||
|
.fancybox-stage {
|
||
|
direction: ltr;
|
||
|
overflow: visible;
|
||
|
-webkit-transform: translate3d(0, 0, 0);
|
||
|
z-index: 99994;
|
||
|
}
|
||
|
|
||
|
.fancybox-is-open .fancybox-stage {
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide {
|
||
|
backface-visibility: hidden;
|
||
|
display: none;
|
||
|
height: 100%;
|
||
|
left: 0;
|
||
|
outline: none;
|
||
|
overflow: auto;
|
||
|
-webkit-overflow-scrolling: touch;
|
||
|
padding: 44px;
|
||
|
position: absolute;
|
||
|
text-align: center;
|
||
|
top: 0;
|
||
|
transition-property: transform, opacity;
|
||
|
white-space: normal;
|
||
|
width: 100%;
|
||
|
z-index: 99994;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide::before {
|
||
|
content: '';
|
||
|
display: inline-block;
|
||
|
height: 100%;
|
||
|
margin-right: -.25em;
|
||
|
vertical-align: middle;
|
||
|
width: 0;
|
||
|
}
|
||
|
|
||
|
.fancybox-is-sliding .fancybox-slide,
|
||
|
.fancybox-slide--previous,
|
||
|
.fancybox-slide--current,
|
||
|
.fancybox-slide--next {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--next {
|
||
|
z-index: 99995;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--image {
|
||
|
overflow: visible;
|
||
|
padding: 44px 0;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--image::before {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--html {
|
||
|
padding: 6px 6px 0 6px;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--iframe {
|
||
|
padding: 44px 44px 0;
|
||
|
}
|
||
|
|
||
|
.fancybox-content {
|
||
|
background: #fff;
|
||
|
display: inline-block;
|
||
|
margin: 0 0 6px 0;
|
||
|
max-width: 100%;
|
||
|
overflow: auto;
|
||
|
padding: 0;
|
||
|
padding: 24px;
|
||
|
position: relative;
|
||
|
text-align: left;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--image .fancybox-content {
|
||
|
animation-timing-function: cubic-bezier(.5, 0, .14, 1);
|
||
|
backface-visibility: hidden;
|
||
|
background: transparent;
|
||
|
background-repeat: no-repeat;
|
||
|
background-size: 100% 100%;
|
||
|
left: 0;
|
||
|
margin: 0;
|
||
|
max-width: none;
|
||
|
overflow: visible;
|
||
|
padding: 0;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
transform-origin: top left;
|
||
|
transition-property: transform, opacity;
|
||
|
user-select: none;
|
||
|
z-index: 99995;
|
||
|
}
|
||
|
|
||
|
.fancybox-can-zoomOut .fancybox-content {
|
||
|
cursor: zoom-out;
|
||
|
}
|
||
|
|
||
|
.fancybox-can-zoomIn .fancybox-content {
|
||
|
cursor: zoom-in;
|
||
|
}
|
||
|
|
||
|
.fancybox-can-drag .fancybox-content {
|
||
|
cursor: grab;
|
||
|
}
|
||
|
|
||
|
.fancybox-is-dragging .fancybox-content {
|
||
|
cursor: grabbing;
|
||
|
}
|
||
|
|
||
|
.fancybox-container [data-selectable='true'] {
|
||
|
cursor: text;
|
||
|
}
|
||
|
|
||
|
.fancybox-image,
|
||
|
.fancybox-spaceball {
|
||
|
background: transparent;
|
||
|
border: 0;
|
||
|
height: 100%;
|
||
|
left: 0;
|
||
|
margin: 0;
|
||
|
max-height: none;
|
||
|
max-width: none;
|
||
|
padding: 0;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
user-select: none;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.fancybox-spaceball {
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--html .fancybox-content {
|
||
|
margin-bottom: 6px;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--video .fancybox-content,
|
||
|
.fancybox-slide--map .fancybox-content,
|
||
|
.fancybox-slide--iframe .fancybox-content {
|
||
|
height: 100%;
|
||
|
margin: 0;
|
||
|
overflow: visible;
|
||
|
padding: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--video .fancybox-content {
|
||
|
background: #000;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--map .fancybox-content {
|
||
|
background: #e5e3df;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--iframe .fancybox-content {
|
||
|
background: #fff;
|
||
|
height: calc(100% - 44px);
|
||
|
margin-bottom: 44px;
|
||
|
}
|
||
|
|
||
|
.fancybox-video,
|
||
|
.fancybox-iframe {
|
||
|
background: transparent;
|
||
|
border: 0;
|
||
|
height: 100%;
|
||
|
margin: 0;
|
||
|
overflow: hidden;
|
||
|
padding: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.fancybox-iframe {
|
||
|
vertical-align: top;
|
||
|
}
|
||
|
|
||
|
.fancybox-error {
|
||
|
background: #fff;
|
||
|
cursor: default;
|
||
|
max-width: 400px;
|
||
|
padding: 40px;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.fancybox-error p {
|
||
|
color: #444;
|
||
|
font-size: 16px;
|
||
|
line-height: 20px;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
/* Buttons */
|
||
|
|
||
|
.fancybox-button {
|
||
|
background: rgba(30, 30, 30, .6);
|
||
|
border: 0;
|
||
|
border-radius: 0;
|
||
|
cursor: pointer;
|
||
|
display: inline-block;
|
||
|
height: 44px;
|
||
|
margin: 0;
|
||
|
outline: none;
|
||
|
padding: 10px;
|
||
|
transition: color .2s;
|
||
|
vertical-align: top;
|
||
|
width: 44px;
|
||
|
}
|
||
|
|
||
|
.fancybox-button,
|
||
|
.fancybox-button:visited,
|
||
|
.fancybox-button:link {
|
||
|
color: #ccc;
|
||
|
}
|
||
|
|
||
|
.fancybox-button:focus,
|
||
|
.fancybox-button:hover {
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.fancybox-button.disabled,
|
||
|
.fancybox-button.disabled:hover,
|
||
|
.fancybox-button[disabled],
|
||
|
.fancybox-button[disabled]:hover {
|
||
|
color: #888;
|
||
|
cursor: default;
|
||
|
}
|
||
|
|
||
|
.fancybox-button svg {
|
||
|
display: block;
|
||
|
overflow: visible;
|
||
|
position: relative;
|
||
|
shape-rendering: geometricPrecision;
|
||
|
}
|
||
|
|
||
|
.fancybox-button svg path {
|
||
|
fill: transparent;
|
||
|
stroke: currentColor;
|
||
|
stroke-linejoin: round;
|
||
|
stroke-width: 3;
|
||
|
}
|
||
|
|
||
|
.fancybox-button--play svg path:nth-child(2) {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.fancybox-button--pause svg path:nth-child(1) {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.fancybox-button--play svg path,
|
||
|
.fancybox-button--share svg path,
|
||
|
.fancybox-button--thumbs svg path {
|
||
|
fill: currentColor;
|
||
|
}
|
||
|
|
||
|
.fancybox-button--share svg path {
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
/* Navigation arrows */
|
||
|
|
||
|
.fancybox-navigation .fancybox-button {
|
||
|
height: 38px;
|
||
|
opacity: 0;
|
||
|
padding: 6px;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
width: 38px;
|
||
|
}
|
||
|
|
||
|
.fancybox-show-nav .fancybox-navigation .fancybox-button {
|
||
|
transition: opacity .25s, visibility 0s, color .25s;
|
||
|
}
|
||
|
|
||
|
.fancybox-navigation .fancybox-button::after {
|
||
|
content: '';
|
||
|
left: -25px;
|
||
|
padding: 50px;
|
||
|
position: absolute;
|
||
|
top: -25px;
|
||
|
}
|
||
|
|
||
|
.fancybox-navigation .fancybox-button--arrow_left {
|
||
|
left: 6px;
|
||
|
}
|
||
|
|
||
|
.fancybox-navigation .fancybox-button--arrow_right {
|
||
|
right: 6px;
|
||
|
}
|
||
|
|
||
|
/* Close button on the top right corner of html content */
|
||
|
|
||
|
.fancybox-close-small {
|
||
|
background: transparent;
|
||
|
border: 0;
|
||
|
border-radius: 0;
|
||
|
color: #555;
|
||
|
cursor: pointer;
|
||
|
height: 44px;
|
||
|
margin: 0;
|
||
|
padding: 6px;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
width: 44px;
|
||
|
z-index: 10;
|
||
|
}
|
||
|
|
||
|
.fancybox-close-small svg {
|
||
|
fill: transparent;
|
||
|
opacity: .8;
|
||
|
stroke: currentColor;
|
||
|
stroke-width: 1.5;
|
||
|
transition: stroke .1s;
|
||
|
}
|
||
|
|
||
|
.fancybox-close-small:focus {
|
||
|
outline: none;
|
||
|
}
|
||
|
|
||
|
.fancybox-close-small:hover svg {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--image .fancybox-close-small,
|
||
|
.fancybox-slide--video .fancybox-close-small,
|
||
|
.fancybox-slide--iframe .fancybox-close-small {
|
||
|
color: #ccc;
|
||
|
padding: 5px;
|
||
|
right: -12px;
|
||
|
top: -44px;
|
||
|
}
|
||
|
|
||
|
.fancybox-slide--image .fancybox-close-small:hover svg,
|
||
|
.fancybox-slide--video .fancybox-close-small:hover svg,
|
||
|
.fancybox-slide--iframe .fancybox-close-small:hover svg {
|
||
|
background: transparent;
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.fancybox-is-scaling .fancybox-close-small,
|
||
|
.fancybox-is-zoomable.fancybox-can-drag .fancybox-close-small {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
/* Caption */
|
||
|
|
||
|
.fancybox-caption {
|
||
|
bottom: 0;
|
||
|
color: #fff;
|
||
|
font-size: 14px;
|
||
|
font-weight: 400;
|
||
|
left: 0;
|
||
|
line-height: 1.5;
|
||
|
padding: 25px 44px 25px 44px;
|
||
|
right: 0;
|
||
|
}
|
||
|
|
||
|
.fancybox-caption::before {
|
||
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAEtCAQAAABjBcL7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHRJREFUKM+Vk8EOgDAIQ0vj/3+xBw8qIZZueFnIKC90MCAI8DlrkHGeqqGIU6lVigrBtpCWqeRWoHDNqs0F7VNVBVxmHRlvoVqjaYkdnDIaivH2HqZ5+oZj3JUzWB+cOz4G48Bg+tsJ/tqu4dLC/4Xb+0GcF5BwBC0AA53qAAAAAElFTkSuQmCC);
|
||
|
background-repeat: repeat-x;
|
||
|
background-size: contain;
|
||
|
bottom: 0;
|
||
|
content: '';
|
||
|
display: block;
|
||
|
left: 0;
|
||
|
pointer-events: none;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
top: -25px;
|
||
|
z-index: -1;
|
||
|
}
|
||
|
|
||
|
.fancybox-caption::after {
|
||
|
border-bottom: 1px solid rgba(255, 255, 255, .3);
|
||
|
content: '';
|
||
|
display: block;
|
||
|
left: 44px;
|
||
|
position: absolute;
|
||
|
right: 44px;
|
||
|
top: 0;
|
||
|
}
|
||
|
|
||
|
.fancybox-caption a,
|
||
|
.fancybox-caption a:link,
|
||
|
.fancybox-caption a:visited {
|
||
|
color: #ccc;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
.fancybox-caption a:hover {
|
||
|
color: #fff;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
/* Loading indicator */
|
||
|
|
||
|
.fancybox-loading {
|
||
|
animation: fancybox-rotate .8s infinite linear;
|
||
|
background: transparent;
|
||
|
border: 6px solid rgba(100, 100, 100, .5);
|
||
|
border-radius: 100%;
|
||
|
border-top-color: #fff;
|
||
|
height: 60px;
|
||
|
left: 50%;
|
||
|
margin: -30px 0 0 -30px;
|
||
|
opacity: .6;
|
||
|
padding: 0;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
width: 60px;
|
||
|
z-index: 99999;
|
||
|
}
|
||
|
|
||
|
@keyframes fancybox-rotate {
|
||
|
from {
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
to {
|
||
|
transform: rotate(359deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* Transition effects */
|
||
|
|
||
|
.fancybox-animated {
|
||
|
transition-timing-function: cubic-bezier(0, 0, .25, 1);
|
||
|
}
|
||
|
|
||
|
/* transitionEffect: slide */
|
||
|
|
||
|
.fancybox-fx-slide.fancybox-slide--previous {
|
||
|
opacity: 0;
|
||
|
transform: translate3d(-100%, 0, 0);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-slide.fancybox-slide--next {
|
||
|
opacity: 0;
|
||
|
transform: translate3d(100%, 0, 0);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-slide.fancybox-slide--current {
|
||
|
opacity: 1;
|
||
|
transform: translate3d(0, 0, 0);
|
||
|
}
|
||
|
|
||
|
/* transitionEffect: fade */
|
||
|
|
||
|
.fancybox-fx-fade.fancybox-slide--previous,
|
||
|
.fancybox-fx-fade.fancybox-slide--next {
|
||
|
opacity: 0;
|
||
|
transition-timing-function: cubic-bezier(.19, 1, .22, 1);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-fade.fancybox-slide--current {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
/* transitionEffect: zoom-in-out */
|
||
|
|
||
|
.fancybox-fx-zoom-in-out.fancybox-slide--previous {
|
||
|
opacity: 0;
|
||
|
transform: scale3d(1.5, 1.5, 1.5);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-zoom-in-out.fancybox-slide--next {
|
||
|
opacity: 0;
|
||
|
transform: scale3d(.5, .5, .5);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-zoom-in-out.fancybox-slide--current {
|
||
|
opacity: 1;
|
||
|
transform: scale3d(1, 1, 1);
|
||
|
}
|
||
|
|
||
|
/* transitionEffect: rotate */
|
||
|
|
||
|
.fancybox-fx-rotate.fancybox-slide--previous {
|
||
|
opacity: 0;
|
||
|
transform: rotate(-360deg);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-rotate.fancybox-slide--next {
|
||
|
opacity: 0;
|
||
|
transform: rotate(360deg);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-rotate.fancybox-slide--current {
|
||
|
opacity: 1;
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
|
||
|
/* transitionEffect: circular */
|
||
|
|
||
|
.fancybox-fx-circular.fancybox-slide--previous {
|
||
|
opacity: 0;
|
||
|
transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-circular.fancybox-slide--next {
|
||
|
opacity: 0;
|
||
|
transform: scale3d(0, 0, 0) translate3d(100%, 0, 0);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-circular.fancybox-slide--current {
|
||
|
opacity: 1;
|
||
|
transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
|
||
|
}
|
||
|
|
||
|
/* transitionEffect: tube */
|
||
|
|
||
|
.fancybox-fx-tube.fancybox-slide--previous {
|
||
|
transform: translate3d(-100%, 0, 0) scale(.1) skew(-10deg);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-tube.fancybox-slide--next {
|
||
|
transform: translate3d(100%, 0, 0) scale(.1) skew(10deg);
|
||
|
}
|
||
|
|
||
|
.fancybox-fx-tube.fancybox-slide--current {
|
||
|
transform: translate3d(0, 0, 0) scale(1);
|
||
|
}
|