Move grid-specific styling out of theme styles

This commit is contained in:
jeffvli 2023-01-06 23:52:05 -08:00
parent 838c6a8b6a
commit 3bbddcf092

View file

@ -1,11 +1,11 @@
.ag-header-fixed { .ag-header-fixed {
position: fixed !important; position: fixed !important;
top: 61px; top: 61px;
z-index: 5; z-index: 15;
background: #181818 !important; background: var(--table-header-bg) !important;
margin: 0 -2rem; margin: 0 -2rem;
padding: 0 2rem; padding: 0 2rem;
border-bottom: 1px solid hsla(0, 0%, 100%, 0.1); border-bottom: 1px solid var(--table-border-color);
box-shadow: 0 -1px 0 0 #181818; box-shadow: 0 -1px 0 0 #181818;
transition: position 0.2s ease-in-out; transition: position 0.2s ease-in-out;
} }
@ -13,3 +13,37 @@
.ag-header-fixed-margin { .ag-header-fixed-margin {
margin-top: 49px !important; margin-top: 49px !important;
} }
.ag-header-cell-comp-wrapper {
margin: 0.5rem 0.5rem;
}
.ag-cell-rating,
.ag-cell-favorite {
display: none;
}
.ag-cell-rating.visible {
display: block;
}
.ag-cell-favorite.visible {
display: block;
}
.ag-row-hover {
.ag-cell-rating,
.ag-cell-favorite {
display: block;
}
}
.ag-header-cell,
.ag-header-group-cell {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.ag-header-cell-resize {
background-color: transparent;
}