Skip to content
Snippets Groups Projects
Commit d8f4be5b authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Update tabulator table

parent 42f80c2b
No related branches found
No related tags found
1 merge request!155Update tabulator table
Pipeline #92347 failed
import {css} from 'lit';
export function getTabulatorStyles() {
// language=css
return css`
/* Define the style when the column is not sorted */
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="none"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{
border-top: none;
border-bottom: 6px solid var(--dbp-muted);
}
/* Define the style when the column is sorted in ascending order */
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="asc"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{
border-top: none;
border-bottom: 6px solid var(--dbp-accent);
}
/* Define the style when the column is sorted in descending order */
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="desc"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{
border-bottom: none;
border-top: 6px solid var(--dbp-accent);
color: var(--dbp-accent);
}
.tabulator-row, .tabulator-row.tabulator-row-even, .tabulator-row.tabulator-row-odd{
padding-top: 0px;
padding-bottom: 0px;
}
.tabulator-row .tabulator-cell{
padding-top: 20px;
padding-bottom: 20px;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right, .tabulator-row .tabulator-frozen.tabulator-frozen-right{
background-color: var(--dbp-background);
color: var(--dbp-content);
}
`;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment