first commit
This commit is contained in:
@@ -0,0 +1,427 @@
|
||||
/* Magnific Popup CSS */
|
||||
.mfp-bg {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1042;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
background: var(--mfp-overlay-color, #FFFFFF);
|
||||
opacity: var(--mfp-overlay-opacity, 1);
|
||||
}
|
||||
|
||||
.mfp-wrap {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1043;
|
||||
position: fixed;
|
||||
outline: none !important;
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.mfp-container {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
right: 0;
|
||||
top: 0;
|
||||
padding: 0 8px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mfp-container:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.mfp-align-top .mfp-container:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mfp-content {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 0 auto;
|
||||
text-align: right;
|
||||
z-index: 1045;
|
||||
}
|
||||
|
||||
.mfp-inline-holder .mfp-content,
|
||||
.mfp-ajax-holder .mfp-content {
|
||||
width: 100%;
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.mfp-ajax-cur {
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
|
||||
cursor: zoom-out;
|
||||
}
|
||||
|
||||
.mfp-zoom {
|
||||
cursor: pointer;
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.mfp-auto-cursor .mfp-content {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.mfp-close,
|
||||
.mfp-arrow,
|
||||
.mfp-preloader,
|
||||
.mfp-counter {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.mfp-loading.mfp-figure {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mfp-hide {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.mfp-preloader {
|
||||
color: var(--mfp-controls-text-color, #3D3D3D);
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: auto;
|
||||
text-align: center;
|
||||
margin-top: -0.8em;
|
||||
right: 8px;
|
||||
left: 8px;
|
||||
z-index: 1044;
|
||||
}
|
||||
|
||||
.mfp-preloader a {
|
||||
color: var(--mfp-controls-text-color, #3D3D3D);
|
||||
}
|
||||
|
||||
.mfp-preloader a:hover {
|
||||
color: var(--mfp-controls-text-color-hover, #000000);
|
||||
}
|
||||
|
||||
.mfp-s-ready .mfp-preloader {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mfp-s-error .mfp-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
button.mfp-close, button.mfp-arrow {
|
||||
overflow: visible;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
display: block;
|
||||
outline: none;
|
||||
padding: 0;
|
||||
z-index: 1046;
|
||||
box-shadow: none;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.mfp-close {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
opacity: 0.65;
|
||||
padding: 0 10px 18px 0;
|
||||
color: var(--mfp-controls-color, #000000);
|
||||
font-style: normal;
|
||||
font-size: 28px;
|
||||
font-family: Arial, Baskerville, monospace;
|
||||
}
|
||||
|
||||
.mfp-close:hover, .mfp-close:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.mfp-close:active {
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.mfp-close-btn-in .mfp-close {
|
||||
color: var(--mfp-inner-close-icon-color, #E0E0E0);
|
||||
}
|
||||
|
||||
.mfp-image-holder .mfp-close,
|
||||
.mfp-iframe-holder .mfp-close {
|
||||
color: var(--mfp-controls-color, #000000);
|
||||
left: -6px;
|
||||
text-align: left;
|
||||
padding-left: 6px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mfp-counter {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
color: var(--mfp-controls-text-color, #3D3D3D);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mfp-arrow {
|
||||
position: absolute;
|
||||
opacity: 0.65;
|
||||
margin: 0;
|
||||
top: 50%;
|
||||
margin-top: -55px;
|
||||
padding: 0;
|
||||
width: 90px;
|
||||
height: 110px;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.mfp-arrow:active {
|
||||
margin-top: -54px;
|
||||
}
|
||||
|
||||
.mfp-arrow:hover, .mfp-arrow:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.mfp-arrow:before, .mfp-arrow:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
margin-top: 35px;
|
||||
margin-right: 35px;
|
||||
border: medium inset transparent;
|
||||
}
|
||||
|
||||
.mfp-arrow:after {
|
||||
border-top-width: 13px;
|
||||
border-bottom-width: 13px;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
.mfp-arrow:before {
|
||||
border-top-width: 21px;
|
||||
border-bottom-width: 21px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.mfp-arrow-left {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mfp-arrow-left:after {
|
||||
border-left: 17px solid var(--mfp-controls-color, #000000);
|
||||
margin-right: 31px;
|
||||
}
|
||||
|
||||
.mfp-arrow-left:before {
|
||||
margin-right: 25px;
|
||||
border-left: 27px solid var(--mfp-controls-border-color, #FFFFFF);
|
||||
}
|
||||
|
||||
.mfp-arrow-right {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mfp-arrow-right:after {
|
||||
border-right: 17px solid var(--mfp-controls-color, #000000);
|
||||
margin-right: 39px;
|
||||
}
|
||||
|
||||
.mfp-arrow-right:before {
|
||||
border-right: 27px solid var(--mfp-controls-border-color, #FFFFFF);
|
||||
}
|
||||
|
||||
.mfp-iframe-holder {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.mfp-iframe-holder .mfp-content {
|
||||
line-height: 0;
|
||||
width: 100%;
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.mfp-iframe-holder .mfp-close {
|
||||
top: -40px;
|
||||
}
|
||||
|
||||
.mfp-iframe-scaler {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
|
||||
.mfp-iframe-scaler iframe {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: var(--mfp-shadow, none);
|
||||
background: var(--mfp-iframe-background, #FFFFFF);
|
||||
}
|
||||
|
||||
/* Main image in popup */
|
||||
img.mfp-img {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
line-height: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 40px 0 40px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* The shadow behind the image */
|
||||
.mfp-figure {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.mfp-figure:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 40px;
|
||||
bottom: 40px;
|
||||
display: block;
|
||||
left: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
z-index: -1;
|
||||
box-shadow: var(--mfp-shadow, none);
|
||||
background: var(--mfp-image-background, #E6E6E6);
|
||||
}
|
||||
|
||||
.mfp-figure small {
|
||||
color: var(--mfp-caption-subtitle-color, #434343);
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.mfp-figure figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mfp-bottom-bar {
|
||||
margin-top: -36px;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.mfp-title {
|
||||
text-align: right;
|
||||
line-height: 18px;
|
||||
color: var(--mfp-caption-title-color, #000000);
|
||||
word-wrap: break-word;
|
||||
padding-left: 36px;
|
||||
}
|
||||
|
||||
.mfp-image-holder .mfp-content {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.mfp-gallery .mfp-image-holder .mfp-figure {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
|
||||
/**
|
||||
* Remove all paddings around the image on small screen
|
||||
*/
|
||||
.mfp-img-mobile .mfp-image-holder {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
.mfp-img-mobile img.mfp-img {
|
||||
padding: 0;
|
||||
}
|
||||
.mfp-img-mobile .mfp-figure:after {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.mfp-img-mobile .mfp-figure small {
|
||||
display: inline;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.mfp-img-mobile .mfp-bottom-bar {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
top: auto;
|
||||
padding: 3px 5px;
|
||||
position: fixed;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mfp-img-mobile .mfp-bottom-bar:empty {
|
||||
padding: 0;
|
||||
}
|
||||
.mfp-img-mobile .mfp-counter {
|
||||
left: 5px;
|
||||
top: 3px;
|
||||
}
|
||||
.mfp-img-mobile .mfp-close {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 900px) {
|
||||
.mfp-arrow {
|
||||
transform: scale(0.75);
|
||||
}
|
||||
.mfp-arrow-left {
|
||||
transform-origin: 0;
|
||||
}
|
||||
.mfp-arrow-right {
|
||||
transform-origin: 100%;
|
||||
}
|
||||
.mfp-container {
|
||||
padding-right: 6px;
|
||||
padding-left: 6px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/* Magnific Popup CSS */
|
||||
.mfp-bg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1042;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
background: var(--mfp-overlay-color, #FFFFFF);
|
||||
opacity: var(--mfp-overlay-opacity, 1);
|
||||
}
|
||||
|
||||
.mfp-wrap {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1043;
|
||||
position: fixed;
|
||||
outline: none !important;
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.mfp-container {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 0 8px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mfp-container:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.mfp-align-top .mfp-container:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mfp-content {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
z-index: 1045;
|
||||
}
|
||||
|
||||
.mfp-inline-holder .mfp-content,
|
||||
.mfp-ajax-holder .mfp-content {
|
||||
width: 100%;
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.mfp-ajax-cur {
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
|
||||
cursor: zoom-out;
|
||||
}
|
||||
|
||||
.mfp-zoom {
|
||||
cursor: pointer;
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.mfp-auto-cursor .mfp-content {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.mfp-close,
|
||||
.mfp-arrow,
|
||||
.mfp-preloader,
|
||||
.mfp-counter {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.mfp-loading.mfp-figure {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mfp-hide {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.mfp-preloader {
|
||||
color: var(--mfp-controls-text-color, #3D3D3D);
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: auto;
|
||||
text-align: center;
|
||||
margin-top: -0.8em;
|
||||
left: 8px;
|
||||
right: 8px;
|
||||
z-index: 1044;
|
||||
}
|
||||
|
||||
.mfp-preloader a {
|
||||
color: var(--mfp-controls-text-color, #3D3D3D);
|
||||
}
|
||||
|
||||
.mfp-preloader a:hover {
|
||||
color: var(--mfp-controls-text-color-hover, #000000);
|
||||
}
|
||||
|
||||
.mfp-s-ready .mfp-preloader {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mfp-s-error .mfp-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
button.mfp-close, button.mfp-arrow {
|
||||
overflow: visible;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
display: block;
|
||||
outline: none;
|
||||
padding: 0;
|
||||
z-index: 1046;
|
||||
box-shadow: none;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.mfp-close {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
opacity: 0.65;
|
||||
padding: 0 0 18px 10px;
|
||||
color: var(--mfp-controls-color, #000000);
|
||||
font-style: normal;
|
||||
font-size: 28px;
|
||||
font-family: Arial, Baskerville, monospace;
|
||||
}
|
||||
|
||||
.mfp-close:hover, .mfp-close:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.mfp-close:active {
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.mfp-close-btn-in .mfp-close {
|
||||
color: var(--mfp-inner-close-icon-color, #E0E0E0);
|
||||
}
|
||||
|
||||
.mfp-image-holder .mfp-close,
|
||||
.mfp-iframe-holder .mfp-close {
|
||||
color: var(--mfp-controls-color, #000000);
|
||||
right: -6px;
|
||||
text-align: right;
|
||||
padding-right: 6px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mfp-counter {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: var(--mfp-controls-text-color, #3D3D3D);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mfp-arrow {
|
||||
position: absolute;
|
||||
opacity: 0.65;
|
||||
margin: 0;
|
||||
top: 50%;
|
||||
margin-top: -55px;
|
||||
padding: 0;
|
||||
width: 90px;
|
||||
height: 110px;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.mfp-arrow:active {
|
||||
margin-top: -54px;
|
||||
}
|
||||
|
||||
.mfp-arrow:hover, .mfp-arrow:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.mfp-arrow:before, .mfp-arrow:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin-top: 35px;
|
||||
margin-left: 35px;
|
||||
border: medium inset transparent;
|
||||
}
|
||||
|
||||
.mfp-arrow:after {
|
||||
border-top-width: 13px;
|
||||
border-bottom-width: 13px;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
.mfp-arrow:before {
|
||||
border-top-width: 21px;
|
||||
border-bottom-width: 21px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.mfp-arrow-left {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mfp-arrow-left:after {
|
||||
border-right: 17px solid var(--mfp-controls-color, #000000);
|
||||
margin-left: 31px;
|
||||
}
|
||||
|
||||
.mfp-arrow-left:before {
|
||||
margin-left: 25px;
|
||||
border-right: 27px solid var(--mfp-controls-border-color, #FFFFFF);
|
||||
}
|
||||
|
||||
.mfp-arrow-right {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mfp-arrow-right:after {
|
||||
border-left: 17px solid var(--mfp-controls-color, #000000);
|
||||
margin-left: 39px;
|
||||
}
|
||||
|
||||
.mfp-arrow-right:before {
|
||||
border-left: 27px solid var(--mfp-controls-border-color, #FFFFFF);
|
||||
}
|
||||
|
||||
.mfp-iframe-holder {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.mfp-iframe-holder .mfp-content {
|
||||
line-height: 0;
|
||||
width: 100%;
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
.mfp-iframe-holder .mfp-close {
|
||||
top: -40px;
|
||||
}
|
||||
|
||||
.mfp-iframe-scaler {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
|
||||
.mfp-iframe-scaler iframe {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: var(--mfp-shadow, none);
|
||||
background: var(--mfp-iframe-background, #FFFFFF);
|
||||
}
|
||||
|
||||
/* Main image in popup */
|
||||
img.mfp-img {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
line-height: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 40px 0 40px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* The shadow behind the image */
|
||||
.mfp-figure {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.mfp-figure:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 40px;
|
||||
bottom: 40px;
|
||||
display: block;
|
||||
right: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
z-index: -1;
|
||||
box-shadow: var(--mfp-shadow, none);
|
||||
background: var(--mfp-image-background, #E6E6E6);
|
||||
}
|
||||
|
||||
.mfp-figure small {
|
||||
color: var(--mfp-caption-subtitle-color, #434343);
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.mfp-figure figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mfp-bottom-bar {
|
||||
margin-top: -36px;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.mfp-title {
|
||||
text-align: left;
|
||||
line-height: 18px;
|
||||
color: var(--mfp-caption-title-color, #000000);
|
||||
word-wrap: break-word;
|
||||
padding-right: 36px;
|
||||
}
|
||||
|
||||
.mfp-image-holder .mfp-content {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.mfp-gallery .mfp-image-holder .mfp-figure {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
|
||||
/**
|
||||
* Remove all paddings around the image on small screen
|
||||
*/
|
||||
.mfp-img-mobile .mfp-image-holder {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
.mfp-img-mobile img.mfp-img {
|
||||
padding: 0;
|
||||
}
|
||||
.mfp-img-mobile .mfp-figure:after {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.mfp-img-mobile .mfp-figure small {
|
||||
display: inline;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.mfp-img-mobile .mfp-bottom-bar {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
top: auto;
|
||||
padding: 3px 5px;
|
||||
position: fixed;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mfp-img-mobile .mfp-bottom-bar:empty {
|
||||
padding: 0;
|
||||
}
|
||||
.mfp-img-mobile .mfp-counter {
|
||||
right: 5px;
|
||||
top: 3px;
|
||||
}
|
||||
.mfp-img-mobile .mfp-close {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 900px) {
|
||||
.mfp-arrow {
|
||||
transform: scale(0.75);
|
||||
}
|
||||
.mfp-arrow-left {
|
||||
transform-origin: 0;
|
||||
}
|
||||
.mfp-arrow-right {
|
||||
transform-origin: 100%;
|
||||
}
|
||||
.mfp-container {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,174 @@
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/* Icons */
|
||||
/* Common Style */
|
||||
.sight-portfolio-area-filter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 64px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.sight-portfolio-area-filter {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__title {
|
||||
margin-left: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__title:after {
|
||||
width: 40px;
|
||||
height: 1px;
|
||||
background: currentColor;
|
||||
content: "";
|
||||
display: block;
|
||||
margin: 4px 24px 0 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 16px 0 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.sight-portfolio-area-filter__list {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__list-item {
|
||||
display: block;
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.sight-portfolio-area-filter__list-item {
|
||||
margin-right: 16px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__list-item a {
|
||||
display: block;
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__list-item.sight-filter-active a {
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.sight-portfolio-area__pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__thumbnail {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__thumbnail img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__thumbnail .pk-pin-it-container {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__thumbnail:hover .sight-portfolio-view-more {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-view-more {
|
||||
background-color: var(--sight-view-more-background, rgba(40, 40, 40, 0.25));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-view-more-label {
|
||||
color: var(--sight-view-more-label-color, white);
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__content:not(:first-child) {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__title:not(:first-child) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
transition: 0.25s;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta:not(:first-child) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta a {
|
||||
font-size: inherit;
|
||||
transition: 0.25s;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta > *:not(:last-child) {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta > *:not(:first-child):before {
|
||||
content: '\00b7';
|
||||
font-weight: 600;
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta .sight-portfolio-meta-icon {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta .sight-portfolio-meta-category .sight-portfolio-meta-item {
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta .sight-portfolio-meta-category .sight-portfolio-meta-item:last-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__caption:not(:first-child) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.sight-portfolio-area__main {
|
||||
opacity: 1;
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
.sight-portfolio-area__main.sight-portfolio-loading {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.sight-portfolio-area__main .sight-portfolio-entry-request {
|
||||
position: relative;
|
||||
top: 1rem;
|
||||
opacity: 0.4;
|
||||
}
|
||||
@@ -0,0 +1,174 @@
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/* Icons */
|
||||
/* Common Style */
|
||||
.sight-portfolio-area-filter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 64px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.sight-portfolio-area-filter {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__title {
|
||||
margin-right: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__title:after {
|
||||
width: 40px;
|
||||
height: 1px;
|
||||
background: currentColor;
|
||||
content: "";
|
||||
display: block;
|
||||
margin: 4px 0 0 24px;
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 16px 0 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.sight-portfolio-area-filter__list {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__list-item {
|
||||
display: block;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.sight-portfolio-area-filter__list-item {
|
||||
margin-left: 16px;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__list-item a {
|
||||
display: block;
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.sight-portfolio-area-filter__list-item.sight-filter-active a {
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.sight-portfolio-area__pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__thumbnail {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__thumbnail img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__thumbnail .pk-pin-it-container {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__thumbnail:hover .sight-portfolio-view-more {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-view-more {
|
||||
background-color: var(--sight-view-more-background, rgba(40, 40, 40, 0.25));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-view-more-label {
|
||||
color: var(--sight-view-more-label-color, white);
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__content:not(:first-child) {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__title:not(:first-child) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
transition: 0.25s;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta:not(:first-child) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta a {
|
||||
font-size: inherit;
|
||||
transition: 0.25s;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta > *:not(:last-child) {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta > *:not(:first-child):before {
|
||||
content: '\00b7';
|
||||
font-weight: 600;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta .sight-portfolio-meta-icon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta .sight-portfolio-meta-category .sight-portfolio-meta-item {
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__meta .sight-portfolio-meta-category .sight-portfolio-meta-item:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry .sight-portfolio-entry__caption:not(:first-child) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.sight-portfolio-area__main {
|
||||
opacity: 1;
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
.sight-portfolio-area__main.sight-portfolio-loading {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.sight-portfolio-area__main .sight-portfolio-entry-request {
|
||||
position: relative;
|
||||
top: 1rem;
|
||||
opacity: 0.4;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/* Icons */
|
||||
/* Layout Standard */
|
||||
.sight-block-portfolio-layout-standard .sight-portfolio-area__main {
|
||||
display: grid;
|
||||
grid-gap: var(--sight-portfolio-area-grid-gap, 40px);
|
||||
grid-template-columns: repeat(var(--sight-portfolio-area-grid-columns, 2), minmax(0, 1fr));
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/* Icons */
|
||||
/* Layout Standard */
|
||||
.sight-block-portfolio-layout-standard .sight-portfolio-area__main {
|
||||
display: grid;
|
||||
grid-gap: var(--sight-portfolio-area-grid-gap, 40px);
|
||||
grid-template-columns: repeat(var(--sight-portfolio-area-grid-columns, 2), minmax(0, 1fr));
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/* Icons */
|
||||
/* Vars */
|
||||
.sight-portfolio-area-lightbox {
|
||||
--sight-zoom-icon-popup-color: white;
|
||||
--sight-zoom-icon-popup-background: rgba(0, 0, 0, 0.6);
|
||||
--sight-zoom-icon-popup-font-size: 16px;
|
||||
}
|
||||
|
||||
/* Common Style */
|
||||
.sight-portfolio-area-lightbox .sight-zoom-icon-popup {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
left: 1rem;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
line-height: 2rem;
|
||||
text-align: center;
|
||||
opacity: 0;
|
||||
color: var(--sight-zoom-icon-popup-color);
|
||||
background: var(--sight-zoom-icon-popup-background);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.sight-portfolio-area-lightbox .sight-zoom-icon-popup:before {
|
||||
font-family: 'sight-portfolio-icons';
|
||||
font-size: var(--sight-zoom-icon-popup-font-size);
|
||||
content: "\e912";
|
||||
}
|
||||
|
||||
.sight-portfolio-area-lightbox .sight-image-popup:hover ~ .sight-zoom-icon-popup {
|
||||
opacity: 1;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/* Icons */
|
||||
/* Vars */
|
||||
.sight-portfolio-area-lightbox {
|
||||
--sight-zoom-icon-popup-color: white;
|
||||
--sight-zoom-icon-popup-background: rgba(0, 0, 0, 0.6);
|
||||
--sight-zoom-icon-popup-font-size: 16px;
|
||||
}
|
||||
|
||||
/* Common Style */
|
||||
.sight-portfolio-area-lightbox .sight-zoom-icon-popup {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
line-height: 2rem;
|
||||
text-align: center;
|
||||
opacity: 0;
|
||||
color: var(--sight-zoom-icon-popup-color);
|
||||
background: var(--sight-zoom-icon-popup-background);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.sight-portfolio-area-lightbox .sight-zoom-icon-popup:before {
|
||||
font-family: 'sight-portfolio-icons';
|
||||
font-size: var(--sight-zoom-icon-popup-font-size);
|
||||
content: "\e912";
|
||||
}
|
||||
|
||||
.sight-portfolio-area-lightbox .sight-image-popup:hover ~ .sight-zoom-icon-popup {
|
||||
opacity: 1;
|
||||
}
|
||||
@@ -0,0 +1,541 @@
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/* Icons */
|
||||
/* Basic Style */
|
||||
@font-face {
|
||||
font-family: 'sight-portfolio-icons';
|
||||
src: url("../icon-fonts/sight-portfolio-icons.eot?2kdktd");
|
||||
src: url("../icon-fonts/sight-portfolio-icons.eot?2kdktd#iefix") format("embedded-opentype"), url("../icon-fonts/sight-portfolio-icons.ttf?2kdktd") format("truetype"), url("../icon-fonts/sight-portfolio-icons.woff?2kdktd") format("woff"), url("../icon-fonts/sight-portfolio-icons.svg?2kdktd#sight-portfolio") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
}
|
||||
|
||||
[class^="sight-portfolio-icons-"],
|
||||
[class*=" sight-portfolio-icons-"] {
|
||||
/* use !important to prevent issues with browser extensions that change fonts */
|
||||
font-family: 'sight-portfolio-icons' !important;
|
||||
speak: never;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-plus:before {
|
||||
content: "\e912";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-volume-full:before {
|
||||
content: "\e909";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-volume-mute:before {
|
||||
content: "\e90a";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-pause:before {
|
||||
content: "\e900";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-play:before {
|
||||
content: "\e901";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-youtube:before {
|
||||
content: "\e910";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-share-top:before {
|
||||
content: "\e934";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-down:before {
|
||||
content: "\e902";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-down-circle:before {
|
||||
content: "\e903";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-left:before {
|
||||
content: "\e904";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-left-circle:before {
|
||||
content: "\e905";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-right:before {
|
||||
content: "\e906";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-right-circle:before {
|
||||
content: "\e907";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-up-circle:before {
|
||||
content: "\e908";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-bookmark:before {
|
||||
content: "\e90b";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-chevron-down:before {
|
||||
content: "\e90c";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-chevron-left:before {
|
||||
content: "\e90d";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-chevron-right:before {
|
||||
content: "\e90e";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-chevron-up:before {
|
||||
content: "\e90f";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-eye:before {
|
||||
content: "\e911";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-film:before {
|
||||
content: "\e914";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-share:before {
|
||||
content: "\e920";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-watch:before {
|
||||
content: "\e922";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-x:before {
|
||||
content: "\e923";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-x-circle:before {
|
||||
content: "\e924";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-long-bottom:before {
|
||||
content: "\e938";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-long-top:before {
|
||||
content: "\e939";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-long-left:before {
|
||||
content: "\e93a";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-long-right:before {
|
||||
content: "\e93b";
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__thumbnail img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__overlay {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background {
|
||||
display: flex;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background:after, .sight-portfolio-overlay-background:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
transition: 0.25s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background:after {
|
||||
background: var(--sight-color-overlay-background);
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background.sight-portfolio-overlay-transparent:after, .sight-portfolio-overlay-background.sight-portfolio-overlay-transparent:before {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-link {
|
||||
position: absolute;
|
||||
display: block;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-content a {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-ratio {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original) .sight-portfolio-overlay-background {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original) .sight-portfolio-overlay-background img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original):before {
|
||||
content: '';
|
||||
display: table;
|
||||
box-sizing: border-box;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-landscape:before,
|
||||
.sight-portfolio-ratio-landscape-4-3:before {
|
||||
padding-bottom: 75%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-landscape-3-2:before {
|
||||
padding-bottom: 66.66667%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-landscape-16-9:before {
|
||||
padding-bottom: 56.25%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-portrait:before,
|
||||
.sight-portfolio-ratio-portrait-3-4:before {
|
||||
padding-bottom: 133.33333%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-portrait-2-3:before {
|
||||
padding-bottom: 150%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-square:before {
|
||||
padding-bottom: 100%;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-background:after, .sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-background:before {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
transition: 0.25s;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content > * {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content .sight-portfolio-entry__read-more {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content .sight-portfolio-entry__read-more:not(:only-child) {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay:hover .sight-portfolio-overlay-content {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay:hover .sight-portfolio-overlay-background:after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-overlay-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-overlay-content:not(:first-child) {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-bg-init .sight-portfolio-entry__thumbnail img {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container .sight-portfolio-video-inner {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 50%;
|
||||
margin: auto;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
opacity: 0;
|
||||
transition: opacity .5s;
|
||||
max-width: unset;
|
||||
transform: translate(50%, -50%);
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container .sight-portfolio-video-inner.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid rgba(255, 255, 255, 0.75);
|
||||
border-left-color: transparent;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
-webkit-animation: loader-rotate 1s linear infinite;
|
||||
animation: loader-rotate 1s linear infinite;
|
||||
top: 50%;
|
||||
margin: -20px auto 0;
|
||||
transition: opacity 0.25s;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader:after {
|
||||
content: '';
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: rgba(255, 255, 255, 0.75);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 27px;
|
||||
}
|
||||
|
||||
@-webkit-keyframes loader-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loader-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background:hover .sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-bg-init .sight-portfolio-overlay-background .sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid rgba(255, 255, 255, 0.75);
|
||||
border-left-color: transparent;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
-webkit-animation: loader-rotate 1s linear infinite;
|
||||
animation: loader-rotate 1s linear infinite;
|
||||
top: 50%;
|
||||
margin: -20px auto 0;
|
||||
transition: opacity 0.25s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader:after {
|
||||
content: '';
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: rgba(255, 255, 255, 0.75);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 27px;
|
||||
}
|
||||
|
||||
@keyframes loader-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-video-bg-init .sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
opacity: 0;
|
||||
z-index: 4;
|
||||
transform: translateX(9999px);
|
||||
transition: opacity 0.25s;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-bg-init .sight-portfolio-video-controls {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
transition: 0.2s;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control:after {
|
||||
position: relative;
|
||||
font-family: "sight-portfolio-icons";
|
||||
font-style: normal;
|
||||
opacity: 1;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip {
|
||||
position: absolute;
|
||||
width: -webkit-max-content;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
display: -ms-grid;
|
||||
-ms-grid-columns: max-content;
|
||||
top: 100%;
|
||||
right: -9999px;
|
||||
padding-right: 50%;
|
||||
padding-bottom: 8px;
|
||||
transform: translateY(-30%);
|
||||
transition: transform 0.5s;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip span {
|
||||
background: white;
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 4px 16px;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
color: black;
|
||||
transform: translate(50%, 0);
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip span:after {
|
||||
bottom: 100%;
|
||||
right: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-color: transparent;
|
||||
border-bottom-color: white;
|
||||
border-width: 7px;
|
||||
margin-right: -7px;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control:hover .sight-portfolio-tooltip {
|
||||
transform: translateY(0);
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control:hover .sight-portfolio-tooltip span {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-link:after {
|
||||
content: "\e910";
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-play:after {
|
||||
content: "\e900";
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-pause:after {
|
||||
content: "\e901";
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-unmute:after {
|
||||
content: "\e909";
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-mute:after {
|
||||
content: "\e90a";
|
||||
}
|
||||
@@ -0,0 +1,541 @@
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/* Icons */
|
||||
/* Basic Style */
|
||||
@font-face {
|
||||
font-family: 'sight-portfolio-icons';
|
||||
src: url("../icon-fonts/sight-portfolio-icons.eot?2kdktd");
|
||||
src: url("../icon-fonts/sight-portfolio-icons.eot?2kdktd#iefix") format("embedded-opentype"), url("../icon-fonts/sight-portfolio-icons.ttf?2kdktd") format("truetype"), url("../icon-fonts/sight-portfolio-icons.woff?2kdktd") format("woff"), url("../icon-fonts/sight-portfolio-icons.svg?2kdktd#sight-portfolio") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
}
|
||||
|
||||
[class^="sight-portfolio-icons-"],
|
||||
[class*=" sight-portfolio-icons-"] {
|
||||
/* use !important to prevent issues with browser extensions that change fonts */
|
||||
font-family: 'sight-portfolio-icons' !important;
|
||||
speak: never;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-plus:before {
|
||||
content: "\e912";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-volume-full:before {
|
||||
content: "\e909";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-volume-mute:before {
|
||||
content: "\e90a";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-pause:before {
|
||||
content: "\e900";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-play:before {
|
||||
content: "\e901";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-youtube:before {
|
||||
content: "\e910";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-share-top:before {
|
||||
content: "\e934";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-down:before {
|
||||
content: "\e902";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-down-circle:before {
|
||||
content: "\e903";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-left:before {
|
||||
content: "\e904";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-left-circle:before {
|
||||
content: "\e905";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-right:before {
|
||||
content: "\e906";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-right-circle:before {
|
||||
content: "\e907";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-up-circle:before {
|
||||
content: "\e908";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-bookmark:before {
|
||||
content: "\e90b";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-chevron-down:before {
|
||||
content: "\e90c";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-chevron-left:before {
|
||||
content: "\e90d";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-chevron-right:before {
|
||||
content: "\e90e";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-chevron-up:before {
|
||||
content: "\e90f";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-eye:before {
|
||||
content: "\e911";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-film:before {
|
||||
content: "\e914";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-share:before {
|
||||
content: "\e920";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-watch:before {
|
||||
content: "\e922";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-x:before {
|
||||
content: "\e923";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-x-circle:before {
|
||||
content: "\e924";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-long-bottom:before {
|
||||
content: "\e938";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-long-top:before {
|
||||
content: "\e939";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-long-left:before {
|
||||
content: "\e93a";
|
||||
}
|
||||
|
||||
.sight-portfolio-icons-arrow-long-right:before {
|
||||
content: "\e93b";
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__thumbnail img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__overlay {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background {
|
||||
display: flex;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background:after, .sight-portfolio-overlay-background:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
transition: 0.25s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background:after {
|
||||
background: var(--sight-color-overlay-background);
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background.sight-portfolio-overlay-transparent:after, .sight-portfolio-overlay-background.sight-portfolio-overlay-transparent:before {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-link {
|
||||
position: absolute;
|
||||
display: block;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-content a {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-ratio {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original) .sight-portfolio-overlay-background {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original) .sight-portfolio-overlay-background img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original):before {
|
||||
content: '';
|
||||
display: table;
|
||||
box-sizing: border-box;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-landscape:before,
|
||||
.sight-portfolio-ratio-landscape-4-3:before {
|
||||
padding-bottom: 75%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-landscape-3-2:before {
|
||||
padding-bottom: 66.66667%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-landscape-16-9:before {
|
||||
padding-bottom: 56.25%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-portrait:before,
|
||||
.sight-portfolio-ratio-portrait-3-4:before {
|
||||
padding-bottom: 133.33333%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-portrait-2-3:before {
|
||||
padding-bottom: 150%;
|
||||
}
|
||||
|
||||
.sight-portfolio-ratio-square:before {
|
||||
padding-bottom: 100%;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-background:after, .sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-background:before {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
transition: 0.25s;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content > * {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content .sight-portfolio-entry__read-more {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content .sight-portfolio-entry__read-more:not(:only-child) {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay:hover .sight-portfolio-overlay-content {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay:hover .sight-portfolio-overlay-background:after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-overlay-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.sight-portfolio-entry__inner.sight-portfolio-overlay-content:not(:first-child) {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-bg-init .sight-portfolio-entry__thumbnail img {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container .sight-portfolio-video-inner {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin: auto;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
opacity: 0;
|
||||
transition: opacity .5s;
|
||||
max-width: unset;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container .sight-portfolio-video-inner.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid rgba(255, 255, 255, 0.75);
|
||||
border-right-color: transparent;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
-webkit-animation: loader-rotate 1s linear infinite;
|
||||
animation: loader-rotate 1s linear infinite;
|
||||
top: 50%;
|
||||
margin: -20px auto 0;
|
||||
transition: opacity 0.25s;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader:after {
|
||||
content: '';
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: rgba(255, 255, 255, 0.75);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 27px;
|
||||
}
|
||||
|
||||
@-webkit-keyframes loader-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loader-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-overlay-background:hover .sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-bg-init .sight-portfolio-overlay-background .sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid rgba(255, 255, 255, 0.75);
|
||||
border-right-color: transparent;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
-webkit-animation: loader-rotate 1s linear infinite;
|
||||
animation: loader-rotate 1s linear infinite;
|
||||
top: 50%;
|
||||
margin: -20px auto 0;
|
||||
transition: opacity 0.25s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader:after {
|
||||
content: '';
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: rgba(255, 255, 255, 0.75);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 27px;
|
||||
}
|
||||
|
||||
@keyframes loader-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.sight-portfolio-video-bg-init .sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
opacity: 0;
|
||||
z-index: 4;
|
||||
transform: translateX(-9999px);
|
||||
transition: opacity 0.25s;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-bg-init .sight-portfolio-video-controls {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
transition: 0.2s;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control:after {
|
||||
position: relative;
|
||||
font-family: "sight-portfolio-icons";
|
||||
font-style: normal;
|
||||
opacity: 1;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip {
|
||||
position: absolute;
|
||||
width: -webkit-max-content;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
display: -ms-grid;
|
||||
-ms-grid-columns: max-content;
|
||||
top: 100%;
|
||||
left: -9999px;
|
||||
padding-left: 50%;
|
||||
padding-bottom: 8px;
|
||||
transform: translateY(-30%);
|
||||
transition: transform 0.5s;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip span {
|
||||
background: white;
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 4px 16px;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
color: black;
|
||||
transform: translate(-50%, 0);
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip span:after {
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-color: transparent;
|
||||
border-bottom-color: white;
|
||||
border-width: 7px;
|
||||
margin-left: -7px;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control:hover .sight-portfolio-tooltip {
|
||||
transform: translateY(0);
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-control:hover .sight-portfolio-tooltip span {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-link:after {
|
||||
content: "\e910";
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-play:after {
|
||||
content: "\e900";
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-pause:after {
|
||||
content: "\e901";
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-unmute:after {
|
||||
content: "\e909";
|
||||
}
|
||||
|
||||
.sight-portfolio-video-controls .sight-portfolio-player-mute:after {
|
||||
content: "\e90a";
|
||||
}
|
||||
Reference in New Issue
Block a user