2021-12-10 14:50:01 +03:00
|
|
|
/*
|
2024-09-09 16:57:16 +03:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-12-10 14:50:01 +03:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 16:57:16 +03:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2021-12-10 14:50:01 +03:00
|
|
|
*/
|
|
|
|
|
2024-03-13 16:38:32 +03:00
|
|
|
.mx_SpotlightDialog_wrapper {
|
|
|
|
.mx_Dialog_border {
|
|
|
|
/* Disable the glass border as this dialog wasn't designed with it in mind */
|
|
|
|
display: contents;
|
|
|
|
}
|
2021-12-10 14:50:01 +03:00
|
|
|
|
2024-03-13 16:38:32 +03:00
|
|
|
.mx_Dialog {
|
|
|
|
width: fit-content;
|
2021-12-10 14:50:01 +03:00
|
|
|
border-radius: 8px;
|
2024-03-13 16:38:32 +03:00
|
|
|
overflow-y: initial;
|
|
|
|
position: relative;
|
|
|
|
height: 60%;
|
|
|
|
padding: 0;
|
|
|
|
contain: unset; /* needed for #mx_SpotlightDialog_keyboardPrompt to not be culled */
|
2021-12-10 14:50:01 +03:00
|
|
|
|
2024-03-13 16:38:32 +03:00
|
|
|
#mx_SpotlightDialog_keyboardPrompt {
|
|
|
|
position: absolute;
|
|
|
|
padding: $spacing-8;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: $background;
|
|
|
|
top: -60px; /* relative to the top of the modal */
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
color: $secondary-content;
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px $spacing-4;
|
|
|
|
margin: 0 $spacing-4;
|
|
|
|
border-radius: 6px;
|
|
|
|
background-color: $quinary-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
color: $tertiary-content;
|
|
|
|
/* To avoid any styling inherent with <kbd> elements */
|
|
|
|
font-family: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.mx_Dialog_header {
|
2021-12-22 13:05:14 +03:00
|
|
|
display: none;
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_searchBox {
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
2022-06-29 13:58:08 +03:00
|
|
|
border-radius: 8px 8px 0 0;
|
2022-06-19 12:50:32 +03:00
|
|
|
padding: $spacing-12 $spacing-16;
|
2021-12-10 14:50:01 +03:00
|
|
|
border-bottom: 1px solid $system;
|
|
|
|
|
2022-06-15 17:14:05 +03:00
|
|
|
> .mx_SpotlightDialog_filter {
|
|
|
|
display: flex;
|
|
|
|
align-content: center;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 8px;
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-right: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
background-color: $quinary-content;
|
|
|
|
vertical-align: middle;
|
|
|
|
color: $primary-content;
|
|
|
|
position: relative;
|
2023-06-06 17:03:52 +03:00
|
|
|
padding: $spacing-4 $spacing-8 $spacing-4 37px;
|
2022-06-15 17:14:05 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: $secondary-content;
|
|
|
|
content: "";
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
position: absolute;
|
2022-06-19 12:50:32 +03:00
|
|
|
left: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpotlightDialog_filterPeople::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/room/members.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpotlightDialog_filterPublicRooms::before {
|
2023-08-21 12:39:20 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-circle.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpotlightDialog_filterPublicSpaces::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/spaces.svg");
|
2022-06-15 17:14:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_filter--close {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
background: $system;
|
|
|
|
border-radius: 8px;
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-left: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
text-align: center;
|
|
|
|
line-height: 16px;
|
|
|
|
color: $secondary-content;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: $secondary-content;
|
|
|
|
content: "";
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
mask-image: url("$(res)/img/cancel-small.svg");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-10 14:50:01 +03:00
|
|
|
> input {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: transparent;
|
|
|
|
width: 100%;
|
|
|
|
height: 32px;
|
|
|
|
padding: 0;
|
|
|
|
color: $tertiary-content;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
|
|
|
}
|
2022-06-15 17:14:05 +03:00
|
|
|
|
|
|
|
> .mx_Spinner {
|
|
|
|
flex-grow: 0;
|
|
|
|
width: unset;
|
|
|
|
height: unset;
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-left: $spacing-16;
|
2022-06-15 17:14:05 +03:00
|
|
|
}
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#mx_SpotlightDialog_content {
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
2022-06-19 12:50:32 +03:00
|
|
|
padding: $spacing-16;
|
2021-12-10 14:50:01 +03:00
|
|
|
|
2023-04-20 20:13:30 +03:00
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-12-10 14:50:01 +03:00
|
|
|
.mx_SpotlightDialog_section {
|
2022-06-15 17:14:05 +03:00
|
|
|
> h4,
|
|
|
|
> .mx_SpotlightDialog_sectionHeader > h4 {
|
2023-06-29 13:30:25 +03:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-12-10 14:50:01 +03:00
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
color: $secondary-content;
|
2022-06-15 17:14:05 +03:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> h4 {
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-bottom: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_sectionHeader {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-bottom: $spacing-8;
|
2022-06-24 18:08:00 +03:00
|
|
|
|
|
|
|
.mx_SpotlightDialog_options {
|
|
|
|
display: flex;
|
|
|
|
gap: $spacing-4;
|
|
|
|
}
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
& + .mx_SpotlightDialog_section {
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-top: $spacing-24;
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_recentlyViewed {
|
|
|
|
> div {
|
|
|
|
display: flex;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-x: hidden;
|
2022-07-27 16:39:29 +03:00
|
|
|
margin-right: 1px; /* occlude the 1px visible of the very next tile to prevent it looking broken */
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
2022-06-15 17:14:05 +03:00
|
|
|
.mx_SpotlightDialog_option {
|
2021-12-10 14:50:01 +03:00
|
|
|
border-radius: 8px;
|
2022-06-19 12:50:32 +03:00
|
|
|
padding: $spacing-4;
|
2021-12-10 14:50:01 +03:00
|
|
|
color: $primary-content;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
display: inline-block;
|
2022-03-11 12:34:44 +03:00
|
|
|
width: 58px;
|
|
|
|
height: 58px;
|
|
|
|
min-width: 58px;
|
2021-12-10 14:50:01 +03:00
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
.mx_DecoratedRoomAvatar {
|
2022-07-27 16:39:29 +03:00
|
|
|
margin: 0 9px $spacing-4; /* maintain centering */
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
2022-06-15 17:14:05 +03:00
|
|
|
& + .mx_SpotlightDialog_option {
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-left: $spacing-16;
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
2022-07-15 16:53:23 +03:00
|
|
|
&:hover,
|
|
|
|
&[aria-selected="true"] {
|
2021-12-10 14:50:01 +03:00
|
|
|
background-color: $quinary-content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_results,
|
|
|
|
.mx_SpotlightDialog_recentSearches,
|
2022-06-15 17:14:05 +03:00
|
|
|
.mx_SpotlightDialog_otherSearches,
|
|
|
|
.mx_SpotlightDialog_hiddenResults {
|
|
|
|
.mx_SpotlightDialog_option {
|
2023-06-06 17:03:52 +03:00
|
|
|
padding: 6px $spacing-4;
|
2021-12-10 14:50:01 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
|
|
|
color: $primary-content;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2022-07-12 16:03:08 +03:00
|
|
|
.mx_SpotlightDialog_option--endAdornment {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-left: auto;
|
2022-07-13 00:51:05 +03:00
|
|
|
align-items: flex-start;
|
2022-07-12 16:03:08 +03:00
|
|
|
}
|
|
|
|
|
2022-06-15 17:14:05 +03:00
|
|
|
&.mx_SpotlightDialog_result_multiline {
|
2022-10-26 02:00:33 +03:00
|
|
|
align-items: flex-start;
|
2022-06-15 17:14:05 +03:00
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
2022-06-19 12:50:32 +03:00
|
|
|
padding: $spacing-4 $spacing-20;
|
2023-06-06 17:03:52 +03:00
|
|
|
margin: 2px $spacing-4;
|
2022-06-15 17:14:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_enterPrompt {
|
2023-06-06 17:03:52 +03:00
|
|
|
margin-top: 9px;
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-right: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-21 18:46:13 +03:00
|
|
|
> .mx_SpotlightDialog_metaspaceResult,
|
|
|
|
> .mx_DecoratedRoomAvatar,
|
|
|
|
> .mx_BaseAvatar {
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-right: $spacing-8;
|
2022-03-11 12:34:44 +03:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2023-09-08 13:01:13 +03:00
|
|
|
flex-shrink: 0;
|
2022-02-11 15:05:54 +03:00
|
|
|
|
|
|
|
.mx_BaseAvatar {
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
}
|
2022-02-07 16:50:04 +03:00
|
|
|
}
|
|
|
|
|
2022-06-15 17:14:05 +03:00
|
|
|
.mx_SpotlightDialog_result_publicRoomDetails {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_result_publicRoomHeader {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
line-height: $font-24px;
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-right: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
|
|
|
|
.mx_SpotlightDialog_result_publicRoomName {
|
|
|
|
color: $primary-content;
|
|
|
|
font-size: $font-15px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.mx_SpotlightDialog_result_publicRoomAlias {
|
|
|
|
color: $tertiary-content;
|
|
|
|
font-size: $font-12px;
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-left: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mx_SpotlightDialog_result_publicRoomDescription {
|
|
|
|
color: $secondary-content;
|
|
|
|
font-size: $font-12px;
|
|
|
|
white-space: normal;
|
|
|
|
word-wrap: break-word;
|
|
|
|
line-height: $font-20px;
|
2022-06-19 12:51:24 +03:00
|
|
|
display: -webkit-box;
|
2022-06-15 17:14:05 +03:00
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 3;
|
2022-06-19 12:51:24 +03:00
|
|
|
overflow: hidden;
|
2022-06-15 17:14:05 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-07 16:50:04 +03:00
|
|
|
.mx_NotificationBadge {
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-left: $spacing-8;
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
2022-07-12 16:03:08 +03:00
|
|
|
.mx_SpotlightDialog_option--menu,
|
|
|
|
.mx_SpotlightDialog_option--notifications {
|
|
|
|
width: 20px;
|
|
|
|
min-width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
position: relative;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
top: 2px;
|
|
|
|
left: 2px;
|
|
|
|
content: "";
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
background: $tertiary-content;
|
|
|
|
}
|
|
|
|
|
2022-07-15 16:53:23 +03:00
|
|
|
&:hover::before,
|
|
|
|
&[aria-selected="true"]::before {
|
2022-07-12 16:03:08 +03:00
|
|
|
background-color: $secondary-content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_option--menu::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/context-menu.svg");
|
|
|
|
}
|
|
|
|
|
2022-07-15 16:53:23 +03:00
|
|
|
&:hover,
|
|
|
|
&[aria-selected="true"] {
|
2021-12-10 14:50:01 +03:00
|
|
|
background-color: $system;
|
2022-07-12 16:03:08 +03:00
|
|
|
|
|
|
|
.mx_SpotlightDialog_option--menu,
|
|
|
|
.mx_SpotlightDialog_option--notifications {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-01-18 12:56:04 +03:00
|
|
|
}
|
2021-12-10 14:50:01 +03:00
|
|
|
|
2022-07-15 16:53:23 +03:00
|
|
|
&[aria-selected="true"] .mx_SpotlightDialog_enterPrompt {
|
2022-01-18 12:56:04 +03:00
|
|
|
display: inline-block;
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-15 17:14:05 +03:00
|
|
|
.mx_SpotlightDialog_inviteLink,
|
|
|
|
.mx_SpotlightDialog_createRoom {
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-top: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
position: relative;
|
|
|
|
margin: 0;
|
2023-06-06 17:03:52 +03:00
|
|
|
padding: 3px $spacing-8 3px $spacing-28;
|
2022-06-15 17:14:05 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
2022-06-19 12:50:32 +03:00
|
|
|
left: $spacing-8;
|
2022-06-15 17:14:05 +03:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2024-03-05 07:25:47 +03:00
|
|
|
background: var(--cpd-color-icon-primary);
|
2022-06-15 17:14:05 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_inviteLink .mx_AccessibleButton::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/link.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_createRoom .mx_AccessibleButton::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash.svg");
|
|
|
|
}
|
|
|
|
|
2021-12-10 14:50:01 +03:00
|
|
|
.mx_SpotlightDialog_otherSearches {
|
|
|
|
.mx_SpotlightDialog_startChat,
|
2022-02-17 18:40:12 +03:00
|
|
|
.mx_SpotlightDialog_joinRoomAlias,
|
2022-06-15 17:14:05 +03:00
|
|
|
.mx_SpotlightDialog_explorePublicRooms,
|
2023-08-21 12:39:20 +03:00
|
|
|
.mx_SpotlightDialog_explorePublicSpaces,
|
2022-06-15 17:14:05 +03:00
|
|
|
.mx_SpotlightDialog_startGroupChat {
|
2022-06-19 12:50:32 +03:00
|
|
|
padding-left: $spacing-32;
|
2021-12-10 14:50:01 +03:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: $secondary-content;
|
|
|
|
content: "";
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
2022-03-11 12:34:44 +03:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2021-12-10 14:50:01 +03:00
|
|
|
position: absolute;
|
2022-06-19 12:50:32 +03:00
|
|
|
left: $spacing-4;
|
2021-12-10 14:50:01 +03:00
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_startChat::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/room/members.svg");
|
|
|
|
}
|
|
|
|
|
2022-02-17 18:40:12 +03:00
|
|
|
.mx_SpotlightDialog_joinRoomAlias::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-circle.svg");
|
|
|
|
}
|
|
|
|
|
2021-12-10 14:50:01 +03:00
|
|
|
.mx_SpotlightDialog_explorePublicRooms::before {
|
2023-08-21 12:39:20 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-circle.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_explorePublicSpaces::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/spaces.svg");
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
2022-06-15 17:14:05 +03:00
|
|
|
.mx_SpotlightDialog_startGroupChat::before {
|
|
|
|
mask-image: url("$(res)/img/element-icons/group-members.svg");
|
|
|
|
}
|
|
|
|
|
2021-12-10 14:50:01 +03:00
|
|
|
.mx_SpotlightDialog_otherSearches_messageSearchText {
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_otherSearches_messageSearchIcon {
|
|
|
|
display: inline-block;
|
2022-03-11 12:34:44 +03:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2021-12-10 14:50:01 +03:00
|
|
|
background-color: $secondary-content;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-image: url("$(res)/img/element-icons/room/search-inset.svg");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_result_details {
|
2022-06-19 12:50:32 +03:00
|
|
|
margin-left: $spacing-8;
|
|
|
|
margin-right: $spacing-8;
|
2021-12-10 14:50:01 +03:00
|
|
|
color: $tertiary-content;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
min-width: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2022-02-08 17:02:36 +03:00
|
|
|
.mx_SpotlightDialog_recentSearches > h4 > .mx_AccessibleButton_kind_link {
|
|
|
|
float: right;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
color: $secondary-content;
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_enterPrompt {
|
2023-06-06 17:03:52 +03:00
|
|
|
padding: 2px $spacing-4;
|
2022-07-27 16:39:29 +03:00
|
|
|
/* To avoid any styling inherent with <kbd> elements */
|
2022-06-30 17:17:30 +03:00
|
|
|
font-family: inherit;
|
|
|
|
font-weight: inherit;
|
2021-12-10 14:50:01 +03:00
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
color: $tertiary-content;
|
|
|
|
border-radius: 6px;
|
|
|
|
background-color: $quinary-content;
|
2022-07-12 16:03:08 +03:00
|
|
|
margin-right: $spacing-4;
|
2021-12-10 14:50:01 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2022-02-15 16:36:32 +03:00
|
|
|
|
|
|
|
.mx_SpotlightDialog_metaspaceResult {
|
|
|
|
background-color: $secondary-content;
|
|
|
|
mask-position: center;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
|
|
|
|
|
|
|
&.mx_SpotlightDialog_metaspaceResult_home-space {
|
|
|
|
mask-image: url("$(res)/img/element-icons/home.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpotlightDialog_metaspaceResult_favourites-space {
|
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/favorite.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpotlightDialog_metaspaceResult_people-space {
|
|
|
|
mask-image: url("$(res)/img/element-icons/room/members.svg");
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpotlightDialog_metaspaceResult_orphans-space {
|
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-circle.svg");
|
|
|
|
}
|
|
|
|
}
|
2021-12-10 14:50:01 +03:00
|
|
|
}
|
|
|
|
}
|