mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* Setting global webkit-scrollbar styles Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing usage of custom-scrollbar mixin Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Set overflow:auto on .Table Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fixing .drawer-content paddings Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Cleaning up Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
48 lines
748 B
SCSS
48 lines
748 B
SCSS
.Table {
|
|
&.autoSize {
|
|
.TableCell {
|
|
flex: 1 0;
|
|
}
|
|
}
|
|
|
|
&.scrollable {
|
|
overflow: auto;
|
|
}
|
|
|
|
&.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;
|
|
}
|
|
}
|
|
}
|
|
} |