mirror of
https://github.com/vector-im/element-web.git
synced 2026-03-04 13:01:12 +01:00
* Switch to Compound icons to replace old icons Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Apply same treatment to missed icons Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove duplicated icon Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update icon Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in ImageView Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in ExtensionsCard Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in LegacyRoomListHeader Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in ImageSizePanel Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in LegacyRoomList Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove icon from CreateSecretStorageDialog title Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in LiveContentSummary Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in RoomCallBanner Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in NonUrgentEchoFailureToast Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in LegacyCallViewHeader Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch from css masks to rendering svg in CallEvent Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace dark-light-mode.svg with Compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Draw stop icon using svg rather than square mask Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace masks in RoomSublist with SVG icons Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace masks with SVG icons in LegacyCall views Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace masks with SVG icons in EventTile Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace masks with SVG icons in ForwardDialog Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove redundant css style The `::before` has no content so is never rendered 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> * Update playwright tests & screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove snapshot as it causes issues Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * More tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
153 lines
4.3 KiB
Plaintext
153 lines
4.3 KiB
Plaintext
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2021 Robin Townsend <robin@robin.town>
|
|
|
|
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_ForwardDialog {
|
|
width: 520px;
|
|
color: $primary-content;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
min-height: 0;
|
|
height: 80vh;
|
|
|
|
> h3 {
|
|
margin: 0 0 6px;
|
|
color: $secondary-content;
|
|
font-size: $font-12px;
|
|
font-weight: var(--cpd-font-weight-semibold);
|
|
line-height: $font-15px;
|
|
}
|
|
|
|
> .mx_ForwardDialog_preview {
|
|
max-height: 30%;
|
|
flex-shrink: 0;
|
|
overflow-y: auto;
|
|
|
|
.mx_EventTile[data-layout="bubble"] {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
div {
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* When forwarding messages from encrypted rooms, EventTile will complain */
|
|
/* that our preview is unencrypted, which doesn't actually matter */
|
|
/* We also hide download links to not encourage users to try interacting */
|
|
.mx_EventTile_msgOption,
|
|
.mx_EventTile_e2eIcon,
|
|
.mx_MFileBody_download {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
> hr {
|
|
width: 100%;
|
|
border: none;
|
|
border-top: 1px solid $input-border-color;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
> .mx_ForwardList {
|
|
display: contents;
|
|
|
|
.mx_SearchBox {
|
|
/* To match the space around the title */
|
|
margin: 0 0 15px 0;
|
|
flex-grow: 0;
|
|
|
|
&:not(:focus-within) + .mx_ForwardList_content {
|
|
/* Inhibit the styling if focus is not within the input which handles keyboard accessibility */
|
|
--mx_ForwardList_entry_selectedBgColor: transparent;
|
|
}
|
|
}
|
|
|
|
.mx_ForwardList_content {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.mx_ForwardList_noResults {
|
|
display: block;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.mx_ForwardList_results {
|
|
&:not(:first-child) {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.mx_ForwardList_resultsList {
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.mx_ForwardList_entry {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
height: 32px;
|
|
padding: 6px;
|
|
border-radius: 8px;
|
|
|
|
&:hover,
|
|
&.mx_ForwardList_entry_active {
|
|
background-color: var(--mx_ForwardList_entry_selectedBgColor, $spacePanel-bg-color);
|
|
}
|
|
|
|
.mx_ForwardList_roomButton {
|
|
display: flex;
|
|
margin-right: 12px;
|
|
min-width: 0;
|
|
|
|
.mx_DecoratedRoomAvatar {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.mx_ForwardList_entry_name,
|
|
.mx_ForwardList_entry_detail {
|
|
line-height: 30px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.mx_ForwardList_entry_name {
|
|
font-size: $font-15px;
|
|
}
|
|
|
|
.mx_ForwardList_entry_detail {
|
|
font-size: $font-12px;
|
|
margin-left: 8px;
|
|
color: $tertiary-content;
|
|
}
|
|
}
|
|
|
|
.mx_ForwardList_sendButton {
|
|
position: relative;
|
|
margin-left: 12px;
|
|
|
|
&:not(.mx_ForwardList_canSend) .mx_ForwardList_sendLabel {
|
|
/* Hide the "Send" label while preserving button size */
|
|
visibility: hidden;
|
|
}
|
|
|
|
& > svg {
|
|
position: absolute;
|
|
width: 14px;
|
|
height: 14px;
|
|
color: $accent;
|
|
}
|
|
|
|
.mx_NotificationBadge {
|
|
/* Match the failed to send indicator's color with the disabled button */
|
|
background-color: $button-danger-disabled-fg-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|