From 10f4ed2f74988e3704ee2d83954bebc504e7bfe8 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Tue, 23 Jun 2015 08:28:33 +0200 Subject: [PATCH] [FIX] website: (un)published stat button css Make the css rules more specific to take priority over the base ones defining 'display: block' on every o_stat-text, as in this case, one must be hidden. --- addons/website/static/src/css/website.backend.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website/static/src/css/website.backend.css b/addons/website/static/src/css/website.backend.css index 6fe4f67d4ad..333118ce1b3 100644 --- a/addons/website/static/src/css/website.backend.css +++ b/addons/website/static/src/css/website.backend.css @@ -1,7 +1,7 @@ -.oe_stat_button .o_stat_info:not(.published) > .o_stat_text.oe_publish { +.oe_button_box .oe_stat_button .o_stat_info:not(.published) > .o_stat_text.oe_publish { display: none; } -.oe_stat_button .o_stat_info.published > .o_stat_text.oe_unpublish { +.oe_button_box .oe_stat_button .o_stat_info.published > .o_stat_text.oe_unpublish { display: none; } .oe_form_field.oe_form_field_html_frame {