[FIX] kanban view background is correctly set (web_kanban)
authorGéry Debongnie <ged@odoo.com>
Fri, 7 Nov 2014 13:21:01 +0000 (14:21 +0100)
committerGéry Debongnie <ged@odoo.com>
Fri, 7 Nov 2014 13:21:35 +0000 (14:21 +0100)
the .oe_background_grey class only changed part of the kanban background
when it was scrolled.  This makes sure that the full table has a grey
background.

addons/web_kanban/static/src/css/kanban.css
addons/web_kanban/static/src/css/kanban.sass

index eac7f20..fbda6d3 100644 (file)
@@ -2,6 +2,9 @@
   background: white;
   height: inherit;
 }
+.openerp .oe_kanban_view.oe_background_grey > table.oe_kanban_groups {
+  background-color: #eee;
+}
 .openerp .oe_kanban_view .oe_kanban_column_higlight {
   background: #eeddf6 !important;
 }
index 8398f12..9d32965 100644 (file)
@@ -50,6 +50,9 @@
     // KanbanView {{{
     //background: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAKElEQVQIHWP8DwTv379nAAFBQUEGhnfv3oHEwADEZgJLIRGMIClkLQCr3x2Htp/lLwAAAABJRU5ErkJggg==)
     background: white
+    &.oe_background_grey
+        > table.oe_kanban_groups
+            background-color: #eee
     height: inherit
     .oe_kanban_column_higlight
         background: #eeddf6 !important
     .oe_kanban_column, .oe_kanban_group_header
         padding: 0px
         background: #ffffff
-
 .openerp
     .oe_popup_form
         .oe_kanban_buttons