mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-26 03:31:56 +01:00
* Switch to rendering svg icons rather than masking them in left panel Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove unused stylesheet Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them for ExternalLink Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them for TabbedView Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them for JoinRuleDropdown Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in ManageRestrictedJoinRuleDialog Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in LeaveSpaceDialog Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in ReplyPreview Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in SearchBox Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in RoomStatusBar Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix advanced.svg Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix bad merge conflict resolution Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in Toasts Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in RoomInfoLine Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in UploadBar Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove unused class Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in ConfirmSpaceUserActionDialog Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in FeedbackDialog Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in KeyBackupFailedDialog Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in CopyableText Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in EventTile Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch to rendering svg icons rather than masking them in InviteReason Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add test Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add test Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
124 lines
3.0 KiB
Plaintext
124 lines
3.0 KiB
Plaintext
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2019-2021 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_ToastContainer {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 70px;
|
|
z-index: 101;
|
|
padding: 4px;
|
|
display: grid;
|
|
grid-template-rows: 1fr 14px 6px;
|
|
|
|
&.mx_ToastContainer_stacked::before {
|
|
content: "";
|
|
margin: 0 4px;
|
|
grid-row: 2 / 4;
|
|
grid-column: 1;
|
|
background-color: $system;
|
|
box-shadow: 0px 4px 20px rgb(0, 0, 0, 0.5);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.mx_Toast_toast {
|
|
grid-row: 1 / 3;
|
|
grid-column: 1;
|
|
background-color: var(--cpd-color-bg-canvas-default);
|
|
color: $primary-content;
|
|
box-shadow: 0px 4px 24px rgb(0, 0, 0, 0.1);
|
|
border: var(--cpd-border-width-1) solid var(--cpd-color-border-interactive-secondary);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-columns: 22px 1fr;
|
|
column-gap: 8px;
|
|
row-gap: 4px;
|
|
padding: var(--cpd-space-3x);
|
|
|
|
&.mx_Toast_hasIcon {
|
|
svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
grid-column: 1;
|
|
}
|
|
|
|
.mx_Toast_title,
|
|
.mx_Toast_body {
|
|
grid-column: 2;
|
|
}
|
|
}
|
|
&:not(.mx_Toast_hasIcon) {
|
|
padding-left: 12px;
|
|
|
|
.mx_Toast_title {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
.mx_Toast_title,
|
|
.mx_Toast_description {
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.mx_Toast_title {
|
|
display: flex;
|
|
align-items: center;
|
|
column-gap: 8px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
|
|
h2 {
|
|
margin: 0;
|
|
font: var(--cpd-font-body-lg-semibold);
|
|
display: inline;
|
|
width: auto;
|
|
}
|
|
|
|
.mx_Toast_title_countIndicator {
|
|
font-size: $font-12px;
|
|
line-height: $font-22px;
|
|
color: $secondary-content;
|
|
margin-inline-start: auto; /* on the end side of the div */
|
|
}
|
|
}
|
|
|
|
.mx_Toast_body {
|
|
grid-column: 1 / 3;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.mx_Toast_buttons {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
column-gap: 5px;
|
|
|
|
.mx_AccessibleButton {
|
|
min-width: 96px;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
.mx_Toast_description {
|
|
max-width: 272px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin: 4px 0 11px 0;
|
|
color: $secondary-content;
|
|
font: var(--cpd-font-body-sm-regular);
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.mx_Toast_deviceID {
|
|
font-size: $font-10px;
|
|
}
|
|
}
|
|
}
|