2021-02-26 13:23:09 +03:00
|
|
|
/*
|
|
|
|
Copyright 2021 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
$topLevelHeight: 32px;
|
|
|
|
$nestedHeight: 24px;
|
2021-03-12 20:37:15 +03:00
|
|
|
$gutterSize: 16px;
|
|
|
|
$activeBorderTransparentGap: 1px;
|
2021-03-01 20:02:02 +03:00
|
|
|
|
2021-08-25 10:17:22 +03:00
|
|
|
$activeBackgroundColor: $panel-actions;
|
2021-11-30 21:08:46 +03:00
|
|
|
$activeBorderColor: $primary-content;
|
2021-02-26 13:23:09 +03:00
|
|
|
|
|
|
|
.mx_SpacePanel {
|
2022-03-23 02:07:37 +03:00
|
|
|
background-color: $spacePanel-bg-color;
|
2021-02-26 13:23:09 +03:00
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2021-06-24 19:51:11 +03:00
|
|
|
position: relative;
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Fix for the blurred avatar-background */
|
2021-08-23 20:26:57 +03:00
|
|
|
z-index: 1;
|
2021-02-26 13:23:09 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Create another flexbox so the Panel fills the container */
|
2021-02-26 13:23:09 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.mx_SpacePanel_toggleCollapse {
|
2021-12-13 17:59:50 +03:00
|
|
|
position: absolute;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: $tertiary-content;
|
2022-07-27 16:39:29 +03:00
|
|
|
top: 19px; /* v-align with avatar */
|
2021-12-13 17:59:50 +03:00
|
|
|
right: -8px;
|
2021-11-29 23:10:34 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2021-12-13 17:59:50 +03:00
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
2021-11-29 23:10:34 +03:00
|
|
|
mask-position: center;
|
2021-12-13 17:59:50 +03:00
|
|
|
mask-size: contain;
|
2021-11-29 23:10:34 +03:00
|
|
|
mask-repeat: no-repeat;
|
2021-12-13 17:59:50 +03:00
|
|
|
background-color: $background;
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/feather-customised/chevron-down.svg");
|
2021-12-07 12:32:00 +03:00
|
|
|
transform: rotate(270deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.expanded) {
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
&::before {
|
2021-12-13 17:59:50 +03:00
|
|
|
mask-position: center 1px;
|
2021-12-07 12:32:00 +03:00
|
|
|
}
|
2021-11-29 23:10:34 +03:00
|
|
|
}
|
2021-02-26 13:23:09 +03:00
|
|
|
|
2021-12-13 17:59:50 +03:00
|
|
|
&.expanded::before {
|
|
|
|
transform: rotate(90deg);
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-07 12:32:00 +03:00
|
|
|
&:hover .mx_SpacePanel_toggleCollapse {
|
2021-12-21 17:24:06 +03:00
|
|
|
opacity: 1;
|
2021-12-07 12:32:00 +03:00
|
|
|
}
|
|
|
|
|
2021-02-26 13:23:09 +03:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceButton_toggleCollapse {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2021-06-03 10:32:36 +03:00
|
|
|
.mx_SpaceItem_dragging {
|
|
|
|
.mx_SpaceButton_toggleCollapse {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-15 14:59:46 +03:00
|
|
|
.mx_SpaceItem {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-flow: wrap;
|
2021-05-04 16:14:06 +03:00
|
|
|
|
|
|
|
&.mx_SpaceItem_narrow {
|
|
|
|
align-self: baseline;
|
|
|
|
}
|
2021-03-15 14:59:46 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceItem.collapsed {
|
2021-02-26 13:23:09 +03:00
|
|
|
& > .mx_SpaceButton > .mx_SpaceButton_toggleCollapse {
|
2023-03-17 16:11:42 +03:00
|
|
|
padding: 0 10px;
|
|
|
|
margin: 0 -10px;
|
2021-02-26 13:23:09 +03:00
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .mx_SpaceTreeLevel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-10 18:45:56 +03:00
|
|
|
.mx_SpaceItem_new {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-02-26 13:23:09 +03:00
|
|
|
.mx_SpaceItem:not(.hasSubSpaces) > .mx_SpaceButton {
|
|
|
|
margin-left: $gutterSize;
|
2021-03-15 14:59:46 +03:00
|
|
|
min-width: 40px;
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceButton {
|
|
|
|
border-radius: 8px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-03-15 14:59:46 +03:00
|
|
|
padding: 4px 4px 4px 0;
|
|
|
|
width: 100%;
|
2021-09-09 13:40:43 +03:00
|
|
|
cursor: pointer;
|
2021-03-01 20:02:02 +03:00
|
|
|
|
|
|
|
&.mx_SpaceButton_active {
|
|
|
|
&:not(.mx_SpaceButton_narrow) .mx_SpaceButton_selectionWrapper {
|
|
|
|
background-color: $activeBackgroundColor;
|
|
|
|
}
|
|
|
|
|
2021-03-12 20:37:15 +03:00
|
|
|
&.mx_SpaceButton_narrow .mx_SpaceButton_selectionWrapper {
|
|
|
|
padding: $activeBorderTransparentGap;
|
|
|
|
border: 3px $activeBorderColor solid;
|
2021-03-01 20:02:02 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceButton_selectionWrapper {
|
2021-03-15 14:59:46 +03:00
|
|
|
position: relative;
|
2021-03-01 20:02:02 +03:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
align-items: center;
|
2021-03-12 20:37:15 +03:00
|
|
|
border-radius: 12px;
|
|
|
|
padding: 4px;
|
2021-11-09 13:25:57 +03:00
|
|
|
width: calc(100% - 32px);
|
2022-04-30 18:36:03 +03:00
|
|
|
min-width: 0;
|
2021-03-01 20:02:02 +03:00
|
|
|
}
|
2021-02-26 13:23:09 +03:00
|
|
|
|
|
|
|
.mx_SpaceButton_name {
|
|
|
|
flex: 1;
|
|
|
|
margin-left: 8px;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: $font-14px;
|
|
|
|
line-height: $font-18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceButton_toggleCollapse {
|
2021-03-12 20:37:15 +03:00
|
|
|
width: $gutterSize;
|
2023-03-17 16:11:42 +03:00
|
|
|
padding: 10px 0;
|
2021-11-09 13:25:57 +03:00
|
|
|
min-width: $gutterSize;
|
2021-02-26 13:23:09 +03:00
|
|
|
height: 20px;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: 20px;
|
|
|
|
mask-repeat: no-repeat;
|
2021-10-16 19:31:18 +03:00
|
|
|
background-color: $tertiary-content;
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/feather-customised/chevron-down.svg");
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
|
|
|
|
2021-03-01 20:02:02 +03:00
|
|
|
.mx_SpaceButton_icon {
|
2021-02-26 13:23:09 +03:00
|
|
|
width: $topLevelHeight;
|
|
|
|
min-width: $topLevelHeight;
|
|
|
|
height: $topLevelHeight;
|
|
|
|
border-radius: 8px;
|
2021-03-01 20:02:02 +03:00
|
|
|
position: relative;
|
2021-02-26 13:23:09 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
2022-12-12 14:24:14 +03:00
|
|
|
content: "";
|
2021-02-26 13:23:09 +03:00
|
|
|
width: $topLevelHeight;
|
|
|
|
height: $topLevelHeight;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
mask-position: center;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-11 16:07:41 +03:00
|
|
|
&.mx_SpaceButton_home,
|
|
|
|
&.mx_SpaceButton_favourites,
|
|
|
|
&.mx_SpaceButton_people,
|
|
|
|
&.mx_SpaceButton_orphans {
|
|
|
|
.mx_SpaceButton_icon {
|
2021-11-30 21:08:46 +03:00
|
|
|
background-color: $panel-actions;
|
2021-11-11 16:07:41 +03:00
|
|
|
|
|
|
|
&::before {
|
2021-11-30 21:08:46 +03:00
|
|
|
background-color: $secondary-content;
|
2021-11-11 16:07:41 +03:00
|
|
|
}
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-11 16:07:41 +03:00
|
|
|
&.mx_SpaceButton_home .mx_SpaceButton_icon::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/home.svg");
|
2021-11-11 16:07:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpaceButton_favourites .mx_SpaceButton_icon::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/favorite.svg");
|
2021-11-11 16:07:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpaceButton_people .mx_SpaceButton_icon::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/members.svg");
|
2021-11-11 16:07:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SpaceButton_orphans .mx_SpaceButton_icon::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-circle.svg");
|
2021-11-11 16:07:41 +03:00
|
|
|
}
|
|
|
|
|
2021-03-01 20:27:09 +03:00
|
|
|
&.mx_SpaceButton_new .mx_SpaceButton_icon {
|
|
|
|
&::before {
|
2021-09-08 17:30:19 +03:00
|
|
|
background-color: $primary-content;
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/plus.svg");
|
|
|
|
transition: all 0.2s ease-in-out; /* TODO transition */
|
2021-03-01 20:27:09 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-10 18:45:21 +03:00
|
|
|
&.mx_SpaceButton_newCancel .mx_SpaceButton_icon::before {
|
|
|
|
transform: rotate(45deg);
|
2021-03-01 20:27:09 +03:00
|
|
|
}
|
2021-03-01 20:02:02 +03:00
|
|
|
|
2021-03-12 20:37:15 +03:00
|
|
|
.mx_BaseAvatar_image {
|
|
|
|
border-radius: 8px;
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
2021-03-02 17:34:47 +03:00
|
|
|
|
|
|
|
.mx_SpaceButton_menuButton {
|
|
|
|
width: 20px;
|
2022-07-27 16:39:29 +03:00
|
|
|
min-width: 20px; /* yay flex */
|
2021-03-02 17:34:47 +03:00
|
|
|
height: 20px;
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
2021-11-09 13:25:57 +03:00
|
|
|
display: none;
|
2022-04-12 18:52:46 +03:00
|
|
|
position: absolute;
|
|
|
|
right: 4px;
|
2021-03-02 17:34:47 +03:00
|
|
|
|
|
|
|
&::before {
|
2021-11-30 21:08:46 +03:00
|
|
|
top: 3px;
|
2021-03-02 17:34:47 +03:00
|
|
|
left: 2px;
|
2022-12-12 14:24:14 +03:00
|
|
|
content: "";
|
2021-03-02 17:34:47 +03:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-repeat: no-repeat;
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/context-menu.svg");
|
2021-08-12 12:27:12 +03:00
|
|
|
background: $primary-content;
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
|
|
|
}
|
2021-03-01 20:06:56 +03:00
|
|
|
}
|
2021-02-26 13:23:09 +03:00
|
|
|
|
2021-11-30 21:08:46 +03:00
|
|
|
.mx_SpaceTreeLevel {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-width: 250px;
|
2022-04-30 18:36:03 +03:00
|
|
|
min-width: 0;
|
2021-11-30 21:08:46 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
.mx_BaseAvatar:not(.mx_UserMenu_userAvatar_BaseAvatar) .mx_BaseAvatar_initial {
|
|
|
|
color: $secondary-content;
|
|
|
|
border-radius: 8px;
|
2023-02-02 13:22:19 +03:00
|
|
|
background-color: $panel-actions;
|
|
|
|
font-size: $font-15px !important; /* override inline style */
|
2023-04-21 17:16:00 +03:00
|
|
|
font-weight: var(--font-semi-bold);
|
2021-11-30 21:08:46 +03:00
|
|
|
line-height: $font-18px;
|
2023-02-02 13:22:19 +03:00
|
|
|
|
|
|
|
& + .mx_BaseAvatar_image {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2021-11-30 21:08:46 +03:00
|
|
|
}
|
2022-08-10 18:29:53 +03:00
|
|
|
|
|
|
|
.mx_SpaceTreeLevel {
|
|
|
|
// Indent subspaces
|
|
|
|
padding-left: 16px;
|
|
|
|
}
|
2021-11-30 21:08:46 +03:00
|
|
|
}
|
|
|
|
|
2021-10-19 18:11:53 +03:00
|
|
|
.mx_SpaceButton_avatarWrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-02-26 13:23:09 +03:00
|
|
|
.mx_SpacePanel_badgeContainer {
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Create a flexbox to make aligning dot badges easier */
|
2021-02-26 13:23:09 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-10-19 18:11:53 +03:00
|
|
|
position: absolute;
|
|
|
|
right: -3px;
|
|
|
|
top: -3px;
|
2021-02-26 13:23:09 +03:00
|
|
|
|
|
|
|
.mx_NotificationBadge {
|
2022-07-27 16:39:29 +03:00
|
|
|
margin: 0 2px; /* centering */
|
2021-10-19 18:11:53 +03:00
|
|
|
background-clip: padding-box;
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_NotificationBadge_dot {
|
2022-07-27 16:39:29 +03:00
|
|
|
/* make the smaller dot occupy the same width for centering */
|
2021-10-19 18:11:53 +03:00
|
|
|
margin: 0 -1px 0 0;
|
2022-03-23 02:07:37 +03:00
|
|
|
border: 3px solid $spacePanel-bg-color;
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
2021-05-06 17:58:22 +03:00
|
|
|
|
2021-10-19 18:11:53 +03:00
|
|
|
.mx_NotificationBadge_2char,
|
|
|
|
.mx_NotificationBadge_3char {
|
|
|
|
margin: -5px -5px 0 0;
|
2022-03-23 02:07:37 +03:00
|
|
|
border: 2px solid $spacePanel-bg-color;
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-19 18:11:53 +03:00
|
|
|
.mx_SpaceButton:hover,
|
|
|
|
.mx_SpaceButton:focus-within,
|
|
|
|
.mx_SpaceButton_hasMenuOpen {
|
2021-11-09 13:25:57 +03:00
|
|
|
&:not(.mx_SpaceButton_narrow):not(.mx_SpaceButton_invite) .mx_SpaceButton_menuButton {
|
|
|
|
display: block;
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-12 18:52:46 +03:00
|
|
|
.mx_SpaceItem:not(.mx_SpaceItem_new) {
|
|
|
|
.mx_SpaceButton:hover,
|
|
|
|
.mx_SpaceButton:focus-within,
|
|
|
|
.mx_SpaceButton_hasMenuOpen {
|
|
|
|
&:not(.mx_SpaceButton_narrow):not(.mx_SpaceButton_invite) .mx_SpaceButton_name {
|
|
|
|
max-width: calc(100% - 56px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-26 13:23:09 +03:00
|
|
|
/* root space buttons are bigger and not indented */
|
|
|
|
& > .mx_AutoHideScrollbar {
|
2021-12-01 13:51:54 +03:00
|
|
|
flex: 1;
|
|
|
|
padding: 0 8px 16px 0;
|
|
|
|
|
2021-02-26 13:23:09 +03:00
|
|
|
& > .mx_SpaceButton {
|
|
|
|
height: $topLevelHeight;
|
|
|
|
|
|
|
|
&.mx_SpaceButton_active::before {
|
|
|
|
height: $topLevelHeight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > ul {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2021-12-01 13:51:54 +03:00
|
|
|
|
|
|
|
&.mx_IndicatorScrollbar_topOverflow {
|
|
|
|
mask-image: linear-gradient(180deg, transparent, black 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_IndicatorScrollbar_bottomOverflow {
|
|
|
|
mask-image: linear-gradient(180deg, black, black 95%, transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_IndicatorScrollbar_topOverflow.mx_IndicatorScrollbar_bottomOverflow {
|
|
|
|
mask-image: linear-gradient(180deg, transparent, black 5%, black 95%, transparent);
|
|
|
|
}
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
2021-12-02 18:44:01 +03:00
|
|
|
|
|
|
|
.mx_UserMenu {
|
|
|
|
padding: 0 2px 8px;
|
|
|
|
border-bottom: 1px solid $quinary-content;
|
|
|
|
margin: 12px 14px 4px 18px;
|
|
|
|
}
|
2021-02-26 13:23:09 +03:00
|
|
|
}
|
2021-03-02 17:34:47 +03:00
|
|
|
|
|
|
|
.mx_SpacePanel_contextMenu {
|
2022-08-17 18:13:04 +03:00
|
|
|
max-width: 360px;
|
|
|
|
|
2021-03-02 17:34:47 +03:00
|
|
|
.mx_SpacePanel_contextMenu_header {
|
|
|
|
margin: 12px 16px 12px;
|
2023-04-21 17:16:00 +03:00
|
|
|
font-weight: var(--font-semi-bold);
|
2021-03-02 17:34:47 +03:00
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-18px;
|
2022-08-17 18:13:04 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
|
|
|
|
2022-01-18 18:29:01 +03:00
|
|
|
.mx_SpacePanel_iconHome::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/home.svg");
|
2022-01-18 18:29:01 +03:00
|
|
|
}
|
|
|
|
|
2021-11-30 21:08:46 +03:00
|
|
|
.mx_SpacePanel_iconInvite::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/invite.svg");
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpacePanel_iconSettings::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/settings.svg");
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpacePanel_iconLeave::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/leave.svg");
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpacePanel_iconMembers::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/room/members.svg");
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpacePanel_iconPlus::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/plus.svg");
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpacePanel_iconExplore::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/roomlist/hash-search.svg");
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
2021-07-28 21:33:07 +03:00
|
|
|
|
2021-12-17 12:26:32 +03:00
|
|
|
.mx_SpacePanel_iconPreferences::before {
|
2022-12-12 14:24:14 +03:00
|
|
|
mask-image: url("$(res)/img/element-icons/settings/preference.svg");
|
2021-12-17 12:26:32 +03:00
|
|
|
}
|
|
|
|
|
2021-07-28 21:33:07 +03:00
|
|
|
.mx_SpacePanel_noIcon {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
& + .mx_IconizedContextMenu_label {
|
2022-07-27 16:39:29 +03:00
|
|
|
padding-left: 5px !important; /* override default iconized label style to align with header */
|
2021-07-28 21:33:07 +03:00
|
|
|
}
|
|
|
|
}
|
2021-11-30 21:08:46 +03:00
|
|
|
|
|
|
|
.mx_SpacePanel_contextMenu_separatorLabel {
|
|
|
|
color: $tertiary-content;
|
|
|
|
font-size: $font-10px;
|
|
|
|
line-height: $font-12px;
|
2023-04-21 17:16:00 +03:00
|
|
|
font-weight: var(--font-semi-bold);
|
2021-11-30 21:08:46 +03:00
|
|
|
//margin-left: 8px;
|
|
|
|
}
|
2021-03-02 17:34:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpacePanel_sharePublicSpace {
|
|
|
|
margin: 0;
|
|
|
|
}
|