mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-09-28 16:09:49 +01:00
84 lines
1.7 KiB
SCSS
84 lines
1.7 KiB
SCSS
// Copyright 2025 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
@use '../../mixins';
|
|
@use '../../variables';
|
|
@use './FunConstants.scss';
|
|
|
|
.FunPanelEmojis__CustomizePreferredReactionsButton {
|
|
@include mixins.button-reset();
|
|
& {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
width: 32px;
|
|
height: 32px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: var(--axo-color-fill-primary);
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
@include mixins.keyboard-mode {
|
|
@include mixins.axo-focus-ring-inset;
|
|
}
|
|
}
|
|
}
|
|
|
|
.FunPanelEmojis__CustomizePreferredReactionsButton__Icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
|
|
@include mixins.color-svg(
|
|
'../images/icons/v3/settings/settings-compact.svg',
|
|
var(--axo-color-label-primary)
|
|
);
|
|
}
|
|
|
|
.FunPanelEmojis__CellPopover {
|
|
box-shadow: 0 7px 18px variables.$color-black-alpha-30;
|
|
|
|
&[data-placement='bottom'] {
|
|
.FunPanelEmojis__CellPopoverOverlayArrow svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
|
|
&[data-placement='right'] {
|
|
.FunPanelEmojis__CellPopoverOverlayArrow svg {
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
|
|
&[data-placement='left'] {
|
|
.FunPanelEmojis__CellPopoverOverlayArrow svg {
|
|
transform: rotate(-90deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
.FunPanelEmojis__CellPopoverDialog {
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
background: FunConstants.$Fun__BgColor;
|
|
backdrop-filter: FunConstants.$Fun__BgFilter;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
@include mixins.keyboard-mode {
|
|
@include mixins.axo-focus-ring-inset;
|
|
}
|
|
}
|
|
}
|
|
|
|
.FunPanelEmojis__CellPopoverOverlayArrow svg {
|
|
display: block;
|
|
fill: FunConstants.$Fun__BgColor;
|
|
backdrop-filter: FunConstants.$Fun__BgFilter;
|
|
}
|