2021-03-01 21:10:17 +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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
$SpaceRoomViewInnerWidth: 428px;
|
|
|
|
|
2021-03-19 16:16:36 +03:00
|
|
|
@define-mixin SpacePillButton {
|
|
|
|
position: relative;
|
|
|
|
padding: 16px 32px 16px 72px;
|
|
|
|
width: 432px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 8px;
|
2021-03-25 15:17:39 +03:00
|
|
|
border: 1px solid $input-border-color;
|
2021-03-19 16:16:36 +03:00
|
|
|
font-size: $font-15px;
|
|
|
|
margin: 20px 0;
|
|
|
|
|
|
|
|
> h3 {
|
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
margin: 0 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-03-19 16:16:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
top: 24px;
|
|
|
|
left: 20px;
|
|
|
|
mask-position: center;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: 24px;
|
2021-08-12 12:53:54 +03:00
|
|
|
background-color: $tertiary-content;
|
2021-03-19 16:16:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2021-11-11 16:37:29 +03:00
|
|
|
border-color: $accent;
|
2021-03-19 16:16:36 +03:00
|
|
|
|
|
|
|
&::before {
|
2021-11-11 16:37:29 +03:00
|
|
|
background-color: $accent;
|
2021-03-19 16:16:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2021-03-19 16:16:36 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-01 21:10:17 +03:00
|
|
|
.mx_SpaceRoomView {
|
2021-08-21 11:16:26 +03:00
|
|
|
overflow-y: auto;
|
|
|
|
flex: 1;
|
|
|
|
|
2021-03-01 21:10:17 +03:00
|
|
|
.mx_MainSplit > div:first-child {
|
|
|
|
padding: 80px 60px;
|
|
|
|
flex-grow: 1;
|
2021-03-11 14:49:43 +03:00
|
|
|
max-height: 100%;
|
|
|
|
overflow-y: auto;
|
2021-03-01 21:10:17 +03:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: $font-24px;
|
|
|
|
font-weight: $font-semi-bold;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2021-03-01 21:10:17 +03:00
|
|
|
width: max-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_description {
|
|
|
|
font-size: $font-15px;
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-03-01 21:10:17 +03:00
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 24px;
|
2021-04-29 00:47:08 +03:00
|
|
|
max-width: $SpaceRoomViewInnerWidth;
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
|
2021-04-26 14:41:04 +03:00
|
|
|
.mx_AddExistingToSpace {
|
|
|
|
max-width: $SpaceRoomViewInnerWidth;
|
|
|
|
|
|
|
|
.mx_AddExistingToSpace_content {
|
|
|
|
height: calc(100vh - 360px);
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
|
2021-05-11 19:01:31 +03:00
|
|
|
&:not(.mx_SpaceRoomView_landing) .mx_SpaceFeedbackPrompt {
|
|
|
|
width: $SpaceRoomViewInnerWidth;
|
|
|
|
}
|
|
|
|
|
2021-03-01 21:10:17 +03:00
|
|
|
.mx_SpaceRoomView_buttons {
|
|
|
|
display: block;
|
|
|
|
margin-top: 44px;
|
|
|
|
width: $SpaceRoomViewInnerWidth;
|
|
|
|
text-align: right; // button alignment right
|
|
|
|
|
2021-03-24 16:15:31 +03:00
|
|
|
.mx_AccessibleButton_hasKind {
|
2021-03-01 21:10:17 +03:00
|
|
|
padding: 8px 22px;
|
|
|
|
margin-left: 16px;
|
|
|
|
}
|
2021-05-11 12:01:40 +03:00
|
|
|
|
|
|
|
input.mx_AccessibleButton {
|
|
|
|
border: none; // override default styles
|
|
|
|
}
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Field {
|
|
|
|
max-width: $SpaceRoomViewInnerWidth;
|
|
|
|
|
|
|
|
& + .mx_Field {
|
|
|
|
margin-top: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_errorText {
|
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-11-11 16:37:29 +03:00
|
|
|
color: $alert;
|
2021-03-01 21:10:17 +03:00
|
|
|
margin-bottom: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton_disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-24 12:48:54 +03:00
|
|
|
.mx_SpaceRoomView_preview,
|
|
|
|
.mx_SpaceRoomView_landing {
|
|
|
|
.mx_SpaceRoomView_info_memberCount {
|
|
|
|
color: inherit;
|
|
|
|
position: relative;
|
|
|
|
padding: 0 0 0 16px;
|
|
|
|
font-size: $font-15px;
|
|
|
|
display: inline; // cancel inline-flex
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "·"; // visual separator
|
|
|
|
position: absolute;
|
|
|
|
left: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-11 14:49:43 +03:00
|
|
|
.mx_SpaceRoomView_preview {
|
|
|
|
padding: 32px 24px !important; // override default padding from above
|
|
|
|
margin: auto;
|
|
|
|
max-width: 480px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: 2px 15px 30px $dialog-shadow-color;
|
|
|
|
border-radius: 8px;
|
2021-04-28 10:41:31 +03:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
// XXX remove this when spaces leaves Beta
|
|
|
|
.mx_BetaCard_betaPill {
|
|
|
|
position: absolute;
|
|
|
|
right: 24px;
|
|
|
|
top: 32px;
|
|
|
|
}
|
2022-03-14 12:11:12 +03:00
|
|
|
|
2021-04-28 10:41:31 +03:00
|
|
|
// XXX remove this when spaces leaves Beta
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_preview_spaceBetaPrompt {
|
2021-04-29 18:08:59 +03:00
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
font-size: $font-14px;
|
2021-04-28 10:41:31 +03:00
|
|
|
line-height: $font-24px;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2021-04-29 18:08:59 +03:00
|
|
|
margin-top: 24px;
|
|
|
|
position: relative;
|
|
|
|
padding-left: 24px;
|
2021-04-28 10:41:31 +03:00
|
|
|
|
|
|
|
.mx_AccessibleButton_kind_link {
|
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
2021-04-29 18:08:59 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: $font-24px;
|
|
|
|
width: 20px;
|
|
|
|
left: 0;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-image: url('$(res)/img/element-icons/room/room-summary.svg');
|
2021-08-12 12:30:35 +03:00
|
|
|
background-color: $secondary-content;
|
2021-04-29 18:08:59 +03:00
|
|
|
}
|
2021-04-28 10:41:31 +03:00
|
|
|
}
|
2021-03-11 14:49:43 +03:00
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_preview_inviter {
|
2021-03-11 14:49:43 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
font-size: $font-15px;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
margin-left: 8px;
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_preview_inviter_name {
|
|
|
|
line-height: $font-18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_preview_inviter_mxid {
|
|
|
|
line-height: $font-24px;
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-03-11 14:49:43 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-11 16:52:40 +03:00
|
|
|
> .mx_RoomAvatar_isSpaceRoom {
|
|
|
|
&.mx_BaseAvatar_image, .mx_BaseAvatar_image {
|
|
|
|
border-radius: 12px;
|
|
|
|
}
|
2021-03-11 14:49:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
h1.mx_SpaceRoomView_preview_name {
|
|
|
|
margin: 20px 0 !important; // override default margin from above
|
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_preview_topic {
|
2021-03-11 14:49:43 +03:00
|
|
|
font-size: $font-14px;
|
|
|
|
line-height: $font-22px;
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-03-11 14:49:43 +03:00
|
|
|
margin: 20px 0;
|
|
|
|
max-height: 160px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_preview_joinButtons {
|
2021-03-11 14:49:43 +03:00
|
|
|
margin-top: 20px;
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
width: 200px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 14px 0;
|
|
|
|
|
|
|
|
& + .mx_AccessibleButton {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_landing {
|
2021-07-23 13:27:00 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-08-21 11:16:26 +03:00
|
|
|
min-width: 0;
|
2021-07-23 13:27:00 +03:00
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_landing_header {
|
2022-03-14 12:11:12 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-01-10 14:34:42 +03:00
|
|
|
|
2022-03-14 12:11:12 +03:00
|
|
|
.mx_BaseAvatar {
|
|
|
|
width: 80px;
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_BaseAvatar_image {
|
2022-03-14 12:11:12 +03:00
|
|
|
border-radius: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// XXX: Temporary for the Spaces release only
|
|
|
|
.mx_SpaceFeedbackPrompt {
|
|
|
|
padding: 7px; // 8px - 1px border
|
|
|
|
border: 1px solid rgba($primary-content, .1);
|
|
|
|
border-radius: 8px;
|
|
|
|
width: max-content;
|
|
|
|
height: fit-content;
|
|
|
|
margin-left: 24px;
|
|
|
|
}
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_landing_name {
|
2021-03-01 21:10:17 +03:00
|
|
|
margin: 24px 0 16px;
|
|
|
|
font-size: $font-15px;
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-03-01 21:10:17 +03:00
|
|
|
|
|
|
|
> span {
|
2022-03-23 20:17:25 +03:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
gap: 12px 0;
|
2021-03-01 21:10:17 +03:00
|
|
|
|
2022-03-23 20:17:25 +03:00
|
|
|
h1 {
|
2021-03-01 21:10:17 +03:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_landing_inviter {
|
|
|
|
.mx_BaseAvatar {
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2021-03-26 16:11:57 +03:00
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_landing_infoBar {
|
2021-03-26 16:11:57 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-03-23 20:17:25 +03:00
|
|
|
justify-content: space-between;
|
|
|
|
gap: 12px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
line-height: $font-24px;
|
2021-03-26 16:11:57 +03:00
|
|
|
|
|
|
|
.mx_SpaceRoomView_info {
|
2022-03-23 20:17:25 +03:00
|
|
|
color: $secondary-content;
|
|
|
|
font-size: $font-15px;
|
2021-03-26 16:11:57 +03:00
|
|
|
display: inline-block;
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_info_public,
|
|
|
|
.mx_SpaceRoomView_info_private {
|
2022-03-23 20:17:25 +03:00
|
|
|
padding-left: 20px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
top: 0;
|
|
|
|
left: -2px;
|
|
|
|
mask-position: center;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
background-color: $tertiary-content;
|
|
|
|
}
|
|
|
|
}
|
2021-03-26 16:11:57 +03:00
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_info_public::before {
|
2022-03-23 20:17:25 +03:00
|
|
|
mask-size: 12px;
|
|
|
|
mask-image: url("$(res)/img/globe.svg");
|
2021-03-26 16:11:57 +03:00
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_info_private::before {
|
2022-03-23 20:17:25 +03:00
|
|
|
mask-size: 14px;
|
|
|
|
mask-image: url("$(res)/img/element-icons/lock.svg");
|
|
|
|
}
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
2021-05-05 19:25:29 +03:00
|
|
|
|
2022-03-23 20:17:25 +03:00
|
|
|
.mx_SpaceRoomView_landing_infoBar_interactive {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
gap: 12px 12px;
|
2021-05-05 19:25:29 +03:00
|
|
|
|
2022-03-23 20:17:25 +03:00
|
|
|
.mx_FacePile {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
.mx_FacePile_faces {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-24 00:56:16 +03:00
|
|
|
.mx_SpaceRoomView_landing_inviteButton,
|
|
|
|
.mx_SpaceRoomView_landing_settingsButton {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
mask-position: center;
|
|
|
|
mask-repeat: no-repeat;
|
2022-03-23 20:17:25 +03:00
|
|
|
}
|
2022-03-24 00:56:16 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_landing_inviteButton {
|
|
|
|
padding: 4px 18px 4px 40px;
|
|
|
|
height: min-content;
|
2022-03-23 20:17:25 +03:00
|
|
|
|
2022-03-24 00:56:16 +03:00
|
|
|
&::before {
|
|
|
|
left: 8px;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
background: #fff; // white icon fill
|
|
|
|
mask-size: 16px;
|
|
|
|
mask-image: url('$(res)/img/element-icons/room/invite.svg');
|
2022-03-23 20:17:25 +03:00
|
|
|
}
|
2022-03-24 00:56:16 +03:00
|
|
|
}
|
2022-03-23 20:17:25 +03:00
|
|
|
|
2022-03-24 00:56:16 +03:00
|
|
|
.mx_SpaceRoomView_landing_settingsButton {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2022-03-23 20:17:25 +03:00
|
|
|
|
2022-03-24 00:56:16 +03:00
|
|
|
&::before {
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
background: $tertiary-content;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-image: url('$(res)/img/element-icons/settings.svg');
|
2022-03-23 20:17:25 +03:00
|
|
|
}
|
2021-05-05 19:25:29 +03:00
|
|
|
}
|
|
|
|
}
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_landing_topic {
|
2021-03-01 21:10:17 +03:00
|
|
|
font-size: $font-15px;
|
2021-03-26 16:11:57 +03:00
|
|
|
margin-top: 12px;
|
2021-03-26 16:46:01 +03:00
|
|
|
margin-bottom: 16px;
|
2021-06-15 00:18:02 +03:00
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
2021-03-26 16:46:01 +03:00
|
|
|
}
|
|
|
|
|
2021-03-26 12:44:52 +03:00
|
|
|
.mx_SearchBox {
|
2021-03-26 16:46:01 +03:00
|
|
|
margin: 0 0 20px;
|
2021-07-23 13:27:00 +03:00
|
|
|
flex: 0;
|
2021-03-02 17:37:28 +03:00
|
|
|
}
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_privateScope {
|
2021-05-11 19:01:31 +03:00
|
|
|
> .mx_AccessibleButton {
|
2021-03-19 16:16:36 +03:00
|
|
|
@mixin SpacePillButton;
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_privateScope_justMeButton::before {
|
2021-03-01 21:10:17 +03:00
|
|
|
mask-image: url('$(res)/img/element-icons/room/members.svg');
|
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_privateScope_meAndMyTeammatesButton::before {
|
2022-03-24 22:51:18 +03:00
|
|
|
mask-image: url('$(res)/img/element-icons/group-members.svg');
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SpaceRoomView_inviteTeammates {
|
2021-04-29 00:47:08 +03:00
|
|
|
// XXX remove this when spaces leaves Beta
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_inviteTeammates_betaDisclaimer {
|
2021-10-11 12:43:37 +03:00
|
|
|
padding: 16px;
|
2021-04-29 00:47:08 +03:00
|
|
|
position: relative;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: $header-panel-bg-color;
|
|
|
|
max-width: $SpaceRoomViewInnerWidth;
|
|
|
|
margin: 20px 0 30px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.mx_BetaCard_betaPill {
|
|
|
|
position: absolute;
|
|
|
|
left: 16px;
|
|
|
|
top: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-23 21:23:23 +03:00
|
|
|
.mx_SpaceRoomView_inviteTeammates_buttons {
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-03-01 21:10:17 +03:00
|
|
|
margin-top: 28px;
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 32px;
|
|
|
|
line-height: 24px; // to center icons
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-08-12 12:30:35 +03:00
|
|
|
background-color: $secondary-content;
|
2021-03-01 21:10:17 +03:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
}
|
|
|
|
|
|
|
|
& + .mx_AccessibleButton {
|
|
|
|
margin-left: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-11 12:43:37 +03:00
|
|
|
.mx_SpaceRoomView_inviteTeammates_inviteDialogButton {
|
2021-11-11 16:37:29 +03:00
|
|
|
color: $accent;
|
2021-10-11 12:43:37 +03:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/room/invite.svg');
|
2021-11-11 16:37:29 +03:00
|
|
|
background-color: $accent;
|
2021-10-11 12:43:37 +03:00
|
|
|
}
|
2021-03-01 21:10:17 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|