bgneal@26: /* bgneal@26: * FancyBox - jQuery Plugin bgneal@26: * Simple and fancy lightbox alternative bgneal@26: * bgneal@26: * Examples and documentation at: http://fancybox.net bgneal@26: * bgneal@26: * Copyright (c) 2008 - 2010 Janis Skarnelis bgneal@26: * bgneal@26: * Version: 1.3.1 (05/03/2010) bgneal@26: * Requires: jQuery v1.3+ bgneal@26: * bgneal@26: * Dual licensed under the MIT and GPL licenses: bgneal@26: * http://www.opensource.org/licenses/mit-license.php bgneal@26: * http://www.gnu.org/licenses/gpl.html bgneal@26: */ bgneal@26: bgneal@26: #fancybox-loading { bgneal@26: position: fixed; bgneal@26: top: 50%; bgneal@26: left: 50%; bgneal@26: height: 40px; bgneal@26: width: 40px; bgneal@26: margin-top: -20px; bgneal@26: margin-left: -20px; bgneal@26: cursor: pointer; bgneal@26: overflow: hidden; bgneal@26: z-index: 1104; bgneal@26: display: none; bgneal@26: } bgneal@26: bgneal@26: * html #fancybox-loading { /* IE6 */ bgneal@26: position: absolute; bgneal@26: margin-top: 0; bgneal@26: } bgneal@26: bgneal@26: #fancybox-loading div { bgneal@26: position: absolute; bgneal@26: top: 0; bgneal@26: left: 0; bgneal@26: width: 40px; bgneal@26: height: 480px; bgneal@26: background-image: url('fancybox.png'); bgneal@26: } bgneal@26: bgneal@26: #fancybox-overlay { bgneal@26: position: fixed; bgneal@26: top: 0; bgneal@26: left: 0; bgneal@26: bottom: 0; bgneal@26: right: 0; bgneal@26: background: #000; bgneal@26: z-index: 1100; bgneal@26: display: none; bgneal@26: } bgneal@26: bgneal@26: * html #fancybox-overlay { /* IE6 */ bgneal@26: position: absolute; bgneal@26: width: 100%; bgneal@26: } bgneal@26: bgneal@26: #fancybox-tmp { bgneal@26: padding: 0; bgneal@26: margin: 0; bgneal@26: border: 0; bgneal@26: overflow: auto; bgneal@26: display: none; bgneal@26: } bgneal@26: bgneal@26: #fancybox-wrap { bgneal@26: position: absolute; bgneal@26: top: 0; bgneal@26: left: 0; bgneal@26: margin: 0; bgneal@26: padding: 20px; bgneal@26: z-index: 1101; bgneal@26: display: none; bgneal@26: } bgneal@26: bgneal@26: #fancybox-outer { bgneal@26: position: relative; bgneal@26: width: 100%; bgneal@26: height: 100%; bgneal@26: background: #FFF; bgneal@26: } bgneal@26: bgneal@26: #fancybox-inner { bgneal@26: position: absolute; bgneal@26: top: 0; bgneal@26: left: 0; bgneal@26: width: 1px; bgneal@26: height: 1px; bgneal@26: padding: 0; bgneal@26: margin: 0; bgneal@26: outline: none; bgneal@26: overflow: hidden; bgneal@26: } bgneal@26: bgneal@26: #fancybox-hide-sel-frame { bgneal@26: position: absolute; bgneal@26: top: 0; bgneal@26: left: 0; bgneal@26: width: 100%; bgneal@26: height: 100%; bgneal@26: background: transparent; bgneal@26: } bgneal@26: bgneal@26: #fancybox-close { bgneal@26: position: absolute; bgneal@26: top: -15px; bgneal@26: right: -15px; bgneal@26: width: 30px; bgneal@26: height: 30px; bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -40px 0px; bgneal@26: cursor: pointer; bgneal@26: z-index: 1103; bgneal@26: display: none; bgneal@26: } bgneal@26: bgneal@26: #fancybox_error { bgneal@26: color: #444; bgneal@26: font: normal 12px/20px Arial; bgneal@26: padding: 7px; bgneal@26: margin: 0; bgneal@26: } bgneal@26: bgneal@26: #fancybox-content { bgneal@26: height: auto; bgneal@26: width: auto; bgneal@26: padding: 0; bgneal@26: margin: 0; bgneal@26: } bgneal@26: bgneal@26: #fancybox-img { bgneal@26: width: 100%; bgneal@26: height: 100%; bgneal@26: padding: 0; bgneal@26: margin: 0; bgneal@26: border: none; bgneal@26: outline: none; bgneal@26: line-height: 0; bgneal@26: vertical-align: top; bgneal@26: -ms-interpolation-mode: bicubic; bgneal@26: } bgneal@26: bgneal@26: #fancybox-frame { bgneal@26: position: relative; bgneal@26: width: 100%; bgneal@26: height: 100%; bgneal@26: border: none; bgneal@26: display: block; bgneal@26: } bgneal@26: bgneal@26: #fancybox-title { bgneal@26: position: absolute; bgneal@26: bottom: 0; bgneal@26: left: 0; bgneal@26: font-family: Arial; bgneal@26: font-size: 12px; bgneal@26: z-index: 1102; bgneal@26: } bgneal@26: bgneal@26: .fancybox-title-inside { bgneal@26: padding: 10px 0; bgneal@26: text-align: center; bgneal@26: color: #333; bgneal@26: } bgneal@26: bgneal@26: .fancybox-title-outside { bgneal@26: padding-top: 5px; bgneal@26: color: #FFF; bgneal@26: text-align: center; bgneal@26: font-weight: bold; bgneal@26: } bgneal@26: bgneal@26: .fancybox-title-over { bgneal@26: color: #FFF; bgneal@26: text-align: left; bgneal@26: } bgneal@26: bgneal@26: #fancybox-title-over { bgneal@26: padding: 10px; bgneal@26: background-image: url('fancy_title_over.png'); bgneal@26: display: block; bgneal@26: } bgneal@26: bgneal@26: #fancybox-title-wrap { bgneal@26: display: inline-block; bgneal@26: } bgneal@26: bgneal@26: #fancybox-title-wrap span { bgneal@26: height: 32px; bgneal@26: float: left; bgneal@26: } bgneal@26: bgneal@26: #fancybox-title-left { bgneal@26: padding-left: 15px; bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -40px -90px; bgneal@26: background-repeat: no-repeat; bgneal@26: } bgneal@26: bgneal@26: #fancybox-title-main { bgneal@26: font-weight: bold; bgneal@26: line-height: 29px; bgneal@26: background-image: url('fancybox-x.png'); bgneal@26: background-position: 0px -40px; bgneal@26: color: #FFF; bgneal@26: } bgneal@26: bgneal@26: #fancybox-title-right { bgneal@26: padding-left: 15px; bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -55px -90px; bgneal@26: background-repeat: no-repeat; bgneal@26: } bgneal@26: bgneal@26: #fancybox-left, #fancybox-right { bgneal@26: position: absolute; bgneal@26: bottom: 0px; bgneal@26: height: 100%; bgneal@26: width: 35%; bgneal@26: cursor: pointer; bgneal@26: outline: none; bgneal@26: background-image: url('blank.gif'); bgneal@26: z-index: 1102; bgneal@26: display: none; bgneal@26: } bgneal@26: bgneal@26: #fancybox-left { bgneal@26: left: 0px; bgneal@26: } bgneal@26: bgneal@26: #fancybox-right { bgneal@26: right: 0px; bgneal@26: } bgneal@26: bgneal@26: #fancybox-left-ico, #fancybox-right-ico { bgneal@26: position: absolute; bgneal@26: top: 50%; bgneal@26: left: -9999px; bgneal@26: width: 30px; bgneal@26: height: 30px; bgneal@26: margin-top: -15px; bgneal@26: cursor: pointer; bgneal@26: z-index: 1102; bgneal@26: display: block; bgneal@26: } bgneal@26: bgneal@26: #fancybox-left-ico { bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -40px -30px; bgneal@26: } bgneal@26: bgneal@26: #fancybox-right-ico { bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -40px -60px; bgneal@26: } bgneal@26: bgneal@26: #fancybox-left:hover, #fancybox-right:hover { bgneal@26: visibility: visible; /* IE6 */ bgneal@26: } bgneal@26: bgneal@26: #fancybox-left:hover span { bgneal@26: left: 20px; bgneal@26: } bgneal@26: bgneal@26: #fancybox-right:hover span { bgneal@26: left: auto; bgneal@26: right: 20px; bgneal@26: } bgneal@26: bgneal@26: .fancy-bg { bgneal@26: position: absolute; bgneal@26: padding: 0; bgneal@26: margin: 0; bgneal@26: border: 0; bgneal@26: width: 20px; bgneal@26: height: 20px; bgneal@26: z-index: 1001; bgneal@26: } bgneal@26: bgneal@26: #fancy-bg-n { bgneal@26: top: -20px; bgneal@26: left: 0; bgneal@26: width: 100%; bgneal@26: background-image: url('fancybox-x.png'); bgneal@26: } bgneal@26: bgneal@26: #fancy-bg-ne { bgneal@26: top: -20px; bgneal@26: right: -20px; bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -40px -162px; bgneal@26: } bgneal@26: bgneal@26: #fancy-bg-e { bgneal@26: top: 0; bgneal@26: right: -20px; bgneal@26: height: 100%; bgneal@26: background-image: url('fancybox-y.png'); bgneal@26: background-position: -20px 0px; bgneal@26: } bgneal@26: bgneal@26: #fancy-bg-se { bgneal@26: bottom: -20px; bgneal@26: right: -20px; bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -40px -182px; bgneal@26: } bgneal@26: bgneal@26: #fancy-bg-s { bgneal@26: bottom: -20px; bgneal@26: left: 0; bgneal@26: width: 100%; bgneal@26: background-image: url('fancybox-x.png'); bgneal@26: background-position: 0px -20px; bgneal@26: } bgneal@26: bgneal@26: #fancy-bg-sw { bgneal@26: bottom: -20px; bgneal@26: left: -20px; bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -40px -142px; bgneal@26: } bgneal@26: bgneal@26: #fancy-bg-w { bgneal@26: top: 0; bgneal@26: left: -20px; bgneal@26: height: 100%; bgneal@26: background-image: url('fancybox-y.png'); bgneal@26: } bgneal@26: bgneal@26: #fancy-bg-nw { bgneal@26: top: -20px; bgneal@26: left: -20px; bgneal@26: background-image: url('fancybox.png'); bgneal@26: background-position: -40px -122px; bgneal@26: } bgneal@26: bgneal@26: /* IE */ bgneal@26: bgneal@26: #fancybox-loading.fancybox-ie div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_loading.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_close.png', sizingMethod='scale'); } bgneal@26: bgneal@26: .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: .fancybox-ie #fancybox-title-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_title_left.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancybox-title-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_title_main.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancybox-title-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_title_right.png', sizingMethod='scale'); } bgneal@26: bgneal@26: .fancybox-ie #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_nav_left.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_nav_right.png', sizingMethod='scale'); } bgneal@26: bgneal@26: .fancybox-ie .fancy-bg { background: transparent !important; } bgneal@26: bgneal@26: .fancybox-ie #fancy-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_shadow_n.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancy-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancy-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_shadow_e.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancy-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_shadow_se.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancy-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_shadow_s.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancy-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancy-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_shadow_w.png', sizingMethod='scale'); } bgneal@26: .fancybox-ie #fancy-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/media/js/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }