mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Implements patch policies #31914 - https://github.com/fleetdm/fleet/pull/40816 - https://github.com/fleetdm/fleet/pull/41248 - https://github.com/fleetdm/fleet/pull/41276 - https://github.com/fleetdm/fleet/pull/40948 - https://github.com/fleetdm/fleet/pull/40837 - https://github.com/fleetdm/fleet/pull/40956 - https://github.com/fleetdm/fleet/pull/41168 - https://github.com/fleetdm/fleet/pull/41171 - https://github.com/fleetdm/fleet/pull/40691 - https://github.com/fleetdm/fleet/pull/41524 - https://github.com/fleetdm/fleet/pull/41674 --------- Co-authored-by: Jonathan Katz <44128041+jkatz01@users.noreply.github.com> Co-authored-by: jkatz01 <yehonatankatz@gmail.com> Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Co-authored-by: Jahziel Villasana-Espinoza <jahziel@fleetdm.com>
108 lines
2.2 KiB
SCSS
108 lines
2.2 KiB
SCSS
.user-management {
|
|
.data-table-block {
|
|
.data-table__table {
|
|
thead {
|
|
// need specificity to override datatable css
|
|
th {
|
|
&.actions__header {
|
|
padding-left: 0;
|
|
}
|
|
&.status__header,
|
|
&.role__header {
|
|
width: 86px; // set to prevent expanding
|
|
}
|
|
}
|
|
}
|
|
|
|
tbody {
|
|
// need specificity to override datatable css
|
|
td.name__cell,
|
|
td.role__cell,
|
|
td.teams__cell,
|
|
td.status__cell,
|
|
td.email__cell {
|
|
max-width: $col-sm;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
td.status__cell,
|
|
td.role__cell {
|
|
white-space: nowrap; // Prevent No access from wrapping
|
|
}
|
|
|
|
td.actions__cell {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (min-width: ($break-lg)) {
|
|
.name__header,
|
|
.name__cell {
|
|
max-width: $col-md;
|
|
}
|
|
}
|
|
|
|
@media (max-width: ($break-sm - 1)) {
|
|
.email__header,
|
|
.email__cell {
|
|
display: none;
|
|
width: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: ($break-xs - 1)) {
|
|
.status__header,
|
|
.status__cell {
|
|
display: none;
|
|
width: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: ($break-mobile-md - 1)) {
|
|
.teams__header,
|
|
.teams__cell {
|
|
display: none;
|
|
width: 0;
|
|
}
|
|
|
|
// Splits header to 2 lines with user count on the first line
|
|
.table-container__header {
|
|
align-items: end;
|
|
&-left {
|
|
flex-direction: column;
|
|
width: initial;
|
|
align-items: start;
|
|
}
|
|
|
|
.table-container__search {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: ($break-mobile-sm - 1)) {
|
|
.role__header,
|
|
.role__cell {
|
|
display: none;
|
|
width: 0;
|
|
}
|
|
|
|
// Splits header to 3 lines; user count, wide add user button, wide search
|
|
.table-container__header {
|
|
flex-direction: column;
|
|
align-items: start;
|
|
width: 100%;
|
|
|
|
&-left {
|
|
width: 100%;
|
|
|
|
.controls,
|
|
.button {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|