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;
|
2021-08-12 12:10:47 +03:00
|
|
|
background: $background;
|
2021-06-04 13:35:17 +03:00
|
|
|
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 {
|
2021-11-29 15:52:09 +03:00
|
|
|
background: $panel-actions;
|
2021-06-04 13:35:17 +03:00
|
|
|
border-radius: 6px;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
&::after {
|
2021-08-12 12:27:12 +03:00
|
|
|
background-color: $primary-content;
|
2021-06-04 13:35:17 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> h2 {
|
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2021-06-04 13:35:17 +03:00
|
|
|
margin-top: 24px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-06-04 13:35:17 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-12-01 20:22:43 +03:00
|
|
|
|
|
|
|
.mx_EventTile_body {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2021-05-25 18:10:44 +03:00
|
|
|
}
|