fleet/frontend/pages/admin/UserManagementPage/_styles.scss
Martavis Parker 1165e6c172
Create/Edit user error handling (#2173)
* better error handling; fixed styles

* changes file

* lint fixes
2021-09-28 13:30:36 -07:00

149 lines
2.4 KiB
SCSS

.user-management {
padding: $pad-xlarge;
&__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;
}
&__table {
border-collapse: collapse;
color: $core-fleet-black;
font-size: $x-small;
width: 100%;
}
tr {
border-bottom: 1px solid $ui-fleet-blue-15;
&:last-child {
border-bottom: 0;
}
}
thead {
background-color: $ui-off-white;
color: $core-fleet-black;
text-align: left;
border-bottom: 1px solid $ui-fleet-blue-15;
th {
padding: 18px 30px;
white-space: nowrap;
border-radius: 6px 0;
&:last-child {
min-width: 80px;
}
}
}
tbody {
td {
padding: 0 30px;
white-space: nowrap;
}
.user-row__actions {
padding: 4px 30px;
width: 120px;
float: right;
}
}
&__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 {
&__status {
&--active {
&:before {
background-color: $ui-success;
}
}
&--no-access {
&:before {
background-color: $ui-offline;
}
}
&--invite-pending {
&:before {
background-color: $ui-warning;
}
}
}
.grey-cell {
color: $ui-fleet-black-50;
font-style: italic;
}
}
&__create-user-modal,
&__edit-user-modal {
.loading-spinner {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
display: flex;
align-items: center;
background: rgba(255,255,255,0.75);
z-index: 1;
border-radius: 8px;
}
}
}