mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
61 lines
1.7 KiB
SCSS
61 lines
1.7 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_SpacePublicShare {
|
|
.mx_AccessibleButton {
|
|
border: 1px solid $space-button-outline-color;
|
|
box-sizing: border-box;
|
|
border-radius: 8px;
|
|
padding: 12px 24px 12px 52px;
|
|
margin-top: 16px;
|
|
width: $SpaceRoomViewInnerWidth;
|
|
font-size: $font-15px;
|
|
line-height: $font-24px;
|
|
position: relative;
|
|
display: flex;
|
|
|
|
> span {
|
|
color: #368bd6;
|
|
margin-left: auto;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: rgba(141, 151, 165, 0.1);
|
|
}
|
|
|
|
&::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 30px;
|
|
height: 30px;
|
|
mask-repeat: no-repeat;
|
|
mask-size: contain;
|
|
mask-position: center;
|
|
background: $muted-fg-color;
|
|
left: 12px;
|
|
top: 9px;
|
|
}
|
|
|
|
&.mx_SpacePublicShare_shareButton::before {
|
|
mask-image: url('$(res)/img/element-icons/link.svg');
|
|
}
|
|
|
|
&.mx_SpacePublicShare_inviteButton::before {
|
|
mask-image: url('$(res)/img/element-icons/room/invite.svg');
|
|
}
|
|
}
|
|
}
|