jquery-fancybox.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. /*
  2. * FancyBox - jQuery Plugin
  3. * Simple and fancy lightbox alternative
  4. *
  5. * Examples and documentation at: http://fancybox.net
  6. *
  7. * Copyright (c) 2008 - 2010 Janis Skarnelis
  8. * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
  9. *
  10. * Version: 1.3.4 (11/11/2010)
  11. * Requires: jQuery v1.3+
  12. *
  13. * Dual licensed under the MIT and GPL licenses:
  14. * http://www.opensource.org/licenses/mit-license.php
  15. * http://www.gnu.org/licenses/gpl.html
  16. */
  17. #fancybox-loading {
  18. position: fixed;
  19. top: 50%;
  20. left: 50%;
  21. width: 40px;
  22. height: 40px;
  23. margin-top: -20px;
  24. margin-left: -20px;
  25. cursor: pointer;
  26. overflow: hidden;
  27. z-index: 1104;
  28. display: none; }
  29. #fancybox-loading div {
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. width: 40px;
  34. height: 480px;
  35. background-image: url("/img/fancybox/fancybox.png"); }
  36. #fancybox-overlay {
  37. position: absolute;
  38. top: 0;
  39. left: 0;
  40. width: 100%;
  41. z-index: 1100;
  42. display: none; }
  43. #fancybox-tmp {
  44. padding: 0;
  45. margin: 0;
  46. border: 0;
  47. overflow: auto;
  48. display: none; }
  49. #fancybox-wrap {
  50. position: absolute;
  51. top: 0;
  52. left: 0;
  53. padding: 20px;
  54. z-index: 1101;
  55. outline: none;
  56. display: none; }
  57. #fancybox-outer {
  58. position: relative;
  59. width: 100%;
  60. height: 100%;
  61. background: #fff; }
  62. #fancybox-content {
  63. width: 0;
  64. height: 0;
  65. padding: 0;
  66. outline: none;
  67. position: relative;
  68. overflow: hidden;
  69. z-index: 1102;
  70. border: 0px solid #fff; }
  71. #fancybox-hide-sel-frame {
  72. position: absolute;
  73. top: 0;
  74. left: 0;
  75. width: 100%;
  76. height: 100%;
  77. background: transparent;
  78. z-index: 1101; }
  79. #fancybox-close {
  80. position: absolute;
  81. top: -15px;
  82. right: -15px;
  83. width: 31px;
  84. height: 31px;
  85. background: transparent url("../img/fancybox.png");
  86. cursor: pointer;
  87. z-index: 1103;
  88. display: none; }
  89. #fancybox-error {
  90. color: #444;
  91. font: normal 12px/20px Arial;
  92. padding: 14px;
  93. margin: 0; }
  94. #fancybox-img {
  95. width: 100%;
  96. height: 100%;
  97. padding: 0;
  98. margin: 0;
  99. border: none;
  100. outline: none;
  101. line-height: 0;
  102. vertical-align: top; }
  103. #fancybox-frame {
  104. width: 100%;
  105. height: 100%;
  106. border: none;
  107. display: block; }
  108. #fancybox-left, #fancybox-right {
  109. position: absolute;
  110. bottom: 0px;
  111. height: 100%;
  112. width: 35%;
  113. cursor: pointer;
  114. outline: none;
  115. background: transparent url("/img/fancybox/blank.gif");
  116. z-index: 1102;
  117. display: none; }
  118. #fancybox-left {
  119. left: 0px; }
  120. #fancybox-right {
  121. right: 0px; }
  122. #fancybox-left-ico, #fancybox-right-ico {
  123. position: absolute;
  124. top: 50%;
  125. left: -9999px;
  126. width: 30px;
  127. height: 30px;
  128. margin-top: -15px;
  129. cursor: pointer;
  130. z-index: 1102;
  131. display: block; }
  132. #fancybox-left-ico {
  133. background-image: url("/img/fancybox/fancybox.png");
  134. background-position: -40px -30px; }
  135. #fancybox-right-ico {
  136. background-image: url("/img/fancybox/fancybox.png");
  137. background-position: -40px -60px; }
  138. #fancybox-left:hover, #fancybox-right:hover {
  139. visibility: visible;
  140. /* IE6 */ }
  141. #fancybox-left:hover span {
  142. left: 20px; }
  143. #fancybox-right:hover span {
  144. left: auto;
  145. right: 20px; }
  146. .fancybox-bg {
  147. position: absolute;
  148. padding: 0;
  149. margin: 0;
  150. border: 0;
  151. width: 20px;
  152. height: 20px;
  153. z-index: 1001; }
  154. #fancybox-bg-n {
  155. top: -20px;
  156. left: 0;
  157. width: 100%;
  158. background-image: url("/img/fancybox/fancybox-x.png"); }
  159. #fancybox-bg-ne {
  160. top: -20px;
  161. right: -20px;
  162. background-image: url("/img/fancybox/fancybox.png");
  163. background-position: -40px -162px; }
  164. #fancybox-bg-e {
  165. top: 0;
  166. right: -20px;
  167. height: 100%;
  168. background-image: url("/img/fancybox/fancybox-y.png");
  169. background-position: -20px 0px; }
  170. #fancybox-bg-se {
  171. bottom: -20px;
  172. right: -20px;
  173. background-image: url("/img/fancybox/fancybox.png");
  174. background-position: -40px -182px; }
  175. #fancybox-bg-s {
  176. bottom: -20px;
  177. left: 0;
  178. width: 100%;
  179. background-image: url("/img/fancybox/fancybox-x.png");
  180. background-position: 0px -20px; }
  181. #fancybox-bg-sw {
  182. bottom: -20px;
  183. left: -20px;
  184. background-image: url("/img/fancybox/fancybox.png");
  185. background-position: -40px -142px; }
  186. #fancybox-bg-w {
  187. top: 0;
  188. left: -20px;
  189. height: 100%;
  190. background-image: url("/img/fancybox/fancybox-y.png"); }
  191. #fancybox-bg-nw {
  192. top: -20px;
  193. left: -20px;
  194. background-image: url("/img/fancybox/fancybox.png");
  195. background-position: -40px -122px; }
  196. #fancybox-title {
  197. font-family: Helvetica;
  198. font-size: 12px;
  199. z-index: 1102; }
  200. .fancybox-title-inside {
  201. padding-bottom: 10px;
  202. text-align: center;
  203. color: #333;
  204. background: #fff;
  205. position: relative; }
  206. .fancybox-title-outside {
  207. padding-top: 10px;
  208. color: #fff; }
  209. .fancybox-title-over {
  210. position: absolute;
  211. bottom: 0;
  212. left: 0;
  213. color: #FFF;
  214. text-align: left; }
  215. #fancybox-title-over {
  216. padding: 10px;
  217. background-image: url("/img/fancybox/fancy_title_over.png");
  218. display: block; }
  219. .fancybox-title-float {
  220. position: absolute;
  221. left: 0;
  222. bottom: -20px;
  223. height: 32px; }
  224. #fancybox-title-float-wrap {
  225. border: none;
  226. border-collapse: collapse;
  227. width: auto; }
  228. #fancybox-title-float-wrap td {
  229. border: none;
  230. white-space: nowrap; }
  231. #fancybox-title-float-left {
  232. padding: 0 0 0 15px;
  233. background: url("/img/fancybox/fancybox.png") -40px -90px no-repeat; }
  234. #fancybox-title-float-main {
  235. color: #FFF;
  236. line-height: 29px;
  237. font-weight: bold;
  238. padding: 0 0 3px 0;
  239. background: url("/img/fancybox/fancybox-x.png") 0px -40px; }
  240. #fancybox-title-float-right {
  241. padding: 0 0 0 15px;
  242. background: url("/img/fancybox/fancybox.png") -55px -90px no-repeat; }
  243. /* IE6 */
  244. .fancybox-ie6 #fancybox-close {
  245. background: transparent;
  246. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_close.png', sizingMethod='scale'); }
  247. .fancybox-ie6 #fancybox-left-ico {
  248. background: transparent;
  249. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_nav_left.png', sizingMethod='scale'); }
  250. .fancybox-ie6 #fancybox-right-ico {
  251. background: transparent;
  252. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_nav_right.png', sizingMethod='scale'); }
  253. .fancybox-ie6 #fancybox-title-over {
  254. background: transparent;
  255. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_title_over.png', sizingMethod='scale');
  256. zoom: 1; }
  257. .fancybox-ie6 #fancybox-title-float-left {
  258. background: transparent;
  259. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_title_left.png', sizingMethod='scale'); }
  260. .fancybox-ie6 #fancybox-title-float-main {
  261. background: transparent;
  262. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_title_main.png', sizingMethod='scale'); }
  263. .fancybox-ie6 #fancybox-title-float-right {
  264. background: transparent;
  265. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_title_right.png', sizingMethod='scale'); }
  266. .fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
  267. height: expression(this.parentNode.clientHeight + "px"); }
  268. #fancybox-loading.fancybox-ie6 {
  269. position: absolute;
  270. margin-top: 0;
  271. top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'); }
  272. #fancybox-loading.fancybox-ie6 div {
  273. background: transparent;
  274. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_loading.png', sizingMethod='scale'); }
  275. /* IE6, IE7, IE8 */
  276. .fancybox-ie .fancybox-bg {
  277. background: transparent !important; }
  278. .fancybox-ie #fancybox-bg-n {
  279. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
  280. .fancybox-ie #fancybox-bg-ne {
  281. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
  282. .fancybox-ie #fancybox-bg-e {
  283. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
  284. .fancybox-ie #fancybox-bg-se {
  285. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
  286. .fancybox-ie #fancybox-bg-s {
  287. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
  288. .fancybox-ie #fancybox-bg-sw {
  289. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
  290. .fancybox-ie #fancybox-bg-w {
  291. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
  292. .fancybox-ie #fancybox-bg-nw {
  293. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }