fancybox.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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('../images/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. width: 44px;
  81. height: 44px;
  82. overflow:hidden;
  83. }
  84. #fancybox-loading div {
  85. width: 44px;
  86. height: 44px;
  87. overflow:hidden;
  88. background: url('../images/fancybox_loading.gif') center center no-repeat;
  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. background: transparent url('../images/blank.gif'); /* helps IE */
  107. -webkit-tap-highlight-color: rgba(0,0,0,0);
  108. z-index: 8040;
  109. }
  110. .fancybox-prev {
  111. left: 0;
  112. }
  113. .fancybox-next {
  114. right: 0;
  115. }
  116. .fancybox-nav span {
  117. position: absolute;
  118. top: 50%;
  119. width: 36px;
  120. height: 34px;
  121. margin-top: -18px;
  122. cursor: pointer;
  123. z-index: 8040;
  124. visibility: hidden;
  125. }
  126. .fancybox-prev span {
  127. left: 10px;
  128. background-position: 0 -36px;
  129. }
  130. .fancybox-next span {
  131. right: 10px;
  132. background-position: 0 -72px;
  133. }
  134. .fancybox-nav:hover span {
  135. visibility: visible;
  136. }
  137. .fancybox-tmp {
  138. position: absolute;
  139. top: -99999px;
  140. left: -99999px;
  141. visibility: hidden;
  142. max-width: 99999px;
  143. max-height: 99999px;
  144. overflow: visible !important;
  145. }
  146. /* Overlay helper */
  147. .fancybox-lock {
  148. overflow: hidden;
  149. }
  150. .fancybox-overlay {
  151. position: absolute;
  152. top: 0;
  153. left: 0;
  154. overflow: hidden;
  155. display: none;
  156. z-index: 8010;
  157. background: url('../images/fancybox_overlay.png');
  158. _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/fancybox_overlay.png', sizingMethod='scale');
  159. _background-image:none;
  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. }