No Description

magnific-popup.css 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. /* Magnific Popup CSS */
  2. .mfp-bg {
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. z-index: 1042;
  8. overflow: hidden;
  9. position: fixed;
  10. background: #0b0b0b;
  11. opacity: 0.8;
  12. filter: alpha(opacity=80); }
  13. .mfp-wrap {
  14. top: 0;
  15. left: 0;
  16. width: 100%;
  17. height: 100%;
  18. z-index: 1043;
  19. position: fixed;
  20. outline: none !important;
  21. -webkit-backface-visibility: hidden; }
  22. .mfp-container {
  23. text-align: center;
  24. position: absolute;
  25. width: 100%;
  26. height: 100%;
  27. left: 0;
  28. top: 0;
  29. padding: 0 8px;
  30. -webkit-box-sizing: border-box;
  31. -moz-box-sizing: border-box;
  32. box-sizing: border-box; }
  33. .mfp-container:before {
  34. content: '';
  35. display: inline-block;
  36. height: 100%;
  37. vertical-align: middle; }
  38. .mfp-align-top .mfp-container:before {
  39. display: none; }
  40. .mfp-content {
  41. position: relative;
  42. display: inline-block;
  43. vertical-align: middle;
  44. margin: 0 auto;
  45. text-align: left;
  46. z-index: 1045; }
  47. .mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  48. width: 100%;
  49. cursor: auto; }
  50. .mfp-ajax-cur {
  51. cursor: progress; }
  52. .mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  53. cursor: -moz-zoom-out;
  54. cursor: -webkit-zoom-out;
  55. cursor: zoom-out; }
  56. .mfp-zoom {
  57. cursor: pointer;
  58. cursor: -webkit-zoom-in;
  59. cursor: -moz-zoom-in;
  60. cursor: zoom-in; }
  61. .mfp-auto-cursor .mfp-content {
  62. cursor: auto; }
  63. .mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  64. -webkit-user-select: none;
  65. -moz-user-select: none;
  66. user-select: none; }
  67. .mfp-loading.mfp-figure {
  68. display: none; }
  69. .mfp-hide {
  70. display: none !important; }
  71. .mfp-preloader {
  72. color: #cccccc;
  73. position: absolute;
  74. top: 50%;
  75. width: auto;
  76. text-align: center;
  77. margin-top: -0.8em;
  78. left: 8px;
  79. right: 8px;
  80. z-index: 1044; }
  81. .mfp-preloader a {
  82. color: #cccccc; }
  83. .mfp-preloader a:hover {
  84. color: white; }
  85. .mfp-s-ready .mfp-preloader {
  86. display: none; }
  87. .mfp-s-error .mfp-content {
  88. display: none; }
  89. button.mfp-close, button.mfp-arrow {
  90. overflow: visible;
  91. cursor: pointer;
  92. background: transparent;
  93. border: 0;
  94. -webkit-appearance: none;
  95. display: block;
  96. outline: none;
  97. padding: 0;
  98. z-index: 1046;
  99. -webkit-box-shadow: none;
  100. box-shadow: none; }
  101. button::-moz-focus-inner {
  102. padding: 0;
  103. border: 0; }
  104. .mfp-close {
  105. width: 44px;
  106. height: 44px;
  107. line-height: 44px;
  108. position: absolute;
  109. right: 0;
  110. top: 0;
  111. text-decoration: none;
  112. text-align: center;
  113. opacity: 0.65;
  114. filter: alpha(opacity=65);
  115. padding: 0 0 18px 10px;
  116. color: white;
  117. font-style: normal;
  118. font-size: 28px;
  119. font-family: Arial, Baskerville, monospace; }
  120. .mfp-close:hover, .mfp-close:focus {
  121. opacity: 1;
  122. filter: alpha(opacity=100); }
  123. .mfp-close:active {
  124. top: 1px; }
  125. .mfp-close-btn-in .mfp-close {
  126. color: #333333; }
  127. .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  128. color: white;
  129. right: -6px;
  130. text-align: right;
  131. padding-right: 6px;
  132. width: 100%; }
  133. .mfp-counter {
  134. position: absolute;
  135. top: 0;
  136. right: 0;
  137. color: #cccccc;
  138. font-size: 12px;
  139. line-height: 18px; }
  140. .mfp-arrow {
  141. position: absolute;
  142. opacity: 0.65;
  143. filter: alpha(opacity=65);
  144. margin: 0;
  145. top: 50%;
  146. margin-top: -55px;
  147. padding: 0;
  148. width: 90px;
  149. height: 110px;
  150. -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  151. .mfp-arrow:active {
  152. margin-top: -54px; }
  153. .mfp-arrow:hover, .mfp-arrow:focus {
  154. opacity: 1;
  155. filter: alpha(opacity=100); }
  156. .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
  157. content: '';
  158. display: block;
  159. width: 0;
  160. height: 0;
  161. position: absolute;
  162. left: 0;
  163. top: 0;
  164. margin-top: 35px;
  165. margin-left: 35px;
  166. border: medium inset transparent; }
  167. .mfp-arrow:after, .mfp-arrow .mfp-a {
  168. border-top-width: 13px;
  169. border-bottom-width: 13px;
  170. top: 8px; }
  171. .mfp-arrow:before, .mfp-arrow .mfp-b {
  172. border-top-width: 21px;
  173. border-bottom-width: 21px;
  174. opacity: 0.7; }
  175. .mfp-arrow-left {
  176. left: 0; }
  177. .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
  178. border-right: 17px solid white;
  179. margin-left: 31px; }
  180. .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
  181. margin-left: 25px;
  182. border-right: 27px solid #3f3f3f; }
  183. .mfp-arrow-right {
  184. right: 0; }
  185. .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
  186. border-left: 17px solid white;
  187. margin-left: 39px; }
  188. .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
  189. border-left: 27px solid #3f3f3f; }
  190. .mfp-iframe-holder {
  191. padding-top: 40px;
  192. padding-bottom: 40px; }
  193. .mfp-iframe-holder .mfp-content {
  194. line-height: 0;
  195. width: 100%;
  196. max-width: 900px; }
  197. .mfp-iframe-holder .mfp-close {
  198. top: -40px; }
  199. .mfp-iframe-scaler {
  200. width: 100%;
  201. height: 0;
  202. overflow: hidden;
  203. padding-top: 56.25%; }
  204. .mfp-iframe-scaler iframe {
  205. position: absolute;
  206. display: block;
  207. top: 0;
  208. left: 0;
  209. width: 100%;
  210. height: 100%;
  211. box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  212. background: black; }
  213. /* Main image in popup */
  214. img.mfp-img {
  215. width: auto;
  216. max-width: 100%;
  217. height: auto;
  218. display: block;
  219. line-height: 0;
  220. -webkit-box-sizing: border-box;
  221. -moz-box-sizing: border-box;
  222. box-sizing: border-box;
  223. padding: 40px 0 40px;
  224. margin: 0 auto; }
  225. /* The shadow behind the image */
  226. .mfp-figure {
  227. line-height: 0; }
  228. .mfp-figure:after {
  229. content: '';
  230. position: absolute;
  231. left: 0;
  232. top: 40px;
  233. bottom: 40px;
  234. display: block;
  235. right: 0;
  236. width: auto;
  237. height: auto;
  238. z-index: -1;
  239. box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  240. background: #444444; }
  241. .mfp-figure small {
  242. color: #bdbdbd;
  243. display: block;
  244. font-size: 12px;
  245. line-height: 14px; }
  246. .mfp-figure figure {
  247. margin: 0; }
  248. .mfp-bottom-bar {
  249. margin-top: -36px;
  250. position: absolute;
  251. top: 100%;
  252. left: 0;
  253. width: 100%;
  254. cursor: auto; }
  255. .mfp-title {
  256. text-align: left;
  257. line-height: 18px;
  258. color: #f3f3f3;
  259. word-wrap: break-word;
  260. padding-right: 36px; }
  261. .mfp-image-holder .mfp-content {
  262. max-width: 100%; }
  263. .mfp-gallery .mfp-image-holder .mfp-figure {
  264. cursor: pointer; }
  265. @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  266. /**
  267. * Remove all paddings around the image on small screen
  268. */
  269. .mfp-img-mobile .mfp-image-holder {
  270. padding-left: 0;
  271. padding-right: 0; }
  272. .mfp-img-mobile img.mfp-img {
  273. padding: 0; }
  274. .mfp-img-mobile .mfp-figure:after {
  275. top: 0;
  276. bottom: 0; }
  277. .mfp-img-mobile .mfp-figure small {
  278. display: inline;
  279. margin-left: 5px; }
  280. .mfp-img-mobile .mfp-bottom-bar {
  281. background: rgba(0, 0, 0, 0.6);
  282. bottom: 0;
  283. margin: 0;
  284. top: auto;
  285. padding: 3px 5px;
  286. position: fixed;
  287. -webkit-box-sizing: border-box;
  288. -moz-box-sizing: border-box;
  289. box-sizing: border-box; }
  290. .mfp-img-mobile .mfp-bottom-bar:empty {
  291. padding: 0; }
  292. .mfp-img-mobile .mfp-counter {
  293. right: 5px;
  294. top: 3px; }
  295. .mfp-img-mobile .mfp-close {
  296. top: 0;
  297. right: 0;
  298. width: 35px;
  299. height: 35px;
  300. line-height: 35px;
  301. background: rgba(0, 0, 0, 0.6);
  302. position: fixed;
  303. text-align: center;
  304. padding: 0; } }
  305. @media all and (max-width: 900px) {
  306. .mfp-arrow {
  307. -webkit-transform: scale(0.75);
  308. transform: scale(0.75); }
  309. .mfp-arrow-left {
  310. -webkit-transform-origin: 0;
  311. transform-origin: 0; }
  312. .mfp-arrow-right {
  313. -webkit-transform-origin: 100%;
  314. transform-origin: 100%; }
  315. .mfp-container {
  316. padding-left: 6px;
  317. padding-right: 6px; } }
  318. .mfp-ie7 .mfp-img {
  319. padding: 0; }
  320. .mfp-ie7 .mfp-bottom-bar {
  321. width: 600px;
  322. left: 50%;
  323. margin-left: -300px;
  324. margin-top: 5px;
  325. padding-bottom: 5px; }
  326. .mfp-ie7 .mfp-container {
  327. padding: 0; }
  328. .mfp-ie7 .mfp-content {
  329. padding-top: 44px; }
  330. .mfp-ie7 .mfp-close {
  331. top: 0;
  332. right: 0;
  333. padding-top: 0; }