jquery.fancybox.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. /*! fancyBox v2.1.3 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('../image/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('../image/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('../image/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;
  145. }
  146. .fancybox-overlay {
  147. position: absolute;
  148. top: 0;
  149. left: 0;
  150. overflow: hidden;
  151. display: none;
  152. z-index: 8010;
  153. background: url('../image/fancybox_overlay.png');
  154. }
  155. .fancybox-overlay-fixed {
  156. position: fixed;
  157. bottom: 0;
  158. right: 0;
  159. }
  160. .fancybox-lock .fancybox-overlay {
  161. overflow: auto;
  162. overflow-y: scroll;
  163. }
  164. /* Title helper */
  165. .fancybox-title {
  166. visibility: hidden;
  167. font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  168. position: relative;
  169. text-shadow: none;
  170. z-index: 8050;
  171. }
  172. .fancybox-opened .fancybox-title {
  173. visibility: visible;
  174. }
  175. .fancybox-title-float-wrap {
  176. position: absolute;
  177. bottom: 0;
  178. right: 50%;
  179. margin-bottom: -35px;
  180. z-index: 8050;
  181. text-align: center;
  182. }
  183. .fancybox-title-float-wrap .child {
  184. display: inline-block;
  185. margin-right: -100%;
  186. padding: 2px 20px;
  187. background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  188. background: rgba(0, 0, 0, 0.8);
  189. -webkit-border-radius: 15px;
  190. -moz-border-radius: 15px;
  191. border-radius: 15px;
  192. text-shadow: 0 1px 2px #222;
  193. color: #FFF;
  194. font-weight: bold;
  195. line-height: 24px;
  196. white-space: nowrap;
  197. }
  198. .fancybox-title-outside-wrap {
  199. position: relative;
  200. margin-top: 10px;
  201. color: #fff;
  202. }
  203. .fancybox-title-inside-wrap {
  204. padding-top: 10px;
  205. }
  206. .fancybox-title-over-wrap {
  207. position: absolute;
  208. bottom: 0;
  209. left: 0;
  210. color: #fff;
  211. padding: 10px;
  212. background: #000;
  213. background: rgba(0, 0, 0, .8);
  214. }