feat(webapp): add blurry background to sticky data table cells
Add backdrop-filter blur effect to sticky column cells in financial reports to prevent content from showing through during horizontal scrolling. The effect only applies when rows are not hovered to preserve hover background interactions.
This commit is contained in:
@@ -385,6 +385,20 @@
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
|
||||
body.bp4-dark & {
|
||||
background: rgba(28, 33, 39, 0.6);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Sticky cells in table body: blurred transparent background so content doesn't show through
|
||||
.bigcapital-datatable.has-sticky {
|
||||
&.table-constrant .table .tbody .tr:not(:hover) .td[data-sticky-td],
|
||||
&.table--constrant .table .tbody .tr:not(:hover) .td[data-sticky-td] {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
|
||||
body.bp4-dark & {
|
||||
background: rgba(28, 33, 39, 0.6);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user