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
- @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%;
- }
- }