jquery.fancybox.css 4.9 KB

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