From 231aa84a2bf7aa5abf3279ab584e35bea75737a3 Mon Sep 17 00:00:00 2001 From: TuyenTran Date: Thu, 9 Oct 2025 10:39:31 +0700 Subject: [PATCH] [FIX] viin_brand_website_slides: fix bad UI --- viin_brand_website_slides/__manifest__.py | 9 +++++ .../data/website_slides_templates_profile.xml | 7 ++++ .../static/src/scss/website_slides.scss | 39 +++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 viin_brand_website_slides/data/website_slides_templates_profile.xml create mode 100644 viin_brand_website_slides/static/src/scss/website_slides.scss diff --git a/viin_brand_website_slides/__manifest__.py b/viin_brand_website_slides/__manifest__.py index bacf0062..cf005099 100644 --- a/viin_brand_website_slides/__manifest__.py +++ b/viin_brand_website_slides/__manifest__.py @@ -40,6 +40,15 @@ # any module necessary for this one to work correctly 'depends': ['website_slides'], + 'assets': { + 'web.assets_frontend': [ + 'viin_brand_website_slides/static/src/scss/website_slides.scss', + ], + }, + 'data': [ + 'data/website_slides_templates_profile.xml', + ], + 'images': [ # 'static/description/main_screenshot.png' ], diff --git a/viin_brand_website_slides/data/website_slides_templates_profile.xml b/viin_brand_website_slides/data/website_slides_templates_profile.xml new file mode 100644 index 00000000..533c5a9b --- /dev/null +++ b/viin_brand_website_slides/data/website_slides_templates_profile.xml @@ -0,0 +1,7 @@ + + + diff --git a/viin_brand_website_slides/static/src/scss/website_slides.scss b/viin_brand_website_slides/static/src/scss/website_slides.scss new file mode 100644 index 00000000..3abf9505 --- /dev/null +++ b/viin_brand_website_slides/static/src/scss/website_slides.scss @@ -0,0 +1,39 @@ +.o_wslides_channel_completion_progressbar .progress .progress-bar { + background-color: #00bbce; +} +.o_wslides_home_content_section .progress .progress-bar { + background-color: #00bbce; +} +.o_wslides_home_nav .navbar{ + padding: 10px +} + +.o_wprofile_nav_tabs .nav-link:not(.active):hover { + background: #7f4282; +} + +.o_wslides_course_main .o_wslides_nav_tabs .nav-link:not(.active):hover { + background: #7f4282; +} + +.form-control:focus { + outline: none; + border-color: #7f4282; + box-shadow: + 0 0 4px rgba(127, 66, 130, 0.4), + 0 0 8px rgba(127, 66, 130, 0.3); + transition: all 0.25s ease; +} + +.form-check-input:focus{ + box-shadow:none; +} + +.dropdown-item { + padding: 8px 14px; + transition: all 0.2s ease-in-out; + } + +.navbar-light .dropdown-menu .dropdown-item.active, .navbar-light .dropdown-menu .dropdown-item.active:hover{ + color: white !important; +}