[*] FO : updated Fancybox plug-in

This commit is contained in:
Damien Metzger
2013-07-23 12:53:20 +02:00
parent 6ed713e847
commit 87a4b75df4
28 changed files with 252 additions and 1501 deletions

Before

Width:  |  Height:  |  Size: 43 B

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

@@ -1,35 +0,0 @@
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2013 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;
+206 -310
View File
@@ -1,378 +1,274 @@
/* /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
* FancyBox - jQuery Plugin .fancybox-wrap,
* Simple and fancy lightbox alternative .fancybox-skin,
* .fancybox-outer,
* Examples and documentation at: http://fancybox.net .fancybox-inner,
* .fancybox-image,
* Copyright (c) 2008 - 2010 Janis Skarnelis .fancybox-wrap iframe,
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated. .fancybox-wrap object,
* .fancybox-nav,
* Version: 1.3.4 (11/11/2010) .fancybox-nav span,
* Requires: jQuery v1.3+ .fancybox-tmp
* {
* Dual licensed under the MIT and GPL licenses: padding: 0;
* http://www.opensource.org/licenses/mit-license.php margin: 0;
* http://www.gnu.org/licenses/gpl.html border: 0;
*/ outline: none;
vertical-align: top;
/* PrestaShop }
*
* We did several modifications in this file: .fancybox-wrap {
* position: absolute;
* - Persistant arrows top: 0;
* - Fixed IE 6 path on the AlphaLoader method left: 0;
* - Specific path for background images z-index: 8020;
* }
*/
.fancybox-skin {
position: relative;
background: #f9f9f9;
color: #444;
text-shadow: none;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.fancybox-opened {
z-index: 8030;
}
.fancybox-opened .fancybox-skin {
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.fancybox-outer, .fancybox-inner {
position: relative;
}
.fancybox-inner {
overflow: hidden;
}
.fancybox-type-iframe .fancybox-inner {
-webkit-overflow-scrolling: touch;
}
.fancybox-error {
color: #444;
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
margin: 0;
padding: 15px;
white-space: nowrap;
}
.fancybox-image, .fancybox-iframe {
display: block;
width: 100%;
height: 100%;
}
.fancybox-image {
max-width: 100%;
max-height: 100%;
}
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
background-image: url('fancybox_sprite.png');
}
#fancybox-loading { #fancybox-loading {
position: fixed; position: fixed;
top: 50%; top: 50%;
left: 50%; left: 50%;
width: 40px; margin-top: -22px;
height: 40px; margin-left: -22px;
margin-top: -20px; background-position: 0 -108px;
margin-left: -20px; opacity: 0.8;
cursor: pointer; cursor: pointer;
overflow: hidden; z-index: 8060;
z-index: 1104;
display: none;
} }
#fancybox-loading div { #fancybox-loading div {
width: 44px;
height: 44px;
background: url('fancybox_loading.gif') center center no-repeat;
}
.fancybox-close {
position: absolute; position: absolute;
top: 0; top: -18px;
left: 0; right: -18px;
width: 40px; width: 36px;
height: 480px; height: 36px;
background-image: url('images/fancybox.png');
}
#fancybox-overlay {
background-color :#000 !important;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1100;
display: none;
}
#fancybox-tmp {
padding: 0;
margin: 0;
border: 0;
overflow: auto;
display: none;
}
#fancybox-wrap {
background: none repeat scroll 0 0 rgb(255, 255, 255) !important;
background: none repeat scroll 0 0 rgba(255, 255, 255, 0.3) !important;
position: absolute;
top: 0;
left: 0;
padding: 8px;
z-index: 1101;
outline: none;
display: none;
border-radius:8px;
}
#fancybox-outer {
position: relative;
width: 100%;
height: 100%;
background: #fff;
}
#fancybox-content {
width: 0;
height: 0;
padding: 0;
outline: none;
position: relative;
overflow: hidden;
z-index: 1102;
border: 0px solid #fff;
}
#fancybox-hide-sel-frame {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
z-index: 1101;
}
#fancybox-close {
position: absolute;
top: -15px;
right: -15px;
width: 30px;
height: 30px;
background: transparent url('images/fancybox.png') -40px 0px;
cursor: pointer; cursor: pointer;
z-index: 1103; z-index: 8040;
display: none;
} }
#fancybox-error { .fancybox-nav {
color: #444;
font: normal 12px/20px Arial;
padding: 14px;
margin: 0;
}
#fancybox-img {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
border: none;
outline: none;
line-height: 0;
vertical-align: top;
}
#fancybox-frame {
width: 100%;
height: 100%;
border: none;
display: block;
}
#fancybox-left, #fancybox-right {
position: absolute; position: absolute;
bottom: 0px; top: 0;
width: 40%;
height: 100%; height: 100%;
width: 35%;
cursor: pointer; cursor: pointer;
outline: none; text-decoration: none;
background: transparent url('images/blank.gif'); background: transparent url('blank.gif'); /* helps IE */
z-index: 1102; -webkit-tap-highlight-color: rgba(0,0,0,0);
display: none; z-index: 8040;
} }
#fancybox-left { .fancybox-prev {
left: 0px; left: 0;
} }
#fancybox-right { .fancybox-next {
right: 0px; right: 0;
} }
#fancybox-left-ico, #fancybox-right-ico { .fancybox-nav span {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: -9999px; width: 36px;
width: 30px; height: 34px;
height: 30px; margin-top: -18px;
margin-top: -15px;
cursor: pointer; cursor: pointer;
z-index: 1102; z-index: 8040;
display: block; visibility: hidden;
} }
#fancybox-left-ico { .fancybox-prev span {
background-image: url('images/fancybox.png'); left: 10px;
background-position: -40px -30px; background-position: 0 -36px;
left: 20px; /* PrestaShop - make left arrow permanently visible */
} }
#fancybox-right-ico { .fancybox-next span {
background-image: url('images/fancybox.png'); right: 10px;
background-position: -40px -60px; background-position: 0 -72px;
/* PrestaShop - make right arrow permanently visible */
right: 20px;
left: auto;
/* End */
} }
#fancybox-left:hover, #fancybox-right:hover { .fancybox-nav:hover span {
visibility: visible; /* IE6 */ visibility: visible;
} }
#fancybox-left:hover span { .fancybox-tmp {
left: 20px;
}
#fancybox-right:hover span {
left: auto;
right: 20px;
}
.fancybox-bg {
position: absolute; position: absolute;
padding: 0; top: -99999px;
margin: 0; left: -99999px;
border: 0; visibility: hidden;
width: 20px; max-width: 99999px;
height: 20px; max-height: 99999px;
z-index: 1001; overflow: visible !important;
} }
#fancybox-bg-n { /* Overlay helper */
top: -20px;
left: 0; .fancybox-lock {
width: 100%; overflow: hidden !important;
background-image: url('images/fancybox-x.png'); width: auto;
} }
#fancybox-bg-ne { .fancybox-lock body {
top: -20px; overflow: hidden !important;
right: -20px;
background-image: url('images/fancybox.png');
background-position: -40px -162px;
} }
#fancybox-bg-e { .fancybox-lock-test {
overflow-y: hidden !important;
}
.fancybox-overlay {
position: absolute;
top: 0; top: 0;
right: -20px;
height: 100%;
background-image: url('images/fancybox-y.png');
background-position: -20px 0px;
}
#fancybox-bg-se {
bottom: -20px;
right: -20px;
background-image: url('images/fancybox.png');
background-position: -40px -182px;
}
#fancybox-bg-s {
bottom: -20px;
left: 0; left: 0;
width: 100%; overflow: hidden;
background-image: url('images/fancybox-x.png'); display: none;
background-position: 0px -20px; z-index: 8010;
background: url('fancybox_overlay.png');
} }
#fancybox-bg-sw { .fancybox-overlay-fixed {
bottom: -20px; position: fixed;
left: -20px; bottom: 0;
background-image: url('images/fancybox.png'); right: 0;
background-position: -40px -142px;
} }
#fancybox-bg-w { .fancybox-lock .fancybox-overlay {
top: 0; overflow: auto;
left: -20px; overflow-y: scroll;
height: 100%;
background-image: url('images/fancybox-y.png');
} }
#fancybox-bg-nw { /* Title helper */
top: -20px;
left: -20px;
background-image: url('images/fancybox.png');
background-position: -40px -122px;
}
#fancybox-title { .fancybox-title {
font-family: Helvetica; visibility: hidden;
font-size: 12px; font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
z-index: 1102;
}
.fancybox-title-inside {
padding-bottom: 10px;
text-align: center;
color: #333;
background: #fff;
position: relative; position: relative;
text-shadow: none;
z-index: 8050;
} }
.fancybox-title-outside { .fancybox-opened .fancybox-title {
padding-top: 10px; visibility: visible;
color: #fff;
} }
.fancybox-title-over { .fancybox-title-float-wrap {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; right: 50%;
margin-bottom: -35px;
z-index: 8050;
text-align: center;
}
.fancybox-title-float-wrap .child {
display: inline-block;
margin-right: -100%;
padding: 2px 20px;
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
background: rgba(0, 0, 0, 0.8);
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
text-shadow: 0 1px 2px #222;
color: #FFF; color: #FFF;
text-align: left; font-weight: bold;
} line-height: 24px;
#fancybox-title-over {
padding: 10px;
background-image: url('images/fancy_title_over.png');
display: block;
}
.fancybox-title-float {
position: absolute;
left: 0;
bottom: -20px;
height: 32px;
}
#fancybox-title-float-wrap {
border: none;
border-collapse: collapse;
width: auto;
}
#fancybox-title-float-wrap td {
border: none;
white-space: nowrap; white-space: nowrap;
} }
#fancybox-title-float-left { .fancybox-title-outside-wrap {
padding: 0 0 0 15px; position: relative;
background: url('images/fancybox.png') -40px -90px no-repeat; margin-top: 10px;
color: #fff;
} }
#fancybox-title-float-main { .fancybox-title-inside-wrap {
color: #FFF; padding-top: 10px;
line-height: 29px;
font-weight: bold;
padding: 0 0 3px 0;
background: url('images/fancybox-x.png') 0px -40px;
} }
#fancybox-title-float-right { .fancybox-title-over-wrap {
padding: 0 0 0 15px; position: absolute;
background: url('images/fancybox.png') -55px -90px no-repeat; bottom: 0;
left: 0;
color: #fff;
padding: 10px;
background: #000;
background: rgba(0, 0, 0, .8);
} }
/* IE6 */ /*Retina graphics!*/
/* PrestaShop - replace images by images_ie */ @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_close.png', sizingMethod='scale'); } only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5){
.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_nav_left.png', sizingMethod='scale'); } #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_nav_right.png', sizingMethod='scale'); } background-image: url('fancybox_sprite@2x.png');
background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
}
.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_title_over.png', sizingMethod='scale'); zoom: 1; } #fancybox-loading div {
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_title_left.png', sizingMethod='scale'); } background-image: url('fancybox_loading@2x.gif');
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_title_main.png', sizingMethod='scale'); } background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_title_right.png', sizingMethod='scale'); } }
}
.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
height: expression(this.parentNode.clientHeight + "px");
}
#fancybox-loading.fancybox-ie6 {
position: absolute; margin-top: 0;
top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
}
#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_loading.png', sizingMethod='scale'); }
/* IE6, IE7, IE8 */
.fancybox-ie .fancybox-bg { background: transparent !important; }
.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images_ie/fancy_shadow_nw.png', sizingMethod='scale'); }
File diff suppressed because it is too large Load Diff