mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 01:48:43 +08:00
92906c2130
* Replace `$font-normal` and `$font-semi-bold` Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Replace `font-weight: 600` with the custom property Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Replace the existing variables Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> --------- Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
84 lines
2.1 KiB
Plaintext
84 lines
2.1 KiB
Plaintext
/*
|
|
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_JoinRuleSettings_upgradeRequired {
|
|
margin-left: 16px;
|
|
padding: 4px 16px;
|
|
border: 1px solid $accent;
|
|
border-radius: 8px;
|
|
color: $accent;
|
|
font-size: $font-12px;
|
|
line-height: $font-15px;
|
|
}
|
|
|
|
.mx_JoinRuleSettings_spacesWithAccess {
|
|
> h4 {
|
|
color: $secondary-content;
|
|
font-weight: var(--font-semi-bold);
|
|
font-size: $font-12px;
|
|
line-height: $font-15px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
> span {
|
|
font-weight: 500;
|
|
font-size: $font-14px;
|
|
line-height: 32px; /* matches height of avatar for v-align */
|
|
color: $secondary-content;
|
|
display: inline-block;
|
|
|
|
img.mx_RoomAvatar_isSpaceRoom,
|
|
.mx_RoomAvatar_isSpaceRoom img {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.mx_BaseAvatar {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
& + span {
|
|
margin-left: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mx_JoinRuleSettings_radioButton {
|
|
padding-top: 16px;
|
|
margin-bottom: 8px;
|
|
|
|
.mx_StyledRadioButton_content {
|
|
margin-left: 14px;
|
|
font-weight: var(--font-semi-bold);
|
|
font-size: $font-15px;
|
|
line-height: $font-24px;
|
|
color: $primary-content;
|
|
display: block;
|
|
}
|
|
|
|
& + span {
|
|
display: inline-block;
|
|
margin-left: 34px;
|
|
margin-bottom: 16px;
|
|
font-size: $font-15px;
|
|
line-height: $font-24px;
|
|
color: $secondary-content;
|
|
|
|
& + .mx_StyledRadioButton {
|
|
border-top: 1px solid $quinary-content;
|
|
}
|
|
}
|
|
}
|