signal-desktop/stylesheets/components/CallSettingsButton.scss

63 lines
1.4 KiB
SCSS
Raw Normal View History

2023-10-25 13:40:22 +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-10-25 13:40:22 +00:00
@mixin CallSettingsButton-icon($path) {
2024-11-15 23:09:31 +00:00
@include mixins.color-svg($path, variables.$color-gray-15);
2023-10-25 13:40:22 +00:00
}
.CallSettingsButton__Button {
align-items: center;
2024-11-15 23:09:31 +00:00
background-color: variables.$color-gray-78;
2023-10-25 13:40:22 +00:00
border: none;
border-radius: 40px;
display: flex;
2023-10-27 13:17:13 +00:00
height: 36px;
2023-10-25 13:40:22 +00:00
justify-content: center;
outline: none;
2023-10-27 13:17:13 +00:00
width: 36px;
2023-10-25 13:40:22 +00:00
2024-11-15 23:09:31 +00:00
@include mixins.keyboard-mode {
2023-10-25 13:40:22 +00:00
&:focus {
outline-offset: 1px;
2024-11-15 23:09:31 +00:00
outline: 2px solid variables.$color-ultramarine;
2023-10-25 13:40:22 +00:00
}
}
}
.CallSettingsButton__Icon {
2023-10-27 13:17:13 +00:00
height: 20px;
width: 20px;
2023-10-25 13:40:22 +00:00
border: none;
}
.CallSettingsButton__Icon--Cancel {
@include CallSettingsButton-icon('../images/icons/v3/x/x.svg');
}
2024-11-13 17:39:43 +00:00
.CallSettingsButton__Icon--SidebarView {
@include CallSettingsButton-icon(
'../images/icons/v3/sidebar_view/sidebar_view.svg'
);
}
.CallSettingsButton__Icon--PaginatedView {
2023-10-25 13:40:22 +00:00
@include CallSettingsButton-icon('../images/icons/v3/grid/grid.svg');
}
.CallSettingsButton__Icon--Pip {
@include CallSettingsButton-icon('../images/icons/v3/pip/pip.svg');
}
.CallSettingsButton__Icon--Settings {
@include CallSettingsButton-icon('../images/icons/v3/settings/settings.svg');
}
.CallSettingsButton__Icon--SpeakerView {
@include CallSettingsButton-icon(
'../images/icons/v3/speaker_view/speaker_view.svg'
);
}