You are here

bootstrap-gallery.css in Bootstrap - Photo Gallery 7.3

@charset "UTF-8";
/*
* Bootstrap Image Gallery CSS 3.0.0
* https://github.com/bootstrap/Bootstrap-Image-Gallery
*
* Copyright 2013, Sebastian Tschan
* https://bootstrap.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*
*
* Modified for Drupal by Ahmad Kharbat
* http://kharbat.me
*
*/



.bootstrap-gallery .modal-body {
    position: relative;
    text-align: center;
    padding: 0 0 56.25% 0;
    overflow: hidden;
    cursor: pointer;
}
.bootstrap-gallery .modal-footer {
    margin: 0;
}
.bootstrap-gallery .modal-body img,
.bootstrap-gallery .modal-body .video-content video,
.bootstrap-gallery .modal-body .video-content iframe,
.bootstrap-gallery .modal-body .video-content a {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.bootstrap-gallery .modal-body .video-content video {
    display: none;
}
.bootstrap-gallery .modal-body .video-playing video {
    display: block;
}
.bootstrap-gallery .modal-body .video-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    left: 100%;
}
.bootstrap-gallery .modal-body .video-playing iframe {
    left: 0;
}
.bootstrap-gallery .modal-body .video-playing img,
.bootstrap-gallery .modal-body .video-playing a {
    display: none;
}
.bootstrap-gallery .modal-body .video-content a {
    cursor: pointer;
}
.bootstrap-gallery .modal-body .video-content a:after {
    font-family: "Glyphicons Halflings";
    -webkit-font-smoothing: antialiased;
    content: "\e029";
    font-size: 64px;
    line-height: 64px;
    width: 64px;
    height: 64px;
    position: absolute;
    top: 50%;
    margin: -32px 0 0 -32px;
}
.bootstrap-gallery .modal-body .video-loading a {
    background: url(../images/loading.gif) center no-repeat;
    background-size: 64px 64px;
}
.bootstrap-gallery .modal-body .video-loading a:after {
    content: none;
}

@media screen and (min-width: 768px) {
    .bootstrap-gallery .modal-dialog {
        right: auto;
        left: auto;
        width: auto;
        max-width: 900px;
        padding-left: 5%;
        padding-right: 5%;
    }
}

File

css/bootstrap-gallery.css
View source
  1. @charset "UTF-8";
  2. /*
  3. * Bootstrap Image Gallery CSS 3.0.0
  4. * https://github.com/bootstrap/Bootstrap-Image-Gallery
  5. *
  6. * Copyright 2013, Sebastian Tschan
  7. * https://bootstrap.net
  8. *
  9. * Licensed under the MIT license:
  10. * http://www.opensource.org/licenses/MIT
  11. *
  12. *
  13. * Modified for Drupal by Ahmad Kharbat
  14. * http://kharbat.me
  15. *
  16. */
  17. .bootstrap-gallery .modal-body {
  18. position: relative;
  19. text-align: center;
  20. padding: 0 0 56.25% 0;
  21. overflow: hidden;
  22. cursor: pointer;
  23. }
  24. .bootstrap-gallery .modal-footer {
  25. margin: 0;
  26. }
  27. .bootstrap-gallery .modal-body img,
  28. .bootstrap-gallery .modal-body .video-content video,
  29. .bootstrap-gallery .modal-body .video-content iframe,
  30. .bootstrap-gallery .modal-body .video-content a {
  31. max-width: 100%;
  32. max-height: 100%;
  33. margin: auto;
  34. position: absolute;
  35. top: 0;
  36. right: 0;
  37. bottom: 0;
  38. left: 0;
  39. }
  40. .bootstrap-gallery .modal-body .video-content video {
  41. display: none;
  42. }
  43. .bootstrap-gallery .modal-body .video-playing video {
  44. display: block;
  45. }
  46. .bootstrap-gallery .modal-body .video-content iframe {
  47. width: 100%;
  48. height: 100%;
  49. border: none;
  50. left: 100%;
  51. }
  52. .bootstrap-gallery .modal-body .video-playing iframe {
  53. left: 0;
  54. }
  55. .bootstrap-gallery .modal-body .video-playing img,
  56. .bootstrap-gallery .modal-body .video-playing a {
  57. display: none;
  58. }
  59. .bootstrap-gallery .modal-body .video-content a {
  60. cursor: pointer;
  61. }
  62. .bootstrap-gallery .modal-body .video-content a:after {
  63. font-family: "Glyphicons Halflings";
  64. -webkit-font-smoothing: antialiased;
  65. content: "\e029";
  66. font-size: 64px;
  67. line-height: 64px;
  68. width: 64px;
  69. height: 64px;
  70. position: absolute;
  71. top: 50%;
  72. margin: -32px 0 0 -32px;
  73. }
  74. .bootstrap-gallery .modal-body .video-loading a {
  75. background: url(../images/loading.gif) center no-repeat;
  76. background-size: 64px 64px;
  77. }
  78. .bootstrap-gallery .modal-body .video-loading a:after {
  79. content: none;
  80. }
  81. @media screen and (min-width: 768px) {
  82. .bootstrap-gallery .modal-dialog {
  83. right: auto;
  84. left: auto;
  85. width: auto;
  86. max-width: 900px;
  87. padding-left: 5%;
  88. padding-right: 5%;
  89. }
  90. }