forked from alaguraj/odoo-testing-addons
Add initial custom styles for the Chennora theme via new theme.scss and theme_variables.css files.
This commit is contained in:
parent
b0861cae1e
commit
9d916d4ac0
@ -97,7 +97,7 @@ body,
|
||||
|
||||
.o_main_navbar .o_menu_sections .o_nav_entry,
|
||||
.o_main_navbar .o_menu_systray .o_nav_entry {
|
||||
color: white !important;
|
||||
color: #111111 !important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
|
||||
@ -88,24 +88,56 @@ header {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 15px rgba(254, 205, 79, 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
/* Cart Icon and Badge Fix */
|
||||
/* Cart Icon and Badge Styling (Fixed Nesting) */
|
||||
.o_wsale_shopping_cart {
|
||||
padding: 10px !important;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
color: #FECD4F !important;
|
||||
transform: translateY(-2px);
|
||||
|
||||
.fa-shopping-cart {
|
||||
color: #FECD4F !important;
|
||||
}
|
||||
|
||||
.cart-badge {
|
||||
color: white !important;
|
||||
background-color: #2BB1A5 !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.cart-badge {
|
||||
color: white !important;
|
||||
background-color: #d6111e !important;
|
||||
background-color: #2BB1A5 !important;
|
||||
font-weight: 800 !important;
|
||||
z-index: 10;
|
||||
border: 2px solid #111 !important;
|
||||
/* Match nav background */
|
||||
/* Match nav background */
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Icon (Hamburger) Fix */
|
||||
.navbar-toggler {
|
||||
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
||||
padding: 8px !important;
|
||||
margin: 10px 0;
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.navbar-toggler-icon {
|
||||
filter: none !important;
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1369,12 +1401,16 @@ footer#bottom {
|
||||
}
|
||||
|
||||
// Global Link Hover & Active Color Fix
|
||||
// Only apply global overrides to frontend/website elements to avoid breaking backend UI
|
||||
body:not(.editor_enable):not(.o_edit_mode) {
|
||||
|
||||
a:hover,
|
||||
a:hover *,
|
||||
.btn-link:hover,
|
||||
.btn-link:hover * {
|
||||
color: #2BB1A5 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.active,
|
||||
.nav-link.active,
|
||||
@ -1382,6 +1418,15 @@ a:hover *,
|
||||
color: #2BB1A5 !important;
|
||||
}
|
||||
|
||||
|
||||
// Fix for Odoo Backend Editor Menu overlap
|
||||
body.o_edit_mode {
|
||||
#top {
|
||||
margin-top: 0px !important;
|
||||
position: relative !important; // Some editor modes hate fixed headers
|
||||
}
|
||||
}
|
||||
|
||||
// Global Primary Button Color Fix (including Checkout)
|
||||
.btn-primary,
|
||||
.btn-primary:not(:disabled):not(.disabled):active,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user