fleet/frontend/components/TableContainer/DataTable/_styles.scss
RachelElysia 05691d49ca
Schedule Page - New Feature! (#1333)
- Schedule page functionality: Create (modal), delete (modal), view schedule, advanced options
- Replaces Packs tab with Schedules tab
- Updates e2e tests, mocks, stubs, etc
- Defaults logging type to snapshot for packs
- Adds conversion helpers and tests helper functions
- Adds global_scheduled_queries to redux
2021-07-26 14:41:36 -04:00

146 lines
2.7 KiB
SCSS

.data-table-container {
position: relative;
.data-table {
&__wrapper {
position: relative;
border: solid 1px $ui-fleet-blue-15;
border-radius: 6px;
margin-top: $pad-small;
box-shadow: inset -8px 0 17px -10px #e8edf4;
}
&__table {
position: relative;
width: 100%;
border-collapse: collapse;
color: $core-fleet-black;
font-size: $x-small;
}
tr {
border-bottom: 1px solid $ui-fleet-blue-15;
&:last-child {
border-bottom: 0;
}
// override styles of checkbox data cells
.form-field--checkbox {
margin-bottom: 0;
.kolide-checkbox__label {
padding-left: 0;
}
}
}
thead {
background-color: $ui-off-white;
color: $core-fleet-black;
text-align: left;
border-bottom: 1px solid $ui-fleet-blue-15;
th {
padding: $pad-medium 27px;
white-space: nowrap;
border-right: 1px solid $ui-fleet-blue-15;
&:last-child {
border-right: none;
width: 180px;
}
}
}
.active-selection {
position: absolute;
top: 0px;
width: 100%;
border: 0;
&__container {
padding: 0 27px;
}
&__inner {
display: flex;
justify-content: space-between;
align-items: center;
p {
margin: 0 $pad-medium 0 0;
font-weight: $regular;
span {
font-weight: $bold;
}
}
button {
margin-right: $pad-medium;
}
}
&__inner-left,
&__inner-right {
display: flex;
align-items: center;
}
}
tbody {
td {
padding: 0px 27px;
white-space: nowrap;
height: 40px;
// form-field wraps the dropdown menu
.form-field {
margin: 0;
}
.Select-control {
background-color: $core-white;
border: none;
}
}
}
&__hostname {
color: $core-fleet-black;
}
&__status {
color: $core-fleet-blue;
text-transform: capitalize;
&:before {
border-radius: 100%;
content: " ";
display: inline-block;
height: 8px;
margin-right: $pad-small;
width: 8px;
margin-bottom: 1px;
}
&--online:before {
background-color: $ui-success;
}
&--offline:before {
background-color: $ui-offline;
}
}
.loading-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255, 255, 255, 0.8);
z-index: 1;
}
}
}