mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-10 10:24:44 +00:00
update styling (dark bg on menu open + chevron white + chevron up)
This commit is contained in:
@@ -14,7 +14,10 @@ Please see LICENSE in the repository root for full details.
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
}
|
||||
.containerOpen {
|
||||
background-color: var(--cpd-color-bg-subtle-primary);
|
||||
background-color: var(--cpd-color-bg-action-primary-pressed);
|
||||
}
|
||||
.chevronIconOpen > svg {
|
||||
color: var(--cpd-color-icon-on-solid-primary);
|
||||
}
|
||||
.menuButton {
|
||||
width: 40px;
|
||||
|
||||
@@ -16,6 +16,7 @@ import { t } from "i18next";
|
||||
import {
|
||||
CheckIcon,
|
||||
ChevronUpIcon,
|
||||
ChevronDownIcon,
|
||||
MicOffSolidIcon,
|
||||
MicOnIcon,
|
||||
MicOnSolidIcon,
|
||||
@@ -171,8 +172,11 @@ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
|
||||
trigger={
|
||||
<Button
|
||||
iconOnly
|
||||
className={styles.menuButton}
|
||||
Icon={ChevronUpIcon}
|
||||
className={classNames({
|
||||
[styles.menuButton]: true,
|
||||
[styles.chevronIconOpen]: menuOpen,
|
||||
})}
|
||||
Icon={menuOpen ? ChevronUpIcon : ChevronDownIcon}
|
||||
kind={"tertiary"}
|
||||
size="lg"
|
||||
aria-label={optionsButtonLabel}
|
||||
|
||||
Reference in New Issue
Block a user