| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357 |
- /*! Swipebox v1.2.8 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
- html.swipebox-html.swipebox-touch {
- overflow: hidden !important;
- }
- #swipebox-overlay img {
- border: none !important;
- }
- #swipebox-overlay {
- width: 100%;
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 99999 !important;
- overflow: hidden;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- #swipebox-container {
- position: relative;
- width: 100%;
- height: 100%;
- }
- #swipebox-slider {
- -webkit-transition: -webkit-transform 0.4s ease;
- transition: transform 0.4s ease;
- height: 100%;
- left: 0;
- top: 0;
- width: 100%;
- white-space: nowrap;
- position: absolute;
- display: none;
- cursor: pointer;
- }
- #swipebox-slider .slide {
- height: 100%;
- width: 100%;
- line-height: 1px;
- text-align: center;
- display: inline-block;
- }
- #swipebox-slider .slide:before {
- content: "";
- display: inline-block;
- height: 43%;
- width: 1px;
- margin-right: -1px;
- }
- #swipebox-slider .slide img, #swipebox-slider .slide .swipebox-video-container {
- display: inline-block;
- max-height: 100%;
- max-width: 100%;
- margin: 0;
- padding: 0;
- width: auto;
- height: auto;
- vertical-align: middle;
- }
- #swipebox-slider .slide .swipebox-video-container {
- background: none;
- max-width: 1140px;
- max-height: 100%;
- width: 100%;
- padding: 5%;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- }
- #swipebox-slider .slide .swipebox-video-container .swipebox-video {
- width: 100%;
- height: 0;
- padding-bottom: 56.25%;
- overflow: hidden;
- position: relative;
- }
- #swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
- width: 100% !important;
- height: 100% !important;
- position: absolute;
- top: 0;
- left: 0;
- }
- #swipebox-slider .slide-loading {
- background: url(../images/loader.gif) no-repeat center center;
- }
- #swipebox-bottom-bar,
- #swipebox-top-bar {
- -webkit-transition: 0.5s all;
- transition: 0.5s all;
- -moz-transition: 0.5s all;
- position: absolute;
- left: 0;
- z-index: 999;
- height: 50px;
- width: 100%;
- }
- #swipebox-bottom-bar {
- bottom: -50px;
- }
- #swipebox-bottom-bar.visible-bars {
- -webkit-transform: translate3d(0, -50px, 0);
- transform: translate3d(0, -50px, 0);
- -moz-transform: translate3d(0, -50px, 0);
- -o-transform: translate3d(0, -50px, 0);
- -ms-transform: translate3d(0, -50px, 0);
- }
- #swipebox-top-bar {
- bottom: 14%;
- }
- #swipebox-title {
- display: block;
- width: 45%;
- text-align: center;
- margin: 0 auto !important;
- }
- #swipebox-prev,
- #swipebox-next,
- #swipebox-close {
- background-image: url(../images/icons.png);
- background-repeat: no-repeat;
- border: none !important;
- text-decoration: none !important;
- cursor: pointer;
- width: 50px;
- height: 50px;
- top: 0;
- }
- #swipebox-arrows {
- display: block;
- margin: 0 auto;
- width: 100%;
- height: 50px;
- }
- #swipebox-prev {
- background-position: -32px 13px;
- float: left;
- }
- #swipebox-next {
- background-position: -78px 13px;
- float: right;
- }
- #swipebox-close {
- right: 50px;
- top: 12px;
- position: absolute;
- z-index: 9999;
- background-position: 15px 12px;
- }
- .swipebox-no-close-button #swipebox-close {
- display: none;
- }
- #swipebox-prev.disabled,
- #swipebox-next.disabled {
- opacity: 0.3;
- }
- .swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
- -webkit-animation: rightSpring 0.3s;
- animation: rightSpring 0.3s;
- -moz-animation: rightSpring 0.3s;
- }
- .swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
- -webkit-animation: leftSpring 0.3s;
- animation: leftSpring 0.3s;
- -moz-animation: leftSpring 0.3s;
- }
- .swipebox-touch #swipebox-container:before, .swipebox-touch #swipebox-container:after {
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- -webkit-transition: all .3s ease;
- transition: all .3s ease;
- -moz-transition: all .3s ease;
- content: ' ';
- position: absolute;
- z-index: 999;
- top: 0;
- height: 100%;
- width: 20px;
- opacity: 0;
- }
- .swipebox-touch #swipebox-container:before {
- left: 0;
- -webkit-box-shadow: inset 10px 0px 10px -8px #656565;
- box-shadow: inset 10px 0px 10px -8px #656565;
- -moz-box-shadow: inset 10px 0px 10px -8px #656565;
- }
- .swipebox-touch #swipebox-container:after {
- right: 0;
- -webkit-box-shadow: inset -10px 0px 10px -8px #656565;
- box-shadow: inset -10px 0px 10px -8px #656565;
- -moz-box-shadow: inset -10px 0px 10px -8px #656565;
- }
- .swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before {
- opacity: 1;
- }
- .swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
- opacity: 1;
- }
- @-webkit-keyframes rightSpring {
- 0% {
- left: 0;
- }
- 50% {
- left: -30px;
- }
- 100% {
- left: 0;
- }
- }
- @keyframes rightSpring {
- 0% {
- left: 0;
- }
- 50% {
- left: -30px;
- }
- 100% {
- left: 0;
- }
- }
- @-webkit-keyframes leftSpring {
- 0% {
- left: 0;
- }
- 50% {
- left: 30px;
- }
- 100% {
- left: 0;
- }
- }
- @keyframes leftSpring {
- 0% {
- left: 0;
- }
- 50% {
- left: 30px;
- }
- 100% {
- left: 0;
- }
- }
- @media screen and (min-width: 800px) {
- #swipebox-close {
- right: 50px;
- top: 12px;
- }
- #swipebox-arrows {
- width: 80%;
- max-width: 800px;
- }
- }
- /* Skin
- --------------------------*/
- #swipebox-overlay {
- background: #0d0d0d;
- }
- #swipebox-bottom-bar,
- #swipebox-top-bar {
- opacity: 1;
- }
- #swipebox-top-bar {
- color: white !important;
- font-size: 15px;
- line-height: 30px;
- }
- @media(max-width:1366px){
- #swipebox-top-bar {
- bottom: 20%;
- }
- }
- @media(max-width:1080px){
- #swipebox-title {
- width: 61%;
- line-height: 1.8em;
- margin: 1em auto 0 !important;
- }
- }
- @media(max-width:768px){
- #swipebox-title {
- width: 75%;
- }
- #swipebox-arrows {
- width: 83%;
- }
- }
- @media(max-width:667px){
- #swipebox-slider .slide img, #swipebox-slider .slide .swipebox-video-container {
- max-width: 80%;
- }
- #swipebox-title {
- width: 82%;
- font-size: 14px;
- font-weight: 300;
- }
- }
- @media(max-width:640px){
- #swipebox-title {
- width: 82%;
- font-size: .9em;
- }
- #swipebox-arrows {
- width: 80%;
- }
- }
- @media(max-width:480px){
- #swipebox-title {
- width: 85%;
- }
- #swipebox-close {
- right: 30px;
- }
- #swipebox-slider .slide img, #swipebox-slider .slide .swipebox-video-container {
- max-width: 100%;
- }
- #swipebox-container {
- width: 97%;
- }
- }
- @media(max-width:414px){
- #swipebox-container {
- width: 96%;
- }
- }
- @media(max-width:384px){
- #swipebox-top-bar {
- bottom: 23%;
- }
- }
|