jquery.fancybox.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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. visibility: hidden;
  138. max-width: 99999px;
  139. max-height: 99999px;
  140. overflow: visible !important;
  141. }
  142. /* Overlay helper */
  143. .fancybox-lock {
  144. overflow: hidden !important;
  145. width: auto;
  146. }
  147. .fancybox-lock body {
  148. overflow: hidden !important;
  149. }
  150. .fancybox-lock-test {
  151. overflow-y: hidden !important;
  152. }
  153. .fancybox-overlay {
  154. position: absolute;
  155. top: 0;
  156. left: 0;
  157. overflow: hidden;
  158. display: none;
  159. z-index: 8010;
  160. background: url('fancybox_overlay.png');
  161. }
  162. .fancybox-overlay-fixed {
  163. position: fixed;
  164. bottom: 0;
  165. right: 0;
  166. }
  167. .fancybox-lock .fancybox-overlay {
  168. overflow: auto;
  169. overflow-y: scroll;
  170. }
  171. /* Title helper */
  172. .fancybox-title {
  173. visibility: hidden;
  174. font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  175. position: relative;
  176. text-shadow: none;
  177. z-index: 8050;
  178. }
  179. .fancybox-opened .fancybox-title {
  180. visibility: visible;
  181. }
  182. .fancybox-title-float-wrap {
  183. position: absolute;
  184. bottom: 0;
  185. right: 50%;
  186. margin-bottom: -35px;
  187. z-index: 8050;
  188. text-align: center;
  189. }
  190. .fancybox-title-float-wrap .child {
  191. display: inline-block;
  192. margin-right: -100%;
  193. padding: 2px 20px;
  194. background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  195. background: rgba(0, 0, 0, 0.8);
  196. -webkit-border-radius: 15px;
  197. -moz-border-radius: 15px;
  198. border-radius: 15px;
  199. text-shadow: 0 1px 2px #222;
  200. color: #FFF;
  201. font-weight: bold;
  202. line-height: 24px;
  203. white-space: nowrap;
  204. }
  205. .fancybox-title-outside-wrap {
  206. position: relative;
  207. margin-top: 10px;
  208. color: #fff;
  209. }
  210. .fancybox-title-inside-wrap {
  211. padding-top: 10px;
  212. }
  213. .fancybox-title-over-wrap {
  214. position: absolute;
  215. bottom: 0;
  216. left: 0;
  217. color: #fff;
  218. padding: 10px;
  219. background: #000;
  220. background: rgba(0, 0, 0, .8);
  221. }
  222. /*Retina graphics!*/
  223. @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  224. only screen and (min--moz-device-pixel-ratio: 1.5),
  225. only screen and (min-device-pixel-ratio: 1.5){
  226. #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  227. background-image: url('fancybox_sprite@2x.png');
  228. background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
  229. }
  230. #fancybox-loading div {
  231. background-image: url('fancybox_loading@2x.gif');
  232. background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
  233. }
  234. }