jquery.fancybox.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. /*! fancyBox v2.1.5 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. {
  13. padding: 0;
  14. margin: 0;
  15. border: 0;
  16. outline: none;
  17. vertical-align: top;
  18. }
  19. .fancybox-wrap {
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. z-index: 8020;
  24. }
  25. .fancybox-skin {
  26. position: relative;
  27. background: #f9f9f9;
  28. color: #444;
  29. text-shadow: none;
  30. }
  31. .fancybox-opened {
  32. z-index: 8030;
  33. }
  34. .fancybox-opened .fancybox-skin {
  35. -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  36. -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  37. box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  38. }
  39. .fancybox-outer, .fancybox-inner {
  40. position: relative;
  41. }
  42. .fancybox-inner {
  43. overflow: hidden;
  44. }
  45. .fancybox-type-iframe .fancybox-inner {
  46. -webkit-overflow-scrolling: touch;
  47. }
  48. .fancybox-error {
  49. color: #444;
  50. font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  51. margin: 0;
  52. padding: 15px;
  53. white-space: nowrap;
  54. }
  55. .fancybox-image, .fancybox-iframe {
  56. display: block;
  57. width: 100%;
  58. height: 100%;
  59. }
  60. .fancybox-image {
  61. max-width: 100%;
  62. max-height: 100%;
  63. }
  64. #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  65. background-image: url(fancybox_sprite.png);
  66. }
  67. #fancybox-loading {
  68. position: fixed;
  69. top: 50%;
  70. left: 50%;
  71. margin-top: -22px;
  72. margin-left: -22px;
  73. background-position: 0 -108px;
  74. opacity: 0.8;
  75. cursor: pointer;
  76. z-index: 8060;
  77. }
  78. #fancybox-loading div {
  79. width: 44px;
  80. height: 44px;
  81. background: url(fancybox_loading.gif) center center no-repeat;
  82. }
  83. .fancybox-close {
  84. position: absolute;
  85. top: -18px;
  86. right: -18px;
  87. width: 36px;
  88. height: 36px;
  89. cursor: pointer;
  90. z-index: 8040;
  91. }
  92. .fancybox-nav {
  93. position: absolute;
  94. top: 0;
  95. width: 40%;
  96. height: 100%;
  97. cursor: pointer;
  98. text-decoration: none;
  99. background: transparent url(blank.gif); /* helps IE */
  100. -webkit-tap-highlight-color: rgba(0,0,0,0);
  101. z-index: 8040;
  102. }
  103. .fancybox-prev {
  104. left: 0;
  105. }
  106. .fancybox-next {
  107. right: 0;
  108. }
  109. .fancybox-nav span {
  110. position: absolute;
  111. top: 50%;
  112. width: 36px;
  113. height: 34px;
  114. margin-top: -18px;
  115. cursor: pointer;
  116. z-index: 8040;
  117. visibility: hidden;
  118. }
  119. .fancybox-prev span {
  120. left: 10px;
  121. background-position: 0 -36px;
  122. }
  123. .fancybox-next span {
  124. right: 10px;
  125. background-position: 0 -72px;
  126. }
  127. .fancybox-nav:hover span {
  128. visibility: visible;
  129. }
  130. .fancybox-tmp {
  131. position: absolute;
  132. top: -99999px;
  133. left: -99999px;
  134. max-width: 99999px;
  135. max-height: 99999px;
  136. overflow: visible !important;
  137. }
  138. /* Overlay helper */
  139. .fancybox-lock {
  140. overflow: visible !important;
  141. width: auto;
  142. }
  143. .fancybox-lock body {
  144. overflow: hidden !important;
  145. }
  146. .fancybox-lock-test {
  147. overflow-y: hidden !important;
  148. }
  149. .fancybox-overlay {
  150. position: absolute;
  151. top: 0;
  152. left: 0;
  153. overflow: hidden;
  154. display: none;
  155. z-index: 8010;
  156. background: url(fancybox_overlay.png);
  157. }
  158. .fancybox-overlay-fixed {
  159. position: fixed;
  160. bottom: 0;
  161. right: 0;
  162. }
  163. .fancybox-lock .fancybox-overlay {
  164. overflow: auto;
  165. overflow-y: scroll;
  166. }
  167. /* Title helper */
  168. .fancybox-title {
  169. visibility: hidden;
  170. font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  171. position: relative;
  172. text-shadow: none;
  173. z-index: 8050;
  174. }
  175. .fancybox-opened .fancybox-title {
  176. visibility: visible;
  177. }
  178. .fancybox-title-float-wrap {
  179. position: absolute;
  180. bottom: 0;
  181. right: 50%;
  182. margin-bottom: -35px;
  183. z-index: 8050;
  184. text-align: center;
  185. }
  186. .fancybox-title-float-wrap .child {
  187. display: inline-block;
  188. margin-right: -100%;
  189. padding: 2px 20px;
  190. background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  191. background: rgba(0, 0, 0, 0.8);
  192. -webkit-border-radius: 15px;
  193. -moz-border-radius: 15px;
  194. border-radius: 15px;
  195. text-shadow: 0 1px 2px #222;
  196. color: #FFF;
  197. font-weight: bold;
  198. line-height: 24px;
  199. white-space: nowrap;
  200. }
  201. .fancybox-title-outside-wrap {
  202. position: relative;
  203. margin-top: 10px;
  204. color: #fff;
  205. }
  206. .fancybox-title-inside-wrap {
  207. padding-top: 10px;
  208. }
  209. .fancybox-title-over-wrap {
  210. position: absolute;
  211. bottom: 0;
  212. left: 0;
  213. color: #fff;
  214. padding: 10px;
  215. background: #000;
  216. background: rgba(0, 0, 0, .8);
  217. }
  218. /*Retina graphics!*/
  219. @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  220. only screen and (min--moz-device-pixel-ratio: 1.5),
  221. only screen and (min-device-pixel-ratio: 1.5){
  222. #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  223. background-image: url(fancybox_sprite@2x.png);
  224. background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
  225. }
  226. #fancybox-loading div {
  227. background-image: url(fancybox_loading@2x.gif);
  228. background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
  229. }
  230. }