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

135 lines
2.3 KiB
SCSS
Executable File

@import "/imports/ui/stylesheets/mixins/_scrollable";
@import "/imports/ui/stylesheets/mixins/_indicators";
@import "/imports/ui/stylesheets/variables/placeholders";
%list-item {
display: flex;
flex-flow: row;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
cursor: pointer;
[dir="rtl"] & {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
&:first-child {
margin-top: 0;
}
&:hover {
@extend %highContrastOutline;
background-color: var(--list-item-bg-hover);
}
&:active,
&:focus {
@extend %highContrastOutline;
outline-style: solid;
background-color: var(--list-item-bg-hover);
box-shadow: inset 0 0 0 var(--border-size) var(--item-focus-border), inset 1px 0 0 1px var(--item-focus-border);
}
}
/* Styling
* ==========
*/
.userList {
@extend %flex-column;
justify-content: flex-start;
background-color: var(--user-list-bg);
color: var(--user-list-text);
height: 100%;
}
.lists {
@extend %flex-column;
@extend %no-margin;
padding: 0;
padding-top: var(--border-size);
outline: none;
}
.participantsList {
padding: 0 0 var(--border-size) var(--border-size);
[dir="rtl"] & {
padding: 0 var(--border-size) var(--border-size) 0;
}
}
.participantsList,
.chatsList {
@extend .lists;
overflow-x: hidden;
flex-shrink: 1;
}
.participants,
.messages {
flex-grow: 0;
display: flex;
flex-flow: column;
flex-shrink: 0;
}
.messages {
max-height: 30vh;
}
.participants {
flex-basis: 31rem;
flex-grow: 1;
flex-shrink: 1;
overflow-x: hidden;
overflow-y: auto;
margin-top: (var(--lg-padding-x) / 2);
}
.smallTitle {
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
padding: 0 var(--sm-padding-x);
margin: 0 0 (var(--lg-padding-x) / 2) 0;
color: var(--color-gray);
}
.userListColumn {
@extend %flex-column;
min-height: 0;
flex-grow: 1;
}
.enter,
.appear {
opacity: 0.01;
}
.enterActive,
.appearActive {
opacity: 1;
:global(.animationsEnabled) & {
transition: all 600ms;
}
}
.leave {
opacity: 1;
}
.leaveActive {
opacity: 0;
:global(.animationsEnabled) & {
transition: all 600ms;
}
}