No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

simpleLightbox.css 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. .slbOverlay, .slbWrapOuter, .slbWrap {
  2. position: fixed;
  3. top: 0;
  4. right: 0;
  5. bottom: 0;
  6. left: 0;
  7. }
  8. .slbOverlay {
  9. overflow: hidden;
  10. z-index: 2000;
  11. background-color: #000;
  12. opacity: 0.7;
  13. -webkit-animation: slbOverlay 0.5s;
  14. -moz-animation: slbOverlay 0.5s;
  15. animation: slbOverlay 0.5s;
  16. }
  17. .slbWrapOuter {
  18. overflow-x: hidden;
  19. overflow-y: auto;
  20. z-index: 2010;
  21. }
  22. .slbWrap {
  23. position: absolute;
  24. text-align: center;
  25. }
  26. .slbWrap:before {
  27. content: "";
  28. display: inline-block;
  29. height: 100%;
  30. vertical-align: middle;
  31. }
  32. .slbContentOuter {
  33. position: relative;
  34. display: inline-block;
  35. vertical-align: middle;
  36. margin: 0px auto;
  37. padding: 0 1em;
  38. box-sizing: border-box;
  39. z-index: 2020;
  40. text-align: left;
  41. max-width: 100%;
  42. }
  43. .slbContentEl .slbContentOuter {
  44. padding: 5em 1em;
  45. }
  46. .slbContent {
  47. position: relative;
  48. }
  49. .slbContentEl .slbContent {
  50. -webkit-animation: slbEnter 0.3s;
  51. -moz-animation: slbEnter 0.3s;
  52. animation: slbEnter 0.3s;
  53. background-color: #fff;
  54. box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.4);
  55. }
  56. .slbImageWrap {
  57. -webkit-animation: slbEnter 0.3s;
  58. -moz-animation: slbEnter 0.3s;
  59. animation: slbEnter 0.3s;
  60. position: relative;
  61. }
  62. .slbImageWrap:after {
  63. content: "";
  64. position: absolute;
  65. left: 0;
  66. right: 0;
  67. top: 5em;
  68. bottom: 5em;
  69. display: block;
  70. z-index: -1;
  71. box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.6);
  72. background-color: #FFF;
  73. }
  74. .slbDirectionNext .slbImageWrap {
  75. -webkit-animation: slbEnterNext 0.4s;
  76. -moz-animation: slbEnterNext 0.4s;
  77. animation: slbEnterNext 0.4s;
  78. }
  79. .slbDirectionPrev .slbImageWrap {
  80. -webkit-animation: slbEnterPrev 0.4s;
  81. -moz-animation: slbEnterPrev 0.4s;
  82. animation: slbEnterPrev 0.4s;
  83. }
  84. .slbImage {
  85. width: auto;
  86. max-width: 100%;
  87. height: auto;
  88. display: block;
  89. line-height: 0;
  90. box-sizing: border-box;
  91. padding: 5em 0;
  92. margin: 0 auto;
  93. }
  94. .slbCaption {
  95. display: inline-block;
  96. max-width: 100%;
  97. overflow: hidden;
  98. text-overflow: ellipsis;
  99. white-space: nowrap;
  100. word-wrap: normal;
  101. font-size: 1.4em;
  102. position: absolute;
  103. left: 0;
  104. right: 0;
  105. bottom: 0;
  106. padding: 0.71429em 0;
  107. color: #fff;
  108. color: rgba(255, 255, 255, 0.7);
  109. text-align: center;
  110. }
  111. .slbCloseBtn, .slbArrow {
  112. margin: 0;
  113. padding: 0;
  114. border: 0;
  115. cursor: pointer;
  116. background: none;
  117. }
  118. .slbCloseBtn::-moz-focus-inner, .slbArrow::-moz-focus-inner {
  119. padding: 0;
  120. border: 0;
  121. }
  122. .slbCloseBtn:hover, .slbArrow:hover {
  123. opacity: 0.5;
  124. }
  125. .slbCloseBtn:active, .slbArrow:active {
  126. opacity: 0.8;
  127. }
  128. .slbCloseBtn {
  129. -webkit-animation: slbEnter 0.3s;
  130. -moz-animation: slbEnter 0.3s;
  131. animation: slbEnter 0.3s;
  132. font-size: 3em;
  133. width: 1.66667em;
  134. height: 1.66667em;
  135. line-height: 1.66667em;
  136. position: absolute;
  137. right: -0.33333em;
  138. top: 0;
  139. color: #fff;
  140. color: rgba(255, 255, 255, 0.7);
  141. text-align: center;
  142. }
  143. .slbLoading .slbCloseBtn {
  144. display: none;
  145. }
  146. .slbLoadingText {
  147. font-size: 1.4em;
  148. color: #fff;
  149. color: rgba(255, 255, 255, 0.9);
  150. }
  151. .slbArrows {
  152. position: fixed;
  153. top: 50%;
  154. left: 0;
  155. right: 0;
  156. }
  157. .slbLoading .slbArrows {
  158. display: none;
  159. }
  160. .slbArrow {
  161. position: absolute;
  162. top: 50%;
  163. margin-top: -5em;
  164. width: 5em;
  165. height: 10em;
  166. opacity: 0.7;
  167. text-indent: -999em;
  168. overflow: hidden;
  169. }
  170. .slbArrow:before {
  171. content: "";
  172. position: absolute;
  173. top: 50%;
  174. left: 50%;
  175. margin: -0.8em 0 0 -0.8em;
  176. border: 0.8em solid transparent;
  177. }
  178. .slbArrow.next {
  179. right: 0;
  180. }
  181. .slbArrow.next:before {
  182. border-left-color: #fff;
  183. }
  184. .slbArrow.prev {
  185. left: 0;
  186. }
  187. .slbArrow.prev:before {
  188. border-right-color: #fff;
  189. }
  190. .slbIframeCont {
  191. width: 80em;
  192. height: 0;
  193. overflow: hidden;
  194. padding-top: 56.25%;
  195. margin: 5em 0;
  196. }
  197. .slbIframe {
  198. position: absolute;
  199. top: 0;
  200. left: 0;
  201. width: 100%;
  202. height: 100%;
  203. box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.6);
  204. background: #000;
  205. }
  206. @-webkit-keyframes slbOverlay {
  207. from {
  208. opacity: 0;
  209. }
  210. to {
  211. opacity: 0.7;
  212. }
  213. }
  214. @-moz-keyframes slbOverlay {
  215. from {
  216. opacity: 0;
  217. }
  218. to {
  219. opacity: 0.7;
  220. }
  221. }
  222. @keyframes slbOverlay {
  223. from {
  224. opacity: 0;
  225. }
  226. to {
  227. opacity: 0.7;
  228. }
  229. }
  230. @-webkit-keyframes slbEnter {
  231. from {
  232. opacity: 0;
  233. -webkit-transform: translate3d(0, -1em, 0);
  234. }
  235. to {
  236. opacity: 1;
  237. -webkit-transform: translate3d(0, 0, 0);
  238. }
  239. }
  240. @-moz-keyframes slbEnter {
  241. from {
  242. opacity: 0;
  243. -moz-transform: translate3d(0, -1em, 0);
  244. }
  245. to {
  246. opacity: 1;
  247. -moz-transform: translate3d(0, 0, 0);
  248. }
  249. }
  250. @keyframes slbEnter {
  251. from {
  252. opacity: 0;
  253. -webkit-transform: translate3d(0, -1em, 0);
  254. -moz-transform: translate3d(0, -1em, 0);
  255. -ms-transform: translate3d(0, -1em, 0);
  256. -o-transform: translate3d(0, -1em, 0);
  257. transform: translate3d(0, -1em, 0);
  258. }
  259. to {
  260. opacity: 1;
  261. -webkit-transform: translate3d(0, 0, 0);
  262. -moz-transform: translate3d(0, 0, 0);
  263. -ms-transform: translate3d(0, 0, 0);
  264. -o-transform: translate3d(0, 0, 0);
  265. transform: translate3d(0, 0, 0);
  266. }
  267. }
  268. @-webkit-keyframes slbEnterNext {
  269. from {
  270. opacity: 0;
  271. -webkit-transform: translate3d(4em, 0, 0);
  272. }
  273. to {
  274. opacity: 1;
  275. -webkit-transform: translate3d(0, 0, 0);
  276. }
  277. }
  278. @-moz-keyframes slbEnterNext {
  279. from {
  280. opacity: 0;
  281. -moz-transform: translate3d(4em, 0, 0);
  282. }
  283. to {
  284. opacity: 1;
  285. -moz-transform: translate3d(0, 0, 0);
  286. }
  287. }
  288. @keyframes slbEnterNext {
  289. from {
  290. opacity: 0;
  291. -webkit-transform: translate3d(4em, 0, 0);
  292. -moz-transform: translate3d(4em, 0, 0);
  293. -ms-transform: translate3d(4em, 0, 0);
  294. -o-transform: translate3d(4em, 0, 0);
  295. transform: translate3d(4em, 0, 0);
  296. }
  297. to {
  298. opacity: 1;
  299. -webkit-transform: translate3d(0, 0, 0);
  300. -moz-transform: translate3d(0, 0, 0);
  301. -ms-transform: translate3d(0, 0, 0);
  302. -o-transform: translate3d(0, 0, 0);
  303. transform: translate3d(0, 0, 0);
  304. }
  305. }
  306. @-webkit-keyframes slbEnterPrev {
  307. from {
  308. opacity: 0;
  309. -webkit-transform: translate3d(-4em, 0, 0);
  310. }
  311. to {
  312. opacity: 1;
  313. -webkit-transform: translate3d(0, 0, 0);
  314. }
  315. }
  316. @-moz-keyframes slbEnterPrev {
  317. from {
  318. opacity: 0;
  319. -moz-transform: translate3d(-4em, 0, 0);
  320. }
  321. to {
  322. opacity: 1;
  323. -moz-transform: translate3d(0, 0, 0);
  324. }
  325. }
  326. @keyframes slbEnterPrev {
  327. from {
  328. opacity: 0;
  329. -webkit-transform: translate3d(-4em, 0, 0);
  330. -moz-transform: translate3d(-4em, 0, 0);
  331. -ms-transform: translate3d(-4em, 0, 0);
  332. -o-transform: translate3d(-4em, 0, 0);
  333. transform: translate3d(-4em, 0, 0);
  334. }
  335. to {
  336. opacity: 1;
  337. -webkit-transform: translate3d(0, 0, 0);
  338. -moz-transform: translate3d(0, 0, 0);
  339. -ms-transform: translate3d(0, 0, 0);
  340. -o-transform: translate3d(0, 0, 0);
  341. transform: translate3d(0, 0, 0);
  342. }
  343. }