diff --git a/addons/portal/static/src/scss/portal.scss b/addons/portal/static/src/scss/portal.scss index 93fdd881539..272c9da75f9 100644 --- a/addons/portal/static/src/scss/portal.scss +++ b/addons/portal/static/src/scss/portal.scss @@ -345,32 +345,6 @@ img, .media_iframe_video, .o_image { } } - address { - span[itemprop="name"] { - margin-bottom: 0.3em; - } - - div[itemprop="address"] > div { - position: relative; - - span[itemprop="streetAddress"] { - line-height: 1.2; - margin-bottom: 0.3em; - } - - .fa { - @include o-position-absolute(0, $left: 0); - line-height: $line-height-base; - - + span, + div { - display: block; - // FontAwesome '.fa-fw' fixed-with + margin - padding-left: 1.28571429em + 0.5em; - } - } - } - } - .o_my_sidebar div[itemprop="address"] > div { margin-top: 0.5em; } @@ -391,6 +365,37 @@ img, .media_iframe_video, .o_image { } } +.o_portal_address { + span[itemprop="name"] { + margin-bottom: 0.3em; + } + + div[itemprop="address"] > div { + position: relative; + + span[itemprop="streetAddress"] { + line-height: 1.2; + margin-bottom: 0.3em; + } + + .fa { + @include o-position-absolute(0, $left: 0); + line-height: $line-height-base; + + + span, + div, + a { + display: block; + // FontAwesome '.fa-fw' fixed-with + margin + padding-left: 1.28571429em + 0.5em; + } + } + + span[itemprop="email"] { + overflow: hidden; + text-overflow: ellipsis; + } + } +} + .oe_attachments .o_image_small { height: 40px; width: 50px; diff --git a/addons/website_crm_partner_assign/static/src/scss/crm_partner_assign.scss b/addons/website_crm_partner_assign/static/src/scss/crm_partner_assign.scss new file mode 100644 index 00000000000..c4084c6f4d5 --- /dev/null +++ b/addons/website_crm_partner_assign/static/src/scss/crm_partner_assign.scss @@ -0,0 +1,6 @@ +.o_wcrm_short_description { + max-height: 100px; + display: -webkit-box; + -webkit-line-clamp: 4; + -webkit-box-orient: vertical; +} diff --git a/addons/website_crm_partner_assign/views/snippets.xml b/addons/website_crm_partner_assign/views/snippets.xml index 13d2a843e91..23a88939627 100644 --- a/addons/website_crm_partner_assign/views/snippets.xml +++ b/addons/website_crm_partner_assign/views/snippets.xml @@ -8,8 +8,14 @@ data-customize-website-views="website_crm_partner_assign.portal_my_home_lead" data-no-preview="true" data-reload="/"/> - + + + diff --git a/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml b/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml index 59170185356..ae42241bf3c 100644 --- a/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml +++ b/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml @@ -7,10 +7,8 @@ Resellers
-
-
- -
+
+
@@ -19,98 +17,169 @@ -