Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions viin_brand_common/static/src/scss/bootstrap_review_frontend.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,51 @@
color: $white;
}
}

.dropdown-item {
padding: 8px 14px;
transition: all 0.2s ease-in-out;
}

.form-control:focus {
outline: none;
border-color: $brand-primary !important;
box-shadow:
0 0 4px rgba($brand-primary, 0.4),
0 0 8px rgba($brand-primary, 0.3);
transition: all 0.25s ease;
}

.o_cc .dropdown-menu .dropdown-item.active,
.navbar-light .o_dropdown_menu .dropdown-item:active {
--dropdown-link-active-color: #{$white} !important;
}

.dropdown-item.active,
.dropdown-item:active {
background: $brand-primary !important;
color: white !important;
}

.form-check-input {
&:focus {
border-color: $brand-primary !important;
box-shadow: none;
}

&:checked {
background-color: $brand-primary !important;
border-color: $brand-primary !important;
}

&:hover {
border-color: $brand-primary !important;
}
}

.form-check,
.form-switch {
&:hover .form-check-input:not(:disabled) {
border-color: $brand-primary !important;
}
}
9 changes: 9 additions & 0 deletions viin_brand_website_slides/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<odoo>
<template id="display_course" inherit_id="website_slides.display_course">
<xpath expr="//div[hasclass('overflow-hidden')]" position="attributes">
<attribute name="style"></attribute>
</xpath>
</template>
</odoo>
25 changes: 25 additions & 0 deletions viin_brand_website_slides/static/src/scss/website_slides.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.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;
}

.o_wslides_course_header{
background: $brand-primary;
}

.o_wslides_course_pict{
border: none;
}