diff --git a/web_dashboard_tile/static/src/css/tile.css b/web_dashboard_tile/static/src/css/tile.css index 1d057cee..9bfdf0ae 100644 --- a/web_dashboard_tile/static/src/css/tile.css +++ b/web_dashboard_tile/static/src/css/tile.css @@ -1,24 +1,24 @@ -.openerp .oe_kanban_view .oe_dashbaord_tile{ +.openerp .oe_kanban_view .oe_dashboard_tile { width: 150px; height: 150px; border: 0; border-radius: 0; } -.openerp .oe_kanban_view .oe_dashbaord_tile .tile_label, -.openerp .oe_kanban_view .oe_dashbaord_tile .tile_count_without_computed_value, -.openerp .oe_kanban_view .oe_dashbaord_tile .tile_count_with_computed_value, -.openerp .oe_kanban_view .oe_dashbaord_tile .tile_computed_value { +.openerp .oe_kanban_view .oe_dashboard_tile .tile_label, +.openerp .oe_kanban_view .oe_dashboard_tile .tile_count_without_computed_value, +.openerp .oe_kanban_view .oe_dashboard_tile .tile_count_with_computed_value, +.openerp .oe_kanban_view .oe_dashboard_tile .tile_computed_value { width: 140px; text-align: center; } -.openerp .oe_kanban_view .oe_dashbaord_tile .tile_label{ +.openerp .oe_kanban_view .oe_dashboard_tile .tile_label{ padding: 5px; font-size: 15px; } -.openerp .oe_kanban_view .oe_dashbaord_tile .tile_count_without_computed_value{ +.openerp .oe_kanban_view .oe_dashboard_tile .tile_count_without_computed_value{ font-size: 52px; font-weight: bold; position: absolute; @@ -26,7 +26,7 @@ bottom: 5px; } -.openerp .oe_kanban_view .oe_dashbaord_tile .tile_count_with_computed_value{ +.openerp .oe_kanban_view .oe_dashboard_tile .tile_count_with_computed_value{ font-size: 38px; font-weight: bold; position: absolute; @@ -34,7 +34,7 @@ bottom: 30px; } -.openerp .oe_kanban_view .oe_dashbaord_tile .tile_computed_value{ +.openerp .oe_kanban_view .oe_dashboard_tile .tile_computed_value{ font-size: 18px; font-weight: bold; position: absolute; @@ -42,3 +42,11 @@ bottom: 5px; font-style: italic; } + +.openerp .oe_searchview_drawer .oe_searchview_dashboard .oe_dashboard_tile_form { + display: none; +} + +.openerp .oe_searchview_drawer .oe_opened .oe_dashboard_tile_form { + display: block; +} \ No newline at end of file diff --git a/web_dashboard_tile/static/src/xml/custom_xml.xml b/web_dashboard_tile/static/src/xml/custom_xml.xml index 3e0c2316..38a0e3e9 100644 --- a/web_dashboard_tile/static/src/xml/custom_xml.xml +++ b/web_dashboard_tile/static/src/xml/custom_xml.xml @@ -2,7 +2,7 @@ -
+
diff --git a/web_dashboard_tile/views/tile.xml b/web_dashboard_tile/views/tile.xml index 36411ad8..5eef1756 100644 --- a/web_dashboard_tile/views/tile.xml +++ b/web_dashboard_tile/views/tile.xml @@ -61,7 +61,7 @@ -
+