Flash message positioning moved CSS
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index e7d5e65..6a505a9 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -607,7 +607,7 @@
/* message */
#messages {
- position: absolute;
+ position: fixed;
z-index: 100000;
top: 50px;
right: 20px;
diff --git a/Allura/allura/public/nf/js/jquery.notify.js b/Allura/allura/public/nf/js/jquery.notify.js
index 8478dc0..27eb388 100644
--- a/Allura/allura/public/nf/js/jquery.notify.js
+++ b/Allura/allura/public/nf/js/jquery.notify.js
@@ -21,7 +21,7 @@
/*global jQuery, window */
(function ($) {
-
+
/* BEGIN: John Resig's microtemplating stuff */
var cache = {};
@@ -91,11 +91,11 @@
}
helper();
}
-
+
function sanitize(str) {
return str.replace(/</g, '<').replace(/>/g, '>');
}
-
+
$.fn.notifier = function(options){
var opts = $.extend({}, $.fn.notify.defaults, options);
return $(this).each(function() {
@@ -104,13 +104,13 @@
if (o.scrollcss) {
$(window).scroll(function() {
$(self).css(o.scrollcss);
- });
+ });
}
$('.' + o.messageClass, self).addClass(o.newClass);
scanMessages(self, o);
});
};
-
+
$.fn.notify = function(msg_or_opts, options) {
var opts;
// For backwards compatibility
@@ -145,7 +145,7 @@
}
});
};
-
+
$.fn.notify.defaults = {
status: 'info',
interval: 500,
@@ -154,7 +154,6 @@
title: '',
sanitize: true,
tmpl: '<div class="message <%=newClass%> <%=status%> <% if (sticky) { %><%=stickyClass %><% } %>" data-timer="<%=timer%>"><% if (title) { %><h6><%=title%></h6><% } %><div class="content"><%=message%></div></div>',
- scrollcss: { position: 'fixed', top: '20px' },
stickyClass: 'notify-sticky',
persistentClass: 'notify-persistent',
persistentCookie: 'notify-persistent-closed',
@@ -164,5 +163,5 @@
messageClass: 'message',
closeIcon: '<b title="Close" class="fa fa-close" style="float:right;"></b>'
};
-
+
}(jQuery));