PATH:
home
/
antoinems
/
www
/
_Montreal_folklore
/
2009
/
__Nouveau dossier
/
res
/
Editing: common.css
/* * PhotoSwipe Style sheet for the combined index / slide / template pages. * Last change: 2017-07-16 by André Wolff */ .exifInfo { cursor: pointer; } video { margin-top: 50px; } @media only screen and ( max-width: 2560px ){ video { max-height: 1210px; } } @media only screen and ( max-width: 1920px ){ video { max-height: 580px; } } /* iPad */ /* Portrait and Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { video { max-height: 580px; } } /* Portrait */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) { video { max-height: 824px; max-width: 768px; } } /* Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) { video { max-height: 580px; } } /* ----------- iPhone 5 and 5S ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 320px) and (max-device-width: 568px) { video { max-height: 568px; } } /* Portrait */ @media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: portrait) { video { max-width: 320px; } } /* Landscape */ @media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) { video { max-height: 568px; } } @media only screen and ( max-width: 640px ){ video { max-height: 240px; } } html, body { height: 100%; } body { text-align: center; overflow-x: hidden; font-family:"Comic Sans MS", cursive; font-size:16px; background-color: rgb(0,0,0); background-color: rgba(0,0,0,1.0); color: #ff9900; margin: 0px; } img { border: 0px; } /* required for IE */ /* Custom link styles */ a:link { color: #ff9900; font-style: normal; font-weight: normal; text-decoration: none; } a:visited { color: #ff9900; font-style: normal; font-weight: normal; text-decoration: none; } a:active { color: #ff9900; font-style: normal; font-weight: bold; text-decoration: none; } a:hover { color: #ff9900; font-weight: bold; text-decoration: none; } #nextSlide { position: absolute; display:none; right: 10px; top: 48%; z-index: 9999; } #prevSlide { position: absolute; display:none; left: 10px; top: 48%; z-index: 9999; } #expandPano { position: absolute; display:none; right: 49%; top: 58px; z-index: 9999; } #gmaps { position: absolute; right: 174px; padding: 6px; z-index: 9999; } #link--play { position: absolute; right: 132px; padding: 6px; z-index: 9999; } #nav { } /*********************************** Start Top navigation */ #navigation { /* background-color:#ffcccccc; for a full width menu-bar */ z-index:999; } #navigation { display:none; position:relative; text-align:center; line-height:40px; margin-bottom: 10px; } .top-nav { text-align:center; } .top-nav a { display:block; white-space:nowrap; color: #000000; background-color: rgb(204,204,204); background-color: rgba(204,204,204,1.0); } .top-nav > ul { } .top-nav ul { display:inline-block; vertical-align:top; padding:0; margin:0; list-style-type:none; z-index:998; } .top-nav b { color: #ff9900; font-weight: bold; } .top-nav > ul > li { position:relative; display:inline-block; width:auto; height:100%; } .ie7 .top-nav > ul > li { float:left; } .top-nav > ul > li.home img { height: 20px; width: 20px; vertical-align: middle; padding-bottom: 4px; } .top-nav > ul > li > a { line-height:40px; padding-top: 2px; padding-bottom: 2px; padding-right: 10px; padding-left: 10px } .top-nav > ul > li ul { display:none; position:absolute; z-index:999; background-color: rgb(204,204,204); background-color: rgba(204,204,204,1.0); } .top-nav > ul > li > ul { min-width:100%; } .top-nav > ul > li > ul li { position:relative; display:block; } .top-nav > ul > li > ul > li a { line-height:40px; padding-top: 2px; padding-bottom: 2px; padding-right: 10px; padding-left: 10px } .top-nav > ul > li > ul > li ul { left:100%; top:0; } .top-nav a:hover, .top-nav a:active, .HorNav a:hover, .HorNav a:active, #NavHor a:focus { color: #ff9900; background-color: rgb(102,102,102); background-color: rgba(102,102,102,1.0); text-decoration: none; -webkit-box-shadow: inset 2px 2px 2px 2px rgb(102,102,102); box-shadow: inset 2px 2px 2px 2px rgba(102,102,102,1.0); } .top-nav > ul > li:hover > ul, .top-nav > ul > li > ul > li:hover > ul, .top-nav > ul > li > ul > ul > li > li:hover > ul { display:block; } /*********************************** End Top navigation */ .HorNav{ margin-bottom: 0px; margin-top: 0px; text-align: center; line-height: 50px; } .HorNav img { vertical-align: middle; height: 30px; width: 30px; padding-bottom: 2px; } .HorNav a, .HorNav b, .HorNav a:visited { display: block; text-align: center; text-decoration: none; margin-right: 0px; margin-left: 0px; color: #000000; background-color: rgb(204,204,204); background-color: rgba(204,204,204,1.0); padding-right: 10px; padding-left: 10px; } .HorNav b { color: #ff9900; font-weight: bold; } .HorNav ul { display:inline-block; list-style-type: none; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; } .HorNav li { float: left; width: auto; } #msg { font-size: 12px; /* was 24 */ background-color: #FFC; color: #333; position: absolute; line-height: 13px; /* was 25 */ padding: 4px; display:none; z-index: 100; } #nav { height: 30px; width: 90%; margin-right: 5%; margin-left: 5%; } #nav #L1 { float: left; width: 10%; } #nav #L2 { float: left; width: 15%; text-align: center; /* padding-top: 6px; */ } #nav #L3 { float: left; width: 10%; } #nav #L3 #fs { display: none; } #nav #Ml { float: left; width: 10%; } #nav #M { float: left; width: 10%; } #nav #Mr { float: left; width: 10%; } #nav #R3 { float: left; width: 10%; } #nav #R2 { float: left; width: 15%; } #indexDiv #nav #R2 a .roundbutton { display: inline; } #nav #R1 { float: left; width: 10%; } #indexDiv #nav #R1 #opencloseSettings { position: relative; } #nav img { height: 30px; display: block; margin-left: auto; margin-right: auto; cursor: pointer; } #settingsDiv { display: none; height: auto; margin-top: 20px; border: 4px solid #999; font-size: 24px; /* 17px; for unmodified viewport */ margin-right: 1%; margin-left: 1%; line-height: 70px; /* new */ } #settingsDiv #settings select{ font-size: 24px; /* 17px; for unmodified viewport */ height: 40px; /* 24px; for unmodified viewport */ margin-top: 10px; } #indexDiv #swipeMe p img { vertical-align: bottom; } .roundbutton { opacity: 1; } .HorNav .roundbutton { vertical-align: middle; } button { font-size: 28px; cursor:pointer; text-decoration:none; margin-top: 10px; margin-bottom: 10px; } .button { cursor: pointer; } .filename { height: 48px; font-size: small; text-align: center; } .description { height: 48px; text-align: center; } .thumbText { height: 48px; text-align: center; } .thumbs { margin-right: auto; margin-left: auto; } .thumbs img:hover { -webkit-transform: scale(1.0); -moz-transform: scale(1.0); -o-transform: scale(1.0); transform: scale(1.0) } /* Start styles for for a variable number of thums per row */ .thumbs .box { vertical-align: top; /* was middle; */ margin-right: 2px; margin-left: 2px; margin-top: 2px; margin-bottom: 2px; /* display: -moz-inline-box; -moz-box-orient: vertical; */ display: inline-block; /** zoom:1; **/ } .thumbs img { cursor: pointer; border-radius: 4px; padding: 0px; border: 2px solid; border-color: rgb(204,204,204); border-color: rgba(204,204,204,1.0); -webkit-touch-callout: none; /* Disable save image, and prevents a pop-up */ -webkit-user-select: none; /* disable copy, inv css */ } .thumbs .video img { border-color: rgb(254,0,55); border-color: rgba(254,0,55,1.0); } #folders .box { padding: 6px; word-break: break-word; /* was break-all */ cursor: pointer; border-radius: 4px; border: 2px solid; border-color: rgb(153,153,153); border-color: rgba(153,153,153,1.0); color: #ffffff; background-color: rgb(153,153,153); background-color: rgba(153,153,153,1.0); } #folders .box img { border-color: rgb(153,153,153); /* For IE8 and earlier */ border-color: rgba(153,153,153,1.0); } /* End styles styles for for a variable number of thums per row */ #swipeMe { margin-top: 0px; margin-right: 60px; margin-bottom: 0px; margin-left: 60px; } /* Header */ .themeImage { position: relative; overflow:hidden; clear:both; /* for FF */ width: 100%; /* for IE 6 */ margin-left:auto; margin-right:auto; padding-right: 4px; padding-bottom: 10px; } .themeImage img { border-radius: 4px; padding: 0px; border: 2px solid; border-color: rgb(204,204,204); border-color: rgba(204,204,204,1.0); -webkit-touch-callout: none; /* Disable save image, inv css */ -webkit-user-select: none; /* disable copy, inv css */ } h1 { font-size: 22px; font-weight: bold; width: 100%; text-shadow: 10px 10px 10px rgba(0,0,0,1); } #profileImage { margin-top: 10px; border-radius: 4px; } #indexDiv { overflow: auto; } #indexDiv #audioplayer { margin-top: 10px; } audio::-webkit-media-controls { /* hide download button in Chrome 55 */ overflow: hidden !important } audio::-webkit-media-controls-enclosure { width: calc(100% + 32px); margin-left: auto; } #imageinfo { visibility: hidden; } #askfs { margin-top: 5px; text-align: right; } #footer { width: 90%; margin-right: 5%; margin-left: 5%; } #footer #footer_left { float: left; width: 50%; text-align: left; } #footer #footer_right { float: right; width:50%; text-align: right; } #facebook { position: absolute; top: 68px; left: 0px; width: 150px; } figure { display: none; } #mapnavigation { z-index: 999; position: absolute; top: 10px; right: 10px; } #panslidenavigation { position: fixed; top: 0px; display: none; } #panorama { display:none; height: 100%; overflow:hidden; position:absolute; left:0px; top:0px; z-index:10; white-space: nowrap; } #panorama img { height: 100%; } #mapDiv { display:none; height: 100%; width: 100%; overflow:hidden; position:absolute; left:0px; top:0px; } #map { height: 100%; } #mapnavigation { z-index: 999; position: absolute; top: 10px; right: 10px; } #links img { cursor: pointer; } .buttonDiv { float: left; margin-right: 8px; margin-left: 8px; } .creditlink { font-size: 10px; } #indexDiv #swipeMe .albumDescription { margin-top: 10px; margin-bottom: 15px; } #indexDiv #swipeMe .commandButtons { height: 60px; margin-top: 15px; margin-bottom: 15px; } #indexDiv #swipeMe .commandButtons img { max-height: 60px; vertical-align: middle; margin-right: 12px; margin-left: 12px; } #indexDiv #swipeMe .commandButtons button { margin-right: 12px; margin-left: 12px; } .thumbs img[title], .themeImage img, audio, .HorNav ul, #folders .box, #folders .cell, #profileImage { box-shadow: 10px 10px 10px rgba(0,0,0,1); } .video{ position:relative; } .video span.video-icon{ position:absolute; left:5px; top:2px; } .video-icon img { border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; } /* styles.css - custom styles for the skin's Page templates Last change for the Slide Show 4 skin by André Wolff: 2015-10-16 */ /************** Map page */ #map-page { margin-top: 20px; margin-right: 60px; margin-bottom: 20px; margin-left: 60px; } #map-page .map { background-color:#eee; } /************** About_album page */ #about_album-page { margin-top: 20px; margin-right: 60px; margin-bottom: 20px; margin-left: 60px; } #about_album-page .texts { overflow:hidden; } #about_album-page .texts p { line-height:1.5em; } /************** About page */ #about-page { margin:10px 10%; } #about-page .author { float:left; display:inline; margin:10px 30px 10px 0; max-width:40%; } #about-page .author img { max-width:100%; } #about-page .texts { overflow:hidden; } #about-page .texts p { line-height:1.5em; } /************** Music page */ #music-page { margin-top: 20px; margin-right: 60px; margin-bottom: 20px; margin-left: 60px; } #music-page .texts { overflow:hidden; } #music-page .texts p { line-height:1.5em; } /************** Contact page */ #contact-page .texts .left { text-align: right; width: 29%; float: left; margin-top: 10px; margin-bottom: 10px; margin-right: 1%; } #contact-page .texts .right { text-align: left; width: 70%; float: left; margin-top: 10px; margin-bottom: 10px; } #contact-page .texts #address { font-weight: bold; } /*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */ /* Contents: 1. Buttons 2. Share modal and links 3. Index indicator ("1 of X" counter) 4. Caption 5. Loading indicator 6. Additional styles (root element, top bar, idle state, hidden state, etc.) */ /* 1. Buttons */ /* <button> css reset */ .pswp__button { width: 44px; height: 44px; position: relative; background: none; cursor: pointer; overflow: visible; -webkit-appearance: none; display: block; border: 0; padding: 0; margin: 0; float: right; opacity: 0.75; -webkit-transition: opacity 0.2s; transition: opacity 0.2s; -webkit-box-shadow: none; box-shadow: none; } .pswp__button:focus, .pswp__button:hover { opacity: 1; } .pswp__button:active { outline: none; opacity: 0.9; } .pswp__button::-moz-focus-inner { padding: 0; border: 0; } /* pswp__ui--over-close class it added when mouse is over element that should close gallery */ .pswp__ui--over-close .pswp__button--close { opacity: 1; } .pswp__button, .pswp__button--arrow--left:before, .pswp__button--arrow--right:before { background: url(default-skin.png) 0 0 no-repeat; background-size: 264px 88px; width: 44px; height: 44px; } @media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) { /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */ .pswp--svg .pswp__button, .pswp--svg .pswp__button--arrow--left:before, .pswp--svg .pswp__button--arrow--right:before { background-image: url(default-skin.svg); } .pswp--svg .pswp__button--arrow--left, .pswp--svg .pswp__button--arrow--right { background: none; } } .pswp__button--close { background-position: 0 -44px; } .pswp__button--share { background-position: -44px -44px; } .pswp__button--fs { display: none; } .pswp--supports-fs .pswp__button--fs { display: block; } .pswp--fs .pswp__button--fs { background-position: -44px 0; } .pswp__button--zoom { display: none; background-position: -88px 0; } .pswp--zoom-allowed .pswp__button--zoom { display: block; } .pswp--zoomed-in .pswp__button--zoom { background-position: -132px 0; } /* no arrows on touch screens */ .pswp--touch .pswp__button--arrow--left, .pswp--touch .pswp__button--arrow--right { visibility: hidden; } /* Arrow buttons hit area (icon is added to :before pseudo-element) */ .pswp__button--arrow--left, .pswp__button--arrow--right { background: none; top: 50%; margin-top: -50px; width: 70px; height: 100px; position: absolute; } .pswp__button--arrow--left { left: 0; } .pswp__button--arrow--right { right: 0; } .pswp__button--arrow--left:before, .pswp__button--arrow--right:before { content: ''; top: 35px; /** background-color: rgba(0, 0, 0, 0.3); */ background-color: rgba(51,51,51,0.5019608); height: 30px; width: 32px; position: absolute; } .pswp__button--arrow--left:before { left: 6px; background-position: -138px -44px; } .pswp__button--arrow--right:before { right: 6px; background-position: -94px -44px; } /* 2. Share modal/popup and links */ .pswp__counter, .pswp__share-modal { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .pswp__share-modal { display: block; background: rgba(0, 0, 0, 0.5); width: 100%; height: 100%; top: 0; left: 0; padding: 10px; position: absolute; z-index: 1600; opacity: 0; -webkit-transition: opacity 0.25s ease-out; transition: opacity 0.25s ease-out; -webkit-backface-visibility: hidden; will-change: opacity; } .pswp__share-modal--hidden { display: none; } .pswp__share-tooltip { z-index: 1620; position: absolute; background: #FFF; top: 56px; border-radius: 2px; display: block; width: auto; right: 44px; -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); -webkit-transform: translateY(6px); -ms-transform: translateY(6px); transform: translateY(6px); -webkit-transition: -webkit-transform 0.25s; transition: transform 0.25s; -webkit-backface-visibility: hidden; will-change: transform; } .pswp__share-tooltip a { display: block; padding: 8px 12px; color: #000; text-decoration: none; font-size: 14px; line-height: 18px; } .pswp__share-tooltip a:hover { text-decoration: none; color: #000; } .pswp__share-tooltip a:first-child { /* round corners on the first/last list item */ border-radius: 2px 2px 0 0; } .pswp__share-tooltip a:last-child { border-radius: 0 0 2px 2px; } .pswp__share-modal--fade-in { opacity: 1; } .pswp__share-modal--fade-in .pswp__share-tooltip { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); } /* increase size of share links on touch devices */ .pswp--touch .pswp__share-tooltip a { padding: 16px 12px; } a.pswp__share--facebook:before { content: ''; display: block; width: 0; height: 0; position: absolute; top: -12px; right: 15px; border: 6px solid transparent; border-bottom-color: #FFF; -webkit-pointer-events: none; -moz-pointer-events: none; pointer-events: none; } a.pswp__share--facebook:hover { background: #3E5C9A; color: #FFF; } a.pswp__share--facebook:hover:before { border-bottom-color: #3E5C9A; } /* Added extra PhotoSwipe menu items and color changes: */ a.pswp__share--twitter:hover { background: #3399cc; color: #FFF; } a.pswp__share--pinterest:hover { background: #cc0033; color: #FFF; } a.pswp__share--download:hover, a.pswp__share--exif:hover, a.pswp__share--gmap:hover { background: #DDD; } a.pswp__share--email:hover { background: #0066cc; color: #FFF;} a.pswp__share--googleplus:hover { background: #cc3333; color: #FFF; } a.pswp__share--whatsapp:hover { background: #33cc33; color: #FFF; } /* 3. Index indicator ("1 of X" counter) */ .pswp__counter { position: absolute; left: 0; top: 0; height: 44px; font-size: 13px; line-height: 44px; /** color: #FFF; */ opacity: 0.75; padding: 0 10px; } /* 4. Caption */ .pswp__caption { position: absolute; left: 0; bottom: 0; width: 100%; min-height: 44px; } .pswp__caption small { font-size: 11px; /** color: #BBB; */ } .pswp__caption__center { /** text-align: left; max-width: 420px; */ text-align: center; margin: 0 auto; /** font-size: 13px; */ padding: 10px; /** line-height: 20px; */ /** color: #CCC; */ } .pswp__caption--empty { display: none; } /* Fake caption element, used to calculate height of next/prev image */ .pswp__caption--fake { visibility: hidden; } /* 5. Loading indicator (preloader) You can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR */ .pswp__preloader { width: 44px; height: 44px; position: absolute; top: 0; left: 50%; margin-left: -22px; opacity: 0; -webkit-transition: opacity 0.25s ease-out; transition: opacity 0.25s ease-out; will-change: opacity; direction: ltr; } .pswp__preloader__icn { width: 20px; height: 20px; margin: 12px; } .pswp__preloader--active { opacity: 1; } .pswp__preloader--active .pswp__preloader__icn { /* We use .gif in browsers that don't support CSS animation */ background: url(preloader.gif) 0 0 no-repeat; } .pswp--css_animation .pswp__preloader--active { opacity: 1; } .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn { -webkit-animation: clockwise 500ms linear infinite; animation: clockwise 500ms linear infinite; } .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut { -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; } .pswp--css_animation .pswp__preloader__icn { background: none; opacity: 0.75; width: 14px; height: 14px; position: absolute; left: 15px; top: 15px; margin: 0; } .pswp--css_animation .pswp__preloader__cut { /* The idea of animating inner circle is based on Polymer ("material") loading indicator by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html */ position: relative; width: 7px; height: 14px; overflow: hidden; } .pswp--css_animation .pswp__preloader__donut { -webkit-box-sizing: border-box; box-sizing: border-box; width: 14px; height: 14px; border: 2px solid #FFF; border-radius: 50%; border-left-color: transparent; border-bottom-color: transparent; position: absolute; top: 0; left: 0; background: none; margin: 0; } @media screen and (max-width: 1024px) { .pswp__preloader { position: relative; left: auto; top: auto; margin: 0; float: right; } } @-webkit-keyframes clockwise { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes clockwise { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-webkit-keyframes donut-rotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } 50% { -webkit-transform: rotate(-140deg); transform: rotate(-140deg); } 100% { -webkit-transform: rotate(0); transform: rotate(0); } } @keyframes donut-rotate { 0% { -webkit-transform: rotate(0); transform: rotate(0); } 50% { -webkit-transform: rotate(-140deg); transform: rotate(-140deg); } 100% { -webkit-transform: rotate(0); transform: rotate(0); } } /* 6. Additional styles */ /* root element of UI */ .pswp__ui { -webkit-font-smoothing: auto; visibility: visible; opacity: 1; z-index: 1550; } /* top black bar with buttons and "1 of X" indicator */ .pswp__top-bar { position: absolute; left: 0; top: 0; height: 44px; width: 100%; } .pswp__caption, .pswp__top-bar, .pswp--has_mouse .pswp__button--arrow--left, .pswp--has_mouse .pswp__button--arrow--right { -webkit-backface-visibility: hidden; will-change: opacity; -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); } /* pswp--has_mouse class is added only when two subsequent mousemove events occur */ .pswp--has_mouse .pswp__button--arrow--left, .pswp--has_mouse .pswp__button--arrow--right { visibility: visible; } .pswp__top-bar, .pswp__caption { /** background-color: rgba(0, 0, 0, 0.5); } **/ background-color: rgba(51,51,51,0.5019608); } /* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */ .pswp__ui--fit .pswp__top-bar, .pswp__ui--fit .pswp__caption { /** background-color: rgba(0, 0, 0, 0.3); } */ background-color: rgba(51,51,51,0.5019608); } /* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */ .pswp__ui--idle .pswp__top-bar { opacity: 0; } .pswp__ui--idle .pswp__button--arrow--left, .pswp__ui--idle .pswp__button--arrow--right { opacity: 0; } /* pswp__ui--hidden class is added when controls are hidden e.g. when user taps to toggle visibility of controls */ .pswp__ui--hidden .pswp__top-bar, .pswp__ui--hidden .pswp__caption, .pswp__ui--hidden .pswp__button--arrow--left, .pswp__ui--hidden .pswp__button--arrow--right { /* Force paint & create composition layer for controls. */ opacity: 0.001; } /* pswp__ui--one-slide class is added when there is just one item in gallery */ .pswp__ui--one-slide .pswp__button--arrow--left, .pswp__ui--one-slide .pswp__button--arrow--right, .pswp__ui--one-slide .pswp__counter { display: none; } .pswp__element--disabled { display: none !important; } .pswp--minimal--dark .pswp__top-bar { background: none; } /*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */ /* Styles for basic PhotoSwipe functionality (sliding area, open/close transitions) */ /* pswp = photoswipe */ .pswp { display: none; position: absolute; width: 100%; height: 100%; left: 0; top: 0; overflow: hidden; -ms-touch-action: none; touch-action: none; z-index: 1500; -webkit-text-size-adjust: 100%; /* create separate layer, to avoid paint on window.onscroll in webkit/blink */ -webkit-backface-visibility: hidden; outline: none; } .pswp * { -webkit-box-sizing: border-box; box-sizing: border-box; } .pswp img { max-width: none; } /* style is added when JS option showHideOpacity is set to true */ .pswp--animate_opacity { /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */ opacity: 0.001; will-change: opacity; /* for open/close transition */ -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); } .pswp--open { display: block; } .pswp--zoom-allowed .pswp__img { /* autoprefixer: off */ cursor: -webkit-zoom-in; cursor: -moz-zoom-in; cursor: zoom-in; } .pswp--zoomed-in .pswp__img { /* autoprefixer: off */ cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; } .pswp--dragging .pswp__img { /* autoprefixer: off */ cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; } /* Background is added as a separate element. As animating opacity is much faster than animating rgba() background-color. */ .pswp__bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; /**background: #000; replaced by: */ background-color: rgb(0,0,0); background-color: rgba(0,0,0,1.0); opacity: 0; -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; will-change: opacity; } .pswp__scroll-wrap { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; } .pswp__container, .pswp__zoom-wrap { -ms-touch-action: none; touch-action: none; position: absolute; left: 0; right: 0; top: 0; bottom: 0; } /* Prevent selection and tap highlights */ .pswp__container, .pswp__img { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; } .pswp__zoom-wrap { position: absolute; width: 100%; -webkit-transform-origin: left top; -ms-transform-origin: left top; transform-origin: left top; /* for open/close transition */ -webkit-transition: -webkit-transform 333ms cubic-bezier(0.4, 0, 0.22, 1); transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); } .pswp__bg { will-change: opacity; /* for open/close transition */ -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); } .pswp--animated-in .pswp__bg, .pswp--animated-in .pswp__zoom-wrap { -webkit-transition: none; transition: none; } .pswp__container, .pswp__zoom-wrap { -webkit-backface-visibility: hidden; } .pswp__item { position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden; } .pswp__img { position: absolute; width: auto; height: auto; top: 0; left: 0; } /* stretched thumbnail or div placeholder element (see below) style is added to avoid flickering in webkit/blink when layers overlap */ .pswp__img--placeholder { -webkit-backface-visibility: hidden; } /* div element that matches size of large image large image loads on top of it */ .pswp__img--placeholder--blank { background: #222; } .pswp--ie .pswp__img { width: 100% !important; height: auto !important; left: 0; top: 0; } /* Error message appears when image is not loaded (JS option errorMsg controls markup) */ .pswp__error-msg { position: absolute; left: 0; top: 50%; width: 100%; text-align: center; font-size: 14px; line-height: 16px; margin-top: -8px; /** color: #CCC; */} .pswp__error-msg a { /** color: #CCC; */ text-decoration: underline; }
SAVE
CANCEL