Skip to content

Commit 63337b6

Browse files
committed
Add videos support for commentbox
1 parent bb6fbb3 commit 63337b6

14 files changed

+110
-74
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = function(grunt) {
1717
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
1818
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
1919
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
20-
' Licensed Apache 2.0 */\n',
20+
' Licensed GPLv3 */\n',
2121

2222
// Task configuration.
2323
clean: {

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lightgallery",
3-
"version": "1.3.5",
3+
"version": "1.3.6",
44
"description": "A lightweight, customizable, modular, responsive, lightbox gallery plugin for jQuery.",
55
"main": [
66
"dist/js/lightgallery.min.js",

dist/css/lg-fb-comment-box.css

Lines changed: 41 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
/*! lightgallery - v1.3.5 - 2016-09-30
1+
/*! lightgallery - v1.3.6 - 2016-11-18
22
* http://sachinchoolur.github.io/lightGallery/
3-
* Copyright (c) 2016 Sachin N; Licensed Apache 2.0 */
4-
.lg-outer.fb-comments .lg-img-wrap {
5-
padding-right: 400px !important; }
3+
* Copyright (c) 2016 Sachin N; Licensed GPLv3 */
4+
.lg-outer.fb-comments .lg-img-wrap, .lg-outer.fb-comments .lg-video-cont {
5+
padding-right: 400px !important;
6+
}
7+
68
.lg-outer.fb-comments .fb-comments {
79
height: 100%;
810
overflow-y: auto;
@@ -11,24 +13,45 @@
1113
top: 0;
1214
width: 420px;
1315
z-index: 99999;
14-
background: #fff url("../img/loading.gif") no-repeat scroll center center; }
15-
.lg-outer.fb-comments .fb-comments.fb_iframe_widget {
16-
background-image: none; }
17-
.lg-outer.fb-comments .fb-comments.fb_iframe_widget.fb_iframe_widget_loader {
18-
background: #fff url("../img/loading.gif") no-repeat scroll center center; }
16+
background: #fff url("../img/loading.gif") no-repeat scroll center center;
17+
}
18+
19+
.lg-outer.fb-comments .fb-comments.fb_iframe_widget {
20+
background-image: none;
21+
}
22+
23+
.lg-outer.fb-comments .fb-comments.fb_iframe_widget.fb_iframe_widget_loader {
24+
background: #fff url("../img/loading.gif") no-repeat scroll center center;
25+
}
26+
1927
.lg-outer.fb-comments .lg-toolbar {
2028
right: 420px;
21-
width: auto; }
29+
width: auto;
30+
}
31+
2232
.lg-outer.fb-comments .lg-actions .lg-next {
23-
right: 420px; }
33+
right: 420px;
34+
}
35+
2436
.lg-outer.fb-comments .lg-item {
25-
background-image: none; }
26-
.lg-outer.fb-comments .lg-item.lg-complete .lg-img-wrap {
27-
background-image: none; }
28-
.lg-outer.fb-comments .lg-img-wrap {
29-
background: url(../img/loading.gif) no-repeat scroll center center transparent; }
37+
background-image: none;
38+
}
39+
40+
.lg-outer.fb-comments .lg-item.lg-complete .lg-img-wrap, .lg-outer.fb-comments .lg-item.lg-complete .lg-video-cont {
41+
background-image: none;
42+
}
43+
44+
.lg-outer.fb-comments .lg-img-wrap, .lg-outer.fb-comments .lg-video-cont {
45+
background: url("../img/loading.gif") no-repeat scroll transparent;
46+
background-position: center center;
47+
background-position: calc((100% - 400px) / 2) center;
48+
}
49+
3050
.lg-outer.fb-comments .lg-sub-html {
3151
padding: 0;
32-
position: static; }
52+
position: static;
53+
}
3354

34-
/*# sourceMappingURL=lg-fb-comment-box.css.map */
55+
.lg-outer.fb-comments .lg-video-cont {
56+
max-width: 1250px !important;
57+
}

dist/css/lg-fb-comment-box.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/lg-transitions.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/lightgallery.css

Lines changed: 4 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/lightgallery.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/lightgallery.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*! lightgallery - v1.3.5 - 2016-09-30
1+
/*! lightgallery - v1.3.6 - 2016-11-18
22
* http://sachinchoolur.github.io/lightGallery/
3-
* Copyright (c) 2016 Sachin N; Licensed Apache 2.0 */
3+
* Copyright (c) 2016 Sachin N; Licensed GPLv3 */
44

55
(function (root, factory) {
66
if (typeof define === 'function' && define.amd) {
@@ -14,7 +14,7 @@
1414
// like Node.
1515
module.exports = factory(require('jquery'));
1616
} else {
17-
factory(jQuery);
17+
factory(root["jQuery"]);
1818
}
1919
}(this, function ($) {
2020

dist/js/lightgallery.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lightgallery",
3-
"version": "1.3.5",
3+
"version": "1.3.6",
44
"description": "A lightweight, customizable, modular, responsive, lightbox gallery plugin for jQuery.",
55
"keywords": [
66
"jquery-plugin",

0 commit comments

Comments
 (0)