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

124 lines
1.9 KiB
SCSS
Raw Normal View History

2016-05-17 21:52:27 +08:00
@import '../../stylesheets/variables/palette';
/* Variables
* ==========
*/
$unread-messages-bg: $color-danger;
2016-05-26 03:29:22 +08:00
$user-list-bg: $color-white;
$user-list-text: $color-gray-dark;
2016-05-26 03:29:22 +08:00
$list-item-bg-hover: darken($user-list-bg, 7%);
2016-05-17 21:52:27 +08:00
$user-thumbnail-border: $color-gray-light;
$user-thumbnail-text: $user-thumbnail-border;
2016-05-26 03:29:22 +08:00
$voice-user-bg: $color-success;
$voice-user-text: $color-white;
2016-05-17 21:52:27 +08:00
$moderator-text: $color-white;
$moderator-bg: $color-primary;
2016-05-17 21:52:27 +08:00
$sub-name-color: $color-gray-light;
2016-05-17 21:52:27 +08:00
$user-icons-color: $color-gray-light;
$user-icons-color-hover: $color-gray;
2016-05-17 21:52:27 +08:00
/* classes for extending
* ==========
*/
.flex-column {
display: flex;
flex-flow: column;
2016-05-26 03:29:22 +08:00
}
2016-05-17 21:52:27 +08:00
.no-margin {
margin: 0;
2016-05-17 21:52:27 +08:00
}
.list-item {
padding: 0.3rem;
padding-left: 0.5rem;
padding-right: 0.6rem;
margin-left: 0.7rem;
2016-05-17 21:52:27 +08:00
display: flex;
flex-flow: row;
transition: all 0.3s;
margin-top: 0.9rem;
2016-05-17 21:52:27 +08:00
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
2016-05-26 03:29:22 +08:00
&:hover,
&:focus {
background-color: $list-item-bg-hover;
2016-05-17 21:52:27 +08:00
}
&:first-child {
margin-top: 0;
2016-05-17 21:52:27 +08:00
}
&:last-child {
margin-bottom: 1.2rem;
2016-05-17 21:52:27 +08:00
}
}
/* Styling
* ==========
*/
.userList {
2016-05-26 03:29:22 +08:00
@extend .flex-column;
justify-content: flex-start;
background-color: $user-list-bg;
color: $user-list-text;
height: 100vh;
2016-05-17 21:52:27 +08:00
}
.header {
2016-05-26 03:29:22 +08:00
@extend .flex-column;
2016-05-17 21:52:27 +08:00
justify-content: center;
min-height: 3.9rem;
flex-grow: 0;
2016-05-26 03:29:22 +08:00
}
2016-05-17 21:52:27 +08:00
.headerTitle {
2016-05-20 02:22:56 +08:00
font-size: 1.05rem;
font-weight: 600;
margin-left: 1.3rem;
2016-05-17 21:52:27 +08:00
}
.content {
2016-05-26 03:29:22 +08:00
@extend .flex-column;
flex-grow: 9;
2016-05-17 21:52:27 +08:00
}
.lists {
2016-05-26 03:29:22 +08:00
@extend .flex-column;
@extend .no-margin;
padding: 0;
2016-05-26 03:29:22 +08:00
}
2016-05-20 02:22:56 +08:00
.participantsList,
.chatsList {
@extend .lists;
2016-05-17 21:52:27 +08:00
}
.smallTitle {
2016-05-26 03:29:22 +08:00
color: $color-text;
font-size: 0.9rem;
font-weight: 700;
2016-05-26 03:29:22 +08:00
text-transform: uppercase;
margin: 0.2rem 1.3rem;
margin-bottom: 0.6rem;
2016-05-20 02:22:56 +08:00
}
.scrollableList {
2016-05-20 02:22:56 +08:00
overflow: auto;
2016-05-17 21:52:27 +08:00
}
.participants {
display: flex;
flex-flow: column;
}