From 0d7ebb6d14a5dadd77c99466422ada26d4eba261 Mon Sep 17 00:00:00 2001 From: Mathieu Duckerts-Antoine Date: Fri, 29 Mar 2019 10:28:32 +0000 Subject: [PATCH] [IMP] sales_team: remove useless css rules This commit is one part of the task 'removing nvd3'. We use now Chart.js to draw charts. This makes old CSS rules related to nvd3 useless. Task ID: 1946138 --- .../static/src/scss/sales_team_dashboard.scss | 58 ------------------- 1 file changed, 58 deletions(-) diff --git a/addons/sales_team/static/src/scss/sales_team_dashboard.scss b/addons/sales_team/static/src/scss/sales_team_dashboard.scss index 9f8c01fac03..163d11138d2 100644 --- a/addons/sales_team/static/src/scss/sales_team_dashboard.scss +++ b/addons/sales_team/static/src/scss/sales_team_dashboard.scss @@ -1,63 +1,5 @@ .o_kanban_view.o_kanban_dashboard.o_salesteam_kanban { - .o_kanban_record { - .o_sales_team_kanban_graph_section { - .o_graph_linechart { - > svg { - height: 80px; - - // X axis - g.nv-x.nv-axis { - // move the labels up, so they aren't hidden below the graph, and the lines back down. - transform: translateY(50px); - line { - transform: translateY(30px); - } - .nv-axislabel{ - transform:translateY(-78px); - font-weight: bold; - } - - // Remove max and min labels - g.nv-axisMaxMin { - display: none; - } - g.tick.major { - // Don't know why, but leads to strange bold text - // stroke: $o-brand-odoo; - - line { - display: none; - } - } - } - - // !important are needed because nvd3 uses inline style on elements - - // Remove strokes - g.nv-linesWrap { - g.nv-group.nv-series-0 { - fill-opacity: 0.3 !important; - - .nv-point { - visibility: hidden; - r: 3; - fill: white; - stroke-width: 2; - } - } - } - } - } - .o_graph_barchart { - > svg { - height: 95px; - overflow: visible; - } - } - } - } - &.o_kanban_ungrouped { .o_kanban_record { width: 450px;