From 4fc0079f5f57bbbc272a8963b0691c852599d9be Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 9 Jan 2018 10:36:48 +0100 Subject: [REF] web_editor, website: LESS simplification and correction The variables.less file was producing CSS which was then multiplicated by the number of bundles (see less_helpers). Also simplify some LESS. --- addons/website/static/src/less/website.ui.less | 31 +++++++--------------- .../static/src/xml/website.pageProperties.xml | 12 ++++++--- 2 files changed, 18 insertions(+), 25 deletions(-) (limited to 'addons/website/static/src') diff --git a/addons/website/static/src/less/website.ui.less b/addons/website/static/src/less/website.ui.less index 7b815feac27..1527e9a7b87 100644 --- a/addons/website/static/src/less/website.ui.less +++ b/addons/website/static/src/less/website.ui.less @@ -517,32 +517,21 @@ body .modal { } // Pages Management -.o_page_management_info{ - .o_switch{ +.o_page_management_info { + .o_switch { padding-top: 7px; } } -.popover_dep{ - overflow-x: auto; -} -#edit_website_pages{ - .fa-check{ - color: #00a09d; - } - .fa-eye-slash{ - color: #00a09d; - } - th{ +#edit_website_pages { + th { background-color: @odoo-brand-primary; color: white; } - td{ - a.fa{ - color: @odoo-brand-primary; - margin-left: 5px; - } - .text-muted{ - opacity: 0.5; - } + td > a.fa { + margin-left: 5px; + color: @odoo-brand-primary; + } + .fa-check, .fa-eye-slash { + color: @odoo-brand-optional; } } diff --git a/addons/website/static/src/xml/website.pageProperties.xml b/addons/website/static/src/xml/website.pageProperties.xml index 33ff810ec12..098bb5533b5 100644 --- a/addons/website/static/src/xml/website.pageProperties.xml +++ b/addons/website/static/src/xml/website.pageProperties.xml @@ -6,10 +6,14 @@ -
    - -
  • -
    + -- cgit v1.2.3