-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove a truckload of wasteful CSS #266
base: master
Are you sure you want to change the base?
Changes from 23 commits
39ec89a
4fb0d91
755a97e
5d2c9eb
ac54680
c06cb21
13e2bf7
dcf7a08
bc2e76c
a9409fb
67f439b
472d9bc
ab182b5
15deb9e
967fde5
72f3a09
e9dd0d8
097f542
47d9503
cf09ac9
9296e08
ff3efd5
c3d527f
80fc030
cbeb494
80f3e8b
a77dc96
54044db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
{ | ||
that.backdrop(function () | ||
{ | ||
var transition = $.support.transition && that.$element.hasClass('fade'); | ||
var transition = $.support.transition && that.$element.hasClass('muted'); | ||
|
||
if (!that.$element.parent().length) | ||
{ | ||
|
@@ -100,7 +100,7 @@ | |
.attr('aria-hidden', true) | ||
.off('click.dismiss.lightbox'); | ||
|
||
$.support.transition && this.$element.hasClass('fade') ? | ||
$.support.transition && this.$element.hasClass("muted") ? | ||
this.$element | ||
.one($.support.transition.end, $.proxy(this.hideModal(slide), this)) | ||
.emulateTransitionEnd(300) : | ||
|
@@ -150,13 +150,12 @@ | |
Lightbox.prototype.backdrop = function (callback) | ||
{ | ||
var that = this | ||
var animate = this.$element.hasClass('fade') ? 'fade' : '' | ||
var animate = this.$element.hasClass("muted") ? "muted" : ""; | ||
if (this.isShown && this.options.backdrop) | ||
{ | ||
var doAnimate = $.support.transition && animate; | ||
|
||
this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />') | ||
.appendTo(document.body); | ||
this.$backdrop = $("<div class='bg-black " + animate + "' />").appendTo(document.body); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line is too long. |
||
|
||
this.$element.on('click.dismiss.lightbox', $.proxy(function (e) | ||
{ | ||
|
@@ -183,7 +182,7 @@ | |
{ | ||
this.$backdrop.removeClass('in'); | ||
|
||
$.support.transition && this.$element.hasClass('fade')? | ||
$.support.transition && this.$element.hasClass('muted')? | ||
this.$backdrop | ||
.one($.support.transition.end, callback) | ||
.emulateTransitionEnd(150) : | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,8 @@ | |
@import "bootstrap/navbar"; | ||
@import "bootstrap/breadcrumbs"; | ||
@import "bootstrap/pagination"; | ||
@import "bootstrap/pager"; | ||
@import "bootstrap/labels"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Back/Next type buttons. Not used anywhere on the site. |
||
@import "bootstrap/badges"; | ||
@import "bootstrap/thumbnails"; | ||
@import "bootstrap/alerts"; | ||
@import "bootstrap/progress-bars"; | ||
@import "bootstrap/media"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long.
Mixed double and single quotes.