| 1 |
// Use enterprise or theme primary color in order to have more visual similarity between |
| 2 |
// chatter (from backend) and frontend appearance |
| 3 |
$o-brand-odoo: $o-enterprise-color; |
| 4 |
$o-brand-primary: map-get($o-theme-color-palette, 'primary') or $o-brand-odoo; |
| 5 |
$o-btns-bs-override: () ; |
| 6 |
$o-btns-bs-override: map-merge(( |
| 7 |
"primary": ( |
| 8 |
background: $o-brand-primary, |
| 9 |
border: $o-brand-primary, |
| 10 |
color: $o-white, |
| 11 |
|
| 12 |
hover-background: darken($o-brand-primary, 5%), |
| 13 |
hover-border: darken($o-brand-primary, 10%), |
| 14 |
hover-color: $o-white, |
| 15 |
|
| 16 |
active-background: mix($o-brand-primary, $o-white, 10%), |
| 17 |
active-border: $o-brand-primary, |
| 18 |
active-color:$o-brand-primary, |
| 19 |
), |
| 20 |
), $o-btns-bs-override); |