mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
107 lines
1.7 KiB
SCSS
107 lines
1.7 KiB
SCSS
@import './variables';
|
|
|
|
.table {
|
|
table-layout: fixed;
|
|
border-spacing: 0 2px;
|
|
border-collapse: separate;
|
|
}
|
|
|
|
.tableHead {
|
|
background: inherit;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.tableRow {
|
|
&__selected {
|
|
background-color: $slate-800;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
.expandedRowContent {
|
|
max-height: 400px;
|
|
overflow: auto;
|
|
background-color: $slate-950;
|
|
padding: 12px;
|
|
}
|
|
|
|
.expandButton {
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0 2px;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background-color 0.15s ease-in-out;
|
|
border-radius: 4px;
|
|
|
|
&:hover {
|
|
background-color: $slate-800;
|
|
}
|
|
|
|
&:focus,
|
|
&:focus-visible {
|
|
background-color: $slate-800;
|
|
outline: none;
|
|
}
|
|
|
|
&:active {
|
|
outline: none;
|
|
box-shadow: none;
|
|
background-color: $slate-800;
|
|
}
|
|
|
|
svg {
|
|
transition: transform 0.2s ease-in-out;
|
|
transform-origin: center;
|
|
}
|
|
|
|
&.expanded svg {
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
|
|
.expandButtonSeparator {
|
|
width: 1px;
|
|
height: 12px;
|
|
border-right: 1px solid $slate-800;
|
|
margin-left: 2px;
|
|
margin-right: 2px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.rowContentButton {
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: stretch;
|
|
text-align: left;
|
|
color: inherit;
|
|
transition: background-color 0.15s ease-in-out;
|
|
border-radius: 4px;
|
|
|
|
&:hover {
|
|
background-color: $slate-800;
|
|
}
|
|
|
|
&:focus,
|
|
&:focus-visible {
|
|
background-color: $slate-800;
|
|
outline: none;
|
|
}
|
|
|
|
&:active {
|
|
outline: none;
|
|
box-shadow: none;
|
|
background-color: $slate-800;
|
|
}
|
|
}
|