[FIX] minor css fix

bzr revid: nicolas.vanhoren@openerp.com-20130131104804-2d7fo5iafvrhcklk
This commit is contained in:
niv-openerp 2013-01-31 11:48:04 +01:00
parent 770e4f0806
commit 0272007aae
4 changed files with 1 additions and 2 deletions

View File

@ -3089,7 +3089,6 @@
}
.kitten-mode-activated {
background-image: url(http://placekitten.com/g/1365/769);
background-size: cover;
background-attachment: fixed;
}

View File

@ -2436,7 +2436,6 @@ $sheet-padding: 16px
// }}}
// Kitten Mode {{{
.kitten-mode-activated
background-image: url(http://placekitten.com/g/1365/769)
background-size: cover
background-attachment: fixed
>*

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -1158,6 +1158,7 @@ instance.web.WebClient = instance.web.Client.extend({
return $.when(this._super()).then(function() {
if (jQuery.param !== undefined && jQuery.deparam(jQuery.param.querystring()).kitten !== undefined) {
$("body").addClass("kitten-mode-activated");
$("body").css("background-image", "url(" + instance.session.origin + "/web/static/src/img/back-enable.jpg" + ")");
if ($.blockUI) {
$.blockUI.defaults.message = '<img src="http://www.amigrave.com/kitten.gif">';
}