fleet/frontend/components/DataTable/_styles.scss
Gabe Hernandez d0ded91d0b partial implementation of user table with generic table and new create user form (#500)
* use new data table in user manage page'

* remove default empty array hiddenColumns props, was causing render performance problems

* remove unused tooltip in hostcontainer

* add search to user manage table

* add query params to user GET requests

* move createUserForm closer to user management page

* starting to implement create user modal

* starting to add team checking functionality to create user

* styling of select team form

* changing logic for selectedTeamsForm, simplifying

* updated SelectedTeamsForm to handle own state and pass back relevant state to parent

* created reusable infobanner component and use it in osquery options page

* use infobanner in createuserform

* create new Radio component and use in createuserform

* create new Radio component and use in createuserform

* added new radio buttons to createUserForm

* finish custom radio button styling

* finish styling of radio in createUserForm

* fix and add entities/users#loadAll tests

* remove unneeded tests and updated broken ones on UserManagementPage

* remove unused modules
2021-03-31 11:58:29 -07:00

107 lines
1.9 KiB
SCSS

.data-table-container {
position: relative;
&__topper {
position: absolute;
top: -38px;
}
&__results-count {
font-size: $x-small;
font-weight: $bold;
color: $core-black;
margin: 0;
}
.data-table {
&__wrapper {
border: solid 1px $ui-borders;
border-radius: 6px;
margin-top: $pad-half;
overflow: scroll;
box-shadow: inset -8px 0 17px -10px #e8edf4;
}
&__table {
width: 100%;
border-collapse: collapse;
color: $core-black;
font-size: $x-small;
}
tr {
border-bottom: 1px solid $ui-borders;
&:last-child {
border-bottom: 0;
}
}
thead {
background-color: $core-light-blue-grey;
color: $core-black;
text-align: left;
border-bottom: 1px solid $ui-borders;
th {
padding: 16px 27px;
white-space: nowrap;
border-right: 1px solid $ui-borders;
&:last-child {
border-right: none;
}
}
}
tbody {
td {
padding: 12px 27px;
white-space: nowrap;
}
}
&__hostname {
color: $core-black;
}
&__status {
color: $core-dark-blue-grey;
text-transform: capitalize;
&--online {
&:before {
background-color: $success;
border-radius: 100%;
content: ' ';
display: inline-block;
height: 8px;
margin-right: 8px;
width: 8px;
}
}
&--offline {
&:before {
background-color: $ui-dark-grey;
border-radius: 100%;
content: ' ';
display: inline-block;
height: 8px;
margin-right: 8px;
width: 8px;
}
}
}
.loading-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255, 255, 255, 0.8);
z-index: 1;
}
}
}