Skip to content

Commit fbd6039

Browse files
[FIX] viin_brand_website_slides: fix bad UI
1 parent dd82ef9 commit fbd6039

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

viin_brand_website_slides/__manifest__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@
4040
# any module necessary for this one to work correctly
4141
'depends': ['website_slides'],
4242

43+
'assets': {
44+
'web.assets_frontend': [
45+
'viin_brand_website_slides/static/src/scss/website_slides.scss',
46+
],
47+
},
48+
'data': [
49+
'views/website_slides_templates_profile.xml',
50+
],
51+
4352
'images': [
4453
# 'static/description/main_screenshot.png'
4554
],
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.o_wslides_channel_completion_progressbar .progress .progress-bar {
2+
background-color: #00bbce;
3+
}
4+
.o_wslides_home_content_section .progress .progress-bar {
5+
background-color: #00bbce;
6+
}
7+
.o_wslides_home_nav .navbar{
8+
padding: 10px
9+
}
10+
11+
.o_wprofile_nav_tabs .nav-link:not(.active):hover {
12+
background: #7f4282;
13+
}
14+
15+
.o_wslides_course_main .o_wslides_nav_tabs .nav-link:not(.active):hover {
16+
background: #7f4282;
17+
}
18+
19+
.form-control:focus {
20+
outline: none;
21+
border-color: #7f4282;
22+
box-shadow:
23+
0 0 4px rgba(127, 66, 130, 0.4),
24+
0 0 8px rgba(127, 66, 130, 0.3);
25+
transition: all 0.25s ease;
26+
}
27+
28+
.form-check-input:focus{
29+
box-shadow:none;
30+
}
31+
32+
.dropdown-item {
33+
padding: 8px 14px;
34+
transition: all 0.2s ease-in-out;
35+
}
36+
37+
.navbar-light .dropdown-menu .dropdown-item.active, .navbar-light .dropdown-menu .dropdown-item.active:hover{
38+
color: white !important;
39+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<odoo>
2+
<template id="display_course" inherit_id="website_slides.display_course">
3+
<xpath expr="//div[hasclass('overflow-hidden')]" position="attributes">
4+
<attribute name="style"></attribute>
5+
</xpath>
6+
</template>
7+
</odoo>

0 commit comments

Comments
 (0)