Files
ThreadNet-Web/res/css/views/directory/_NetworkDropdown.pcss
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

72 lines
1.8 KiB
Plaintext
Raw Normal View History

/*
2024-09-09 14:57:16 +01:00
Copyright 2024 New Vector Ltd.
Copyright 2022 The Matrix.org Foundation C.I.C.
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.
*/
.mx_NetworkDropdown_wrapper .mx_ContextualMenu {
.mx_GenericDropdownMenu_Option {
&.mx_GenericDropdownMenu_Option--header {
padding-top: $spacing-12;
padding-bottom: $spacing-4;
min-width: 160px;
}
&.mx_GenericDropdownMenu_Option--item {
padding-top: $spacing-4;
padding-bottom: $spacing-4;
> .mx_GenericDropdownMenu_Option--label span:first-child {
font-weight: normal;
}
}
> .mx_GenericDropdownMenu_Option--label {
flex-direction: row;
align-items: baseline;
align-content: baseline;
color: $primary-content;
span:not(:first-child) {
margin-left: $spacing-4;
color: $secondary-content;
}
}
}
.mx_GenericDropdownMenu_divider {
margin-top: $spacing-4;
margin-bottom: $spacing-4;
& + .mx_GenericDropdownMenu_Option .mx_GenericDropdownMenu_Option--label {
font-size: $font-15px;
}
}
}
.mx_NetworkDropdown_removeServer {
position: relative;
display: inline-block;
2025-12-04 13:04:13 +00:00
width: 14px;
height: 14px;
padding: 1px;
background: $quinary-content;
border-radius: 8px;
text-align: center;
line-height: 16px;
color: $secondary-content;
margin-left: auto;
2025-12-04 13:04:13 +00:00
svg {
color: $secondary-content;
height: inherit;
2025-12-04 13:04:13 +00:00
width: inherit;
2020-03-13 00:18:53 +00:00
}
}
2020-03-16 12:00:56 +00:00
.mx_NetworkDropdown_dialog .mx_Dialog {
2020-03-16 12:12:59 +00:00
width: 45vw;
2020-03-16 12:00:56 +00:00
}