mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-27 10:58:36 +08:00
73 lines
2.1 KiB
Plaintext
73 lines
2.1 KiB
Plaintext
|
/*
|
||
|
Copyright 2024 The Matrix.org Foundation C.I.C.
|
||
|
|
||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
you may not use this file except in compliance with the License.
|
||
|
You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
*/
|
||
|
|
||
|
.mx_RoomSearchAuxPanel {
|
||
|
/* use `min-height` rather than height, to allow room for the text to wrap if the window is narrow */
|
||
|
min-height: 84px;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
border-color: var(--cpd-color-bg-canvas-default);
|
||
|
border-style: solid;
|
||
|
border-width: 1px 0;
|
||
|
padding: var(--cpd-space-3x);
|
||
|
box-sizing: border-box;
|
||
|
gap: var(--cpd-space-2x);
|
||
|
|
||
|
.mx_RoomSearchAuxPanel_summary {
|
||
|
flex-grow: 1;
|
||
|
display: inherit; /* flex */
|
||
|
gap: var(--cpd-space-2x);
|
||
|
align-items: center;
|
||
|
overflow: hidden;
|
||
|
|
||
|
> svg {
|
||
|
padding: var(--cpd-space-2x);
|
||
|
border-radius: var(--cpd-space-2x);
|
||
|
background-color: var(--cpd-color-bg-subtle-secondary);
|
||
|
color: var(--cpd-color-icon-secondary);
|
||
|
flex-shrink: 0;
|
||
|
}
|
||
|
|
||
|
.mx_RoomSearchAuxPanel_summary_text {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
font-size: $font-15px;
|
||
|
line-height: $font-22px;
|
||
|
overflow: hidden;
|
||
|
|
||
|
span {
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.mx_SearchWarning {
|
||
|
display: contents;
|
||
|
font-size: $font-13px;
|
||
|
line-height: $font-20px;
|
||
|
color: var(--cpd-color-text-secondary);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.mx_RoomSearchAuxPanel_buttons {
|
||
|
display: inherit; /* flex */
|
||
|
gap: var(--cpd-space-6x);
|
||
|
align-items: center;
|
||
|
flex-shrink: 0;
|
||
|
}
|
||
|
}
|