This commit is contained in:
Andreas Stephanides
2013-08-27 08:06:13 +02:00
2 changed files with 8 additions and 1 deletions

View File

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

View File

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