mirror of
https://github.com/vector-im/element-web.git
synced 2026-01-05 16:41:24 +01:00
* fix: improve aria role and label on pinned message banner * fix: change pinned message badge background for contrast * fix: link pinned message button to content * test: update tests * fix: add aria-describedby on pinned message badge * feat: use `aria-describedby` instead of `aria-description` * test: update room view snapshot * test: update snapshot * fix: put id only textual body upper div * fix: use lodash uniqueId * test: update snapshots
26 lines
716 B
Plaintext
26 lines
716 B
Plaintext
/*
|
|
* Copyright 2024 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
.mx_PinnedMessageBadge {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--cpd-space-1x);
|
|
|
|
padding: var(--cpd-space-1x) var(--cpd-space-3x) var(--cpd-space-1x) var(--cpd-space-1x);
|
|
font: var(--cpd-font-body-xs-medium);
|
|
background-color: var(--cpd-color-bg-subtle-secondary);
|
|
color: var(--cpd-color-text-secondary);
|
|
|
|
border-radius: 99px;
|
|
border: 1px solid var(--cpd-color-alpha-gray-400);
|
|
|
|
svg {
|
|
fill: var(--cpd-color-icon-secondary);
|
|
}
|
|
}
|