2018-04-12 07:23:35 +08:00
|
|
|
/*
|
|
|
|
Copyright 2017 Vector Creations Ltd
|
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_GroupView {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_error {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header {
|
2019-01-30 23:24:02 +08:00
|
|
|
min-height: 52px;
|
2018-04-12 07:23:35 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
padding-bottom: 10px;
|
2020-07-15 00:16:00 +08:00
|
|
|
padding-left: 19px;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header_view {
|
|
|
|
border-bottom: 1px solid $primary-hairline-color;
|
|
|
|
padding-bottom: 0px;
|
2018-12-10 23:51:19 +08:00
|
|
|
padding-right: 8px;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header_avatar, .mx_GroupView_header_info {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupHeader_button {
|
2019-11-01 22:46:30 +08:00
|
|
|
position: relative;
|
2019-02-13 01:48:27 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
2018-04-12 07:23:35 +08:00
|
|
|
cursor: pointer;
|
2019-02-13 01:48:27 +08:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2019-11-01 22:46:30 +08:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2021-11-16 18:10:44 +08:00
|
|
|
background-color: $header-panel-text-primary-color;
|
2019-11-01 22:46:30 +08:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
|
|
|
}
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
2019-11-01 22:46:30 +08:00
|
|
|
.mx_GroupHeader_editButton::before {
|
2020-07-07 00:28:54 +08:00
|
|
|
mask-image: url('$(res)/img/element-icons/settings.svg');
|
2019-02-13 01:48:27 +08:00
|
|
|
}
|
|
|
|
|
2019-11-01 22:46:30 +08:00
|
|
|
.mx_GroupHeader_shareButton::before {
|
2020-07-07 00:28:54 +08:00
|
|
|
mask-image: url('$(res)/img/element-icons/room/share.svg');
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
2019-03-06 00:12:02 +08:00
|
|
|
.mx_GroupView_hostingSignup img {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2018-04-12 07:23:35 +08:00
|
|
|
.mx_GroupView_editable {
|
2019-04-09 22:05:39 +08:00
|
|
|
border-bottom: 1px solid $strong-input-border-color !important;
|
2018-04-12 07:23:35 +08:00
|
|
|
min-width: 150px;
|
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_editable:focus {
|
2021-11-11 21:37:29 +08:00
|
|
|
border-bottom: 1px solid $accent !important;
|
2018-04-12 07:23:35 +08:00
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header_isUserMember .mx_GroupView_header_name:hover div:not(.mx_GroupView_editable) {
|
2021-11-11 21:37:29 +08:00
|
|
|
color: $accent;
|
2018-04-12 07:23:35 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_avatarPicker {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_avatarPicker_edit {
|
|
|
|
position: absolute;
|
|
|
|
top: 50px;
|
|
|
|
left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_avatarPicker .mx_Spinner {
|
|
|
|
width: 48px;
|
2019-04-09 22:05:39 +08:00
|
|
|
height: 48px !important;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header_leftCol {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header_rightCol {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_textButton {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header_groupid {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: initial;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header_name {
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 100%;
|
|
|
|
height: 31px;
|
|
|
|
overflow: hidden;
|
2021-08-12 17:27:12 +08:00
|
|
|
color: $primary-content;
|
2018-04-12 07:23:35 +08:00
|
|
|
font-weight: bold;
|
2020-03-31 22:26:23 +08:00
|
|
|
font-size: $font-22px;
|
2018-04-12 07:23:35 +08:00
|
|
|
padding-left: 19px;
|
|
|
|
padding-right: 16px;
|
|
|
|
/* why isn't text-overflow working? */
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_header_shortDesc {
|
|
|
|
vertical-align: bottom;
|
|
|
|
float: left;
|
|
|
|
max-height: 42px;
|
|
|
|
color: $settings-grey-fg-color;
|
|
|
|
font-weight: 300;
|
2020-03-31 22:26:23 +08:00
|
|
|
font-size: $font-13px;
|
2018-04-12 07:23:35 +08:00
|
|
|
padding-left: 19px;
|
|
|
|
margin-right: 16px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_avatarPicker_label {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_cancelButton {
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_cancelButton img {
|
|
|
|
position: relative;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView input[type='radio'] {
|
|
|
|
margin: 10px 10px 0px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_label_text {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 80%;
|
|
|
|
vertical-align: 0.1em;
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
2019-04-09 22:05:39 +08:00
|
|
|
.mx_GroupView_body {
|
2018-04-12 07:23:35 +08:00
|
|
|
flex-grow: 1;
|
2020-07-15 00:16:00 +08:00
|
|
|
margin: 0 24px;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_rooms {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 200px;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView h3 {
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: $h3-color;
|
|
|
|
font-weight: 600;
|
2020-03-31 22:26:23 +08:00
|
|
|
font-size: $font-13px;
|
2018-04-12 07:23:35 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_rooms_header .mx_AccessibleButton {
|
|
|
|
padding-left: 14px;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_group {
|
|
|
|
border-top: 1px solid $primary-hairline-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_group_disabled {
|
|
|
|
opacity: 0.3;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_rooms_header_addRow_button {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_rooms_header_addRow_button object {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_rooms_header_addRow_label {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2020-03-31 22:26:23 +08:00
|
|
|
line-height: $font-24px;
|
2018-04-12 07:23:35 +08:00
|
|
|
padding-left: 28px;
|
2021-11-11 21:37:29 +08:00
|
|
|
color: $accent;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_rooms .mx_RoomDetailList {
|
|
|
|
flex-grow: 1;
|
|
|
|
border-top: 1px solid $primary-hairline-color;
|
|
|
|
padding-top: 10px;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView .mx_RoomView_messageListWrapper {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_membershipSection {
|
2021-11-29 20:52:09 +08:00
|
|
|
color: $info-plinth-fg-color;
|
2018-04-12 07:23:35 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_membershipSubSection {
|
|
|
|
justify-content: space-between;
|
|
|
|
display: flex;
|
2020-07-15 00:16:00 +08:00
|
|
|
padding-bottom: 8px;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_membershipSubSection .mx_Spinner {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_membershipSection_description {
|
|
|
|
/* To match textButton */
|
2020-03-31 22:26:23 +08:00
|
|
|
line-height: $font-34px;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_membershipSection_description .mx_BaseAvatar {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_membershipSection .mx_GroupView_textButton {
|
|
|
|
margin-right: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_memberSettings_toggle label {
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_memberSettings input {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThings {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThings_header {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 120%;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThings_category {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 110%;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThings_container {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThings_addButton,
|
|
|
|
.mx_GroupView_featuredThing {
|
|
|
|
display: table-cell;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
width: 100px;
|
|
|
|
margin: 0px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThing {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThing .mx_GroupView_featuredThing_deleteButton {
|
|
|
|
position: absolute;
|
|
|
|
top: -7px;
|
|
|
|
right: 11px;
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThing .mx_BaseAvatar {
|
2021-06-30 15:09:55 +08:00
|
|
|
/* To prevent misalignment with img (in addButton) */
|
2018-04-12 07:23:35 +08:00
|
|
|
vertical-align: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThings_addButton object {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_featuredThing_name {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_uploadInput {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-03-26 02:26:59 +08:00
|
|
|
.mx_GroupView_body .mx_AutoHideScrollbar > * {
|
2020-03-17 18:09:47 +08:00
|
|
|
margin: 11px 50px 50px 68px;
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_groupDesc textarea {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
height: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_groupDesc_placeholder,
|
|
|
|
.mx_GroupView_changeDelayWarning {
|
|
|
|
background-color: $info-plinth-bg-color;
|
|
|
|
color: $info-plinth-fg-color;
|
|
|
|
border-radius: 10px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
margin: 20px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_groupDesc_placeholder {
|
|
|
|
padding: 100px 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_changeDelayWarning {
|
|
|
|
padding: 40px 20px;
|
|
|
|
}
|
2019-01-30 23:59:28 +08:00
|
|
|
|
2021-08-04 17:37:35 +08:00
|
|
|
.mx_GroupView_spaceUpgradePrompt {
|
|
|
|
padding: 16px 50px;
|
|
|
|
background-color: $header-panel-bg-color;
|
|
|
|
border-radius: 8px;
|
|
|
|
max-width: 632px;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
|
|
|
margin-top: 24px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
> h2 {
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
> p, h2 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: $font-24px;
|
|
|
|
width: 20px;
|
|
|
|
left: 18px;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-image: url('$(res)/img/element-icons/room/room-summary.svg');
|
2021-08-12 17:30:35 +08:00
|
|
|
background-color: $secondary-content;
|
2021-08-04 17:37:35 +08:00
|
|
|
}
|
|
|
|
|
2021-08-12 17:58:56 +08:00
|
|
|
.mx_AccessibleButton_kind_link {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupView_spaceUpgradePrompt_close {
|
2021-08-04 17:37:35 +08:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: $input-darker-bg-color;
|
|
|
|
position: absolute;
|
|
|
|
top: 16px;
|
|
|
|
right: 16px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: 8px;
|
|
|
|
mask-image: url('$(res)/img/image-view/close.svg');
|
2021-08-12 17:30:35 +08:00
|
|
|
background-color: $secondary-content;
|
2021-08-04 17:37:35 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-26 02:26:59 +08:00
|
|
|
.mx_GroupView .mx_MemberInfo .mx_AutoHideScrollbar > :not(.mx_MemberInfo_avatar) {
|
2019-01-30 23:59:28 +08:00
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
}
|