2018-04-12 01:23:35 +02:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2022-06-15 16:14:05 +02:00
|
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2024-09-09 15:57:16 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2018-04-12 01:23:35 +02:00
|
|
|
*/
|
|
|
|
|
2022-06-15 16:14:05 +02:00
|
|
|
.mx_NetworkDropdown_wrapper .mx_ContextualMenu {
|
2022-06-17 16:29:03 +02:00
|
|
|
.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;
|
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2022-06-15 16:14:05 +02:00
|
|
|
.mx_NetworkDropdown_addServer {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: $font-15px;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2022-06-15 16:14:05 +02:00
|
|
|
.mx_NetworkDropdown_removeServer {
|
2020-03-13 01:02:50 +01:00
|
|
|
position: relative;
|
2022-06-15 16:14:05 +02:00
|
|
|
display: inline-block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2022-06-17 16:29:03 +02:00
|
|
|
background: $quinary-content;
|
2022-06-15 16:14:05 +02:00
|
|
|
border-radius: 8px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 16px;
|
|
|
|
color: $secondary-content;
|
|
|
|
margin-left: auto;
|
2020-03-13 01:02:50 +01:00
|
|
|
|
|
|
|
&::before {
|
2022-06-15 16:14:05 +02:00
|
|
|
background-color: $secondary-content;
|
2020-03-13 01:02:50 +01:00
|
|
|
content: "";
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
2024-10-15 12:19:06 +02:00
|
|
|
mask-size: 14px;
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
2020-03-13 01:02:50 +01:00
|
|
|
position: absolute;
|
2022-06-15 16:14:05 +02:00
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2024-10-15 12:19:06 +02:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
|
2020-03-13 01:18:53 +01:00
|
|
|
}
|
2020-03-13 01:02:50 +01:00
|
|
|
}
|
2020-03-16 13:00:56 +01:00
|
|
|
|
|
|
|
.mx_NetworkDropdown_dialog .mx_Dialog {
|
2020-03-16 13:12:59 +01:00
|
|
|
width: 45vw;
|
2020-03-16 13:00:56 +01:00
|
|
|
}
|