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

86 lines
1.6 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-07-06 00:54:45 +08:00
font-size: 1.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;
2016-07-09 03:09:16 +08:00
width: 0.70rem;
height: 0.70rem;
border-radius: 2px;
top: 0;
left: 0;
2016-07-05 04:44:29 +08:00
-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;
transition: all 0.3s;
}
2016-07-05 04:44:29 +08:00
.moderator {
border: 1px solid $color-gray-light;
background-color: $color-white;
}
2016-07-05 04:44:29 +08:00
.presenter {
background-color: $moderator-bg;
border: none;
}
2016-07-05 04:44:29 +08:00
2016-07-09 03:09:16 +08:00
.userMediaStatus {
display: flex;
justify-content: center;
position: absolute;
border-radius: 50%;
width: 0.70rem;
height: 0.70rem;
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;
transition: all 0.3s;
background-color: $color-success;
}
.voiceOnly {
2016-07-05 04:44:29 +08:00
border: 1px solid $color-gray-light;
2016-07-09 03:09:16 +08:00
background-color: $color-white;
}
.microphone {
}
.microphoneMuted {
width: 2px;
transform: rotate(45deg);
height: 0.7rem;
background-color: $color-white;
2016-07-05 04:44:29 +08:00
}