2021-05-25 18:10:44 +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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_PinnedMessagesCard {
|
2021-05-26 15:51:17 +03:00
|
|
|
padding-top: 0;
|
|
|
|
|
2021-05-25 18:10:44 +03:00
|
|
|
.mx_BaseCard_header {
|
|
|
|
text-align: center;
|
2021-05-26 15:51:17 +03:00
|
|
|
margin-top: 0;
|
|
|
|
border-bottom: 1px solid $menu-border-color;
|
2021-05-25 18:10:44 +03:00
|
|
|
|
2021-05-26 15:51:17 +03:00
|
|
|
> h2 {
|
2021-05-25 18:10:44 +03:00
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
font-size: $font-18px;
|
2021-05-26 15:51:17 +03:00
|
|
|
margin: 8px 0;
|
2021-05-25 18:10:44 +03:00
|
|
|
}
|
|
|
|
|
2021-05-26 15:51:17 +03:00
|
|
|
.mx_BaseCard_close {
|
|
|
|
margin-right: 6px;
|
2021-05-25 18:10:44 +03:00
|
|
|
}
|
|
|
|
}
|
2021-06-04 13:35:17 +03:00
|
|
|
|
|
|
|
.mx_PinnedMessagesCard_empty {
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
height: max-content;
|
|
|
|
text-align: center;
|
|
|
|
margin: auto 40px;
|
|
|
|
|
|
|
|
.mx_PinnedMessagesCard_MessageActionBar {
|
|
|
|
pointer-events: none;
|
|
|
|
display: flex;
|
|
|
|
height: 32px;
|
|
|
|
line-height: $font-24px;
|
|
|
|
border-radius: 8px;
|
|
|
|
background: $primary-bg-color;
|
|
|
|
border: 1px solid $input-border-color;
|
|
|
|
padding: 1px;
|
|
|
|
width: max-content;
|
|
|
|
margin: 0 auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.mx_MessageActionBar_maskButton {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MessageActionBar_optionsButton {
|
|
|
|
background: $roomlist-button-bg-color;
|
|
|
|
border-radius: 6px;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
background-color: $primary-fg-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> h2 {
|
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
|
|
|
color: $primary-fg-color;
|
|
|
|
margin-top: 24px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
|
|
|
color: $secondary-fg-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-05-25 18:10:44 +03:00
|
|
|
}
|