bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/user-avatar/styles.scss

63 lines
1.2 KiB
SCSS
Raw Normal View History

@import '../../stylesheets/variables/palette';
/* Variables
* ==========
*/
$user-avatar-border: $color-gray-light;
$user-avatar-text: $user-avatar-border;
$voice-user-bg: $color-success;
2016-06-28 21:10:20 +08:00
$voice-user-text: $color-gray-light;
$moderator-text: $color-white;
$moderator-bg: $color-primary;
.userAvatar {
2016-07-05 04:44:29 +08:00
// @extend .flex-column;
flex-basis: 2.2rem;
height: 2.2rem;
flex-shrink: 0;
2016-07-05 04:44:29 +08:00
line-height: 2.2rem;
justify-content: center;
2016-07-05 04:44:29 +08:00
position: relative;
display: flex;
flex-flow: column;
2016-06-28 21:10:20 +08:00
font-size: 1rem;
text-align: center;
border-radius: 50%;
2016-07-05 04:44:29 +08:00
color: $color-white;
2016-06-28 21:10:20 +08:00
text-transform: capitalize;
}
2016-07-05 04:44:29 +08:00
.userStatus {
position: absolute;
background-color: $color-white;
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
top: 1.5rem;
left: 1.5rem;
-webkit-box-shadow: 0 0 0 1px $color-white;
-moz-box-shadow: 0 0 0 1px $color-white;
box-shadow: 0 0 0 1px $color-white;
background-color: $color-success;
transition: all 0.3s;
}
2016-07-05 04:44:29 +08:00
.moderator {
border: 1px solid $color-gray-light;
border-radius: 2px;
2016-07-05 04:44:29 +08:00
background-color: $color-white;
}
2016-07-05 04:44:29 +08:00
.presenter {
background-color: $moderator-bg;
2016-07-05 04:44:29 +08:00
border-radius: 2px;
border: none;
}
2016-07-05 04:44:29 +08:00
.guest {
background-color: $color-white;
border: 1px solid $color-gray-light;
}