signal-desktop/stylesheets/components/PlaybackRateButton.scss
Henry Wilkinson 8ac77aa9f4 Remove x icon
Replaces with typographical "×" character to reduce confusion with close icons elsewhere.
2023-12-08 15:27:39 -08:00

51 lines
1 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.PlaybackRateButton {
@include button-reset;
@include font-body-2-bold;
width: 38px;
height: 18px;
text-align: center;
font-weight: 700;
border-radius: 4px;
font-size: 11px;
padding-block: 1px;
padding-inline: 2px;
margin-block: -2px;
margin-inline: 0;
line-height: 16px;
letter-spacing: 0.05px;
user-select: none;
&--message-incoming {
@include light-theme {
color: $color-gray-60;
background: $color-black-alpha-08;
}
@include dark-theme {
color: $color-gray-25;
background: $color-white-alpha-08;
}
}
&--message-outgoing {
color: $color-white-alpha-80;
background: $color-white-alpha-20;
}
&--mini-player {
@include light-theme {
color: $color-gray-60;
background: $color-black-alpha-08;
}
@include dark-theme {
color: $color-gray-25;
background: $color-white-alpha-08;
}
}
&::after {
content: '×';
}
}