annotate static/js/fancybox/jquery.fancybox-1.3.1.css @ 24:ead7bd49c9e0 django1.3

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