signal-desktop/stylesheets/components/CompositionRecording.scss

50 lines
910 B
SCSS
Raw Normal View History

2023-03-02 20:55:40 +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-03-02 20:55:40 +00:00
.CompositionRecording {
display: flex;
align-items: center;
gap: 12px;
2023-04-20 17:03:43 +00:00
padding-block: 10px;
padding-inline: 18px;
2023-03-02 20:55:40 +00:00
&__wave {
display: flex;
align-items: center;
gap: 8px;
flex: 1;
border-radius: 16px;
height: 32px;
2023-04-20 17:03:43 +00:00
padding-block: 6px;
padding-inline: 12px;
2023-03-02 20:55:40 +00:00
2024-11-15 23:09:31 +00:00
@include mixins.light-theme {
background: variables.$color-gray-05;
2023-03-02 20:55:40 +00:00
}
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme {
background: variables.$color-gray-75;
2023-03-02 20:55:40 +00:00
}
}
&__microphone {
display: inline-block;
height: 20px;
width: 20px;
2024-11-15 23:09:31 +00:00
@include mixins.color-svg(
2023-05-04 18:04:22 +00:00
'../images/icons/v3/mic/mic-fill.svg',
2024-11-15 23:09:31 +00:00
variables.$color-accent-red
2023-03-02 20:55:40 +00:00
);
2024-11-15 23:09:31 +00:00
& {
animation: pulse 2s infinite;
}
2023-03-02 20:55:40 +00:00
}
&__timer {
min-width: 40px;
2023-04-20 17:03:43 +00:00
text-align: end;
2023-03-02 20:55:40 +00:00
}
}