2020-10-29 15:53:14 +00:00
|
|
|
/*
|
|
|
|
Copyright 2020 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_FeedbackDialog {
|
|
|
|
hr {
|
|
|
|
margin: 24px 0;
|
|
|
|
border-color: $input-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog_content {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
|
|
> h2 {
|
|
|
|
margin-bottom: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FeedbackDialog_section {
|
|
|
|
position: relative;
|
2021-11-30 18:08:46 +00:00
|
|
|
padding: 12px 52px 12px 68px;
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 1px solid $quinary-content;
|
|
|
|
|
|
|
|
& + .mx_FeedbackDialog_section {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 8px;
|
2023-06-29 10:30:25 +00:00
|
|
|
font-weight: var(--cpd-font-weight-semibold);
|
2021-11-30 18:08:46 +00:00
|
|
|
font-size: $font-18px;
|
|
|
|
line-height: $font-22px;
|
|
|
|
}
|
2020-10-29 15:53:14 +00:00
|
|
|
|
|
|
|
> p {
|
2021-11-30 18:08:46 +00:00
|
|
|
color: $secondary-content;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
|
|
|
margin: 8px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FeedbackDialog_section_microcopy {
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2020-10-29 15:53:14 +00:00
|
|
|
}
|
|
|
|
|
2022-12-12 11:24:14 +00:00
|
|
|
a,
|
|
|
|
.mx_AccessibleButton_kind_link {
|
2021-11-11 13:37:29 +00:00
|
|
|
color: $accent;
|
2020-10-29 15:53:14 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2022-12-12 11:24:14 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2020-10-29 15:53:14 +00:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2021-11-30 18:08:46 +00:00
|
|
|
left: 16px;
|
|
|
|
top: 12px;
|
2020-10-29 15:53:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: $icon-button-color;
|
2021-11-30 18:08:46 +00:00
|
|
|
border-radius: 8px;
|
2020-10-29 15:53:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
2022-07-27 13:39:29 +00:00
|
|
|
background: $avatar-initial-color; /* TODO */
|
2020-10-29 15:53:14 +00:00
|
|
|
mask-position: center;
|
|
|
|
mask-size: 24px;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FeedbackDialog_reportBug {
|
|
|
|
&::after {
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/feather-customised/bug.svg");
|
2020-10-29 15:53:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FeedbackDialog_rateApp {
|
2021-11-04 12:57:38 +00:00
|
|
|
.mx_StyledRadioButton {
|
2020-10-29 15:53:14 +00:00
|
|
|
display: inline-flex;
|
|
|
|
font-size: 20px;
|
2024-01-02 18:56:39 +00:00
|
|
|
transition:
|
|
|
|
font-size 1s,
|
|
|
|
border 0.5s;
|
2020-10-29 15:53:14 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
vertical-align: top;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
input[type="radio"] + div {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-11-04 12:57:38 +00:00
|
|
|
.mx_StyledRadioButton_content {
|
2020-10-29 15:53:14 +00:00
|
|
|
background: $icon-button-color;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 40px;
|
|
|
|
border-radius: 20px;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
2021-11-04 12:57:38 +00:00
|
|
|
.mx_StyledRadioButton_spacer {
|
2020-10-29 15:53:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-11-04 12:57:38 +00:00
|
|
|
& + .mx_StyledRadioButton {
|
2020-10-29 15:53:14 +00:00
|
|
|
margin-left: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-04 12:57:38 +00:00
|
|
|
.mx_StyledRadioButton_checked {
|
2020-10-29 15:53:14 +00:00
|
|
|
font-size: 24px;
|
2021-11-11 13:37:29 +00:00
|
|
|
border-color: $accent;
|
2020-10-29 15:53:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
2022-12-12 11:24:14 +00:00
|
|
|
mask-image: url("$(res)/img/element-icons/feedback.svg");
|
2020-10-29 15:53:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|