fleet/frontend/pages/admin/UserManagementPage/_styles.scss
Noah Talerman 124d272b38
Update the columns and elements the Fleet UI shows/hides at breakpoints (#5186)
* Revisions to the specification in the "Make table behavior in the Fleet UI consistent down to 768px" issue: #3052
2022-04-18 13:36:25 -04:00

141 lines
2.8 KiB
SCSS

.user-management {
padding: 0;
&__page-description {
font-size: $x-small;
color: $core-fleet-black;
@include sticky-settings-description;
padding-bottom: $pad-medium;
}
&__wrapper {
border: solid 1px $ui-fleet-blue-15;
border-radius: 6px;
margin-top: $pad-medium;
}
&__header {
font-size: $large;
}
&__heading-wrapper {
width: 100%;
}
&__smtp-warning-wrapper {
width: 100%;
}
&__config-button {
text-decoration: none;
color: $core-vibrant-blue;
font-size: $x-small;
margin-left: $pad-medium;
}
&__user-count {
font-size: $x-small;
font-weight: $bold;
color: $core-fleet-black;
margin: 0;
}
&__add-user-wrap {
display: flex;
justify-content: space-between;
align-items: center;
}
&__users {
display: flex;
flex-wrap: wrap;
clear: both;
}
&__invite-modal {
&.modal__modal_container {
width: 540px;
}
}
.data-table-block {
.data-table__table {
thead {
.name__header {
width: $col-md;
}
.role__header {
width: $col-md;
border-right: none;
}
.teams__header {
display: none;
width: 0;
}
.status__header {
display: none;
width: 0;
}
.actions__header {
width: auto;
}
@media (min-width: $break-990) {
.role__header {
border-right: 1px solid $ui-fleet-blue-15;
}
.teams__header {
display: table-cell;
width: $col-md;
border-right: none;
}
}
@media (min-width: $break-1400) {
.teams__header {
border-right: 1px solid $ui-fleet-blue-15;
}
.status__header {
display: table-cell;
width: $col-md;
border-right: none;
}
}
@media (min-width: $break-1600) {
.teams__header {
border-right: 1px solid $ui-fleet-blue-15;
}
}
}
tbody {
.name__cell {
max-width: $col-md;
}
.role__cell {
max-width: $col-md;
}
.teams__cell {
display: none;
max-width: $col-md;
.grey-cell {
color: $ui-fleet-black-50;
font-style: italic;
}
}
.status__cell {
display: none;
max-width: $col-md;
}
.actions__cell {
width: auto;
}
@media (min-width: $break-990) {
.teams__cell {
display: table-cell;
}
}
@media (min-width: $break-1400) {
.status__cell {
display: table-cell;
}
}
}
}
}
}