2021-04-27 18:29:42 +03:00
|
|
|
/*
|
2024-09-09 16:57:16 +03:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-04-27 18:29:42 +03:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 16:57:16 +03:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2021-04-27 18:29:42 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_BetaCard {
|
2023-03-06 19:25:10 +03:00
|
|
|
padding: $spacing-24;
|
2023-07-12 20:46:49 +03:00
|
|
|
background-color: $panels;
|
2021-04-27 18:29:42 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
box-sizing: border-box;
|
2022-06-09 20:07:59 +03:00
|
|
|
color: $secondary-content;
|
2021-04-27 18:29:42 +03:00
|
|
|
|
2021-06-17 18:22:40 +03:00
|
|
|
.mx_BetaCard_columns {
|
|
|
|
display: flex;
|
2022-03-28 13:26:14 +03:00
|
|
|
flex-flow: wrap;
|
2023-03-06 19:25:10 +03:00
|
|
|
gap: $spacing-20;
|
2022-03-28 13:26:14 +03:00
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.mx_BetaCard_columns_description {
|
|
|
|
flex: 1;
|
2021-06-17 18:22:40 +03:00
|
|
|
|
|
|
|
.mx_BetaCard_title {
|
2023-06-29 13:30:25 +03:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-06-17 18:22:40 +03:00
|
|
|
font-size: $font-18px;
|
|
|
|
line-height: $font-22px;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2023-06-06 17:03:52 +03:00
|
|
|
margin: $spacing-4 0 14px;
|
2021-04-29 00:47:08 +03:00
|
|
|
|
2022-03-28 13:26:14 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-03-06 19:25:10 +03:00
|
|
|
column-gap: $spacing-12;
|
2021-04-29 00:47:08 +03:00
|
|
|
}
|
2021-04-27 18:29:42 +03:00
|
|
|
|
2021-06-17 18:22:40 +03:00
|
|
|
.mx_BetaCard_caption {
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-20px;
|
|
|
|
}
|
|
|
|
|
2022-03-28 13:26:14 +03:00
|
|
|
.mx_BetaCard_buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap-reverse;
|
2022-06-09 20:07:59 +03:00
|
|
|
gap: $spacing-12;
|
|
|
|
margin: $spacing-20 auto 0;
|
2022-03-28 13:26:14 +03:00
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
padding: 7px 40px;
|
|
|
|
width: auto;
|
|
|
|
flex: 1;
|
2022-07-27 16:39:29 +03:00
|
|
|
white-space: nowrap; /* text might overflow */
|
2022-03-28 13:26:14 +03:00
|
|
|
|
|
|
|
&:nth-child(1) {
|
2022-07-27 16:39:29 +03:00
|
|
|
order: 2; /* Place feedback button top and right */
|
2022-03-28 13:26:14 +03:00
|
|
|
}
|
|
|
|
}
|
2021-06-17 18:22:40 +03:00
|
|
|
}
|
2021-04-27 18:29:42 +03:00
|
|
|
|
2022-06-09 20:07:59 +03:00
|
|
|
.mx_BetaCard_refreshWarning {
|
|
|
|
margin-top: $spacing-8;
|
|
|
|
font-size: $font-10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BetaCard_faq {
|
|
|
|
margin-top: $spacing-20;
|
2023-06-29 13:30:25 +03:00
|
|
|
font: var(--cpd-font-body-xs-regular);
|
2022-02-08 17:02:36 +03:00
|
|
|
|
|
|
|
> h4 {
|
2023-03-06 19:25:10 +03:00
|
|
|
margin: $spacing-12 0 0;
|
2022-02-08 17:02:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
> p {
|
2022-03-28 13:26:14 +03:00
|
|
|
margin: 0;
|
2022-02-08 17:02:36 +03:00
|
|
|
}
|
2021-06-17 18:22:40 +03:00
|
|
|
}
|
2021-04-27 18:29:42 +03:00
|
|
|
}
|
|
|
|
|
2022-03-28 13:26:14 +03:00
|
|
|
.mx_BetaCard_columns_image_wrapper {
|
|
|
|
margin: auto 0;
|
|
|
|
|
|
|
|
.mx_BetaCard_columns_image {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 300px;
|
|
|
|
object-fit: contain;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2021-04-27 18:29:42 +03:00
|
|
|
}
|
2021-06-17 18:22:40 +03:00
|
|
|
}
|
2021-06-16 11:01:13 +03:00
|
|
|
|
2021-06-17 18:22:40 +03:00
|
|
|
.mx_BetaCard_relatedSettings {
|
|
|
|
.mx_SettingsFlag {
|
2023-03-06 19:25:10 +03:00
|
|
|
margin: $spacing-16 0 0;
|
2021-06-17 18:22:40 +03:00
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2021-06-17 18:22:40 +03:00
|
|
|
|
|
|
|
.mx_SettingsFlag_microcopy {
|
2023-03-06 19:25:10 +03:00
|
|
|
margin-top: $spacing-4;
|
2023-06-29 13:30:25 +03:00
|
|
|
font: var(--cpd-font-body-sm-regular);
|
2021-06-16 11:01:13 +03:00
|
|
|
}
|
|
|
|
}
|
2021-04-27 18:29:42 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BetaCard_betaPill {
|
2021-11-11 16:37:29 +03:00
|
|
|
background-color: $accent-alt;
|
2023-06-06 17:03:52 +03:00
|
|
|
padding: $spacing-4 10px;
|
2021-04-27 18:29:42 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
text-transform: uppercase;
|
2023-03-06 19:25:10 +03:00
|
|
|
font-size: $font-12px;
|
2023-06-29 13:30:25 +03:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-04-27 18:29:42 +03:00
|
|
|
line-height: 15px;
|
2022-05-09 09:55:28 +03:00
|
|
|
color: $button-primary-fg-color;
|
2021-04-28 10:05:25 +03:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-bottom;
|
2022-07-27 16:39:29 +03:00
|
|
|
word-break: keep-all; /* avoid multiple lines on CJK language */
|
2021-04-28 10:41:31 +03:00
|
|
|
|
2022-03-02 19:31:47 +03:00
|
|
|
&.mx_AccessibleButton {
|
2021-04-28 10:41:31 +03:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2021-04-27 18:29:42 +03:00
|
|
|
}
|