mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[IMP] runbot_merge: have staging borders vary based on theme
Previously the color was hard-coded to lightgray, compose it from the body and bg colors so they match the color theme. Part of #1088
This commit is contained in:
parent
6f65836a22
commit
3b230a9a8d
@ -1,3 +1,11 @@
|
||||
:root {
|
||||
--border-color: color-mix(
|
||||
in oklch,
|
||||
var(--body-color) 30%,
|
||||
var(--body-bg)
|
||||
)
|
||||
}
|
||||
|
||||
.bg-unmerged {
|
||||
background-color: color-mix(
|
||||
in lab,
|
||||
@ -37,7 +45,7 @@ html {
|
||||
padding: 0.1em 0.1em 0.1em 0.5em;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-right: 1px solid lightgray;
|
||||
border-right: 1px solid var(--border-color);
|
||||
}
|
||||
}
|
||||
.batch {
|
||||
@ -47,7 +55,7 @@ html {
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid lightgray;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user