jquery.magnificpopup.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  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. padding: 0 0 18px 10px;
  115. color: white;
  116. font-style: normal;
  117. font-size: 28px;
  118. font-family: Arial, Baskerville, monospace; }
  119. .mfp-close:hover, .mfp-close:focus {
  120. opacity: 1; }
  121. .mfp-close:active {
  122. top: 1px; }
  123. .mfp-close-btn-in .mfp-close {
  124. color: #333333; }
  125. .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  126. color: white;
  127. right: -6px;
  128. text-align: right;
  129. padding-right: 6px;
  130. width: 100%; }
  131. .mfp-counter {
  132. position: absolute;
  133. top: 0;
  134. right: 0;
  135. color: #cccccc;
  136. font-size: 12px;
  137. line-height: 18px; }
  138. .mfp-arrow {
  139. position: absolute;
  140. opacity: 0.65;
  141. margin: 0;
  142. top: 50%;
  143. margin-top: -55px;
  144. padding: 0;
  145. width: 90px;
  146. height: 110px;
  147. -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  148. .mfp-arrow:active {
  149. margin-top: -54px; }
  150. .mfp-arrow:hover, .mfp-arrow:focus {
  151. opacity: 1; }
  152. .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
  153. content: '';
  154. display: block;
  155. width: 0;
  156. height: 0;
  157. position: absolute;
  158. left: 0;
  159. top: 0;
  160. margin-top: 35px;
  161. margin-left: 35px;
  162. border: medium inset transparent; }
  163. .mfp-arrow:after, .mfp-arrow .mfp-a {
  164. border-top-width: 13px;
  165. border-bottom-width: 13px;
  166. top: 8px; }
  167. .mfp-arrow:before, .mfp-arrow .mfp-b {
  168. border-top-width: 21px;
  169. border-bottom-width: 21px; }
  170. .mfp-arrow-left {
  171. left: 0; }
  172. .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
  173. border-right: 17px solid white;
  174. margin-left: 31px; }
  175. .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
  176. margin-left: 25px;
  177. border-right: 27px solid #3f3f3f; }
  178. .mfp-arrow-right {
  179. right: 0; }
  180. .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
  181. border-left: 17px solid white;
  182. margin-left: 39px; }
  183. .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
  184. border-left: 27px solid #3f3f3f; }
  185. .mfp-iframe-holder {
  186. padding-top: 40px;
  187. padding-bottom: 40px; }
  188. .mfp-iframe-holder .mfp-content {
  189. line-height: 0;
  190. width: 100%;
  191. max-width: 900px; }
  192. .mfp-iframe-holder .mfp-close {
  193. top: -40px; }
  194. .mfp-iframe-scaler {
  195. width: 100%;
  196. height: 0;
  197. overflow: hidden;
  198. padding-top: 56.25%; }
  199. .mfp-iframe-scaler iframe {
  200. position: absolute;
  201. display: block;
  202. top: 0;
  203. left: 0;
  204. width: 100%;
  205. height: 100%;
  206. box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  207. background: black; }
  208. /* Main image in popup */
  209. img.mfp-img {
  210. width: auto;
  211. max-width: 100%;
  212. height: auto;
  213. display: block;
  214. line-height: 0;
  215. -webkit-box-sizing: border-box;
  216. -moz-box-sizing: border-box;
  217. box-sizing: border-box;
  218. padding: 40px 0 40px;
  219. margin: 0 auto; }
  220. /* The shadow behind the image */
  221. .mfp-figure {
  222. line-height: 0; }
  223. .mfp-figure:after {
  224. content: '';
  225. position: absolute;
  226. left: 0;
  227. top: 40px;
  228. bottom: 40px;
  229. display: block;
  230. right: 0;
  231. width: auto;
  232. height: auto;
  233. z-index: -1;
  234. box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  235. background: #444444; }
  236. .mfp-figure small {
  237. color: #bdbdbd;
  238. display: block;
  239. font-size: 12px;
  240. line-height: 14px; }
  241. .mfp-figure figure {
  242. margin: 0; }
  243. .mfp-bottom-bar {
  244. margin-top: -36px;
  245. position: absolute;
  246. top: 100%;
  247. left: 0;
  248. width: 100%;
  249. cursor: auto; }
  250. .mfp-title {
  251. text-align: left;
  252. line-height: 18px;
  253. color: #f3f3f3;
  254. word-wrap: break-word;
  255. padding-right: 36px; }
  256. .mfp-image-holder .mfp-content {
  257. max-width: 100%; }
  258. .mfp-gallery .mfp-image-holder .mfp-figure {
  259. cursor: pointer; }
  260. @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  261. /**
  262. * Remove all paddings around the image on small screen
  263. */
  264. .mfp-img-mobile .mfp-image-holder {
  265. padding-left: 0;
  266. padding-right: 0; }
  267. .mfp-img-mobile img.mfp-img {
  268. padding: 0; }
  269. .mfp-img-mobile .mfp-figure {
  270. /* The shadow behind the image */ }
  271. .mfp-img-mobile .mfp-figure:after {
  272. top: 0;
  273. bottom: 0; }
  274. .mfp-img-mobile .mfp-figure small {
  275. display: inline;
  276. margin-left: 5px; }
  277. .mfp-img-mobile .mfp-bottom-bar {
  278. background: rgba(0, 0, 0, 0.6);
  279. bottom: 0;
  280. margin: 0;
  281. top: auto;
  282. padding: 3px 5px;
  283. position: fixed;
  284. -webkit-box-sizing: border-box;
  285. -moz-box-sizing: border-box;
  286. box-sizing: border-box; }
  287. .mfp-img-mobile .mfp-bottom-bar:empty {
  288. padding: 0; }
  289. .mfp-img-mobile .mfp-counter {
  290. right: 5px;
  291. top: 3px; }
  292. .mfp-img-mobile .mfp-close {
  293. top: 0;
  294. right: 0;
  295. width: 35px;
  296. height: 35px;
  297. line-height: 35px;
  298. background: rgba(0, 0, 0, 0.6);
  299. position: fixed;
  300. text-align: center;
  301. padding: 0; } }
  302. @media all and (max-width: 900px) {
  303. .mfp-arrow {
  304. -webkit-transform: scale(0.75);
  305. transform: scale(0.75); }
  306. .mfp-arrow-left {
  307. -webkit-transform-origin: 0;
  308. transform-origin: 0; }
  309. .mfp-arrow-right {
  310. -webkit-transform-origin: 100%;
  311. transform-origin: 100%; }
  312. .mfp-container {
  313. padding-left: 6px;
  314. padding-right: 6px; } }
  315. .mfp-ie7 .mfp-img {
  316. padding: 0; }
  317. .mfp-ie7 .mfp-bottom-bar {
  318. width: 600px;
  319. left: 50%;
  320. margin-left: -300px;
  321. margin-top: 5px;
  322. padding-bottom: 5px; }
  323. .mfp-ie7 .mfp-container {
  324. padding: 0; }
  325. .mfp-ie7 .mfp-content {
  326. padding-top: 44px; }
  327. .mfp-ie7 .mfp-close {
  328. top: 0;
  329. right: 0;
  330. padding-top: 0; }