[FIX] web: table rows' contextual color

Increase readability for contextual (success, warning..) table rows.
This commit is contained in:
sri-odoo
2018-09-24 12:16:12 +02:00
committed by qsm-odoo
parent 8052553893
commit 2b9cad5953
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -78,8 +78,8 @@ $headings-font-weight: bold;
//
// Customizes the `.table` component with basic values, each used across all table variations.
$table-accent-bg: #EFEFF8; // FIXME: expose
$table-hover-bg: darken($table-accent-bg, 5%);
$table-accent-bg: rgba($black, .01);
$table-hover-bg: rgba($black, .04);
// Dropdowns
//
@@ -85,6 +85,11 @@
display: table-cell;
}
// Contextual classes
@each $color, $value in $theme-colors {
$safe: saturate(theme-color-level($color, 2), 10%);
@include text-emphasis-variant(".text-#{$color}", $safe);
}
// Grouped list views
tbody > tr.o_group_header {