mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-27 13:38:33 +00:00
30f442208a
* Add more playwright axe tests to settings dialogs * Add utility to jest setupTests to detect React hydration errors * Iterate jest utility * Fix axe issue heading-order * Fix div-in-p issues * Fix setupTests.ts * Fix heading order * Make types happier * Fix hydration issues of thead containing text nodes * Update tests * Fix form-in-form React hydration issues * Fix li-in-li React hydration issues * Fix checked in form without onChange React hydration issue * Fix styling bleeding from _common.pcss * Update snapshots * Fix more remaining issues * Remove _common.pcss h2 rule altogether * Fix test * Update snapshots * Iterate * Iterate * Update snapshots * Simplify diff * Test * Update screenshots * Update screenshot
46 lines
836 B
Plaintext
46 lines
836 B
Plaintext
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2022 The Matrix.org Foundation C.I.C
|
|
|
|
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_ShareDialogButtons {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 0;
|
|
top: 0;
|
|
}
|
|
|
|
button.mx_ShareDialogButtons_button {
|
|
height: 24px;
|
|
width: 24px;
|
|
border-radius: 50%;
|
|
background-color: $quinary-content;
|
|
opacity: 0.8;
|
|
text-align: center;
|
|
color: $secondary-content;
|
|
position: absolute;
|
|
top: $spacing-16;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
opacity: 1;
|
|
}
|
|
|
|
&.left {
|
|
left: $spacing-16;
|
|
}
|
|
|
|
&.right {
|
|
right: $spacing-16;
|
|
}
|
|
}
|
|
|
|
.mx_ShareDialogButtons_button-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 2px;
|
|
}
|