mirror of
https://github.com/fleetdm/fleet
synced 2026-05-17 22:18:39 +00:00
- Refactor imports of PropTypes to use the prop-types package - Upgrade dependencies that were setting off deprecation warnings
180 lines
3.2 KiB
SCSS
180 lines
3.2 KiB
SCSS
.user-block {
|
|
transition: border 300ms ease-in-out, background-color 300ms ease-in-out;
|
|
background-color: $white;
|
|
display: inline-block;
|
|
height: 440px;
|
|
margin-left: 30px;
|
|
margin-top: 30px;
|
|
position: relative;
|
|
width: 240px;
|
|
box-shadow: 0 2px 12px 0 rgba(102, 105, 111, 0.12);
|
|
border: solid 0.5px rgba(156, 163, 172, 0.35);
|
|
border-radius: 2px;
|
|
|
|
&--invited {
|
|
border: 1px dashed $brand;
|
|
}
|
|
|
|
&--disabled {
|
|
background-color: $bg-medium;
|
|
}
|
|
|
|
&__header {
|
|
transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
|
|
background-color: $bg-light;
|
|
border-bottom: 1px solid $accent-light;
|
|
color: $text-ultradark;
|
|
height: 51px;
|
|
margin-bottom: $pad-xsmall;
|
|
text-align: center;
|
|
width: 100%;
|
|
border-radius: 2px 2px 0 0;
|
|
|
|
&--admin {
|
|
background-color: $brand;
|
|
color: $white;
|
|
}
|
|
|
|
&--user {
|
|
background-color: $white;
|
|
color: $text-ultradark;
|
|
}
|
|
|
|
&--invited {
|
|
background-color: #f9f0ff;
|
|
color: #515762;
|
|
}
|
|
|
|
&--disabled {
|
|
background-color: $text-light;
|
|
color: $text-ultradark;
|
|
}
|
|
}
|
|
|
|
&__header-name {
|
|
line-height: 51px;
|
|
margin: 0;
|
|
padding: 0;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
font-weight: $light;
|
|
font-size: $base;
|
|
}
|
|
|
|
&__details {
|
|
padding: 0 $pad-large;
|
|
|
|
.Select {
|
|
position: absolute;
|
|
bottom: $pad-large;
|
|
width: calc(239px - (#{$pad-large} * 2));
|
|
}
|
|
}
|
|
|
|
&__avatar {
|
|
@include size(100px);
|
|
transition: border 300ms ease-in-out;
|
|
border: 1px solid $text-medium;
|
|
filter: none;
|
|
display: block;
|
|
margin: 0 auto;
|
|
|
|
&--enabled {
|
|
border: 1px solid $brand;
|
|
}
|
|
}
|
|
|
|
&__status-wrapper {
|
|
border-top: 1px solid $border-medium;
|
|
border-bottom: 1px solid $border-medium;
|
|
margin-top: $pad-xsmall;
|
|
padding: $pad-xsmall 0;
|
|
}
|
|
|
|
&__status-label {
|
|
transition: color 300ms ease-in-out;
|
|
float: left;
|
|
font-weight: $bold;
|
|
font-size: $medium;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
&__status-text {
|
|
transition: color 300ms ease-in-out;
|
|
float: right;
|
|
text-transform: uppercase;
|
|
font-weight: $light;
|
|
font-size: $medium;
|
|
letter-spacing: 1px;
|
|
|
|
&--invited {
|
|
color: $brand;
|
|
}
|
|
|
|
&--enabled {
|
|
color: $success;
|
|
}
|
|
|
|
&--disabled {
|
|
color: $text-medium;
|
|
}
|
|
}
|
|
|
|
&__username {
|
|
transition: color 300ms ease-in-out;
|
|
color: $text-medium;
|
|
font-size: $medium;
|
|
text-transform: uppercase;
|
|
line-height: $larger;
|
|
margin: 0;
|
|
letter-spacing: 1px;
|
|
|
|
&--enabled {
|
|
color: $brand;
|
|
}
|
|
|
|
&--hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&__position {
|
|
@include ellipsis;
|
|
font-size: $small;
|
|
line-height: $larger;
|
|
margin: 0;
|
|
letter-spacing: 0.5px;
|
|
color: $text-ultradark;
|
|
font-weight: $light;
|
|
|
|
&--hidden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&__email {
|
|
transition: color 300ms ease-in-out;
|
|
color: $link;
|
|
font-size: $small;
|
|
line-height: $larger;
|
|
margin: 0;
|
|
|
|
&--disabled {
|
|
color: $text-medium;
|
|
}
|
|
}
|
|
|
|
&__last-seen {
|
|
font-size: $mini;
|
|
line-height: $larger;
|
|
margin: 0;
|
|
color: $text-medium;
|
|
}
|
|
}
|
|
|
|
.revoke-invite {
|
|
position: absolute;
|
|
width: 189px;
|
|
bottom: 43px;
|
|
}
|