mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
53 lines
904 B
SCSS
53 lines
904 B
SCSS
.Table {
|
|
&.scrollable {
|
|
&.light {
|
|
@include custom-scrollbar(dark);
|
|
}
|
|
|
|
@include custom-scrollbar();
|
|
flex: 1 0 0; // hackfix: flex-basis must be "0" for proper work in firefox
|
|
}
|
|
|
|
&.autoSize {
|
|
.TableCell {
|
|
flex: 1 0;
|
|
}
|
|
}
|
|
|
|
&.selectable {
|
|
.TableHead, .TableRow {
|
|
padding: 0 $padding;
|
|
}
|
|
|
|
.TableRow {
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: $tableBgcSelected !important;
|
|
}
|
|
|
|
&.selected {
|
|
background-color: $tableBgcSelected;
|
|
color: $tableSelectedRowColor;
|
|
|
|
&:before {
|
|
content: "";
|
|
background: $primary;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 4px;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.striped {
|
|
.TableRow {
|
|
&:nth-child(odd) {
|
|
background-color: $tableBgcStripe;
|
|
}
|
|
}
|
|
}
|
|
} |