closing #1148 by removing the transparent background from the spinner. Does not solve the margin of the spinner on the buttons, but that is low prio for now

This commit is contained in:
Reinier Balt 2011-04-27 19:03:37 +02:00
parent 31118d8c8c
commit 57ad48d7d7
2 changed files with 26 additions and 20 deletions

View file

@ -1,10 +1,10 @@
/*! /*!
* jQuery blockUI plugin * jQuery blockUI plugin
* Version 2.36 (16-NOV-2010) * Version 2.38 (29-MAR-2011)
* @requires jQuery v1.2.3 or later * @requires jQuery v1.2.3 or later
* *
* Examples at: http://malsup.com/jquery/block/ * Examples at: http://malsup.com/jquery/block/
* Copyright (c) 2007-2008 M. Alsup * Copyright (c) 2007-2010 M. Alsup
* Dual licensed under the MIT and GPL licenses: * Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php * http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/gpl.html
@ -65,7 +65,7 @@ $.fn.unblock = function(opts) {
}); });
}; };
$.blockUI.version = 2.35; // 2nd generation blocking at no extra cost! $.blockUI.version = 2.38; // 2nd generation blocking at no extra cost!
// override these in your code to change the default behavior and style // override these in your code to change the default behavior and style
$.blockUI.defaults = { $.blockUI.defaults = {
@ -227,7 +227,10 @@ function install(el, opts) {
var lyr1 = ($.browser.msie || opts.forceIframe) var lyr1 = ($.browser.msie || opts.forceIframe)
? $('<iframe class="blockUI" style="z-index:'+ (z++) +';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+opts.iframeSrc+'"></iframe>') ? $('<iframe class="blockUI" style="z-index:'+ (z++) +';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+opts.iframeSrc+'"></iframe>')
: $('<div class="blockUI" style="display:none"></div>'); : $('<div class="blockUI" style="display:none"></div>');
var lyr2 = $('<div class="blockUI blockOverlay" style="z-index:'+ (z++) +';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');
var lyr2 = opts.theme
? $('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+ (z++) +';display:none"></div>')
: $('<div class="blockUI blockOverlay" style="z-index:'+ (z++) +';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');
var lyr3, s; var lyr3, s;
if (opts.theme && full) { if (opts.theme && full) {
@ -261,7 +264,7 @@ function install(el, opts) {
} }
// style the overlay // style the overlay
if (!opts.applyPlatformOpacityRules || !($.browser.mozilla && /Linux/.test(navigator.platform))) if (!opts.theme && (!opts.applyPlatformOpacityRules || !($.browser.mozilla && /Linux/.test(navigator.platform))))
lyr2.css(opts.overlayCSS); lyr2.css(opts.overlayCSS);
lyr2.css('position', full ? 'fixed' : 'absolute'); lyr2.css('position', full ? 'fixed' : 'absolute');

View file

@ -348,7 +348,7 @@ div#input_box {
#input_box ul#predecessor_ul { #input_box ul#predecessor_ul {
list-style-type: none; list-style-type: none;
color: 0; color: black;
} }
.show_from_input, .due_input, .project_input, .context_input, .show_from_input, .due_input, .project_input, .context_input,
@ -1245,16 +1245,19 @@ button.positive, .widgets a.positive{
border:1px solid #fbc2c4; border:1px solid #fbc2c4;
color:#d12f19; color:#d12f19;
} }
.widgets a.negative:active{ .widgets a.negative:active{
background-color:#d12f19; background-color:#d12f19;
border:1px solid #d12f19; border:1px solid #d12f19;
color:#fff; color:#fff;
} }
.blockUI.blockOverlay { .blockUI.blockOverlay {
background-image:url('../images/waiting.gif'); background-image:url('../images/waiting.gif');
background-repeat:no-repeat; background-repeat:no-repeat;
background-position:center center; background-position:center center;
background-color:white; background-color:white;
opacity: 1;
} }
.bigWaiting { .bigWaiting {