2021-12-10 11:50:01 +00:00
|
|
|
/*
|
2024-09-09 14:57:16 +01:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-12-10 11:50:01 +00:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
2025-01-06 11:18:54 +00:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
2024-09-09 14:57:16 +01:00
|
|
|
Please see LICENSE files in the repository root for full details.
|
2021-12-10 11:50:01 +00:00
|
|
|
*/
|
|
|
|
|
|
2024-03-13 09:38:32 -04: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 11:50:01 +00:00
|
|
|
|
2024-03-13 09:38:32 -04:00
|
|
|
.mx_Dialog {
|
2025-12-19 11:08:23 +01:00
|
|
|
/* !important because it's overriding compound */
|
|
|
|
|
width: fit-content !important;
|
|
|
|
|
border-radius: 8px !important;
|
|
|
|
|
height: 60% !important;
|
2024-03-13 09:38:32 -04:00
|
|
|
overflow-y: initial;
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 0;
|
|
|
|
|
contain: unset; /* needed for #mx_SpotlightDialog_keyboardPrompt to not be culled */
|
2021-12-10 11:50:01 +00:00
|
|
|
|
2024-03-13 09:38:32 -04:00
|
|
|
#mx_SpotlightDialog_keyboardPrompt {
|
|
|
|
|
position: absolute;
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: var(--cpd-space-2x);
|
2024-03-13 09:38:32 -04:00
|
|
|
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;
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: 2px var(--cpd-space-1x);
|
|
|
|
|
margin: 0 var(--cpd-space-1x);
|
2024-03-13 09:38:32 -04:00
|
|
|
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 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog {
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
.mx_Dialog_header {
|
2021-12-22 10:05:14 +00:00
|
|
|
display: none;
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_searchBox {
|
|
|
|
|
margin: 0;
|
|
|
|
|
border: none;
|
2022-06-29 12:58:08 +02:00
|
|
|
border-radius: 8px 8px 0 0;
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: var(--cpd-space-3x) var(--cpd-space-4x);
|
2021-12-10 11:50:01 +00:00
|
|
|
border-bottom: 1px solid $system;
|
|
|
|
|
|
2022-06-15 16:14:05 +02:00
|
|
|
> .mx_SpotlightDialog_filter {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: 8px;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-right: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02:00
|
|
|
background-color: $quinary-content;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
color: $primary-content;
|
|
|
|
|
position: relative;
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: var(--cpd-space-1x) var(--cpd-space-2x) var(--cpd-space-1x) 37px;
|
2022-06-15 16:14:05 +02:00
|
|
|
|
2026-01-08 10:44:54 +00:00
|
|
|
> svg {
|
|
|
|
|
color: $secondary-content;
|
2022-06-15 16:14:05 +02:00
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
position: absolute;
|
2026-07-22 11:10:57 +01:00
|
|
|
left: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02:00
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_filter--close {
|
|
|
|
|
display: inline-block;
|
2026-01-08 10:44:54 +00:00
|
|
|
width: 14px;
|
|
|
|
|
height: 14px;
|
|
|
|
|
padding: 1px;
|
2022-06-15 16:14:05 +02:00
|
|
|
background: $system;
|
|
|
|
|
border-radius: 8px;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-left: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02:00
|
|
|
text-align: center;
|
|
|
|
|
line-height: 16px;
|
|
|
|
|
color: $secondary-content;
|
|
|
|
|
|
2026-01-08 10:44:54 +00:00
|
|
|
svg {
|
|
|
|
|
color: $secondary-content;
|
2024-10-15 11:19:06 +01:00
|
|
|
width: inherit;
|
|
|
|
|
height: inherit;
|
2022-06-15 16:14:05 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-10 11:50:01 +00: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 16:14:05 +02:00
|
|
|
|
|
|
|
|
> .mx_Spinner {
|
|
|
|
|
flex-grow: 0;
|
|
|
|
|
width: unset;
|
|
|
|
|
height: unset;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-left: var(--cpd-space-4x);
|
2022-06-15 16:14:05 +02:00
|
|
|
}
|
2025-11-06 16:32:46 +00:00
|
|
|
|
|
|
|
|
&:not(:focus-within) + #mx_SpotlightDialog_content {
|
|
|
|
|
/* Inhibit the styling if focus is not within the input which handles keyboard accessibility */
|
|
|
|
|
--mx_SpotlightDialog_option_selectedBgColor: transparent;
|
|
|
|
|
|
|
|
|
|
/* Hide the enter prompt as in this state pressing enter would not actuate that option */
|
|
|
|
|
.mx_SpotlightDialog_enterPrompt {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mx_SpotlightDialog_content {
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-y: auto;
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: var(--cpd-space-4x);
|
2021-12-10 11:50:01 +00:00
|
|
|
|
2023-04-20 18:13:30 +01:00
|
|
|
ul {
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-10 11:50:01 +00:00
|
|
|
.mx_SpotlightDialog_section {
|
2022-06-15 16:14:05 +02:00
|
|
|
> h4,
|
|
|
|
|
> .mx_SpotlightDialog_sectionHeader > h4 {
|
2023-06-29 11:30:25 +01:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-12-10 11:50:01 +00:00
|
|
|
font-size: $font-12px;
|
|
|
|
|
line-height: $font-15px;
|
|
|
|
|
color: $secondary-content;
|
2022-06-15 16:14:05 +02:00
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> h4 {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-bottom: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_sectionHeader {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-bottom: var(--cpd-space-2x);
|
2022-06-24 17:08:00 +02:00
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_options {
|
|
|
|
|
display: flex;
|
2026-07-22 11:10:57 +01:00
|
|
|
gap: var(--cpd-space-1x);
|
2022-06-24 17:08:00 +02:00
|
|
|
}
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
& + .mx_SpotlightDialog_section {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-top: var(--cpd-space-6x);
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-06 16:32:46 +00:00
|
|
|
.mx_SpotlightDialog_option {
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
|
&[aria-selected="true"] {
|
|
|
|
|
background-color: var(--mx_SpotlightDialog_option_selectedBgColor, $quinary-content);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-10 11:50:01 +00:00
|
|
|
.mx_SpotlightDialog_recentlyViewed {
|
|
|
|
|
> div {
|
|
|
|
|
display: flex;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow-x: hidden;
|
2022-07-27 14:39:29 +01:00
|
|
|
margin-right: 1px; /* occlude the 1px visible of the very next tile to prevent it looking broken */
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
2022-06-15 16:14:05 +02:00
|
|
|
.mx_SpotlightDialog_option {
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: var(--cpd-space-1x);
|
2021-12-10 11:50:01 +00:00
|
|
|
color: $primary-content;
|
|
|
|
|
font-size: $font-12px;
|
|
|
|
|
line-height: $font-15px;
|
|
|
|
|
display: inline-block;
|
2022-03-11 09:34:44 +00:00
|
|
|
width: 58px;
|
|
|
|
|
height: 58px;
|
|
|
|
|
min-width: 58px;
|
2021-12-10 11:50:01 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
.mx_DecoratedRoomAvatar {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin: 0 9px var(--cpd-space-1x); /* maintain centering */
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
2022-06-15 16:14:05 +02:00
|
|
|
& + .mx_SpotlightDialog_option {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-left: var(--cpd-space-4x);
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_results,
|
|
|
|
|
.mx_SpotlightDialog_recentSearches,
|
2022-06-15 16:14:05 +02:00
|
|
|
.mx_SpotlightDialog_otherSearches,
|
|
|
|
|
.mx_SpotlightDialog_hiddenResults {
|
|
|
|
|
.mx_SpotlightDialog_option {
|
2025-11-06 16:32:46 +00:00
|
|
|
--mx_SpotlightDialog_option_selectedBgColor: $system;
|
|
|
|
|
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: 6px var(--cpd-space-1x);
|
2021-12-10 11:50:01 +00:00
|
|
|
font-size: $font-15px;
|
|
|
|
|
line-height: $font-24px;
|
|
|
|
|
color: $primary-content;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
2022-07-12 15:03:08 +02:00
|
|
|
.mx_SpotlightDialog_option--endAdornment {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
margin-left: auto;
|
2022-07-12 21:51:05 +00:00
|
|
|
align-items: flex-start;
|
2022-07-12 15:03:08 +02:00
|
|
|
}
|
|
|
|
|
|
2022-06-15 16:14:05 +02:00
|
|
|
&.mx_SpotlightDialog_result_multiline {
|
2022-10-25 17:00:33 -06:00
|
|
|
align-items: flex-start;
|
2022-06-15 16:14:05 +02:00
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: var(--cpd-space-1x) var(--cpd-space-5x);
|
|
|
|
|
margin: 2px var(--cpd-space-1x);
|
2022-06-15 16:14:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_enterPrompt {
|
2023-06-06 14:03:52 +00:00
|
|
|
margin-top: 9px;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-right: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-22 13:11:38 +00:00
|
|
|
.mx_SpotlightDialog_result_name {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-21 15:46:13 +00:00
|
|
|
> .mx_SpotlightDialog_metaspaceResult,
|
|
|
|
|
> .mx_DecoratedRoomAvatar,
|
|
|
|
|
> .mx_BaseAvatar {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-right: var(--cpd-space-2x);
|
2022-03-11 09:34:44 +00:00
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
2023-09-08 11:01:13 +01:00
|
|
|
flex-shrink: 0;
|
2022-02-11 12:05:54 +00:00
|
|
|
|
|
|
|
|
.mx_BaseAvatar {
|
|
|
|
|
width: inherit;
|
|
|
|
|
height: inherit;
|
|
|
|
|
}
|
2022-02-07 13:50:04 +00:00
|
|
|
}
|
|
|
|
|
|
2022-06-15 16:14:05 +02: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;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-right: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02: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;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-left: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02: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 09:51:24 +00:00
|
|
|
display: -webkit-box;
|
2022-06-15 16:14:05 +02:00
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-line-clamp: 3;
|
2022-06-19 09:51:24 +00:00
|
|
|
overflow: hidden;
|
2022-06-15 16:14:05 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-10 10:32:23 +02:00
|
|
|
.mx_SpotlightDialog_notificationBadge {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-left: var(--cpd-space-2x);
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
2022-07-12 15:03:08 +02:00
|
|
|
.mx_SpotlightDialog_option--menu,
|
|
|
|
|
.mx_SpotlightDialog_option--notifications {
|
2025-12-09 15:10:42 +00:00
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
padding: var(--cpd-space-0-5x);
|
|
|
|
|
flex-shrink: 0;
|
2022-07-12 15:03:08 +02:00
|
|
|
margin-top: auto;
|
|
|
|
|
margin-bottom: auto;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: none;
|
|
|
|
|
|
2025-12-09 15:10:42 +00:00
|
|
|
svg {
|
|
|
|
|
width: inherit;
|
|
|
|
|
height: inherit;
|
|
|
|
|
display: block;
|
|
|
|
|
color: $tertiary-content;
|
2022-07-12 15:03:08 +02:00
|
|
|
}
|
|
|
|
|
|
2025-12-09 15:10:42 +00:00
|
|
|
&:hover svg,
|
|
|
|
|
&:focus-visible svg {
|
|
|
|
|
color: $secondary-content;
|
2022-07-12 15:03:08 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-15 14:53:23 +01:00
|
|
|
&:hover,
|
|
|
|
|
&[aria-selected="true"] {
|
2022-07-12 15:03:08 +02:00
|
|
|
.mx_SpotlightDialog_option--menu,
|
|
|
|
|
.mx_SpotlightDialog_option--notifications {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
2022-01-18 09:56:04 +00:00
|
|
|
}
|
2021-12-10 11:50:01 +00:00
|
|
|
|
2022-07-15 14:53:23 +01:00
|
|
|
&[aria-selected="true"] .mx_SpotlightDialog_enterPrompt {
|
2022-01-18 09:56:04 +00:00
|
|
|
display: inline-block;
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-15 16:14:05 +02:00
|
|
|
.mx_SpotlightDialog_inviteLink,
|
|
|
|
|
.mx_SpotlightDialog_createRoom {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-top: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02:00
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin: 0;
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: 3px var(--cpd-space-2x) 3px var(--cpd-space-7x);
|
2022-06-15 16:14:05 +02:00
|
|
|
|
2026-01-08 10:44:54 +00:00
|
|
|
svg {
|
2022-06-15 16:14:05 +02:00
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
2026-07-22 11:10:57 +01:00
|
|
|
left: var(--cpd-space-2x);
|
2022-06-15 16:14:05 +02:00
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
2026-01-08 10:44:54 +00:00
|
|
|
color: var(--cpd-color-icon-primary);
|
2022-06-15 16:14:05 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-10 11:50:01 +00:00
|
|
|
.mx_SpotlightDialog_otherSearches {
|
2026-01-08 10:44:54 +00:00
|
|
|
.mx_SpotlightDialog_option {
|
2026-07-22 11:10:57 +01:00
|
|
|
padding-left: var(--cpd-space-8x);
|
2021-12-10 11:50:01 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
2026-01-08 10:44:54 +00:00
|
|
|
svg {
|
|
|
|
|
color: $secondary-content;
|
2022-03-11 09:34:44 +00:00
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
2021-12-10 11:50:01 +00:00
|
|
|
position: absolute;
|
2026-07-22 11:10:57 +01:00
|
|
|
left: var(--cpd-space-1x);
|
2021-12-10 11:50:01 +00:00
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_otherSearches_messageSearchText {
|
|
|
|
|
font-size: $font-15px;
|
|
|
|
|
line-height: $font-24px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_result_details {
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-left: var(--cpd-space-2x);
|
|
|
|
|
margin-right: var(--cpd-space-2x);
|
2021-12-10 11:50:01 +00:00
|
|
|
color: $tertiary-content;
|
|
|
|
|
font-size: $font-12px;
|
|
|
|
|
line-height: $font-15px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-08 14:02:36 +00: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 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx_SpotlightDialog_enterPrompt {
|
2026-07-22 11:10:57 +01:00
|
|
|
padding: 2px var(--cpd-space-1x);
|
2022-07-27 14:39:29 +01:00
|
|
|
/* To avoid any styling inherent with <kbd> elements */
|
2022-06-30 16:17:30 +02:00
|
|
|
font-family: inherit;
|
|
|
|
|
font-weight: inherit;
|
2021-12-10 11:50:01 +00:00
|
|
|
font-size: $font-12px;
|
|
|
|
|
line-height: $font-15px;
|
|
|
|
|
color: $tertiary-content;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
background-color: $quinary-content;
|
2026-07-22 11:10:57 +01:00
|
|
|
margin-right: var(--cpd-space-1x);
|
2021-12-10 11:50:01 +00:00
|
|
|
display: none;
|
|
|
|
|
}
|
2022-02-15 13:36:32 +00:00
|
|
|
|
2026-01-08 10:44:54 +00:00
|
|
|
.mx_SpotlightDialog_metaspaceResult svg {
|
|
|
|
|
color: $secondary-content;
|
|
|
|
|
width: inherit;
|
|
|
|
|
height: inherit;
|
2022-02-15 13:36:32 +00:00
|
|
|
}
|
2021-12-10 11:50:01 +00:00
|
|
|
}
|
|
|
|
|
}
|