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