first commit
No files matched your search
@@ -0,0 +1,712 @@
|
||||
/*
|
||||
* Part of Lightview - The jQuery Lightbox
|
||||
* http://projects.nickstakenburg.com/lightview
|
||||
*
|
||||
* IMPORTANT:
|
||||
* When modifying or adding skins it's recommended to do this in a seperate file,
|
||||
* overwriting or building on top of the styling defined here to make updating easier.
|
||||
*
|
||||
* Documentation:
|
||||
* http://projects.nickstakenburg.com/lightview/documentation/skins
|
||||
*
|
||||
*/
|
||||
|
||||
.lv_window {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
}
|
||||
.lv_window, .lv_window [class^="lv_"],
|
||||
.lv_overlay, .lv_overlay [class^="lv_"],
|
||||
.lv_thumbnails, .lv_thumbnails [class^="lv_"],
|
||||
.lv_controls_top, .lv_controls_top [class^="lv_"],
|
||||
.lv_controls_top_close, .lv_controls_top_close [class^="lv_"] {
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
.lv_window,
|
||||
.lv_controls_top,
|
||||
.lv_controls_top_close,
|
||||
.lv_thumbnails,
|
||||
.lv_thumbnails_top_close {
|
||||
z-index: 100000;
|
||||
}
|
||||
.lv_skin {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.lv_bubble,
|
||||
.lv_shadow {
|
||||
position: absolute;
|
||||
}
|
||||
.lv_bubble * {
|
||||
display: inline;
|
||||
position: relative;
|
||||
float: left;
|
||||
z-index: none;
|
||||
}
|
||||
|
||||
.lv_skin * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.lv_overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
/* wrapper for the spinner */
|
||||
.lv_spinner_wrapper {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* The the previous/next overlay buttons on top of images */
|
||||
.lv_inner_previous_next_overlays {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
zoom: 1;
|
||||
background: url('skins/blank.gif');
|
||||
}
|
||||
.lv_inner_previous_next_overlays * { padding: 0; margin: 0; }
|
||||
.lv_inner_previous_next_overlays .lv_button {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
width: 49%;
|
||||
background: url('skins/blank.gif');
|
||||
zoom: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
.lv_button_inner_previous_overlay { float: left; }
|
||||
.lv_button_inner_next_overlay { float: right; }
|
||||
|
||||
|
||||
.lv_title_caption {
|
||||
position:absolute;
|
||||
font: 11px/18px "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Tahoma, Arial, sans-serif;
|
||||
color: #eaeaea;
|
||||
}
|
||||
.lv_title_caption_slider { position: relative; float:left; overflow-y: hidden;}
|
||||
.lv_title_caption_slide { position: relative; float: left; top: 0; left: 0; padding: 15px 0 7px 0; }
|
||||
.lv_title { font-weight: bold; }
|
||||
.lv_title, .lv_caption {
|
||||
float: left;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.lv_update_queue {
|
||||
position: absolute;
|
||||
top: -15000px;
|
||||
left: -15000px;
|
||||
width: 5000px;
|
||||
height: 5000px;
|
||||
visibility: hidden;
|
||||
}
|
||||
.lv_update_queue .lv_window,
|
||||
.lv_update_queue .lv_content {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
float: left;
|
||||
top: auto;
|
||||
left: auto;
|
||||
width: 100%;
|
||||
}
|
||||
.lv_content .lv_content_wrapper {
|
||||
float: left;
|
||||
clear: both;
|
||||
position: relative;
|
||||
}
|
||||
.lv_update_queue .lv_content_wrapper {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.lv_content_wrapper canvas {
|
||||
float: left;
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
.lv_content {
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: auto; /* scrollbars */
|
||||
text-align: left;
|
||||
background: url('skins/blank.gif'); /* Chrome 18+ opacity bug */
|
||||
}
|
||||
|
||||
.lv_measure_element {
|
||||
position: relative;
|
||||
float: left;
|
||||
clear: both;
|
||||
}
|
||||
.lv_content_canvas,
|
||||
.lv_content_image,
|
||||
.lv_content_flash,
|
||||
.lv_content_object,
|
||||
.lv_content_iframe,
|
||||
.lv_content_html {
|
||||
float: left;
|
||||
border: 0;
|
||||
clear: both;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
}
|
||||
|
||||
|
||||
.lv_blank_background, /* IE */
|
||||
.lv_content /* Chrome 18+ */
|
||||
{ background-image: url('skins/blank.gif'); }
|
||||
|
||||
/* The buttons on the side when you view a gallery */
|
||||
.lv_side_buttons_underneath {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
clear: both;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
height: 67px;
|
||||
margin-top: -34px;
|
||||
}
|
||||
.lv_side_buttons_underneath * { padding: 0; margin: 0; }
|
||||
|
||||
.lv_side_buttons_underneath .lv_side_left { float: left; }
|
||||
.lv_side_buttons_underneath .lv_side_right { float: right; }
|
||||
|
||||
.lv_side,
|
||||
.lv_side_button {
|
||||
height: 37px;
|
||||
width: 41px;
|
||||
position: absolute;
|
||||
}
|
||||
.lv_side {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 15px 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.lv_side_left { margin-left: -41px; }
|
||||
.lv_side_right { margin-right: -41px; }
|
||||
.lv_side_button {
|
||||
height: 31px;
|
||||
width: 41px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.lv_side_button_previous {
|
||||
margin-left: 0px;
|
||||
background-image: url("skins/light/sprite.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0px -33px;
|
||||
}
|
||||
.lv_side_button_previous:hover,
|
||||
.lv_side_left .lv_side_button_out { background-position: 0px -64px; }
|
||||
.lv_side_button_next {
|
||||
margin-left: 0px;
|
||||
background-image: url("skins/light/sprite.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: -41px -33px;
|
||||
}
|
||||
.lv_side_button_next:hover,
|
||||
.lv_side_right .lv_side_button_out { background-position: -41px -64px; }
|
||||
.lv_side_buttons_underneath .lv_side_button_out { margin-left: 0; }
|
||||
|
||||
/* disabled states */
|
||||
.lv_side_buttons_underneath .lv_side_left_disabled .lv_side_button,
|
||||
.lv_side_buttons_underneath .lv_side_left_disabled:hover .lv_side_button { background-position: 0px -95px; }
|
||||
|
||||
.lv_button_top_close {
|
||||
width: 33px;
|
||||
height: 33px;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
background-image: url("skins/light/sprite.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0px 0px;
|
||||
/* the spacing option set on the relative controls is taken into account when positioning */
|
||||
top: 17px;
|
||||
/* left or right is set on the css of the skin */
|
||||
}
|
||||
.lv_button_top_close:hover {
|
||||
background-position: -33px 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Top Controls
|
||||
*/
|
||||
.lv_controls_top {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
width: 126px;
|
||||
margin-left: -63px;
|
||||
height: 63px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.lv_controls_top_with_slideshow {
|
||||
width: 147px;
|
||||
margin-left: -74px;
|
||||
}
|
||||
|
||||
.lv_controls_top .lv_top_middle {
|
||||
width: 100%;
|
||||
height: 33px;
|
||||
margin-top: 15px;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.lv_controls_top .lv_top_button {
|
||||
height: 100%;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
.lv_controls_top .lv_icon {
|
||||
background-image: url("skins/light/sprite.png");
|
||||
background-repeat: no-repeat;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
font-family: "Lucida Sans", "Lucida Grande", Tahoma, sans-serif;
|
||||
color: #d4d4d4;
|
||||
text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
|
||||
position: relative;
|
||||
}
|
||||
.lv_controls_top .lv_icon_disabled {
|
||||
cursor: default;
|
||||
color: #2e2e2e;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.lv_top_previous { width: 63px; }
|
||||
.lv_top_previous .lv_icon { background-position: 0px -96px; }
|
||||
.lv_top_previous:hover .lv_icon { background-position: 0px -129px; }
|
||||
.lv_top_previous .lv_icon_disabled,
|
||||
.lv_top_previous:hover .lv_icon_disabled { background-position: 0px -162px; }
|
||||
|
||||
.lv_top_slideshow { width: 21px; display: none; position: relative; }
|
||||
.lv_controls_top_with_slideshow .lv_top_slideshow { display: block; }
|
||||
.lv_top_slideshow .lv_icon { background-position: -63px -96px; }
|
||||
.lv_top_slideshow:hover .lv_icon { background-position: -63px -129px; }
|
||||
.lv_top_slideshow .lv_icon_disabled,
|
||||
.lv_top_slideshow:hover .lv_icon_disabled { background-position: -63px -162px; }
|
||||
|
||||
.lv_top_slideshow_playing .lv_icon { background-position: -148px -96px; }
|
||||
.lv_top_slideshow_playing:hover .lv_icon { background-position: -148px -129px; }
|
||||
|
||||
|
||||
.lv_top_next { width: 62px; }
|
||||
.lv_top_next .lv_icon { background-position: -84px -96px; }
|
||||
.lv_top_next:hover .lv_icon { background-position: -84px -129px; }
|
||||
.lv_top_next .lv_icon_disabled,
|
||||
.lv_top_next:hover .lv_icon_disabled { background-position: -84px -162px; }
|
||||
|
||||
.lv_icon span { margin-top: 5px; width: 30px; text-align: center; line-height: 23px; }
|
||||
.lv_top_previous span { float: right; margin-right: 7px; }
|
||||
.lv_top_next span { float: left; margin-left: 6px; }
|
||||
|
||||
|
||||
.lv_controls_top_close {
|
||||
height: 33px;
|
||||
width: 33px; /* 46 */
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding: 13px;
|
||||
}
|
||||
.lv_controls_top_close_button {
|
||||
height: 33px;
|
||||
width: 33px;
|
||||
float: left;
|
||||
position: relative;
|
||||
background-image: url("skins/light/sprite.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: -166px -21px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.lv_controls_top_close_button:hover {
|
||||
background-position: -166px -54px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Relative Controls / Slider
|
||||
*/
|
||||
.lv_controls_relative {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 50%;
|
||||
margin-left: -150px;
|
||||
height: 50px;
|
||||
overflow: hidden;
|
||||
background: url('skins/blank.gif');
|
||||
}
|
||||
.lv_slider {
|
||||
font-family: "Lucida Sans", "Lucida Grande", Tahoma, sans-serif;
|
||||
font-size: 9px;
|
||||
height: 21px;
|
||||
line-height: 21px;
|
||||
padding: 15px 0 14px 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.lv_slider .lv_slider_numbers {
|
||||
float: left;
|
||||
position: relative;
|
||||
height: 21px;
|
||||
overflow: hidden;
|
||||
margin: 0 2px;
|
||||
}
|
||||
.lv_slider .lv_slider_slide {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 21px;
|
||||
}
|
||||
|
||||
.lv_slider_number,
|
||||
.lv_slider_number_empty {
|
||||
float: left;
|
||||
position: relative;
|
||||
height: 21px;
|
||||
width: 28px;
|
||||
line-height: 21px;
|
||||
overflow: hidden;
|
||||
color: #d4d4d4;
|
||||
text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
|
||||
background: #4a4a4a;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
zoom: 1;
|
||||
text-transform: none;
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
background-repeat: no-repeat;
|
||||
background: url('skins/light/sprite.png');
|
||||
background-position: -67px 0px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.lv_slider_number_empty { background-position: -151px 0px; cursor: default; }
|
||||
.lv_slider_number_last { margin-right: 0; }
|
||||
|
||||
.lv_slider_number:hover {
|
||||
background-position: -95px 0px;
|
||||
|
||||
}
|
||||
.lv_slider_numbers .lv_slider_number_active,
|
||||
.lv_slider_numbers .lv_slider_number_active:hover {
|
||||
background-position: -123px 0px;
|
||||
color: #808080;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.lv_slider .lv_slider_icon,
|
||||
.lv_slider .lv_icon {
|
||||
height: 21px;
|
||||
width: 21px;
|
||||
}
|
||||
.lv_slider .lv_slider_icon {
|
||||
zoom: 1;
|
||||
padding: 0 2px; /* IE6 needs padding instead of margin */
|
||||
display: inline;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
}
|
||||
.lv_slider .lv_icon {
|
||||
background: url('skins/light/sprite.png');
|
||||
background-repeat: no-repeat;
|
||||
/* IE6 */
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 2px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lv_slider_previous .lv_icon { background-position: -82px -21px; }
|
||||
.lv_slider_previous .lv_icon:hover { background-position: -82px -42px; }
|
||||
.lv_slider_previous_disabled .lv_icon,
|
||||
.lv_slider_previous_disabled .lv_icon:hover { background-position: -82px -63px; cursor: default; }
|
||||
|
||||
.lv_slider_next .lv_icon { background-position: -103px -21px; }
|
||||
.lv_slider_next .lv_icon:hover { background-position: -103px -42px; }
|
||||
.lv_slider_next_disabled .lv_icon,
|
||||
.lv_slider_next_disabled .lv_icon:hover { background-position: -103px -63px; cursor: default; }
|
||||
|
||||
.lv_slider_slideshow { position: relative; top : 0; left: 0; display: inline; }
|
||||
.lv_slider_slideshow .lv_icon { background-position: -125px -21px;}
|
||||
.lv_slider_slideshow .lv_icon:hover { background-position: -125px -42px; }
|
||||
.lv_slider_slideshow_playing .lv_icon { background-position: -146px -21px; }
|
||||
.lv_slider_slideshow_playing .lv_icon:hover { background-position: -146px -42px; }
|
||||
.lv_slider_slideshow_disabled .lv_icon,
|
||||
.lv_slider_slideshow_disabled .lv_icon:hover { background-position: -125px -63px; cursor: default; }
|
||||
|
||||
|
||||
/* thumbnails */
|
||||
.lv_thumbnails {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 92px;
|
||||
padding: 15px 0 25px 0;
|
||||
overflow: hidden;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
.lv_thumbnails_slider {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.lv_thumbnails_slide {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.lv_thumbnail {
|
||||
width: 92px;
|
||||
height: 92px;
|
||||
float: left;
|
||||
position: relative;
|
||||
display: inline;
|
||||
overflow: hidden; /* IE6 */
|
||||
}
|
||||
.lv_thumbnail_image {
|
||||
position: relative;
|
||||
background: red;
|
||||
background: #161616;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 6px;
|
||||
float: left;
|
||||
box-shadow: 0 -1px 4px rgba(0, 0, 0, .3);
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
display: inline; /* IE6 */
|
||||
z-index: 0; /* IE8 */
|
||||
|
||||
}
|
||||
.lv_thumbnail_image img { position: absolute; }
|
||||
.lv_thumbnail_active .lv_thumbnail_image {
|
||||
filter: alpha(opacity=35);
|
||||
opacity: .35;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.lv_thumbnail_icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-left: -18px;
|
||||
margin-top: -18px;
|
||||
background-position: 99px 99px;
|
||||
background-repeat: no-repeat;
|
||||
display: block !important;
|
||||
display: none; /* IE6 */
|
||||
}
|
||||
|
||||
.lv_thumbnail_image_spinner_overlay {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
float: left;
|
||||
position: relative;
|
||||
background: #161616;
|
||||
}
|
||||
|
||||
.lv_thumbnail_icon_video { background-position: 0px -196px; }
|
||||
.lv_thumbnail:hover .lv_thumbnail_icon_video { background-position: -36px -196px; }
|
||||
.lv_thumbnail_active:hover .lv_thumbnail_icon_video { background-position: 0px -196px; }
|
||||
|
||||
/*
|
||||
* Skins
|
||||
*/
|
||||
/* normalization for all skins */
|
||||
.lv_content { text-align: left; }
|
||||
|
||||
.lv_content,
|
||||
.lv_content h1,
|
||||
.lv_content h2,
|
||||
.lv_content h3,
|
||||
.lv_content h4,
|
||||
.lv_content h5,
|
||||
.lv_content h6 { color: #333; }
|
||||
|
||||
.lv_content a,
|
||||
.lv_content a:hover {
|
||||
color: #0088cc;
|
||||
font-weight: normal;
|
||||
background: none;
|
||||
border: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
.lv_content a:hover { text-decoration: underline; }
|
||||
|
||||
.lv_title_caption a,
|
||||
.lv_title_caption a:hover {
|
||||
color: #b4b4b4;
|
||||
font-weight: normal;
|
||||
background: none;
|
||||
border: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
.lv_title_caption a:hover { text-decoration: underline; }
|
||||
|
||||
/*
|
||||
* skin: 'light'
|
||||
*/
|
||||
/* title/caption */
|
||||
.lv_window_light .lv_title_caption { text-shadow: 0px 1px 1px rgba(0,0,0,.25); }
|
||||
|
||||
/* close button */
|
||||
.lv_window_light .lv_button_top_close {
|
||||
top: 17px;
|
||||
left: 55px;
|
||||
}
|
||||
|
||||
/* sprite */
|
||||
.lv_window_light .lv_side_button_previous,
|
||||
.lv_window_light .lv_side_button_next,
|
||||
.lv_window_light .lv_button_top_close,
|
||||
.lv_window_light .lv_controls_top_close_button,
|
||||
.lv_window_light .lv_slider .lv_icon,
|
||||
.lv_window_light .lv_slider_number,
|
||||
.lv_window_light .lv_slider_number_empty,
|
||||
.lv_window_light .lv_controls_top_close_button,
|
||||
.lv_controls_top_skin_light .lv_icon,
|
||||
.lv_controls_top_close_skin_light .lv_controls_top_close_button,
|
||||
.lv_thumbnails_skin_light .lv_thumbnail_icon {
|
||||
background-image: url('skins/light/sprite.png') !important;
|
||||
background-image: url('skins/light/sprite_ie_lt_7.png'); /* IE < 7 */
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* skin: 'dark'
|
||||
*/
|
||||
/* normalization */
|
||||
.lv_content_dark,
|
||||
.lv_content_dark h1,
|
||||
.lv_content_dark h2,
|
||||
.lv_content_dark h3,
|
||||
.lv_content_dark h4,
|
||||
.lv_content_dark h5,
|
||||
.lv_content_dark h6 {
|
||||
color: #f3f3f3;
|
||||
}
|
||||
|
||||
.lv_content_dark a,
|
||||
.lv_content_dark a:hover {
|
||||
color: #b4b4b4;
|
||||
}
|
||||
|
||||
/* sprite */
|
||||
.lv_window_dark .lv_side_buttons_underneath .lv_side_button_previous,
|
||||
.lv_window_dark .lv_side_buttons_underneath .lv_side_button_next,
|
||||
.lv_window_dark .lv_button_top_close,
|
||||
.lv_window_dark .lv_controls_top_close_button,
|
||||
.lv_window_dark .lv_slider .lv_icon,
|
||||
.lv_window_dark .lv_slider .lv_slider_number,
|
||||
.lv_window_dark .lv_slider .lv_slider_number_empty,
|
||||
.lv_window_dark .lv_controls_top_close_button,
|
||||
.lv_controls_top_skin_dark .lv_icon,
|
||||
.lv_controls_top_close_skin_dark .lv_controls_top_close_button,
|
||||
.lv_thumbnails_skin_dark .lv_thumbnail_icon {
|
||||
background-image: url('skins/dark/sprite.png') !important;
|
||||
background-image: url('skins/dark/sprite_ie_lt_7.png'); /* IE < 7 */
|
||||
}
|
||||
|
||||
/* close button */
|
||||
.lv_window_dark .lv_button_top_close {
|
||||
top: 18px;
|
||||
left: 53px;
|
||||
}
|
||||
|
||||
/* controls: 'relative' */
|
||||
.lv_window_dark .lv_slider_number { color: #acacac; }
|
||||
.lv_window_dark .lv_slider_number:hover { color: #e3e3e3; }
|
||||
.lv_window_dark .lv_slider_number_active,
|
||||
.lv_window_dark .lv_slider_number_active:hover { color: #5d5d5d;}
|
||||
|
||||
/* controls: 'top' */
|
||||
.lv_controls_top_skin_dark .lv_icon { color: #a6a6a6; }
|
||||
.lv_controls_top_skin_dark .lv_icon:hover { color: #e0e0e0; }
|
||||
.lv_controls_top_skin_dark .lv_icon_disabled,
|
||||
.lv_controls_top_skin_dark .lv_icon_disabled:hover { color: #575757; }
|
||||
|
||||
|
||||
/*
|
||||
* skin: 'mac'
|
||||
*/
|
||||
/* title/caption */
|
||||
.lv_window_mac .lv_title_caption { text-shadow: 0px 1px 1px rgba(0,0,0,.25); }
|
||||
|
||||
/* sprite */
|
||||
.lv_window_mac .lv_side_button_previous,
|
||||
.lv_window_mac .lv_side_button_next,
|
||||
.lv_window_mac .lv_button_top_close,
|
||||
.lv_window_mac .lv_controls_top_close_button,
|
||||
.lv_window_mac .lv_slider .lv_icon,
|
||||
.lv_window_mac .lv_slider_number,
|
||||
.lv_window_mac .lv_slider_number_empty,
|
||||
.lv_window_mac .lv_controls_top_close_button,
|
||||
.lv_controls_top_skin_mac .lv_icon,
|
||||
.lv_controls_top_close_skin_mac .lv_controls_top_close_button,
|
||||
.lv_thumbnails_skin_mac .lv_thumbnail_icon {
|
||||
background-image: url('skins/mac/sprite.png') !important;
|
||||
background-image: url('skins/mac/sprite_ie_lt_7.png'); /* IE < 7 */
|
||||
}
|
||||
|
||||
/* close button */
|
||||
.lv_window_mac .lv_button_top_close {
|
||||
top: 39px;
|
||||
left: 39px;
|
||||
}
|
||||
|
||||
/* controls: 'relative' */
|
||||
.lv_window_mac .lv_slider_number { color: #acacac; }
|
||||
.lv_window_mac .lv_slider_number:hover { color: #e1e1e1; }
|
||||
.lv_window_mac .lv_slider_number_active,
|
||||
.lv_window_mac .lv_slider_number_active:hover { color: #5d5d5d; }
|
||||
|
||||
/* controls: 'top' */
|
||||
.lv_controls_top_skin_mac .lv_icon { color: #a6a6a6; }
|
||||
.lv_controls_top_skin_mac .lv_icon:hover { color: #e0e0e0; }
|
||||
.lv_controls_top_skin_mac .lv_icon_disabled,
|
||||
.lv_controls_top_skin_mac .lv_icon_disabled:hover { color: #575757; }
|
||||
|
||||
|
After Width: | Height: | Size: 43 B |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,14 @@
|
||||
// Copyright 2006 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
document.createElement("canvas").getContext||function(){function C(){}function B(a){this.type_=a,this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0,this.colors_=[]}function A(a,b,c){!z(b)||(a.m_=b,c&&(a.lineScale_=f(e(b[0][0]*b[1][1]-b[0][1]*b[1][0]))))}function z(a){var b=0;for(;b<3;b++){var c=0;for(;c<2;c++)if(!isFinite(a[b][c])||isNaN(a[b][c]))return!1}return!0}function y(a,b,c,d){a.currentPath_.push({type:"bezierCurveTo",cp1x:b.x,cp1y:b.y,cp2x:c.x,cp2y:c.y,x:d.x,y:d.y}),a.currentX_=d.x,a.currentY_=d.y}function w(a){this.m_=r(),this.mStack_=[],this.aStack_=[],this.currentPath_=[],this.fillStyle=this.strokeStyle="#000",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this.miterLimit=g*1,this.globalAlpha=1,this.canvas=a;var b=a.ownerDocument.createElement("div");b.style.width=a.clientWidth+"px",b.style.height=a.clientHeight+"px",b.style.overflow="hidden",b.style.position="absolute",a.appendChild(b),this.element_=b,this.lineScale_=this.arcScaleY_=this.arcScaleX_=1}function v(a){switch(a){case"butt":return"flat";case"round":return"round";case"square":default:return"square"}}function u(a){var b,c=1;a=String(a);if(a.substring(0,3)=="rgb"){var d=a.indexOf("(",3),e=a.indexOf(")",d+1),f=a.substring(d+1,e).split(",");b="#";var g=0;for(;g<3;g++)b+=o[Number(f[g])];f.length==4&&a.substr(3,1)=="a"&&(c=f[3])}else b=a;return{color:b,alpha:c}}function t(a,b){b.fillStyle=a.fillStyle,b.lineCap=a.lineCap,b.lineJoin=a.lineJoin,b.lineWidth=a.lineWidth,b.miterLimit=a.miterLimit,b.shadowBlur=a.shadowBlur,b.shadowColor=a.shadowColor,b.shadowOffsetX=a.shadowOffsetX,b.shadowOffsetY=a.shadowOffsetY,b.strokeStyle=a.strokeStyle,b.globalAlpha=a.globalAlpha,b.arcScaleX_=a.arcScaleX_,b.arcScaleY_=a.arcScaleY_,b.lineScale_=a.lineScale_}function s(a,b){var c=r(),d=0;for(;d<3;d++){var e=0;for(;e<3;e++){var f=0,g=0;for(;g<3;g++)f+=a[d][g]*b[g][e];c[d][e]=f}}return c}function r(){return[[1,0,0],[0,1,0],[0,0,1]]}function n(a){var b=a.srcElement;b.firstChild&&(b.firstChild.style.width=b.clientWidth+"px",b.firstChild.style.height=b.clientHeight+"px")}function m(a){var b=a.srcElement;switch(a.propertyName){case"width":b.style.width=b.attributes.width.nodeValue+"px",b.getContext().clearRect();break;case"height":b.style.height=b.attributes.height.nodeValue+"px",b.getContext().clearRect()}}function k(a,b){var c=j.call(arguments,2);return function(){return a.apply(b,c.concat(j.call(arguments)))}}function i(){return this.context_||(this.context_=new w(this))}var a=Math,b=a.round,c=a.sin,d=a.cos,e=a.abs,f=a.sqrt,g=10,h=g/2,j=Array.prototype.slice,l={init:function(a){if(/MSIE/.test(navigator.userAgent)&&!window.opera){var b=a||document;b.createElement("canvas"),b.attachEvent("onreadystatechange",k(this.init_,this,b))}},init_:function(a){a.namespaces.g_vml_||a.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML"),a.namespaces.g_o_||a.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML");if(!a.styleSheets.ex_canvas_){var b=a.createStyleSheet();b.owningElement.id="ex_canvas_",b.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}g_vml_\\:*{behavior:url(#default#VML)}g_o_\\:*{behavior:url(#default#VML)}"}var c=a.getElementsByTagName("canvas"),d=0;for(;d<c.length;d++)this.initElement(c[d])},initElement:function(a){if(!a.getContext){a.getContext=i,a.innerHTML="",a.attachEvent("onpropertychange",m),a.attachEvent("onresize",n);var b=a.attributes;b.width&&b.width.specified?a.style.width=b.width.nodeValue+"px":a.width=a.clientWidth,b.height&&b.height.specified?a.style.height=b.height.nodeValue+"px":a.height=a.clientHeight}return a}};l.init();var o=[],p=0;for(;p<16;p++){var q=0;for(;q<16;q++)o[p*16+q]=p.toString(16)+q.toString(16)}var x=w.prototype;x.clearRect=function(){this.element_.innerHTML=""},x.beginPath=function(){this.currentPath_=[]},x.moveTo=function(a,b){var c=this.getCoords_(a,b);this.currentPath_.push({type:"moveTo",x:c.x,y:c.y}),this.currentX_=c.x,this.currentY_=c.y},x.lineTo=function(a,b){var c=this.getCoords_(a,b);this.currentPath_.push({type:"lineTo",x:c.x,y:c.y}),this.currentX_=c.x,this.currentY_=c.y},x.bezierCurveTo=function(a,b,c,d,e,f){var g=this.getCoords_(e,f),h=this.getCoords_(a,b),i=this.getCoords_(c,d);y(this,h,i,g)},x.quadraticCurveTo=function(a,b,c,d){var e=this.getCoords_(a,b),f=this.getCoords_(c,d),g={x:this.currentX_+.6666666666666666*(e.x-this.currentX_),y:this.currentY_+.6666666666666666*(e.y-this.currentY_)};y(this,g,{x:g.x+(f.x-this.currentX_)/3,y:g.y+(f.y-this.currentY_)/3},f)},x.arc=function(a,b,e,f,i,j){e*=g;var k=j?"at":"wa",l=a+d(f)*e-h,m=b+c(f)*e-h,n=a+d(i)*e-h,o=b+c(i)*e-h;l==n&&!j&&(l+=.125);var p=this.getCoords_(a,b),q=this.getCoords_(l,m),r=this.getCoords_(n,o);this.currentPath_.push({type:k,x:p.x,y:p.y,radius:e,xStart:q.x,yStart:q.y,xEnd:r.x,yEnd:r.y})},x.rect=function(a,b,c,d){this.moveTo(a,b),this.lineTo(a+c,b),this.lineTo(a+c,b+d),this.lineTo(a,b+d),this.closePath()},x.strokeRect=function(a,b,c,d){var e=this.currenLine truncated
|
||||
@@ -0,0 +1,220 @@
|
||||
/*!
|
||||
* Lightview - The jQuery Lightbox - v3.5.1
|
||||
* (c) 2008-2016 Nick Stakenburg
|
||||
*
|
||||
* http://projects.nickstakenburg.com/lightview
|
||||
*
|
||||
* License: http://projects.nickstakenburg.com/lightview/license
|
||||
*/
|
||||
;var Lightview = {
|
||||
version: '3.5.1',
|
||||
|
||||
extensions: {
|
||||
flash: 'swf',
|
||||
image: 'bmp gif jpeg jpg png',
|
||||
iframe: 'asp aspx cgi cfm htm html jsp php pl php3 php4 php5 phtml rb rhtml shtml txt',
|
||||
quicktime: 'avi mov mpg mpeg movie mp4'
|
||||
},
|
||||
pluginspages: {
|
||||
quicktime: 'http://www.apple.com/quicktime/download',
|
||||
flash: 'http://www.adobe.com/go/getflashplayer'
|
||||
}
|
||||
};
|
||||
|
||||
Lightview.Skins = {
|
||||
// every possible property is defined on the base skin
|
||||
// all other skins inherit from this skin
|
||||
'base': {
|
||||
ajax: {
|
||||
type: 'get'
|
||||
},
|
||||
background: {
|
||||
color: '#fff',
|
||||
opacity: 1
|
||||
},
|
||||
border: {
|
||||
size: 0,
|
||||
color: '#ccc',
|
||||
opacity: 1
|
||||
},
|
||||
continuous: false,
|
||||
controls: {
|
||||
close: 'relative',
|
||||
slider: {
|
||||
items: 5
|
||||
},
|
||||
text: {
|
||||
previous: "Prev", // when modifying this on skins images/css might have to be changed
|
||||
next: "Next"
|
||||
},
|
||||
thumbnails: {
|
||||
spinner: { color: '#777' },
|
||||
mousewheel: true
|
||||
},
|
||||
type: 'relative'
|
||||
},
|
||||
effects: {
|
||||
caption: { show: 180, hide: 180 },
|
||||
content: { show: 280, hide: 280 },
|
||||
overlay: { show: 240, hide: 280 },
|
||||
sides: { show: 150, hide: 180 },
|
||||
spinner: { show: 50, hide: 100 },
|
||||
slider: { slide: 180 },
|
||||
thumbnails: { show: 120, hide: 0, slide: 180, load: 340 },
|
||||
window: { show: 120, hide: 50, resize: 200, position: 180 }
|
||||
},
|
||||
errors: {
|
||||
'missing_plugin': "The content your are attempting to view requires the <a href='#{pluginspage}' target='_blank'>#{type} plugin<\/a>."
|
||||
},
|
||||
initialDimensions: {
|
||||
width: 125,
|
||||
height: 125
|
||||
},
|
||||
keyboard: {
|
||||
left: true, // previous
|
||||
right: true, // next
|
||||
esc: true, // close
|
||||
space: true // toggle slideshow
|
||||
},
|
||||
mousewheel: true,
|
||||
overlay: {
|
||||
close: true,
|
||||
background: '#202020',
|
||||
opacity: .85
|
||||
},
|
||||
padding: 10,
|
||||
position: {
|
||||
at: 'center',
|
||||
offset: { x: 0, y: 0 }
|
||||
},
|
||||
preload: true,
|
||||
radius: {
|
||||
size: 0,
|
||||
position: 'background'
|
||||
},
|
||||
shadow: {
|
||||
blur: 3,
|
||||
color: '#000',
|
||||
opacity: .15
|
||||
},
|
||||
slideshow: {
|
||||
delay: 5000
|
||||
},
|
||||
spacing: {
|
||||
relative: { horizontal: 60, vertical: 60 },
|
||||
thumbnails: { horizontal: 60, vertical: 60 },
|
||||
top: { horizontal: 60, vertical: 60 }
|
||||
},
|
||||
spinner: { },
|
||||
thumbnail: { icon: false },
|
||||
viewport: 'scale',
|
||||
wrapperClass: false,
|
||||
|
||||
initialTypeOptions: {
|
||||
ajax: {
|
||||
keyboard: false,
|
||||
mousewheel: false,
|
||||
viewport: 'crop'
|
||||
},
|
||||
flash: {
|
||||
width: 550,
|
||||
height: 400,
|
||||
params: {
|
||||
allowFullScreen: 'true',
|
||||
allowScriptAccess: 'always',
|
||||
wmode: 'transparent'
|
||||
},
|
||||
flashvars: {},
|
||||
keyboard: false,
|
||||
mousewheel: false,
|
||||
thumbnail: { icon: 'video' },
|
||||
viewport: 'scale'
|
||||
},
|
||||
iframe: {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
attr: {
|
||||
scrolling: 'auto'
|
||||
},
|
||||
keyboard: false,
|
||||
mousewheel: false,
|
||||
viewport: 'crop'
|
||||
},
|
||||
image: {
|
||||
viewport: 'scale'
|
||||
},
|
||||
inline: {
|
||||
keyboard: false,
|
||||
mousewheel: false,
|
||||
viewport: 'crop'
|
||||
},
|
||||
quicktime: {
|
||||
width: 640,
|
||||
height: 272,
|
||||
params: {
|
||||
autoplay: true,
|
||||
controller: true,
|
||||
enablejavascript: true,
|
||||
loop: false,
|
||||
scale: 'tofit'
|
||||
},
|
||||
keyboard: false,
|
||||
mousewheel: false,
|
||||
thumbnail: { icon: 'video' },
|
||||
viewport: 'scale'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// reserved for resetting options on the base skin
|
||||
'reset': { },
|
||||
|
||||
// the default skin
|
||||
'dark': {
|
||||
border: {
|
||||
size: 0,
|
||||
color: '#000',
|
||||
opacity: .25
|
||||
},
|
||||
radius: { size: 5 },
|
||||
background: '#141414',
|
||||
shadow: {
|
||||
blur: 5,
|
||||
opacity: .08
|
||||
},
|
||||
overlay: {
|
||||
background: '#2b2b2b',
|
||||
opacity: .85
|
||||
},
|
||||
spinner: {
|
||||
color: '#777'
|
||||
}
|
||||
},
|
||||
|
||||
'light': {
|
||||
border: { opacity: .25 },
|
||||
radius: { size: 5 },
|
||||
spinner: {
|
||||
color: '#333'
|
||||
}
|
||||
},
|
||||
|
||||
'mac': {
|
||||
background: '#fff',
|
||||
border: {
|
||||
size: 0,
|
||||
color: '#dfdfdf',
|
||||
opacity: .3
|
||||
},
|
||||
shadow: {
|
||||
blur: 3,
|
||||
opacity: .08
|
||||
},
|
||||
overlay: {
|
||||
background: '#2b2b2b',
|
||||
opacity: .85
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
(function($,window){(function(){function wheel(event){var realDelta;if(event.originalEvent.wheelDelta){realDelta=event.originalEvent.wheelDelta/120}else{if(event.originalEvent.detail){realDelta=-event.originalEvent.detail/3}}if(!realDelta){return}var customEvent=$.Event("lightview:mousewheel");$(event.target).trigger(customEvent,realDelta);if(customEvent.isPropagationStopped()){event.stopPropagation()}if(customEvent.isDefaultPrevented()){event.preventDefault()}}$(document.documentElement).bind("mousewheel DOMMouseScroll",wheel)})();var easing={};(function(){var baseEasings={};$.extend(baseEasings,{Quart:function(p){return Math.pow(p,4)}});$.each(baseEasings,function(name,easeIn){easing["easeIn"+name]=easeIn;easing["easeOut"+name]=function(p){return 1-easeIn(1-p)};easing["easeInOut"+name]=function(p){return p<0.5?easeIn(p*2)/2:1-easeIn(p*-2+2)/2}});$.each(easing,function(fn_name,fn){if(!$.easing[fn_name]){$.easing[fn_name]=fn}})})();var _slice=Array.prototype.slice;var _={clone:function(object){return $.extend({},object)},isElement:function(object){return object&&object.nodeType==1},element:{isAttached:(function(){function findTopAncestor(element){var ancestor=element;while(ancestor&&ancestor.parentNode){ancestor=ancestor.parentNode}return ancestor}return function(element){var topAncestor=findTopAncestor(element);return !!(topAncestor&&topAncestor.body)}})()}};var Browser=(function(uA){function getVersion(identifier){var version=new RegExp(identifier+"([\\d.]+)").exec(uA);return version?parseFloat(version[1]):true}return{IE:!!(window.attachEvent&&uA.indexOf("Opera")===-1)&&getVersion("MSIE "),Opera:uA.indexOf("Opera")>-1&&((!!window.opera&&opera.version&&parseFloat(opera.version()))||7.55),WebKit:uA.indexOf("AppleWebKit/")>-1&&getVersion("AppleWebKit/"),Gecko:uA.indexOf("Gecko")>-1&&uA.indexOf("KHTML")===-1&&getVersion("rv:"),MobileSafari:!!uA.match(/Apple.*Mobile.*Safari/),Chrome:uA.indexOf("Chrome")>-1&&getVersion("Chrome/")}})(navigator.userAgent);function px(source){var destination={};for(var property in source){destination[property]=source[property]+"px"}return destination}function pyth(a,b){return Math.sqrt(a*a+b*b)}function degrees(radian){return(radian*180)/Math.PI}function radian(degrees){return(degrees*Math.PI)/180}var getUniqueID=(function(){var count=0,_prefix="lv_identity_";return function(prefix){prefix=prefix||_prefix;count++;while(document.getElementById(prefix+count)){count++}return prefix+count}})();function sfcc(c){return String.fromCharCode.apply(String,c.split(","))}function warn(message){if(!!window.console){console[console.warn?"warn":"log"](message)}}var Requirements={scripts:{jQuery:{required:"1.4.4",available:window.jQuery&&jQuery.fn.jquery},SWFObject:{required:"2.2",available:window.swfobject&&swfobject.ua&&"2.2"},Spinners:{required:"3.0.0",available:window.Spinners&&(Spinners.version||Spinners.Version)}},check:(function(){var VERSION_STRING=/^(\d+(\.?\d+){0,3})([A-Za-z_-]+[A-Za-z0-9]+)?/;function convertVersionString(versionString){var vA=versionString.match(VERSION_STRING),nA=vA&&vA[1]&&vA[1].split(".")||[],v=0;for(var i=0,l=nA.length;i<l;i++){v+=parseInt(nA[i]*Math.pow(10,6-i*2))}return vA&&vA[3]?v-1:v}return function require(script){if(!this.scripts[script].available||(convertVersionString(this.scripts[script].available)<convertVersionString(this.scripts[script].required))&&!this.scripts[script].notified){this.scripts[script].notified=true;warn("Lightview requires "+script+" >= "+this.scripts[script].required)}}})()};(function(){$(document).ready(function(){var navigatorPlugins=(navigator.plugins&&navigator.plugins.length);function detectPlugin(name){var detected=false;if(navigatorPlugins){detected=$.map(_slice.call(navigator.plugins),function(n,i){return n.name}).join(",").indexOf(name)>=0}else{try{detected=new ActiveXObject(name)}catch(e){}}return !!detected}if(navigatorPlugins){Lightview.plugins={flash:detectPlugin("Shockwave Flash"),quicktime:detectPlugin("QuickTime")}}else{Lightview.plugins={flash:detectPlugin("ShockwaveFlash.ShockwaveFlash"),quicktime:detectPlugin("QuickTime.QuickTime")}}})})();function createHTML(object){var html="<"+object.tag;for(var attr in object){if($.inArray(attr,"children html tag".split(" "))<0){html+=" "+attr+'="'+object[attr]+'"'}}if(new RegExp("^(?:area|base|basefont|br|col|frame|hr|img|input|link|isindex|meta|param|range|spacer|wbr)$","i").test(object.tag)){html+="/>"}else{html+=">";if(object.children){$.each(object.children,function(i,child){html+=createHTML(child)})}if(object.html){html+=object.html}html+="</"+object.tag+">"}return html}$.extend(true,Lightview,(function(){var testElement=document.createElement("div"),domPrefixes="Webkit Moz O ms Khtml".split(" ");function prefixed(property){return testAllProperties(property,"prefix")}function testProperties(properties,prefixed){for(var i in properties){if(testElement.style[properties[i]]!==undefined){return prefixed=="prefix"?properties[i]:true}}return false}function testAllProperties(propLine truncated
|
||||
@@ -0,0 +1,9 @@
|
||||
/*!
|
||||
* Spinners 3.0.0
|
||||
* (c) 2010-2012 Nick Stakenburg - http://www.nickstakenburg.com
|
||||
*
|
||||
* Spinners is freely distributable under the terms of an MIT-style license.
|
||||
*
|
||||
* GitHub: http://github.com/staaky/spinners
|
||||
*/
|
||||
;var Spinners={version:"3.0.0"};(function(a){function b(a){return a*Math.PI/180}function c(a){this.element=a}function d(b,c){b&&(this.element=b,h.remove(b),h.removeDetached(),this._position=0,this._state="stopped",this.setOptions(a.extend({color:"#000",dashes:12,radius:5,height:5,width:1.8,opacity:1,padding:3,rotation:700},c||{})),this.drawPosition(0),h.add(this))}var e={scroll:function(a,b){if(!b)return a;var c=a.slice(0,b);return a.slice(b,a.length).concat(c)},isElement:function(a){return a&&1==a.nodeType},element:{isAttached:function(){return function(a){for(;a&&a.parentNode;)a=a.parentNode;return!!a&&!!a.body}}()}},f={drawRoundedRectangle:function(c,d){var e=a.extend({top:0,left:0,width:0,height:0,radius:0},d||{}),f=e.left,g=e.top,h=e.width,i=e.height,e=e.radius;c.beginPath(),c.moveTo(f+e,g),c.arc(f+h-e,g+e,e,b(-90),b(0),!1),c.arc(f+h-e,g+i-e,e,b(0),b(90),!1),c.arc(f+e,g+i-e,e,b(90),b(180),!1),c.arc(f+e,g+e,e,b(-180),b(-90),!1),c.closePath(),c.fill()}},g=function(){function a(a){var c=[];0==a.indexOf("#")&&(a=a.substring(1)),a=a.toLowerCase();if(""!=a.replace(b,""))return null;3==a.length?(c[0]=a.charAt(0)+a.charAt(0),c[1]=a.charAt(1)+a.charAt(1),c[2]=a.charAt(2)+a.charAt(2)):(c[0]=a.substring(0,2),c[1]=a.substring(2,4),c[2]=a.substring(4));for(a=0;a<c.length;a++)c[a]=parseInt(c[a],16);return c.red=c[0],c.green=c[1],c.blue=c[2],c}var b=RegExp("[0123456789abcdef]","g"),c=function(){function a(a,b,c){return a=a.toString(c||10),Array(b-a.length).join("0")+a}return function(b,c,d){return"#"+a(b,2,16)+a(c,2,16)+a(d,2,16)}}();return{hex2rgb:a,hex2fill:function(b,c){"undefined"==typeof c&&(c=1);var d=c,e=a(b);return e[3]=d,e.opacity=d,"rgba("+e.join()+")"},rgb2hex:c}}();a.extend(Spinners,{enabled:!1,support:{canvas:function(){var b=a("<canvas>")[0];return!!b.getContext&&!!b.getContext("2d")}()},init:function(){if(this.support.canvas||window.G_vmlCanvasManager&&window.attachEvent&&-1===navigator.userAgent.indexOf("Opera"))window.G_vmlCanvasManager&&window.G_vmlCanvasManager.init_(document),this.enabled=!0},create:function(a,b){return c.create(a,b),this.get(a)},get:function(a){return new c(a)},play:function(a){return this.get(a).play(),this},pause:function(a){return this.get(a).pause(),this},toggle:function(a){return this.get(a).toggle(),this},stop:function(a){return this.get(a).stop(),this},remove:function(a){return this.get(a).remove(),this},removeDetached:function(){return h.removeDetached(),this},center:function(a){return this.get(a).center(),this},setOptions:function(a,b){return this.get(a).setOptions(b),this},getDimensions:function(a){return a=2*h.get(a)[0].getLayout().workspace.radius,{width:a,height:a}}});var h={spinners:[],get:function(b){if(b){var c=[];return a.each(this.spinners,function(d,f){f&&(e.isElement(b)?f.element==b:a(f.element).is(b))&&c.push(f)}),c}},add:function(a){this.spinners.push(a)},remove:function(b){a(a.map(this.spinners,function(c){if(e.isElement(b)?c.element==b:a(c.element).is(b))return c.element})).each(a.proxy(function(a,b){this.removeByElement(b)},this))},removeByElement:function(b){var c=this.get(b)[0];c&&(c.remove(),this.spinners=a.grep(this.spinners,function(a){return a.element!=b}))},removeDetached:function(){a.each(this.spinners,a.proxy(function(a,b){b&&b.element&&!e.element.isAttached(b.element)&&this.remove(b.element)},this))}};a.extend(c,{create:function(b,c){if(b){var f=c||{},g=[];return e.isElement(b)?g.push(new d(b,f)):a(b).each(function(a,b){g.push(new d(b,f))}),g}}}),a.extend(c.prototype,{items:function(){return h.get(this.element)},play:function(){return a.each(this.items(),function(a,b){b.play()}),this},stop:function(){return a.each(this.items(),function(a,b){b.stop()}),this},pause:function(){return a.each(this.items(),function(a,b){b.pause()}),this},toggle:function(){return a.each(this.items(),function(a,b){b.toggle()}),this},center:function(){return a.each(this.items(),function(a,b){b.center()}),this},setOptions:function(b){return a.each(this.items(),function(a,c){c.setOptions(b)}),this},remove:function(){return h.remove(this.element),this}}),a.extend(d.prototype,{setOptions:function(b){this.options=a.extend({},this.options,b||{}),this.options.radii&&(b=this.options.radii,this.options.radius=Math.min(b[0],b[1]),this.options.height=Math.max(b[0],b[1])-this.options.radius),this.options.dashWidth&&(this.options.width=this.options.dashWidth),this.options.speed&&(this.options.duration=1e3*this.options.speed);var b=this._state,c=this._position;this._layout=null,this.build(),c&&c>=this.options.dashes-1&&(this._position=this.options.dashes-1);switch(b){case"playing":this.play();break;case"paused":case"stopped":this.drawPosition(this._position)}this._centered&&this.center()},remove:function(){this.canvas&&(this.pause(),a(this.canvas).remove(),this.ctx=this.canvas=null)},build:function(){this.remove();var b=this.getLayout().workspace.radius;return a(document.body).append(this.canvas=a("<canvas>").attr({width:2*b,height:2*b}).css({zoom:1})),window.G_vmlCanvasManager&&G_vmLine truncated
|
||||