1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/dashboard/client/components/table/table-head.scss
Jari Kolehmainen 1d0815abd2
Lens app source code (#119)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:52:02 +02:00

37 lines
649 B
SCSS

.TableHead {
$border: 1px solid $layoutBackground;
background-color: $tableHeaderBackground;
border-bottom-width: $tableHeaderBorderWidth;
border-bottom-style: solid;
border-bottom-color: $tableHeaderBorderColor;
color: $tableHeaderColor;
display: flex;
flex-shrink: 0;
&.topLine {
border-top: $border;
}
&.sticky {
position: -webkit-sticky; // safari
position: sticky;
z-index: 1;
top: 0; // turn on sticky behaviour
}
&.nowrap {
white-space: nowrap;
}
.TableCell {
display: flex;
align-items: center;
&.checkbox {
> .Checkbox {
margin: auto;
}
}
}
}