2020-10-29 18:53:14 +03: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;
|
|
|
|
padding-left: 52px;
|
|
|
|
|
|
|
|
> p {
|
2021-08-12 12:53:54 +03:00
|
|
|
color: $tertiary-content;
|
2020-10-29 18:53:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AccessibleButton_kind_link {
|
|
|
|
padding: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
a, .mx_AccessibleButton_kind_link {
|
|
|
|
color: $accent-color;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before, &::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: $icon-button-color;
|
|
|
|
border-radius: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
background: $avatar-initial-color; // TODO
|
|
|
|
mask-position: center;
|
|
|
|
mask-size: 24px;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FeedbackDialog_reportBug {
|
|
|
|
&::after {
|
|
|
|
mask-image: url('$(res)/img/feather-customised/bug.svg');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_FeedbackDialog_rateApp {
|
2021-11-04 15:57:38 +03:00
|
|
|
.mx_StyledRadioButton {
|
2020-10-29 18:53:14 +03:00
|
|
|
display: inline-flex;
|
|
|
|
font-size: 20px;
|
|
|
|
transition: font-size 1s, border .5s;
|
|
|
|
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 15:57:38 +03:00
|
|
|
.mx_StyledRadioButton_content {
|
2020-10-29 18:53:14 +03:00
|
|
|
background: $icon-button-color;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 40px;
|
|
|
|
border-radius: 20px;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
2021-11-04 15:57:38 +03:00
|
|
|
.mx_StyledRadioButton_spacer {
|
2020-10-29 18:53:14 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-11-04 15:57:38 +03:00
|
|
|
& + .mx_StyledRadioButton {
|
2020-10-29 18:53:14 +03:00
|
|
|
margin-left: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-04 15:57:38 +03:00
|
|
|
.mx_StyledRadioButton_checked {
|
2020-10-29 18:53:14 +03:00
|
|
|
font-size: 24px;
|
|
|
|
border-color: $accent-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
mask-image: url('$(res)/img/element-icons/feedback.svg');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|