[FIX] minor css fix
bzr revid: nicolas.vanhoren@openerp.com-20130131104804-2d7fo5iafvrhcklk
This commit is contained in:
parent
770e4f0806
commit
0272007aae
|
@ -3089,7 +3089,6 @@
|
|||
}
|
||||
|
||||
.kitten-mode-activated {
|
||||
background-image: url(http://placekitten.com/g/1365/769);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
|
|
@ -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 |
|
@ -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">';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue