2018-04-12 07:23:35 +08:00
|
|
|
/*
|
2022-06-15 22:14:05 +08:00
|
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
2018-04-12 07:23:35 +08:00
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2022-06-15 22:14:05 +08:00
|
|
|
.mx_NetworkDropdown_wrapper .mx_ContextualMenu {
|
|
|
|
min-width: 200px;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
2022-06-15 22:14:05 +08:00
|
|
|
.mx_NetworkDropdown_addServer {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: $font-15px;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
2022-06-15 22:14:05 +08:00
|
|
|
.mx_NetworkDropdown_removeServer {
|
2020-03-13 08:02:50 +08:00
|
|
|
position: relative;
|
2022-06-15 22:14:05 +08:00
|
|
|
display: inline-block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
background: $system;
|
|
|
|
border-radius: 8px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 16px;
|
|
|
|
color: $secondary-content;
|
|
|
|
margin-left: auto;
|
2020-03-13 08:02:50 +08:00
|
|
|
|
|
|
|
&::before {
|
2022-06-15 22:14:05 +08:00
|
|
|
background-color: $secondary-content;
|
2020-03-13 08:02:50 +08:00
|
|
|
content: "";
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
2022-06-15 22:14:05 +08:00
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
2020-03-13 08:02:50 +08:00
|
|
|
position: absolute;
|
2022-06-15 22:14:05 +08:00
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
mask-image: url("$(res)/img/cancel-small.svg");
|
2020-03-13 08:18:53 +08:00
|
|
|
}
|
2020-03-13 08:02:50 +08:00
|
|
|
}
|
2020-03-16 20:00:56 +08:00
|
|
|
|
|
|
|
.mx_NetworkDropdown_dialog .mx_Dialog {
|
2020-03-16 20:12:59 +08:00
|
|
|
width: 45vw;
|
2020-03-16 20:00:56 +08:00
|
|
|
}
|