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