magific.css 8.4 KB

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