mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot_merge: set link colors via CSS rule
The primary variables are also used in the backend, and they get manipulated via SCSS, so setting the SCSS link-color to a `var()` expression blows up the backend.
This commit is contained in:
parent
e6648b95c4
commit
d5996c4ae1
@ -26,8 +26,6 @@ $bg-scale: -80%;
|
|||||||
$o-system-fonts: sans-serif;
|
$o-system-fonts: sans-serif;
|
||||||
|
|
||||||
// mostly reverts a bunch of shit from the default odoo theming
|
// mostly reverts a bunch of shit from the default odoo theming
|
||||||
$link-color: var(--link-color);
|
|
||||||
$link-hover-color: var(--link-hover-color);
|
|
||||||
$o-community-color: $primary;
|
$o-community-color: $primary;
|
||||||
$o-enterprise-color: $primary;
|
$o-enterprise-color: $primary;
|
||||||
|
|
||||||
|
@ -64,6 +64,13 @@ h1, h2, h3, h4, h5, h6{
|
|||||||
margin-bottom: 0.33em !important;
|
margin-bottom: 0.33em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a, .nav-link {
|
||||||
|
color: var(--link-color);
|
||||||
|
&:hover, &:focus {
|
||||||
|
color: var(--link-hover-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.table-success, .table-info, .table-warning, .table-danger {
|
.table-success, .table-info, .table-warning, .table-danger {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
@ -73,10 +80,6 @@ h1, h2, h3, h4, h5, h6{
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-light .navbar-nav .nav-link {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
// reset the table and alert bg rules so they use the generic (rg)bg variables
|
// reset the table and alert bg rules so they use the generic (rg)bg variables
|
||||||
@each $category, $_ in $theme-colors {
|
@each $category, $_ in $theme-colors {
|
||||||
.alert-#{$category} {
|
.alert-#{$category} {
|
||||||
|
Loading…
Reference in New Issue
Block a user