diff options
| author | Benjamin Vray <bvr@odoo.com> | 2020-09-17 12:22:26 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-09-28 10:27:54 +0000 |
| commit | 7b7043075068c81b731b42f6d04bc5b166e45505 (patch) | |
| tree | 7695585e43ee5a007306170dba2de26df4d1228e /addons/website/static/src/snippets | |
| parent | a08f0721e853854c7e97f5060fc39fccb4b6b4e5 (diff) | |
[FIX] web_editor, website: fix menu colors in table of content
Before this commit, the colors of the navbar in the table of content
menu were not adapted to the color combinations system. With navbar in
top position, the background and the colors of the links were using the
same color.
After this commit, the colors of the list-group-item links are also
adapted with color combinations.
task-2312878
closes odoo/odoo#58601
X-original-commit: a0dc17676c570887773854243bcb8cd8823359d5
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src/snippets')
| -rw-r--r-- | addons/website/static/src/snippets/s_table_of_content/000.scss | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/website/static/src/snippets/s_table_of_content/000.scss b/addons/website/static/src/snippets/s_table_of_content/000.scss index a145dad6e4f..670e1365a9c 100644 --- a/addons/website/static/src/snippets/s_table_of_content/000.scss +++ b/addons/website/static/src/snippets/s_table_of_content/000.scss @@ -13,7 +13,8 @@ &.s_table_of_content_vertical_navbar .s_table_of_content_navbar { > a.list-group-item-action { background: none; - color: rgba($body-color, 0.7); + color: inherit; + opacity: 0.7; font-weight: $font-weight-normal + 100; padding-left: 3px; transition: padding 0.1s; @@ -24,15 +25,15 @@ content: ""; } &:hover { - color: rgba($body-color, 0.9); + opacity: 1; } &:focus { background: none; } &.active { - color: rgba($body-color, 0.9); background: none; padding-left: 8px; + opacity: 1; &:before { background-color: theme-color('primary'); |
