signal-desktop/stylesheets/components/CallingRaisedHandsList.scss

116 lines
2.3 KiB
SCSS
Raw Normal View History

2023-12-06 21:52:29 +00:00
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2024-11-15 23:09:31 +00:00
@use '../mixins';
@use '../variables';
2023-12-06 21:52:29 +00:00
.CallingRaisedHandsList {
width: 100%;
height: auto;
margin-block-end: auto;
overflow: auto;
2023-12-06 21:52:29 +00:00
}
.CallingRaisedHandsList__width-container {
display: flex;
flex-direction: column;
2023-12-06 21:52:29 +00:00
width: 320px;
height: auto;
padding-block: 1px;
padding-inline: 1px;
// This should be above .CallingRaisedHandsList__Button
margin-block-end: 72px;
2023-12-06 21:52:29 +00:00
margin-inline-start: 8px;
overflow: hidden;
2023-12-06 21:52:29 +00:00
}
.CallingRaisedHandsList__overlay {
background: transparent;
}
.CallingRaisedHandsList__overlay-container {
flex-direction: column;
padding: 0;
justify-content: flex-end;
align-items: start;
}
.CallingRaisedHandsList__Overlay {
align-items: start;
}
.CallingRaisedHandsList__TitleHint {
font-weight: normal;
}
.CallingRaisedHandsList .module-calling-participants-list__contact:last-child {
margin-block-end: 4px;
}
2023-12-06 21:52:29 +00:00
.CallingRaisedHandsList__Button {
2024-11-15 23:09:31 +00:00
@include mixins.button-reset;
& {
position: absolute;
inset-inline-start: 16px;
inset-block-end: 16px;
display: flex;
padding-block: 14px;
padding-inline: 12px;
background: variables.$color-white;
border-radius: 24px;
color: variables.$color-black;
font-size: 14px;
z-index: variables.$z-index-above-above-base;
}
@include mixins.keyboard-mode {
2023-12-06 21:52:29 +00:00
&:focus {
2024-11-15 23:09:31 +00:00
outline: 2px solid variables.$color-ultramarine;
2023-12-06 21:52:29 +00:00
}
}
}
.CallingRaisedHandsList__ButtonIcon {
display: inline-block;
$icon-size: 20px;
width: $icon-size;
height: $icon-size;
margin-inline-end: 4px;
content: '';
2024-11-15 23:09:31 +00:00
@include mixins.color-svg(
2023-12-06 21:52:29 +00:00
'../images/icons/v3/raise_hand/raise_hand-light.svg',
2024-11-15 23:09:31 +00:00
variables.$color-black
2023-12-06 21:52:29 +00:00
);
}
.CallingRaisedHandsList__NameHandIcon {
display: inline-block;
$icon-size: 16px;
width: $icon-size;
height: $icon-size;
content: '';
2024-11-15 23:09:31 +00:00
@include mixins.color-svg(
2023-12-06 21:52:29 +00:00
'../images/icons/v3/raise_hand/raise_hand-light.svg',
2024-11-15 23:09:31 +00:00
variables.$color-gray-15
2023-12-06 21:52:29 +00:00
);
}
.CallingRaisedHandsList__LowerMyHandLink {
2024-11-15 23:09:31 +00:00
@include mixins.button-reset;
& {
display: flex;
margin-inline-end: 16px;
font-size: 13px;
font-weight: 500;
color: variables.$color-ultramarine-pastel;
}
2023-12-06 21:52:29 +00:00
2024-11-15 23:09:31 +00:00
@include mixins.keyboard-mode {
2023-12-06 21:52:29 +00:00
&:focus {
2024-11-15 23:09:31 +00:00
outline: 2px solid variables.$color-ultramarine;
2023-12-06 21:52:29 +00:00
}
}
}