jquery.fancybox.css 8.2 KB

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