summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-01-09 10:36:48 +0100
committerqsm-odoo <qsm@odoo.com>2018-01-10 17:54:22 +0100
commit4fc0079f5f57bbbc272a8963b0691c852599d9be (patch)
treecfc278871443dde575c3b60ef2965b5affbfc4af /addons/website/static/src
parent5da89f6152aec95f5edba900165bffea46782be1 (diff)
[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.
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/less/website.ui.less31
-rw-r--r--addons/website/static/src/xml/website.pageProperties.xml12
2 files changed, 18 insertions, 25 deletions
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 @@
<t t-name="website.get_tooltip_dependencies">
<t t-foreach="dependencies" t-as="dep">
<b><t t-esc="dep"/></b>
- <ul class="popover_dep">
- <t t-foreach="dep_value" t-as="item">
- <li><a t-att-href="item_value['link']"><t t-esc="item_value['item']"/></a></li>
- </t>
+ <ul>
+ <li t-foreach="dep_value" t-as="item">
+ <a t-att-href="item_value['link']"
+ t-att-title="item_value['item']"
+ class="o_text_overflow">
+ <t t-esc="item_value['item']"/>
+ </a>
+ </li>
</ul>
</t>
</t>