diff options
| author | Jason Van Malder <jvm@odoo.com> | 2020-01-28 10:33:23 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-01-28 11:00:42 +0000 |
| commit | b266c58d56530be7e8a92ac2e20ccfea001a7c7c (patch) | |
| tree | 7305807c5d756eaca8fb465a7e21d62e30e00206 /addons/website/static/src | |
| parent | edb9dad5f2afbe8fd9a90d44a8f9af307e3dc72a (diff) | |
[FIX] website: fix first/last process steps lines not showing after edit
First & last lines are on `i:after`. After editing, the i is replaced by
a span, so the line disappeared.
See https://github.com/odoo/design-themes/commit/cae0a546cb8e671cc2797bf975413bac746a2b08
which is the original themes commit.
opw-2177464
closes odoo/odoo#44082
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/snippets/s_process_steps/000.scss | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/addons/website/static/src/snippets/s_process_steps/000.scss b/addons/website/static/src/snippets/s_process_steps/000.scss index a0b7f942b06..3daae1d92c9 100644 --- a/addons/website/static/src/snippets/s_process_steps/000.scss +++ b/addons/website/static/src/snippets/s_process_steps/000.scss @@ -25,7 +25,7 @@ @include o-position-absolute(50%, 0, 0, auto); } } - &:not(:first-child):not(:last-child) .s_process_step_icon { + .s_process_step_icon { span:after { width: 100%; } @@ -33,19 +33,7 @@ &:first-child .s_process_step_icon, &:last-child .s_process_step_icon { span:after { - width: 1000%; - } - .fa { - &:after { - content: ''; - z-index: -1; - @include o-position-absolute(50%, auto, 0, auto); - width: 100%; - border-top: 1px solid gray('500'); - } - &.mx-auto:after { - width: 50%; - } + width: 50%; } } &:first-child .s_process_step_icon { @@ -61,15 +49,4 @@ } } } - - $s_process_step_line_fw: true; - - @if $s_process_step_line_fw == true { - .s_process_step:first-child, - .s_process_step:last-child { - .s_process_step_icon > span:after { - display: none; - } - } - } } |
