jquery.fancybox.css 4.7 KB

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