primo commit
1785
media/com_phocagallery/js/boxplus/boxplus.js
Normal file
260
media/com_phocagallery/js/boxplus/boxplus.lang.js
Normal file
@ -0,0 +1,260 @@
|
||||
/**@license boxplus strings for localization
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.3
|
||||
* @remarks Copyright (C) 2010-2011 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
**/
|
||||
|
||||
/*
|
||||
* Requires MooTools 1.2 or later.
|
||||
* Annotated for use with Google Closure Compiler's advanced optimization
|
||||
* method when supplemented with a MooTools extern file.
|
||||
*/
|
||||
|
||||
;
|
||||
(function () {
|
||||
/** Language strings. */
|
||||
var localizations = {
|
||||
'en': {
|
||||
language: 'English',
|
||||
first: 'First',
|
||||
prev: 'Previous',
|
||||
next: 'Next',
|
||||
last: 'Last',
|
||||
start: 'Start slideshow',
|
||||
stop: 'Stop slideshow',
|
||||
close: 'Close',
|
||||
enlarge: 'Enlarge',
|
||||
shrink: 'Shrink',
|
||||
download: 'Download',
|
||||
metadata: 'Image metadata',
|
||||
notFound: 'Document not found or not available for download.',
|
||||
unknownType: 'The embedded content to be displayed in this window is of type <code>%s</code>, which is not currently supported by your browser.\nInstalling the appropriate browser plug-in usually solves the problem.'
|
||||
},
|
||||
'de': {
|
||||
language: 'Deutsch',
|
||||
first: 'Erstes',
|
||||
prev: 'Zurück',
|
||||
next: 'Weiter',
|
||||
last: 'Letztes',
|
||||
start: 'Diashow starten',
|
||||
stop: 'Diashow anhalten',
|
||||
close: 'Schließen',
|
||||
enlarge: 'Vergrößern',
|
||||
shrink: 'Verkleinern',
|
||||
download: 'Download',
|
||||
metadata: 'Bild Metadaten'
|
||||
},
|
||||
'es': {
|
||||
language: 'Español',
|
||||
first: 'Primera',
|
||||
prev: 'Anterior',
|
||||
next: 'Siguiente',
|
||||
last: 'Última',
|
||||
start: '',
|
||||
stop: '',
|
||||
close: 'Cerrar',
|
||||
enlarge: 'Ampliar',
|
||||
shrink: 'Reducir',
|
||||
download: 'Descargar',
|
||||
metadata: 'Metadatos de la imagen'
|
||||
},
|
||||
'fr': {
|
||||
language: 'Français',
|
||||
first: 'Première',
|
||||
prev: 'Précédente',
|
||||
next: 'Suivante',
|
||||
last: 'Dernière',
|
||||
start: 'Démarrer diaporama',
|
||||
stop: 'Arrêter diaporama',
|
||||
close: 'Fermer',
|
||||
enlarge: 'Agrandir',
|
||||
shrink: 'Réduire',
|
||||
download: 'Télécharger',
|
||||
metadata: 'Métadonnées images'
|
||||
},
|
||||
'bg': {
|
||||
language: 'български език',
|
||||
first: 'Първа',
|
||||
prev: 'Предишна',
|
||||
next: 'Следваща',
|
||||
last: 'Последна',
|
||||
start: 'Старт на слайдшоу',
|
||||
stop: 'Спиране на слайдшоу',
|
||||
close: 'Затвори',
|
||||
enlarge: 'Увеличи',
|
||||
shrink: 'Намали',
|
||||
download: 'Изтегляне',
|
||||
metadata: 'Метаданни на снимката'
|
||||
},
|
||||
'he': {
|
||||
language: 'עִבְרִית',
|
||||
first: 'ראשון',
|
||||
prev: 'קודם',
|
||||
next: 'הבא',
|
||||
last: 'אחרון',
|
||||
start: 'להתחיל מצגת שקפים',
|
||||
stop: 'לסיים מצגת שקפים',
|
||||
close: 'קרוב',
|
||||
enlarge: 'להגדיל',
|
||||
shrink: 'להקטין',
|
||||
download: 'להוריד',
|
||||
metadata: 'מטא-נתונים'
|
||||
},
|
||||
'hu': {
|
||||
language: 'Magyar',
|
||||
first: 'Első',
|
||||
prev: 'Előző',
|
||||
next: 'Következő',
|
||||
last: 'Utolsó',
|
||||
start: 'Diavetítés indítása',
|
||||
stop: 'Diavetítés megállítása',
|
||||
close: 'Bezár',
|
||||
enlarge: 'Nagyítás',
|
||||
shrink: 'Kicsinyítés',
|
||||
download: 'Letöltés',
|
||||
metadata: 'Kép metadatai'
|
||||
},
|
||||
'nl': {
|
||||
language: 'Nederlands',
|
||||
first: 'Eerste',
|
||||
prev: 'Vorige',
|
||||
next: 'Volgende',
|
||||
last: 'Laatste',
|
||||
start: 'Start presentatie',
|
||||
stop: 'Stop presentatie',
|
||||
close: 'Sluiten',
|
||||
enlarge: 'Vergroten',
|
||||
shrink: 'Verkleinen',
|
||||
download: 'Download',
|
||||
metadata: 'Metadata van de afbeelding'
|
||||
},
|
||||
'pl': {
|
||||
language: 'Polski',
|
||||
first: 'Pierwszy',
|
||||
prev: 'Poprzedni',
|
||||
next: 'Następny',
|
||||
last: 'Ostatni',
|
||||
start: 'Uruchom pokaz slajdów',
|
||||
stop: 'Zatrzymaj pokaz slajdów',
|
||||
close: 'Zamknij',
|
||||
enlarge: 'Powiększ',
|
||||
shrink: 'Pomniejsz',
|
||||
download: 'Pobierz',
|
||||
metadata: 'Metadane obrazka'
|
||||
},
|
||||
'pt': {
|
||||
language: 'Português',
|
||||
first: 'Primeiro',
|
||||
prev: 'Anterior',
|
||||
next: 'Próximo',
|
||||
last: 'Último',
|
||||
start: 'Iniciar slideshow',
|
||||
stop: 'Parar slideshow',
|
||||
close: 'Fechar',
|
||||
enlarge: 'Ampliar',
|
||||
shrink: 'Reduzir',
|
||||
download: 'Download',
|
||||
metadata: 'Metadados de imagem'
|
||||
},
|
||||
'ru': {
|
||||
language: 'Русский язык',
|
||||
first: 'Первый',
|
||||
prev: 'Предыдущий',
|
||||
next: 'Следующий',
|
||||
last: 'Последний',
|
||||
start: 'Запустить слайд-шоу',
|
||||
stop: 'Остановить слайд-шоу',
|
||||
close: 'Закрыть',
|
||||
enlarge: 'Увеличить',
|
||||
shrink: 'Сократить',
|
||||
download: 'Загрузить',
|
||||
metadata: 'Метаданные изображений'
|
||||
},
|
||||
'sk': {
|
||||
language: 'Slovenčina',
|
||||
first: 'Prvá',
|
||||
prev: 'Vzad',
|
||||
next: 'Vpred',
|
||||
last: 'Posledná',
|
||||
start: 'Spustiť prezentáciu',
|
||||
stop: 'Zastaviť prezentáciu',
|
||||
close: 'Zavrieť',
|
||||
enlarge: 'Rozšíriť',
|
||||
shrink: 'Zúžiť',
|
||||
download: 'Stiahnutie',
|
||||
metadata: 'Metaúdaje obrázkov'
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Get language strings and/or set language and country for localization.
|
||||
* @param langcode A language code in the ISO format "en".
|
||||
* @param countrycode A country code in the ISO format "US".
|
||||
* @return Language strings as an object.
|
||||
*/
|
||||
function apply(langcode, countrycode) {
|
||||
var isocode = countrycode ? langcode + '-' + countrycode : langcode;
|
||||
|
||||
// get language strings for selected language
|
||||
var code = localizations[isocode] ? isocode : ( localizations[langcode] ? langcode : '' );
|
||||
|
||||
var localization = {
|
||||
language: '',
|
||||
first: '',
|
||||
prev: '',
|
||||
next: '',
|
||||
last: '',
|
||||
start: '',
|
||||
stop: '',
|
||||
close: '',
|
||||
enlarge: '',
|
||||
shrink: '',
|
||||
download: '',
|
||||
metadata: '',
|
||||
notFound: '',
|
||||
unknownType: ''
|
||||
};
|
||||
if (code) {
|
||||
Object.append(localization, localizations[code])
|
||||
}
|
||||
|
||||
// maps possibly minified property names to their expanded (true) name
|
||||
var mapping = {
|
||||
language: 'language',
|
||||
first: 'first',
|
||||
prev: 'prev',
|
||||
next: 'next',
|
||||
last: 'last',
|
||||
start: 'start',
|
||||
stop: 'stop',
|
||||
close: 'close',
|
||||
enlarge: 'enlarge',
|
||||
shrink: 'shrink',
|
||||
download: 'download',
|
||||
metadata: 'metadata',
|
||||
notFound: 'not-found',
|
||||
unknownType: 'unknown-type'
|
||||
};
|
||||
|
||||
// apply language strings
|
||||
Object.each(localization, function (value, key) {
|
||||
var name = mapping[key];
|
||||
$$('div.boxplus-' + name).set('title', value);
|
||||
$$('a.boxplus-' + name).set('html', value);
|
||||
$$('span.boxplus-' + name).set('html', value);
|
||||
});
|
||||
};
|
||||
|
||||
// automatically select language when DOM tree is ready loading
|
||||
window.addEvent('domready', function () {
|
||||
var pattern = /\blang=([a-z]{2,})(?:-([A-Z]{2,}))?\b/;
|
||||
$$('script[src*="boxplus"][src*=lang]').each(function (item) {
|
||||
var match = pattern.exec(item.get('src'));
|
||||
if (match) {
|
||||
apply(match[1], match[2]);
|
||||
}
|
||||
});
|
||||
});
|
||||
})();
|
||||
366
media/com_phocagallery/js/boxplus/css/boxplus.css
Normal file
@ -0,0 +1,366 @@
|
||||
/**
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-background {
|
||||
position:fixed;
|
||||
width:100%;
|
||||
height:100%;
|
||||
left:0;
|
||||
top:0;
|
||||
background-color:black; /* fallback for browsers that do not support rgba */
|
||||
background-color:rgba(0,0,0,0.6);
|
||||
cursor:default;
|
||||
z-index:9999;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
position:absolute;
|
||||
min-width:100px;
|
||||
min-height:100px;
|
||||
left:0;
|
||||
top:0;
|
||||
margin:0;
|
||||
border:0 solid gray;
|
||||
padding:10px;
|
||||
color:black;
|
||||
z-index:10000;
|
||||
background:transparent none no-repeat scroll center center;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog div {
|
||||
margin:0;
|
||||
border:0 none transparent;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog > .boxplus-title {
|
||||
display:none;
|
||||
position:absolute;
|
||||
top:0;
|
||||
}
|
||||
|
||||
/* Progress indicator */
|
||||
#boxplus .boxplus-dialog .boxplus-progress {
|
||||
position:absolute;
|
||||
left:0;
|
||||
right:0;
|
||||
top:0;
|
||||
bottom:0;
|
||||
height:32px;
|
||||
width:32px;
|
||||
margin:auto;
|
||||
background:transparent url(loading.png) no-repeat scroll 0 0;
|
||||
}
|
||||
|
||||
/* Panels */
|
||||
#boxplus .boxplus-main {
|
||||
height:100%;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-sideways {
|
||||
float:right;
|
||||
width:250px;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-sideways > div {
|
||||
margin:10px;
|
||||
}
|
||||
|
||||
/* Image viewer */
|
||||
#boxplus .boxplus-viewer {
|
||||
direction:ltr;
|
||||
position:relative;
|
||||
width:600px;
|
||||
height:400px;
|
||||
overflow:hidden;
|
||||
text-align:left; /* overridden for body by many templates */
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-content {
|
||||
position:absolute;
|
||||
height:100%;
|
||||
width:100%;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > img {
|
||||
display:block;
|
||||
position:absolute;
|
||||
margin:0;
|
||||
border:0 none transparent;
|
||||
padding:0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > video,
|
||||
#boxplus .boxplus-viewer > iframe {
|
||||
position:absolute;
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-object {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
/* Navigation controls in viewer */
|
||||
#boxplus .boxplus-viewer > .boxplus-prev {
|
||||
position:absolute;
|
||||
width:57px;
|
||||
left:0;
|
||||
height:100%;
|
||||
background:transparent none no-repeat scroll left center;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-prev:hover {
|
||||
background:transparent url(navigation.png) no-repeat scroll -57px center;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-next {
|
||||
position:absolute;
|
||||
width:57px;
|
||||
right:0;
|
||||
height:100%;
|
||||
background:transparent none no-repeat scroll left center;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-next:hover {
|
||||
background:transparent url(navigation.png) no-repeat scroll 0 center;
|
||||
}
|
||||
|
||||
/* Image resizer */
|
||||
#boxplus .boxplus-viewer > .boxplus-resizer > * {
|
||||
position:absolute;
|
||||
top:6px;
|
||||
right:6px;
|
||||
width:20px;
|
||||
height:20px;
|
||||
background:transparent url(resize.png) no-repeat scroll 0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-resizer > .boxplus-shrink {
|
||||
background-position:0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-resizer > .boxplus-shrink:hover {
|
||||
background-position:0 -20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-resizer > .boxplus-enlarge {
|
||||
background-position:-20px 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-resizer > .boxplus-enlarge:hover {
|
||||
background-position:-20px -20px;
|
||||
}
|
||||
|
||||
/* Thumbnail navigation */
|
||||
#boxplus .boxplus-thumbs {
|
||||
display:block;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-thumbs {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
bottom:0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-thumbs.boxplus-disabled {
|
||||
display:block !important;
|
||||
visibility:hidden !important;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-bottom > .boxplus-thumbs, #boxplus .boxplus-sideways > .boxplus-thumbs {
|
||||
position:relative;
|
||||
height:80px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs {
|
||||
height:80px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > .boxplus-rewind {
|
||||
position:absolute;
|
||||
width:22px;
|
||||
left:0;
|
||||
height:100%;
|
||||
background:transparent url(buttons.png) no-repeat scroll -22px center;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > .boxplus-forward {
|
||||
position:absolute;
|
||||
width:22px;
|
||||
right:0;
|
||||
height:100%;
|
||||
background:transparent url(buttons.png) no-repeat scroll 0 center;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > ul {
|
||||
display:table-row;
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
margin:0;
|
||||
border:0 none transparent;
|
||||
padding:4px 0;
|
||||
list-style-type:none;
|
||||
list-style-image:none;
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-thumbs > ul {
|
||||
visibility:hidden;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-thumbs:hover > ul {
|
||||
visibility:visible;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > ul > li {
|
||||
margin:0;
|
||||
border:0 none transparent;
|
||||
padding:0;
|
||||
display:table-cell;
|
||||
background:transparent none no-repeat scroll 0 0 !important;
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > ul > li > img {
|
||||
margin:4px;
|
||||
border:1px solid gray;
|
||||
padding:1px;
|
||||
max-width:60px;
|
||||
max-height:60px;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > ul > li.boxplus-active > img,
|
||||
#boxplus .boxplus-thumbs > ul > li > img:hover {
|
||||
border:1px solid red !important;
|
||||
}
|
||||
|
||||
/* Image caption */
|
||||
#boxplus .boxplus-bottom > .boxplus-caption {
|
||||
position:relative;
|
||||
margin:5px 0 0 0;
|
||||
max-height:60px;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-title {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
/* Navigation controls under caption */
|
||||
#boxplus .boxplus-dialog .boxplus-controls {
|
||||
position:relative;
|
||||
margin:3px 0 0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > div {
|
||||
display:inline-block;
|
||||
height:22px;
|
||||
width:22px;
|
||||
margin:2px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-hidden {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-prev {
|
||||
background:transparent url(buttons.png) no-repeat scroll -22px 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-next {
|
||||
background:transparent url(buttons.png) no-repeat scroll 0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-close {
|
||||
background:transparent url(buttons.png) no-repeat scroll -88px 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-start {
|
||||
background:transparent url(buttons.png) no-repeat scroll -110px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-stop {
|
||||
background:transparent url(buttons.png) no-repeat scroll -132px 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-download {
|
||||
background:transparent url(buttons.png) no-repeat scroll -154px 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-metadata {
|
||||
background:transparent url(buttons.png) no-repeat scroll -176px 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-prev,
|
||||
#boxplus .boxplus-viewer > .boxplus-next,
|
||||
#boxplus .boxplus-thumbs,
|
||||
#boxplus .boxplus-thumbs > ul {
|
||||
background-image:url(transparent.gif);
|
||||
}
|
||||
|
||||
#boxplus div.boxplus-left {
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
#boxplus div.boxplus-center {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#boxplus div.boxplus-right {
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-hidden {
|
||||
visibility:hidden;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-unavailable {
|
||||
display:none !important;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-disabled {
|
||||
display:none !important;
|
||||
}
|
||||
|
||||
#boxplus > span {
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
||||
/* Phoca Edit */
|
||||
#boxplus .boxplus-dialog .boxplus-controlsclose {
|
||||
position:absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
margin:3px 0 0 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controlsclose > div {
|
||||
display:inline-block;
|
||||
height:22px;
|
||||
width:22px;
|
||||
margin:2px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controlsclose > .boxplus-close {
|
||||
background:transparent url(buttons.png) no-repeat scroll -88px 0;
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
padding:0 !important;
|
||||
color:white;
|
||||
background:transparent url(darkrounded/pattern.png) repeat scroll 0 0;
|
||||
border-radius:20px;
|
||||
-moz-border-radius:20px;
|
||||
-webkit-border-radius:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-main {
|
||||
margin:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-sideways {
|
||||
right:20px;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
}
|
||||
@ -0,0 +1,102 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
border:0 none transparent !important;
|
||||
background:transparent none repeat scroll 0 0; /* override standard background */
|
||||
}
|
||||
|
||||
/* dialog frame */
|
||||
#boxplus .boxplus-dialog .boxplus-m {
|
||||
position:absolute;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
left:20px;
|
||||
right:20px;
|
||||
background:transparent url(darkrounded/pattern.png) repeat scroll 0 0;
|
||||
z-index:-1;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-m.boxplus-hidden {
|
||||
visibility:visible; /* always show, IE does not support inherit */
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog.boxplus-hidden .boxplus-m.boxplus-hidden {
|
||||
visibility:hidden;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-t,
|
||||
#boxplus .boxplus-dialog .boxplus-b {
|
||||
position:absolute;
|
||||
height:21px;
|
||||
left:21px;
|
||||
right:21px;
|
||||
background:transparent url(darkrounded/pattern.png) repeat-x scroll 0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-t {
|
||||
top:0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-b {
|
||||
bottom:0;
|
||||
background-position:left bottom;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-l,
|
||||
#boxplus .boxplus-dialog .boxplus-r {
|
||||
position:absolute;
|
||||
width:21px;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
background:transparent url(darkrounded/pattern.png) repeat-y scroll 0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-l {
|
||||
left:0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-r {
|
||||
right:0;
|
||||
background-position:right top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lt,
|
||||
#boxplus .boxplus-dialog .boxplus-rt,
|
||||
#boxplus .boxplus-dialog .boxplus-lb,
|
||||
#boxplus .boxplus-dialog .boxplus-rb {
|
||||
position:absolute;
|
||||
width:21px;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lt {
|
||||
top:0;
|
||||
left:0;
|
||||
background:transparent url(darkrounded/sprite.png) no-repeat scroll left top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-rt {
|
||||
top:0;
|
||||
right:0;
|
||||
background:transparent url(darkrounded/sprite.png) no-repeat scroll right top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lb {
|
||||
bottom:0;
|
||||
left:0;
|
||||
background:transparent url(darkrounded/sprite.png) no-repeat scroll left bottom;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-rb {
|
||||
bottom:0;
|
||||
right:0;
|
||||
background:transparent url(darkrounded/sprite.png) no-repeat scroll right bottom;
|
||||
}
|
||||
35
media/com_phocagallery/js/boxplus/css/boxplus.darksquare.css
Normal file
@ -0,0 +1,35 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
background-color:black;
|
||||
background-color:rgba(0,0,0,0.8);
|
||||
color:white;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > ul {
|
||||
/*background-color:rgba(0,0,0,0.3);*/
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog a:link {
|
||||
color:red
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog a:visited {
|
||||
color:red
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog a:hover {
|
||||
color:red
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog a:active {
|
||||
color:red
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
background-color:transparent;
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cd000000,endColorstr=#cd000000); /*AARRGGBB*/ /* IE */
|
||||
}
|
||||
40
media/com_phocagallery/js/boxplus/css/boxplus.ie7.css
Normal file
@ -0,0 +1,40 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-progress {
|
||||
left:50%;
|
||||
top:50%;
|
||||
margin-left:-16px;
|
||||
margin-top:-16px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > * {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls.boxplus-left > * {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls.boxplus-right > * {
|
||||
float:right;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-caption {
|
||||
clear:both;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > ul {
|
||||
display:block;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > ul > li {
|
||||
display:inline;
|
||||
}
|
||||
15
media/com_phocagallery/js/boxplus/css/boxplus.ie8.css
Normal file
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-background {
|
||||
background:transparent url(transparent.gif) no-repeat scroll center center;
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000); /*AARRGGBB*/
|
||||
zoom:1 !important;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
padding:0 !important;
|
||||
background:white none repeat scroll 0 0;
|
||||
border-radius:20px;
|
||||
-moz-border-radius:20px;
|
||||
-webkit-border-radius:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-main { /* increase precedence with multiple qualifiers */
|
||||
margin:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-sideways {
|
||||
right:20px;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
}
|
||||
@ -0,0 +1,100 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
border:0 none transparent !important;
|
||||
background:transparent none repeat scroll 0 0; /* override standard background */
|
||||
}
|
||||
|
||||
/* dialog frame */
|
||||
#boxplus .boxplus-dialog .boxplus-m {
|
||||
position:absolute;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
left:20px;
|
||||
right:20px;
|
||||
background-color:white;
|
||||
z-index:-1;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-m.boxplus-hidden {
|
||||
visibility:visible; /* always show, IE does not support inherit */
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog.boxplus-hidden .boxplus-m.boxplus-hidden {
|
||||
visibility:hidden;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-t,
|
||||
#boxplus .boxplus-dialog .boxplus-b {
|
||||
position:absolute;
|
||||
height:21px;
|
||||
left:21px;
|
||||
right:21px;
|
||||
background:white none repeat-x scroll 0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-t {
|
||||
top:0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-b {
|
||||
bottom:0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-l,
|
||||
#boxplus .boxplus-dialog .boxplus-r {
|
||||
position:absolute;
|
||||
width:21px;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
background:white none repeat-y scroll 0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-l {
|
||||
left:0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-r {
|
||||
right:0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lt,
|
||||
#boxplus .boxplus-dialog .boxplus-rt,
|
||||
#boxplus .boxplus-dialog .boxplus-lb,
|
||||
#boxplus .boxplus-dialog .boxplus-rb {
|
||||
position:absolute;
|
||||
width:21px;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lt {
|
||||
top:0;
|
||||
left:0;
|
||||
background:transparent url(lightrounded/sprite.png) no-repeat scroll left top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-rt {
|
||||
top:0;
|
||||
right:0;
|
||||
background:transparent url(lightrounded/sprite.png) no-repeat scroll right top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lb {
|
||||
bottom:0;
|
||||
left:0;
|
||||
background:transparent url(lightrounded/sprite.png) no-repeat scroll left bottom;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-rb {
|
||||
bottom:0;
|
||||
right:0;
|
||||
background:transparent url(lightrounded/sprite.png) no-repeat scroll right bottom;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
background-color:white;
|
||||
background-color:rgba(255,255,255,0.8);
|
||||
color:black;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > ul {
|
||||
/*background-color:rgba(255,255,255,0.3);*/
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
background-color:transparent;
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cdffffff,endColorstr=#cdffffff); /*AARRGGBB*/ /* IE */
|
||||
}
|
||||
1
media/com_phocagallery/js/boxplus/css/boxplus.min.css
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
padding:0 !important;
|
||||
background-color:rgba(0, 0, 0, 0.5);
|
||||
margin:30px 0 0 0;
|
||||
border-radius:20px;
|
||||
-moz-border-radius:20px;
|
||||
-webkit-border-radius:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-title {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog > .boxplus-title {
|
||||
display:block;
|
||||
color:white;
|
||||
height:24px;
|
||||
margin:-30px 0 0 20px;
|
||||
font-weight:normal;
|
||||
font-size:20px;
|
||||
line-height:24px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-main { /* increase precedence with multiple qualifiers */
|
||||
margin:10px;
|
||||
padding:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-sideways {
|
||||
right:20px;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-m {
|
||||
position:absolute;
|
||||
top:10px;
|
||||
bottom:10px;
|
||||
left:10px;
|
||||
right:10px;
|
||||
z-index:-1;
|
||||
background-color:white !important;
|
||||
border-radius:10px;
|
||||
-moz-border-radius:10px;
|
||||
-webkit-border-radius:10px;
|
||||
}
|
||||
@ -0,0 +1,111 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
border:0 none transparent;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-main {
|
||||
margin:30px;
|
||||
padding:0px;
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-sideways {
|
||||
right:20px;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
}
|
||||
|
||||
/* dialog frame */
|
||||
#boxplus .boxplus-dialog .boxplus-m {
|
||||
position:absolute;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
left:20px;
|
||||
right:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-m.boxplus-hidden {
|
||||
visibility:visible; /* always show, IE does not support inherit */
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog.boxplus-hidden .boxplus-m.boxplus-hidden {
|
||||
visibility:hidden;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-t,
|
||||
#boxplus .boxplus-dialog .boxplus-b {
|
||||
position:absolute;
|
||||
height:21px;
|
||||
left:21px;
|
||||
right:21px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-t {
|
||||
top:0;
|
||||
background:transparent url(prettyphoto/top.png) repeat-x scroll left top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-b {
|
||||
bottom:0;
|
||||
background:transparent url(prettyphoto/bottom.png) repeat-x scroll left bottom;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-l,
|
||||
#boxplus .boxplus-dialog .boxplus-r {
|
||||
position:absolute;
|
||||
width:21px;
|
||||
top:20px;
|
||||
bottom:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-l {
|
||||
left:0;
|
||||
background:transparent url(prettyphoto/left.png) repeat-y scroll left top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-r {
|
||||
right:0;
|
||||
background:transparent url(prettyphoto/right.png) repeat-y scroll right top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lt,
|
||||
#boxplus .boxplus-dialog .boxplus-rt,
|
||||
#boxplus .boxplus-dialog .boxplus-lb,
|
||||
#boxplus .boxplus-dialog .boxplus-rb {
|
||||
position:absolute;
|
||||
width:21px;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lt {
|
||||
top:0;
|
||||
left:0;
|
||||
background:transparent url(prettyphoto/sprite.png) no-repeat scroll left top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-rt {
|
||||
top:0;
|
||||
right:0;
|
||||
background:transparent url(prettyphoto/sprite.png) no-repeat scroll right top;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-lb {
|
||||
bottom:0;
|
||||
left:0;
|
||||
background:transparent url(prettyphoto/sprite.png) no-repeat scroll left bottom;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog .boxplus-rb {
|
||||
bottom:0;
|
||||
right:0;
|
||||
background:transparent url(prettyphoto/sprite.png) no-repeat scroll right bottom;
|
||||
}
|
||||
61
media/com_phocagallery/js/boxplus/css/boxplus.reset.css
Normal file
@ -0,0 +1,61 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus reset style sheet
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus div,
|
||||
#boxplus img,
|
||||
#boxplus ul
|
||||
#boxplus li {
|
||||
/* Text */
|
||||
font:normal normal 400 16px/20px serif;
|
||||
color:#000000;
|
||||
text-transform:none;
|
||||
text-decoration:none;
|
||||
letter-spacing:normal;
|
||||
word-spacing:normal;
|
||||
text-align:start;
|
||||
vertical-align:baseline;
|
||||
direction:ltr;
|
||||
|
||||
/* Background */
|
||||
background:transparent none repeat scroll 0 0;
|
||||
opacity:1;
|
||||
|
||||
/* Box Model */
|
||||
top:auto;
|
||||
right:auto;
|
||||
bottom:auto;
|
||||
left:auto;
|
||||
height:auto;
|
||||
width:auto;
|
||||
min-height:0;
|
||||
max-height:none;
|
||||
min-width:0;
|
||||
max-width:none;
|
||||
margin:0;
|
||||
padding:0;
|
||||
border:0 none #000000;
|
||||
outline:invert none medium;
|
||||
|
||||
/* Layout */
|
||||
position:static;
|
||||
display:block;
|
||||
visibility:inherit;
|
||||
z-index:auto;
|
||||
overflow:visible;
|
||||
white-space:normal;
|
||||
clip:auto;
|
||||
float:none;
|
||||
clear:none;
|
||||
|
||||
/* Other */
|
||||
cursor:auto;
|
||||
list-style:disc outside none;
|
||||
marker-offset:auto;
|
||||
}
|
||||
59
media/com_phocagallery/js/boxplus/css/boxplus.rtl.css
Normal file
@ -0,0 +1,59 @@
|
||||
/*!
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
/* Navigation controls in viewer */
|
||||
#boxplus .boxplus-viewer > .boxplus-prev {
|
||||
right:0;
|
||||
left:auto;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-prev:hover {
|
||||
background-position:0 center;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-next {
|
||||
left:0;
|
||||
right:auto;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-viewer > .boxplus-next:hover {
|
||||
background-position:-57px center;
|
||||
}
|
||||
|
||||
/* Thumbnail navigation */
|
||||
#boxplus .boxplus-thumbs {
|
||||
direction:rtl;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > .boxplus-rewind {
|
||||
right:0;
|
||||
left:auto;
|
||||
background-position:0 center;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-thumbs > .boxplus-forward {
|
||||
left:0;
|
||||
right:auto;
|
||||
background-position:-22px center;
|
||||
}
|
||||
|
||||
/* Navigation controls under caption */
|
||||
#boxplus .boxplus-caption,
|
||||
#boxplus .boxplus-controls {
|
||||
direction:rtl;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-prev {
|
||||
background-position:0 0;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-next {
|
||||
background-position:-22px 0;
|
||||
}
|
||||
82
media/com_phocagallery/js/boxplus/css/boxplus.shadow.css
Normal file
@ -0,0 +1,82 @@
|
||||
/**
|
||||
* @file
|
||||
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
|
||||
* @author Levente Hunyadi
|
||||
* @version 0.9.2
|
||||
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
|
||||
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
|
||||
* @see http://hunyadi.info.hu/projects/boxplus
|
||||
*/
|
||||
|
||||
#boxplus .boxplus-background {
|
||||
background-color:black;
|
||||
background-color:rgba(0,0,0,0.6);
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog {
|
||||
color:white;
|
||||
margin:40px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-center {
|
||||
background:black url('shadow/loading.gif') no-repeat center center;
|
||||
border:1px solid #303030 !important;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog a:link {
|
||||
color:red
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog a:visited {
|
||||
color:red
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog a:hover {
|
||||
color:red
|
||||
}
|
||||
|
||||
#boxplus .boxplus-dialog a:active {
|
||||
color:red
|
||||
}
|
||||
|
||||
#boxplus .boxplus-content {
|
||||
background:black none;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls {
|
||||
float:right;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > div {
|
||||
background-position:0 0 !important;
|
||||
display:inline-block;
|
||||
height:16px;
|
||||
width:16px;
|
||||
margin:2px;
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-next {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwMlgJFSAxhABkCxLhKbGHEwRuYsBeIoLIpwiWM14CcQO2ExAJs4GDOh+YgNiNcBsS6R4hgGgAA/EG8HYjlixJlwhK00EO8FYlFC4kx4IkgFiC0JieMzoBKINxEURwttGJhGhDjWaASBjUDMTIQ4VgNOAjEnlnSATRwjHVwGYjcg/o7mZ1zi1MlMFBsAEGAANUZLsB23Wh4AAAAASUVORK5CYII=");
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-prev {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAI9JREFUeNpi/P//PwMlgJFSAxhABuDBKoTE8WlOAOJphMRxafYD4j9YDMAQx6bZDIi//YeAaYTEmdCCRAWItwAxJ5HiKAaIAvF2KM1AhDiGAa5Qm9ABLnGs0dj+HxVMIyCONRDnY1OISxybAcxAvBGLAVjFcaUDTiA+iSUdYIjjS4miQFxESJxxwHMjQIABABQT4TRLh+gpAAAAAElFTkSuQmCC");
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-close {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKFJREFUeNpi/P//PwMlgHHADWAAGYCGo4CYDYs4CMcCMTOyGLqCov8QsB2LIROgcovwGaAFxM+xGALT/A2IPfAZgM2Qybg04zIAZsir/wiAVTM+A0B4KZIBp4GYkxQDYM7+BcQfkLzDSYwB06AafkKdrYvkHQxD0DU3ommGiSMbshqfAXJAfBtHgOlC5SyRxbElZWYg/osj4WLIDXxmAggwAHTlHTWidTHeAAAAAElFTkSuQmCC");
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-start {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHVJREFUeNpi/P//PwMlgJFSAxhABmDBZjjEMTAuFyyF0ilA/J0cFyz9DwEngVgCnwsIGQACD4FYlxIDQOAzEHtQYgAI/AHiUkoMgHlHmlwDjmELUGINmA/EbOSGQQW50fgNiEMIpURcEu1AbEBJUqZfbgQIMAD4AkaDGWpXMQAAAABJRU5ErkJggg==");
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-stop {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpi/P//PwMlgHHADWBC40cB8X8krItDDKcBFLtg1ICRaQB6UhYCYkUk/jUg5sQi9n3wZCaAAAMA2eIcETbPY8gAAAAASUVORK5CYII=");
|
||||
}
|
||||
|
||||
#boxplus .boxplus-controls > .boxplus-download,
|
||||
#boxplus .boxplus-controls > .boxplus-metadata {
|
||||
display:none !important;
|
||||
}
|
||||
BIN
media/com_phocagallery/js/boxplus/css/buttons.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
BIN
media/com_phocagallery/js/boxplus/css/darkrounded/pattern.png
Normal file
|
After Width: | Height: | Size: 130 B |
BIN
media/com_phocagallery/js/boxplus/css/darkrounded/sprite.png
Normal file
|
After Width: | Height: | Size: 753 B |
1
media/com_phocagallery/js/boxplus/css/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
BIN
media/com_phocagallery/js/boxplus/css/lightrounded/sprite.png
Normal file
|
After Width: | Height: | Size: 599 B |
BIN
media/com_phocagallery/js/boxplus/css/loading.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
media/com_phocagallery/js/boxplus/css/navigation.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
media/com_phocagallery/js/boxplus/css/prettyphoto/bottom.png
Normal file
|
After Width: | Height: | Size: 142 B |
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
BIN
media/com_phocagallery/js/boxplus/css/prettyphoto/left.png
Normal file
|
After Width: | Height: | Size: 137 B |
BIN
media/com_phocagallery/js/boxplus/css/prettyphoto/right.png
Normal file
|
After Width: | Height: | Size: 136 B |
BIN
media/com_phocagallery/js/boxplus/css/prettyphoto/sprite.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
media/com_phocagallery/js/boxplus/css/prettyphoto/top.png
Normal file
|
After Width: | Height: | Size: 142 B |
BIN
media/com_phocagallery/js/boxplus/css/resize.png
Normal file
|
After Width: | Height: | Size: 589 B |
BIN
media/com_phocagallery/js/boxplus/css/shadow/close.png
Normal file
|
After Width: | Height: | Size: 255 B |
1
media/com_phocagallery/js/boxplus/css/shadow/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
BIN
media/com_phocagallery/js/boxplus/css/shadow/loading.gif
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
media/com_phocagallery/js/boxplus/css/shadow/next.png
Normal file
|
After Width: | Height: | Size: 248 B |
BIN
media/com_phocagallery/js/boxplus/css/shadow/pause.png
Normal file
|
After Width: | Height: | Size: 155 B |
BIN
media/com_phocagallery/js/boxplus/css/shadow/play.png
Normal file
|
After Width: | Height: | Size: 211 B |
BIN
media/com_phocagallery/js/boxplus/css/shadow/previous.png
Normal file
|
After Width: | Height: | Size: 237 B |
BIN
media/com_phocagallery/js/boxplus/css/translucent.gif
Normal file
|
After Width: | Height: | Size: 43 B |
BIN
media/com_phocagallery/js/boxplus/css/transparent.gif
Normal file
|
After Width: | Height: | Size: 43 B |
1
media/com_phocagallery/js/boxplus/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
135
media/com_phocagallery/js/boxplus/jsonp.mootools.js
Normal file
@ -0,0 +1,135 @@
|
||||
/*
|
||||
---
|
||||
|
||||
script: Request.JSONP.js
|
||||
|
||||
name: Request.JSONP
|
||||
|
||||
description: Defines Request.JSONP, a class for cross domain javascript via script injection.
|
||||
|
||||
license: MIT-style license
|
||||
|
||||
authors:
|
||||
- Aaron Newton
|
||||
- Guillermo Rauch
|
||||
|
||||
requires:
|
||||
- Core/Element
|
||||
- Core/Request
|
||||
|
||||
provides: [Request.JSONP]
|
||||
|
||||
...
|
||||
*/
|
||||
|
||||
if (!Request.JSONP) {
|
||||
Request.JSONP = new Class({
|
||||
|
||||
Implements: [Chain, Events, Options],
|
||||
|
||||
options: {/*
|
||||
onRetry: $empty(intRetries),
|
||||
onRequest: $empty(scriptElement),
|
||||
onComplete: $empty(data),
|
||||
onSuccess: $empty(data),
|
||||
onCancel: $empty(),
|
||||
*/
|
||||
url: '',
|
||||
data: {},
|
||||
retries: 0,
|
||||
timeout: 0,
|
||||
link: 'ignore',
|
||||
callbackKey: 'callback',
|
||||
injectScript: document.head
|
||||
},
|
||||
|
||||
initialize: function(options){
|
||||
this.setOptions(options);
|
||||
this.running = false;
|
||||
this.requests = 0;
|
||||
this.triesRemaining = [];
|
||||
},
|
||||
|
||||
check: function(){
|
||||
if (!this.running) return true;
|
||||
switch (this.options.link){
|
||||
case 'cancel': this.cancel(); return true;
|
||||
case 'chain': this.chain(this.caller.bind(this, arguments)); return false;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
send: function(options){
|
||||
if (!$chk(arguments[1]) && !this.check(options)) return this;
|
||||
|
||||
var type = $type(options),
|
||||
old = this.options,
|
||||
index = $chk(arguments[1]) ? arguments[1] : this.requests++;
|
||||
if (type == 'string' || type == 'element') options = {data: options};
|
||||
|
||||
options = $extend({data: old.data, url: old.url}, options);
|
||||
|
||||
if (!$chk(this.triesRemaining[index])) this.triesRemaining[index] = this.options.retries;
|
||||
var remaining = this.triesRemaining[index];
|
||||
|
||||
(function(){
|
||||
var script = this.getScript(options);
|
||||
this.fireEvent('request', script);
|
||||
this.running = true;
|
||||
|
||||
(function(){
|
||||
if (remaining){
|
||||
this.triesRemaining[index] = remaining - 1;
|
||||
if (script){
|
||||
script.destroy();
|
||||
this.send(options, index).fireEvent('retry', this.triesRemaining[index]);
|
||||
}
|
||||
} else if(this.running && script && this.options.timeout){
|
||||
script.destroy();
|
||||
this.cancel().fireEvent('failure');
|
||||
}
|
||||
}).delay(this.options.timeout, this);
|
||||
}).delay(Browser.Engine.trident ? 50 : 0, this);
|
||||
return this;
|
||||
},
|
||||
|
||||
cancel: function(){
|
||||
if (!this.running) return this;
|
||||
this.running = false;
|
||||
this.fireEvent('cancel');
|
||||
return this;
|
||||
},
|
||||
|
||||
getScript: function(options){
|
||||
var index = Request.JSONP.counter,
|
||||
data;
|
||||
Request.JSONP.counter++;
|
||||
|
||||
switch ($type(options.data)){
|
||||
case 'element': data = document.id(options.data).toQueryString(); break;
|
||||
case 'object': case 'hash': data = Hash.toQueryString(options.data);
|
||||
}
|
||||
|
||||
var src = options.url +
|
||||
(options.url.test('\\?') ? '&' :'?') +
|
||||
(options.callbackKey || this.options.callbackKey) +
|
||||
'=Request.JSONP.request_map.request_'+ index +
|
||||
(data ? '&' + data : '');
|
||||
|
||||
var script = new Element('script', {type: 'text/javascript', src: src});
|
||||
Request.JSONP.request_map['request_' + index] = function(){ this.success(arguments, script); }.bind(this);
|
||||
return script.inject(this.options.injectScript);
|
||||
},
|
||||
|
||||
success: function(args, script){
|
||||
if (!this.running) return false;
|
||||
if (script) script.destroy();
|
||||
this.running = false;
|
||||
this.fireEvent('complete', args).fireEvent('success', args).callChain();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Request.JSONP.counter = 0;
|
||||
Request.JSONP.request_map = {};
|
||||
}
|
||||