mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
32 lines
699 B
CSS
32 lines
699 B
CSS
.controls {
|
|||
|
|
position: sticky;
|
||
|
|
z-index: 1;
|
||
|
|
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: var(--space-4);
|
||
|
|
|
||
|
|
margin-block: calc(-1 * var(--space-4));
|
||
|
|
padding-block: var(--space-4);
|
||
|
|
|
||
|
|
/* Bleeds across the page gutters so results don't peek out beside it */
|
||
|
|
&[data-surface="page"] {
|
||
|
|
top: var(--navbar-big-height, 0);
|
||
|
|
|
||
|
|
margin-inline: calc(-1 * var(--page-padding));
|
||
|
|
padding-inline: var(--page-padding);
|
||
|
|
|
||
|
|
background-color: var(--gray-1);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Cancels the overlay's padding, which sticky offsets are measured inside of */
|
||
|
|
&[data-surface="dialog"] {
|
||
|
|
top: calc(-1 * var(--space-4));
|
||
|
|
|
||
|
|
background-color: var(--gray-2);
|
||
|
|
}
|
||
|
|
|
||
|
|
.filters {
|
||
|
|
overflow-x: auto;
|
||
|
|
}
|
||
|
|
}
|