annotate static/js/fancybox/jquery.fancybox-1.3.1.css @ 26:efb2da0b5d10

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