From ebf69686e0bea1886e8dfb4c98ab2f8b1f37bf6b Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Mon, 1 Mar 2021 16:37:41 +0100 Subject: [PATCH] [DESIGN] restyling list --- extensions/odoo_theme/static/style.scss | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/extensions/odoo_theme/static/style.scss b/extensions/odoo_theme/static/style.scss index 77fea187e..224b91f58 100644 --- a/extensions/odoo_theme/static/style.scss +++ b/extensions/odoo_theme/static/style.scss @@ -539,6 +539,32 @@ header.o_main_header{ overflow: auto; } } + ul, ol { + text-align: left; + } + // restyle numbers on lists + ol { + list-style: none; + counter-reset: a; + > li { + position: relative; + counter-increment: a; + &:before { + content: counter(a); + color: $o-violet; + border: 2px solid $o-violet; + @include font-size($font-size-secondary); + font-weight: bold; + line-height: 1; + text-align: center; + padding: 1px 0; + width: 20px; + height: 20px; + border-radius: 10px; + @include o-position-absolute(2px, auto, auto, -2rem); + } + } + } //------------------------------------------------------------------------------ // Alerts