Skip to content

Commit

Permalink
v2.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
needim committed Dec 13, 2016
1 parent adefcef commit 0a9ab6f
Show file tree
Hide file tree
Showing 10 changed files with 1,930 additions and 1,515 deletions.
1,057 changes: 532 additions & 525 deletions js/noty/jquery.noty.js

Large diffs are not rendered by default.

1,601 changes: 938 additions & 663 deletions js/noty/packaged/jquery.noty.packaged.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/noty/packaged/jquery.noty.packaged.min.js

Large diffs are not rendered by default.

101 changes: 50 additions & 51 deletions js/noty/themes/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,59 +1,58 @@
$.noty.themes.bootstrapTheme = {
name: 'bootstrapTheme',
modal: {
css: {
position: 'fixed',
width: '100%',
height: '100%',
backgroundColor: '#000',
zIndex: 10000,
opacity: 0.6,
display: 'none',
left: 0,
top: 0,
wordBreak:'break-all'
}
},
style: function() {

var containerSelector = this.options.layout.container.selector;
$(containerSelector).addClass('list-group');
name : 'bootstrapTheme',
modal : {
css: {
position : 'fixed',
width : '100%',
height : '100%',
backgroundColor: '#000',
zIndex : 10000,
opacity : 0.6,
display : 'none',
left : 0,
top : 0,
wordBreak : 'break-all'
}
},
style : function () {

this.$closeButton.append('<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>');
this.$closeButton.addClass('close');
var containerSelector = this.options.layout.container.selector;
$(containerSelector).addClass('list-group');

this.$bar.addClass( "list-group-item" ).css('padding', '0px');
this.$closeButton.append('<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>');
this.$closeButton.addClass('close');

switch (this.options.type) {
case 'alert': case 'notification':
this.$bar.addClass( "list-group-item-info" );
break;
case 'warning':
this.$bar.addClass( "list-group-item-warning" );
break;
case 'error':
this.$bar.addClass( "list-group-item-danger" );
break;
case 'information':
this.$bar.addClass("list-group-item-info");
break;
case 'success':
this.$bar.addClass( "list-group-item-success" );
break;
}
this.$bar.addClass("list-group-item").css('padding', '0px');

this.$message.css({
fontSize: '13px',
lineHeight: '16px',
textAlign: 'center',
padding: '8px 10px 9px',
width: 'auto',
position: 'relative'
});
},
callback: {
onShow: function() { },
onClose: function() { }
switch (this.options.type) {
case 'alert':
case 'notification':
this.$bar.addClass("list-group-item-info");
break;
case 'warning':
this.$bar.addClass("list-group-item-warning");
break;
case 'error':
this.$bar.addClass("list-group-item-danger");
break;
case 'information':
this.$bar.addClass("list-group-item-info");
break;
case 'success':
this.$bar.addClass("list-group-item-success");
break;
}

this.$message.css({
textAlign: 'center',
padding : '8px 10px 9px',
width : 'auto',
position : 'relative'
});
},
callback: {
onShow : function () { },
onClose: function () { }
}
};

Loading

0 comments on commit 0a9ab6f

Please sign in to comment.