Skip to content

Commit

Permalink
Add videos support for commentbox
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchoolur committed Nov 18, 2016
1 parent bb6fbb3 commit 63337b6
Show file tree
Hide file tree
Showing 14 changed files with 110 additions and 74 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function(grunt) {
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
' Licensed Apache 2.0 */\n',
' Licensed GPLv3 */\n',

// Task configuration.
clean: {
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lightgallery",
"version": "1.3.5",
"version": "1.3.6",
"description": "A lightweight, customizable, modular, responsive, lightbox gallery plugin for jQuery.",
"main": [
"dist/js/lightgallery.min.js",
Expand Down
59 changes: 41 additions & 18 deletions dist/css/lg-fb-comment-box.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/*! lightgallery - v1.3.5 - 2016-09-30
/*! lightgallery - v1.3.6 - 2016-11-18
* http://sachinchoolur.github.io/lightGallery/
* Copyright (c) 2016 Sachin N; Licensed Apache 2.0 */
.lg-outer.fb-comments .lg-img-wrap {
padding-right: 400px !important; }
* Copyright (c) 2016 Sachin N; Licensed GPLv3 */
.lg-outer.fb-comments .lg-img-wrap, .lg-outer.fb-comments .lg-video-cont {
padding-right: 400px !important;
}

.lg-outer.fb-comments .fb-comments {
height: 100%;
overflow-y: auto;
Expand All @@ -11,24 +13,45 @@
top: 0;
width: 420px;
z-index: 99999;
background: #fff url("../img/loading.gif") no-repeat scroll center center; }
.lg-outer.fb-comments .fb-comments.fb_iframe_widget {
background-image: none; }
.lg-outer.fb-comments .fb-comments.fb_iframe_widget.fb_iframe_widget_loader {
background: #fff url("../img/loading.gif") no-repeat scroll center center; }
background: #fff url("../img/loading.gif") no-repeat scroll center center;
}

.lg-outer.fb-comments .fb-comments.fb_iframe_widget {
background-image: none;
}

.lg-outer.fb-comments .fb-comments.fb_iframe_widget.fb_iframe_widget_loader {
background: #fff url("../img/loading.gif") no-repeat scroll center center;
}

.lg-outer.fb-comments .lg-toolbar {
right: 420px;
width: auto; }
width: auto;
}

.lg-outer.fb-comments .lg-actions .lg-next {
right: 420px; }
right: 420px;
}

.lg-outer.fb-comments .lg-item {
background-image: none; }
.lg-outer.fb-comments .lg-item.lg-complete .lg-img-wrap {
background-image: none; }
.lg-outer.fb-comments .lg-img-wrap {
background: url(../img/loading.gif) no-repeat scroll center center transparent; }
background-image: none;
}

.lg-outer.fb-comments .lg-item.lg-complete .lg-img-wrap, .lg-outer.fb-comments .lg-item.lg-complete .lg-video-cont {
background-image: none;
}

.lg-outer.fb-comments .lg-img-wrap, .lg-outer.fb-comments .lg-video-cont {
background: url("../img/loading.gif") no-repeat scroll transparent;
background-position: center center;
background-position: calc((100% - 400px) / 2) center;
}

.lg-outer.fb-comments .lg-sub-html {
padding: 0;
position: static; }
position: static;
}

/*# sourceMappingURL=lg-fb-comment-box.css.map */
.lg-outer.fb-comments .lg-video-cont {
max-width: 1250px !important;
}
2 changes: 1 addition & 1 deletion dist/css/lg-fb-comment-box.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/css/lg-transitions.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 4 additions & 12 deletions dist/css/lightgallery.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/lightgallery.min.css

Large diffs are not rendered by default.

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

(function (root, factory) {
if (typeof define === 'function' && define.amd) {
Expand All @@ -14,7 +14,7 @@
// like Node.
module.exports = factory(require('jquery'));
} else {
factory(jQuery);
factory(root["jQuery"]);
}
}(this, function ($) {

Expand Down
6 changes: 3 additions & 3 deletions dist/js/lightgallery.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lightgallery",
"version": "1.3.5",
"version": "1.3.6",
"description": "A lightweight, customizable, modular, responsive, lightbox gallery plugin for jQuery.",
"keywords": [
"jquery-plugin",
Expand Down
55 changes: 39 additions & 16 deletions src/css/lg-fb-comment-box.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.lg-outer.fb-comments .lg-img-wrap {
padding-right: 400px !important; }
.lg-outer.fb-comments .lg-img-wrap, .lg-outer.fb-comments .lg-video-cont {
padding-right: 400px !important;
}

.lg-outer.fb-comments .fb-comments {
height: 100%;
overflow-y: auto;
Expand All @@ -8,24 +10,45 @@
top: 0;
width: 420px;
z-index: 99999;
background: #fff url("../img/loading.gif") no-repeat scroll center center; }
.lg-outer.fb-comments .fb-comments.fb_iframe_widget {
background-image: none; }
.lg-outer.fb-comments .fb-comments.fb_iframe_widget.fb_iframe_widget_loader {
background: #fff url("../img/loading.gif") no-repeat scroll center center; }
background: #fff url("../img/loading.gif") no-repeat scroll center center;
}

.lg-outer.fb-comments .fb-comments.fb_iframe_widget {
background-image: none;
}

.lg-outer.fb-comments .fb-comments.fb_iframe_widget.fb_iframe_widget_loader {
background: #fff url("../img/loading.gif") no-repeat scroll center center;
}

.lg-outer.fb-comments .lg-toolbar {
right: 420px;
width: auto; }
width: auto;
}

.lg-outer.fb-comments .lg-actions .lg-next {
right: 420px; }
right: 420px;
}

.lg-outer.fb-comments .lg-item {
background-image: none; }
.lg-outer.fb-comments .lg-item.lg-complete .lg-img-wrap {
background-image: none; }
.lg-outer.fb-comments .lg-img-wrap {
background: url(../img/loading.gif) no-repeat scroll center center transparent; }
background-image: none;
}

.lg-outer.fb-comments .lg-item.lg-complete .lg-img-wrap, .lg-outer.fb-comments .lg-item.lg-complete .lg-video-cont {
background-image: none;
}

.lg-outer.fb-comments .lg-img-wrap, .lg-outer.fb-comments .lg-video-cont {
background: url("../img/loading.gif") no-repeat scroll transparent;
background-position: center center;
background-position: calc((100% - 400px) / 2) center;
}

.lg-outer.fb-comments .lg-sub-html {
padding: 0;
position: static; }
position: static;
}

/*# sourceMappingURL=lg-fb-comment-box.css.map */
.lg-outer.fb-comments .lg-video-cont {
max-width: 1250px !important;
}
12 changes: 2 additions & 10 deletions src/css/lightgallery.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 63337b6

Please sign in to comment.