diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-08-18 22:05:05 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-08-18 22:05:05 +0200 |
commit | d8fc5867c2a98e803a12fff62fa78e5c858ac387 (patch) | |
tree | 6d2a48335f3e999410ca7e729e229ee516891a4f /public_html/data | |
parent | f88977cfbd4636933c5016c2035b77e5639f6c7e (diff) |
Colorbox: Display number of images0.9.6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'public_html/data')
-rw-r--r-- | public_html/data/css/colorbox.css | 4 | ||||
-rw-r--r-- | public_html/data/js/thumbnail-view.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/public_html/data/css/colorbox.css b/public_html/data/css/colorbox.css index 1e1238dd5..a647f73b6 100644 --- a/public_html/data/css/colorbox.css +++ b/public_html/data/css/colorbox.css @@ -29,8 +29,8 @@ .cboxPhoto{float:left !important; background: #fff;} #cboxLoadingGraphic{background:url(/data/img/colorbox/loading.gif) no-repeat center center;} #cboxLoadingOverlay{background:#000;} - #cboxTitle{position:fixed; top:0; right:66px; color:#fff;} - #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px; display: none;} + #cboxTitle{position:fixed; top:0; left:6px; color:#fff;} + #cboxCurrent{position:fixed; top:0; right:66px; display: none; color:#fff;} /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ /*#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(/data/img/colorbox/controls.png) no-repeat 0 0;}*/ diff --git a/public_html/data/js/thumbnail-view.js b/public_html/data/js/thumbnail-view.js index f453f4c1c..613e27b80 100644 --- a/public_html/data/js/thumbnail-view.js +++ b/public_html/data/js/thumbnail-view.js @@ -30,7 +30,7 @@ define(['jquery', 'underscore', 'jquery.colorbox'], function ($, _) { retinaImage: true, maxHeight: "100%", maxWidth: "100%", - title: 'Use h/l or right/left arrow keys or these buttons:', + current: 'Image {current} of {total}. Use h/l or right/left arrow keys or these buttons:', next: '<span class="glyphicon glyphicon-chevron-right"></span>', previous: '<span class="glyphicon glyphicon-chevron-left"></span>', close: '<span class="glyphicon glyphicon-remove"></span>', |