Files
amdruzstvo/quarter-rtl/assets/css/lightcase.css
2025-08-05 10:59:30 +02:00

469 lines
12 KiB
CSS

@font-face {
font-family: lightcase;
src: url(../fonts/lightcase.eot?55356177);
src: url(../fonts/lightcase.eot?55356177#iefix) format("embedded-opentype"),
url(../fonts/lightcase.woff?55356177) format("woff"),
url(../fonts/lightcase.ttf?55356177) format("truetype"),
url(../fonts/lightcase.svg?55356177#lightcase) format("svg");
font-weight: 400;
font-style: normal;
}
[class*="lightcase-icon-"]:before {
font-family: lightcase, sans-serif;
font-style: normal;
font-weight: 400;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
}
.lightcase-icon-play:before {
content: "\e800";
}
.lightcase-icon-pause:before {
content: "\e801";
}
.lightcase-icon-close:before {
content: "\e802";
}
.lightcase-icon-prev:before {
content: "\e803";
}
.lightcase-icon-next:before {
content: "\e804";
}
.lightcase-icon-spin:before {
content: "\e805";
}
@-webkit-keyframes lightcase-spin {
0% {
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-o-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(359deg);
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@-moz-keyframes lightcase-spin {
0% {
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-o-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(359deg);
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@-o-keyframes lightcase-spin {
0% {
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-o-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(359deg);
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@-ms-keyframes lightcase-spin {
0% {
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-o-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(359deg);
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes lightcase-spin {
0% {
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-o-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(359deg);
-moz-transform: rotate(359deg);
-o-transform: rotate(359deg);
transform: rotate(359deg);
}
}
#lightcase-case {
display: none;
position: fixed;
z-index: 2002;
top: 50%;
left: 50%;
font-family: arial, sans-serif;
font-size: 13px;
line-height: 1.5;
text-align: left;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#lightcase-loading > span,
a[class*="lightcase-icon-"] > span {
display: inline-block;
text-indent: -9999px;
}
@media screen and (min-width: 641px) {
html:not([data-lc-type="error"]) #lightcase-content {
position: relative;
z-index: 1;
text-shadow: none;
background-color: #fff;
-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
-o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
-webkit-backface-visibility: hidden;
}
html[data-lc-type="image"] #lightcase-content,
html[data-lc-type="video"] #lightcase-content {
background-color: #333;
}
}
html[data-lc-type="ajax"] #lightcase-content,
html[data-lc-type="error"] #lightcase-content,
html[data-lc-type="inline"] #lightcase-content {
-webkit-box-shadow: none;
-moz-box-shadow: none;
-o-box-shadow: none;
box-shadow: none;
}
html[data-lc-type="ajax"] #lightcase-content .lightcase-contentInner,
html[data-lc-type="error"] #lightcase-content .lightcase-contentInner,
html[data-lc-type="inline"] #lightcase-content .lightcase-contentInner {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
@media screen and (max-width: 640px) {
html[data-lc-type="ajax"] #lightcase-case,
html[data-lc-type="inline"] #lightcase-case {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
margin: 0 !important;
padding: 55px 0 70px;
width: 100% !important;
height: 100% !important;
overflow: auto !important;
}
html[data-lc-type="ajax"] #lightcase-content,
html[data-lc-type="error"] #lightcase-content,
html[data-lc-type="inline"] #lightcase-content {
position: relative !important;
top: auto !important;
left: auto !important;
width: auto !important;
height: auto !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
background: 0 0 !important;
}
html[data-lc-type="ajax"] #lightcase-content .lightcase-contentInner,
html[data-lc-type="error"] #lightcase-content .lightcase-contentInner,
html[data-lc-type="inline"] #lightcase-content .lightcase-contentInner {
padding: 15px;
}
html[data-lc-type="ajax"] #lightcase-content .lightcase-contentInner,
html[data-lc-type="ajax"] #lightcase-content .lightcase-contentInner > *,
html[data-lc-type="error"] #lightcase-content .lightcase-contentInner,
html[data-lc-type="error"] #lightcase-content .lightcase-contentInner > *,
html[data-lc-type="inline"] #lightcase-content .lightcase-contentInner,
html[data-lc-type="inline"] #lightcase-content .lightcase-contentInner > * {
width: 100% !important;
max-width: none !important;
}
html[data-lc-type="ajax"]
#lightcase-content
.lightcase-contentInner
> :not(iframe),
html[data-lc-type="error"]
#lightcase-content
.lightcase-contentInner
> :not(iframe),
html[data-lc-type="inline"]
#lightcase-content
.lightcase-contentInner
> :not(iframe) {
height: auto !important;
max-height: none !important;
}
html.lightcase-isMobileDevice[data-lc-type="iframe"]
#lightcase-content
.lightcase-contentInner
iframe {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
}
@media screen and (max-width: 640px) and (min-width: 641px) {
html[data-lc-type="image"] #lightcase-content .lightcase-contentInner,
html[data-lc-type="video"] #lightcase-content .lightcase-contentInner {
line-height: 0.75;
}
}
html[data-lc-type="image"] #lightcase-content .lightcase-contentInner {
position: relative;
overflow: hidden !important;
}
@media screen and (max-width: 640px) {
html[data-lc-type="ajax"]
#lightcase-content
.lightcase-contentInner
.lightcase-inlineWrap,
html[data-lc-type="error"]
#lightcase-content
.lightcase-contentInner
.lightcase-inlineWrap,
html[data-lc-type="inline"]
#lightcase-content
.lightcase-contentInner
.lightcase-inlineWrap {
position: relative !important;
top: auto !important;
left: auto !important;
width: auto !important;
height: auto !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
background: 0 0 !important;
}
#lightcase-content h1,
#lightcase-content h2,
#lightcase-content h3,
#lightcase-content h4,
#lightcase-content h5,
#lightcase-content h6,
#lightcase-content p {
}
}
#lightcase-loading,
a[class*="lightcase-icon-"] {
width: 1.123em;
height: auto;
line-height: 1;
text-align: center;
position: fixed;
}
@media screen and (min-width: 641px) {
html:not([data-lc-type="error"])
#lightcase-content
.lightcase-contentInner
.lightcase-inlineWrap {
padding: 30px;
overflow: auto;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
#lightcase-content h1,
#lightcase-content h2,
#lightcase-content h3,
#lightcase-content h4,
#lightcase-content h5,
#lightcase-content h6,
#lightcase-content p {
}
}
#lightcase-case p.lightcase-error {
margin: 0;
font-size: 17px;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@media screen and (max-width: 640px) {
#lightcase-case p.lightcase-error {
padding: 30px 0;
}
}
@media screen and (min-width: 641px) {
#lightcase-case p.lightcase-error {
padding: 0;
}
}
.lightcase-open body {
overflow: hidden;
}
.lightcase-isMobileDevice .lightcase-open body {
max-width: 100%;
max-height: 100%;
}
#lightcase-info {
position: absolute;
padding-top: 15px;
}
#lightcase-info #lightcase-caption,
#lightcase-info #lightcase-title {
margin: 0;
padding: 0;
line-height: 1.5;
font-weight: 400;
text-overflow: ellipsis;
}
#lightcase-info #lightcase-title {
font-size: 17px;
}
#lightcase-info #lightcase-caption {
clear: both;
font-size: 13px;
}
#lightcase-info #lightcase-sequenceInfo {
font-size: 11px;
}
@media screen and (max-width: 640px) {
#lightcase-info #lightcase-title {
position: fixed;
top: 10px;
left: 0;
max-width: 87.5%;
padding: 5px 15px;
background: #333;
}
.lightcase-fullScreenMode #lightcase-info {
padding-left: 15px;
padding-right: 15px;
}
html:not([data-lc-type="image"]):not([data-lc-type="video"]):not(
[data-lc-type="flash"]
):not([data-lc-type="error"])
#lightcase-info {
position: static;
}
}
#lightcase-loading {
z-index: 2001;
top: 50%;
left: 50%;
margin-top: -0.5em;
margin-left: -0.5em;
opacity: 1;
font-size: 32px;
text-shadow: 0 0 15px #fff;
-moz-transform-origin: 50% 53%;
-webkit-animation: lightcase-spin 0.5s infinite linear;
-moz-animation: lightcase-spin 0.5s infinite linear;
-o-animation: lightcase-spin 0.5s infinite linear;
animation: lightcase-spin 0.5s infinite linear;
}
#lightcase-loading,
#lightcase-loading:focus {
text-decoration: none;
color: #fff;
-webkit-tap-highlight-color: transparent;
-webkit-transition: color, opacity, ease-in-out 0.25s;
-moz-transition: color, opacity, ease-in-out 0.25s;
-o-transition: color, opacity, ease-in-out 0.25s;
transition: color, opacity, ease-in-out 0.25s;
}
a[class*="lightcase-icon-"] {
z-index: 9999;
font-size: 38px;
text-shadow: none;
outline: 0;
cursor: pointer;
}
a[class*="lightcase-icon-"],
a[class*="lightcase-icon-"]:focus {
text-decoration: none;
color: rgba(255, 255, 255, 0.6);
-webkit-tap-highlight-color: transparent;
-webkit-transition: color, opacity, ease-in-out 0.25s;
-moz-transition: color, opacity, ease-in-out 0.25s;
-o-transition: color, opacity, ease-in-out 0.25s;
transition: color, opacity, ease-in-out 0.25s;
}
a[class*="lightcase-icon-"]:hover {
color: #fff;
text-shadow: 0 0 15px #fff;
}
.lightcase-isMobileDevice a[class*="lightcase-icon-"]:hover {
text-shadow: none;
}
a[class*="lightcase-icon-"].lightcase-icon-close {
position: fixed;
top: 15px;
right: 15px;
bottom: auto;
margin: 0;
opacity: 0;
outline: 0;
}
a[class*="lightcase-icon-"].lightcase-icon-prev {
left: 15px;
}
a[class*="lightcase-icon-"].lightcase-icon-next {
right: 15px;
}
a[class*="lightcase-icon-"].lightcase-icon-pause,
a[class*="lightcase-icon-"].lightcase-icon-play {
left: 50%;
margin-left: -0.5em;
}
@media screen and (max-width: 640px) {
a[class*="lightcase-icon-"] {
bottom: 15px;
font-size: 24px;
}
}
@media screen and (min-width: 641px) {
a[class*="lightcase-icon-"].lightcase-icon-pause,
a[class*="lightcase-icon-"].lightcase-icon-play {
opacity: 0;
}
a[class*="lightcase-icon-"] {
bottom: 50%;
margin-bottom: -0.5em;
}
#lightcase-case:hover ~ a[class*="lightcase-icon-"],
a[class*="lightcase-icon-"]:hover {
opacity: 1;
}
}
#lightcase-overlay {
display: none;
width: 100%;
min-height: 100%;
position: fixed;
z-index: 2000;
top: -9999px;
bottom: -9999px;
left: 0;
background: #333;
}
@media screen and (max-width: 640px) {
#lightcase-overlay {
opacity: 1 !important;
}
}