2021-04-27 17:29:42 +02: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_BetaCard {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 24px;
|
2021-08-25 11:08:10 +02:00
|
|
|
background-color: $system;
|
2021-04-27 17:29:42 +02:00
|
|
|
border-radius: 8px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2021-06-17 17:22:40 +02:00
|
|
|
.mx_BetaCard_columns {
|
|
|
|
display: flex;
|
2022-03-28 12:26:14 +02:00
|
|
|
flex-flow: wrap;
|
|
|
|
gap: 20px;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.mx_BetaCard_columns_description {
|
|
|
|
flex: 1;
|
2021-06-17 17:22:40 +02:00
|
|
|
|
|
|
|
.mx_BetaCard_title {
|
|
|
|
font-weight: $font-semi-bold;
|
|
|
|
font-size: $font-18px;
|
|
|
|
line-height: $font-22px;
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2021-06-17 17:22:40 +02:00
|
|
|
margin: 4px 0 14px;
|
2021-04-28 23:47:08 +02:00
|
|
|
|
2022-03-28 12:26:14 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
column-gap: 12px;
|
2021-04-28 23:47:08 +02:00
|
|
|
}
|
2021-04-27 17:29:42 +02:00
|
|
|
|
2021-06-17 17:22:40 +02:00
|
|
|
.mx_BetaCard_caption {
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-20px;
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-06-17 17:22:40 +02:00
|
|
|
}
|
|
|
|
|
2022-03-28 12:26:14 +02:00
|
|
|
.mx_BetaCard_buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap-reverse;
|
|
|
|
gap: 12px;
|
|
|
|
margin: 20px auto;
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
padding: 7px 40px;
|
|
|
|
width: auto;
|
|
|
|
flex: 1;
|
|
|
|
white-space: nowrap; // text might overflow
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
order: 2; // Place feedback button top and right
|
|
|
|
}
|
|
|
|
}
|
2021-06-17 17:22:40 +02:00
|
|
|
}
|
2021-04-27 17:29:42 +02:00
|
|
|
|
2021-06-17 17:22:40 +02:00
|
|
|
.mx_BetaCard_disclaimer {
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2022-02-08 15:02:36 +01:00
|
|
|
|
|
|
|
> h4 {
|
2022-03-28 12:26:14 +02:00
|
|
|
margin: 12px 0 0;
|
2022-02-08 15:02:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
> p {
|
2022-03-28 12:26:14 +02:00
|
|
|
margin: 0;
|
2022-02-08 15:02:36 +01:00
|
|
|
}
|
2021-06-17 17:22:40 +02:00
|
|
|
}
|
2021-04-27 17:29:42 +02:00
|
|
|
}
|
|
|
|
|
2022-03-28 12:26:14 +02: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 17:29:42 +02:00
|
|
|
}
|
2021-06-17 17:22:40 +02:00
|
|
|
}
|
2021-06-16 10:01:13 +02:00
|
|
|
|
2021-06-17 17:22:40 +02:00
|
|
|
.mx_BetaCard_relatedSettings {
|
|
|
|
.mx_SettingsFlag {
|
|
|
|
margin: 16px 0 0;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
2021-08-12 11:27:12 +02:00
|
|
|
color: $primary-content;
|
2021-06-17 17:22:40 +02:00
|
|
|
|
|
|
|
.mx_SettingsFlag_microcopy {
|
2021-06-16 10:01:13 +02:00
|
|
|
margin-top: 4px;
|
2021-06-17 17:22:40 +02:00
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 11:30:35 +02:00
|
|
|
color: $secondary-content;
|
2021-06-16 10:01:13 +02:00
|
|
|
}
|
|
|
|
}
|
2021-04-27 17:29:42 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_BetaCard_betaPill {
|
2021-11-11 14:37:29 +01:00
|
|
|
background-color: $accent-alt;
|
2021-04-27 17:29:42 +02:00
|
|
|
padding: 4px 10px;
|
|
|
|
border-radius: 8px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
2022-02-08 15:02:36 +01:00
|
|
|
font-weight: $font-semi-bold;
|
2021-04-27 17:29:42 +02:00
|
|
|
line-height: 15px;
|
|
|
|
color: #FFFFFF;
|
2021-04-28 09:05:25 +02:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-bottom;
|
2022-03-28 10:27:59 +02:00
|
|
|
word-break: keep-all; // avoid multiple lines on CJK language
|
2021-04-28 09:41:31 +02:00
|
|
|
|
2022-03-02 17:31:47 +01:00
|
|
|
&.mx_AccessibleButton {
|
2021-04-28 09:41:31 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2021-04-27 17:29:42 +02:00
|
|
|
}
|
2021-04-27 18:01:22 +02:00
|
|
|
|
2021-11-11 14:37:29 +01:00
|
|
|
$pulse-color: $accent-alt;
|
2021-04-27 18:01:22 +02:00
|
|
|
$dot-size: 12px;
|
|
|
|
|
|
|
|
.mx_BetaDot {
|
|
|
|
border-radius: 50%;
|
|
|
|
margin: 10px;
|
|
|
|
height: $dot-size;
|
|
|
|
width: $dot-size;
|
|
|
|
transform: scale(1);
|
|
|
|
background: rgba($pulse-color, 1);
|
|
|
|
animation: mx_Beta_bluePulse 2s infinite;
|
|
|
|
animation-iteration-count: 20;
|
2021-07-02 15:58:59 +02:00
|
|
|
position: relative;
|
2021-08-13 14:29:25 +02:00
|
|
|
pointer-events: none;
|
2021-07-02 15:58:59 +02:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2021-07-02 16:23:03 +02:00
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-07-02 15:58:59 +02:00
|
|
|
transform: scale(1);
|
|
|
|
transform-origin: center center;
|
|
|
|
animation-name: mx_Beta_bluePulse_shadow;
|
|
|
|
animation-duration: inherit;
|
|
|
|
animation-iteration-count: inherit;
|
|
|
|
border-radius: 50%;
|
|
|
|
background: rgba($pulse-color, 1);
|
|
|
|
}
|
2021-04-27 18:01:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mx_Beta_bluePulse {
|
|
|
|
0% {
|
|
|
|
transform: scale(0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
70% {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: scale(0.95);
|
2021-07-02 15:58:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mx_Beta_bluePulse_shadow {
|
|
|
|
0% {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
70% {
|
|
|
|
transform: scale(2.2);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
2021-04-27 18:01:22 +02:00
|
|
|
}
|
|
|
|
}
|