css fuer gallery viewer

This commit is contained in:
Thomas Blazek
2013-08-27 00:32:53 +02:00
parent 616de516db
commit 5b316f8780
3 changed files with 8 additions and 5 deletions

View File

@@ -1,3 +1,6 @@
// Place all the styles related to the galleries controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
modal.fade.in {
}

View File

@@ -16,7 +16,7 @@
<%= @gallery.datum %>
</p>
<!-- modal-gallery is the modal dialog used for the image gallery -->
<div id="modal-gallery" class="modal modal-fullscreen modal-gallery hide fade" tabindex="-1">
<div id="modal-gallery" class="modal hide fade modal-gallery modal-fullscreen" tabindex="-1">
<div class="modal-header">
<a class="close" data-dismiss="modal">&times;</a>
<h3 class="modal-title"></h3>
@@ -47,3 +47,7 @@
<script src="js/bootstrap.js"></script>
<script src="js/load-image.js"></script>
<script src="js/bootstrap-image-gallery.js"></script>
<script type="text/javascript">
$('#modal-gallery.fade').css('top', '50%');
</script>