jquery.fancybox.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. /*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
  2. .fancybox-wrap,
  3. .fancybox-skin,
  4. .fancybox-outer,
  5. .fancybox-inner,
  6. .fancybox-image,
  7. .fancybox-wrap iframe,
  8. .fancybox-wrap object,
  9. .fancybox-nav,
  10. .fancybox-nav span,
  11. .fancybox-tmp {
  12. padding: 0;
  13. margin: 0;
  14. border: 0;
  15. outline: none;
  16. vertical-align: top;
  17. }
  18. .fancybox-wrap {
  19. position: absolute;
  20. top: 0;
  21. left: 0;
  22. z-index: 8020;
  23. }
  24. .fancybox-skin {
  25. position: relative;
  26. background: #2F3238;
  27. color: #7F8289;
  28. text-shadow: none;
  29. -webkit-border-radius: 0;
  30. -moz-border-radius: 0;
  31. border-radius: 0;
  32. }
  33. .fancybox-opened {
  34. z-index: 8030;
  35. }
  36. .fancybox-opened .fancybox-skin {
  37. -webkit-box-shadow: none;
  38. -moz-box-shadow: none;
  39. box-shadow: none;
  40. }
  41. .fancybox-skin {
  42. padding: 0px !important;
  43. }
  44. .fancybox-outer, .fancybox-inner {
  45. position: relative;
  46. }
  47. .fancybox-inner {
  48. overflow: hidden;
  49. }
  50. .fancybox-type-iframe .fancybox-inner {
  51. -webkit-overflow-scrolling: touch;
  52. }
  53. .fancybox-error {
  54. color: #444;
  55. font-size: 14px;
  56. line-height: 20px;
  57. margin: 0;
  58. padding: 15px;
  59. white-space: nowrap;
  60. }
  61. .fancybox-image, .fancybox-iframe {
  62. display: block;
  63. width: 100%;
  64. height: 100%;
  65. }
  66. .fancybox-image {
  67. max-width: 100%;
  68. max-height: 100%;
  69. }
  70. #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  71. background-image: url('fancybox_sprite.png') !important;
  72. }
  73. #fancybox-loading {
  74. position: fixed;
  75. top: 50%;
  76. left: 50%;
  77. margin-top: -22px;
  78. margin-left: -22px;
  79. background-position: 0 -108px;
  80. opacity: 0.8;
  81. cursor: pointer;
  82. z-index: 8060;
  83. }
  84. #fancybox-loading div {
  85. width: 44px;
  86. height: 44px;
  87. background: url('fancybox_loading.gif') center center no-repeat;
  88. }
  89. .fancybox-close {
  90. position: absolute;
  91. right: 0;
  92. top: 0;
  93. width: 37px;
  94. height: 37px;
  95. cursor: pointer;
  96. z-index: 9000;
  97. opacity: 0.5;
  98. -webkit-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  99. -moz-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  100. -o-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  101. transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  102. }
  103. .fancybox-close i {
  104. left: 50%;
  105. top: 50%;
  106. margin: -11px 0 0 -11px;
  107. font-size: 22px;
  108. line-height: 1em;
  109. position: absolute;
  110. color: #FFFFFF;
  111. }
  112. .fancybox-close:hover {
  113. opacity: 1;
  114. }
  115. .fancybox-nav {
  116. position: absolute;
  117. top: 0;
  118. height: 100%;
  119. cursor: pointer;
  120. text-decoration: none;
  121. background: transparent url('blank.gif'); /* helps IE */
  122. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  123. z-index: 8040;
  124. }
  125. .fancybox-prev,
  126. .fancybox-prev span {
  127. left: 0;
  128. }
  129. .fancybox-next,
  130. .fancybox-next span {
  131. right: 0;
  132. }
  133. .fancybox-nav span {
  134. position: absolute;
  135. top: 50%;
  136. width: 50px;
  137. height: 50px;
  138. margin-top: -25px;
  139. cursor: pointer;
  140. z-index: 8040;
  141. background-image: none;
  142. background-color: #26292E;
  143. opacity: 0.5;
  144. -webkit-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  145. -moz-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  146. -o-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  147. transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  148. }
  149. .fancybox-prev span i {
  150. left: 50%;
  151. top: 50%;
  152. margin: -15px 0 0 -17px;
  153. font-size: 30px;
  154. line-height: 1em;
  155. position: absolute;
  156. color: #FFFFFF;
  157. }
  158. .fancybox-next span i {
  159. left: 50%;
  160. top: 50%;
  161. margin: -15px 0 0 -15px;
  162. font-size: 30px;
  163. line-height: 1em;
  164. position: absolute;
  165. color: #FFFFFF;
  166. }
  167. .fancybox-nav:hover span {
  168. opacity: 1;
  169. background-color: #DE5E60;
  170. }
  171. .fancybox-tmp {
  172. position: absolute;
  173. top: -99999px;
  174. left: -99999px;
  175. visibility: hidden;
  176. max-width: 99999px;
  177. max-height: 99999px;
  178. overflow: visible !important;
  179. }
  180. /* Overlay helper */
  181. .fancybox-lock {
  182. margin: 0 !important;
  183. }
  184. .fancybox-overlay {
  185. position: absolute;
  186. top: 0;
  187. left: 0;
  188. overflow: hidden !important;
  189. display: none;
  190. z-index: 8010;
  191. background: url('fancybox_overlay.png');
  192. }
  193. .fancybox-overlay-fixed {
  194. position: fixed;
  195. bottom: 0;
  196. right: 0;
  197. }
  198. .fancybox-lock .fancybox-overlay {
  199. overflow: auto;
  200. overflow-y: scroll;
  201. }
  202. /* Title helper */
  203. .fancybox-title {
  204. visibility: hidden;
  205. position: relative;
  206. text-shadow: none;
  207. z-index: 8050;
  208. }
  209. .fancybox-opened .fancybox-title {
  210. visibility: visible;
  211. }
  212. .fancybox-opened .fancybox-title h4 {
  213. font-size: 24px;
  214. font-weight: 300;
  215. margin-bottom: 10px;
  216. }
  217. .fancybox-opened .fancybox-title p {
  218. font-size: 16px;
  219. font-weight: 300;
  220. margin-bottom: 0;
  221. }
  222. .fancybox-title-float-wrap {
  223. position: absolute;
  224. bottom: 0;
  225. right: 50%;
  226. margin-bottom: -35px;
  227. z-index: 8050;
  228. text-align: center;
  229. }
  230. .fancybox-title-float-wrap .child {
  231. display: inline-block;
  232. margin-right: -100%;
  233. padding: 2px 20px;
  234. background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  235. background: rgba(0, 0, 0, 0.8);
  236. -webkit-border-radius: 15px;
  237. -moz-border-radius: 15px;
  238. border-radius: 15px;
  239. text-shadow: 0 1px 2px #222;
  240. color: #FFF;
  241. font-weight: bold;
  242. line-height: 24px;
  243. white-space: nowrap;
  244. }
  245. .fancybox-title-outside-wrap {
  246. position: relative;
  247. margin-top: 10px;
  248. color: #fff;
  249. }
  250. .fancybox-title-inside-wrap {
  251. padding: 25px 30px 30px;
  252. }
  253. .fancybox-title-over-wrap {
  254. position: absolute;
  255. bottom: 0;
  256. left: 0;
  257. color: #fff;
  258. padding: 10px;
  259. background: #000;
  260. background: rgba(0, 0, 0, .8);
  261. }
  262. @media (max-width: 480px) {
  263. .fancybox-nav span,
  264. .fancybox-nav:hover span,
  265. .fancybox-close,
  266. .fancybox-close:hover {
  267. background: transparent;
  268. }
  269. .fancybox-close i {
  270. left: 70px;
  271. top: 10px;
  272. }
  273. }
  274. @media (max-width: 320px) {
  275. .fancybox-close i {
  276. left: 30px;
  277. top: 20px;
  278. }
  279. }