You are here

magnific-popup.css in Fine Image Upload 8

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #cccccc;
}

.mfp-preloader a:hover {
  color: white;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after,
.mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
  border-right: 17px solid white;
  margin-left: 31px;
}

.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
  margin-left: 25px;
  border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
  border-left: 17px solid white;
  margin-left: 39px;
}

.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
  border-left: 27px solid #3f3f3f;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444444;
}

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {

  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

.mfp-ie7 .mfp-img {
  padding: 0;
}

.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
  padding: 0;
}

.mfp-ie7 .mfp-content {
  padding-top: 44px;
}

.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}

File

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