mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
90 lines
2.5 KiB
SCSS
90 lines
2.5 KiB
SCSS
/*
|
|
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 {
|
|
padding-top: 0;
|
|
|
|
.mx_BaseCard_header {
|
|
text-align: center;
|
|
margin-top: 0;
|
|
border-bottom: 1px solid $menu-border-color;
|
|
|
|
> h2 {
|
|
font-weight: $font-semi-bold;
|
|
font-size: $font-18px;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.mx_BaseCard_close {
|
|
margin-right: 6px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
}
|