From 1ac4fb3168fb5311e757454bf760c09ec7c8c954 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 30 Nov 2014 11:38:09 +0000 Subject: update selectize and colorbox + all colorbox themes and i18n git-svn-id: http://piwigo.org/svn/trunk@30628 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../js/plugins/colorbox/style2/colorbox.css | 15 ++-- .../js/plugins/colorbox/style2/images/controls.png | Bin 643 -> 503 bytes .../colorbox/style2/images/controls.png.old | Bin 570 -> 0 bytes .../js/plugins/colorbox/style2/images/loading.gif | Bin 9427 -> 6244 bytes .../default/js/plugins/colorbox/style2/index.html | 87 --------------------- 5 files changed, 8 insertions(+), 94 deletions(-) delete mode 100644 themes/default/js/plugins/colorbox/style2/images/controls.png.old delete mode 100644 themes/default/js/plugins/colorbox/style2/index.html (limited to 'themes/default/js/plugins/colorbox/style2') diff --git a/themes/default/js/plugins/colorbox/style2/colorbox.css b/themes/default/js/plugins/colorbox/style2/colorbox.css index 3ce2906c4..0a6710404 100644 --- a/themes/default/js/plugins/colorbox/style2/colorbox.css +++ b/themes/default/js/plugins/colorbox/style2/colorbox.css @@ -1,8 +1,9 @@ /* - ColorBox Core Style: + Colorbox Core Style: The following CSS is consistent between example themes and should not be altered. */ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxWrapper {max-width:none;} #cboxOverlay{position:fixed; width:100%; height:100%;} #cboxMiddleLeft, #cboxBottomLeft{clear:left;} #cboxContent{position:relative;} @@ -10,24 +11,24 @@ #cboxTitle{margin:0;} #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;} #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} -.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;} -.cboxIframe{width:100%; height:100%; display:block; border:0;} +.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;} +.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;} #colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;} /* User Style: - Change the following styles to modify the appearance of ColorBox. They are + Change the following styles to modify the appearance of Colorbox. They are ordered & tabbed in a way that represents the nesting of the generated HTML. */ -#cboxOverlay{background:#000;} +#cboxOverlay{background:#fff; opacity: 0.9; filter: alpha(opacity = 90);} #colorbox{outline:0;} #cboxContent{margin-top:32px; overflow:visible; background:#000;} .cboxIframe{background:#fff;} #cboxError{padding:50px; border:1px solid #ccc;} - #cboxLoadedContent{background:#f1f1f1; padding:1px;} + #cboxLoadedContent{background:#000; padding:1px;} #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} #cboxLoadingOverlay{background:#000;} - #cboxTitle{position:absolute; top:-22px; left:0; color:#fff;} + #cboxTitle{position:absolute; top:-22px; left:0; color:#000;} #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;} /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ diff --git a/themes/default/js/plugins/colorbox/style2/images/controls.png b/themes/default/js/plugins/colorbox/style2/images/controls.png index f85134b8c..36f526992 100644 Binary files a/themes/default/js/plugins/colorbox/style2/images/controls.png and b/themes/default/js/plugins/colorbox/style2/images/controls.png differ diff --git a/themes/default/js/plugins/colorbox/style2/images/controls.png.old b/themes/default/js/plugins/colorbox/style2/images/controls.png.old deleted file mode 100644 index 8569b57f1..000000000 Binary files a/themes/default/js/plugins/colorbox/style2/images/controls.png.old and /dev/null differ diff --git a/themes/default/js/plugins/colorbox/style2/images/loading.gif b/themes/default/js/plugins/colorbox/style2/images/loading.gif index 19c67bbd0..a32df5c08 100644 Binary files a/themes/default/js/plugins/colorbox/style2/images/loading.gif and b/themes/default/js/plugins/colorbox/style2/images/loading.gif differ diff --git a/themes/default/js/plugins/colorbox/style2/index.html b/themes/default/js/plugins/colorbox/style2/index.html deleted file mode 100644 index abf749c3c..000000000 --- a/themes/default/js/plugins/colorbox/style2/index.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - ColorBox Examples - - - - - - - -

ColorBox Demonstration

- -

Elastic Transition

-

Grouped Photo 1

-

Grouped Photo 2

-

Grouped Photo 3

- -

Fade Transition

-

Grouped Photo 1

-

Grouped Photo 2

-

Grouped Photo 3

- -

No Transition + fixed width and height (75% of screen size)

-

Grouped Photo 1

-

Grouped Photo 2

-

Grouped Photo 3

- -

Slideshow

-

Grouped Photo 1

-

Grouped Photo 2

-

Grouped Photo 3

- -

Other Content Types

-

Outside HTML (Ajax)

-

Flash / Video (Ajax/Embedded)

-

Flash / Video (Iframe/Direct Link To YouTube)

-

Outside Webpage (Iframe)

-

Inline HTML

- -

Demonstration of using callbacks

-

Example with alerts. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.

- - -
-
-

This content comes from a hidden element on this page.

-

The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.
- Click me, it will be preserved!

- -

If you try to open a new ColorBox while it is already open, it will update itself with the new content.

-

Updating Content Example:
- Click here to load new content

-
-
- - \ No newline at end of file -- cgit v1.2.3