jquery.fancybox.css 4.0 KB

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