riot-web/res/css/views/dialogs/_ExportDialog.pcss

97 lines
2.4 KiB
Plaintext
Raw Normal View History

2021-07-26 20:10:27 +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.
*/
2021-06-29 07:06:24 +02:00
.mx_ExportDialog {
.mx_ExportDialog_subheading {
font-size: $font-16px;
display: block;
font-family: $font-family;
font-weight: $font-semi-bold;
color: $primary-content;
2021-06-29 07:06:24 +02:00
margin-top: 18px;
margin-bottom: 12px;
}
&.mx_ExportDialog_Exporting {
.mx_ExportDialog_options {
pointer-events: none;
}
2021-07-26 09:28:17 +02:00
.mx_Field_select::before {
display: none;
}
.mx_StyledRadioButton input[type="radio"]:checked + div > div {
2021-11-29 13:52:09 +01:00
background: $info-plinth-fg-color;
}
.mx_StyledRadioButton input[type="radio"]:checked + div {
2021-07-26 09:28:17 +02:00
border-color: unset;
}
.mx_Field_valid.mx_Field label,
.mx_Field_valid.mx_Field:focus-within label {
color: unset;
}
2022-12-12 12:24:14 +01:00
.mx_Field_valid.mx_Field,
.mx_Field_valid.mx_Field:focus-within {
2021-07-26 09:28:17 +02:00
border-color: $input-border-color;
}
2021-07-26 09:28:17 +02:00
.mx_Checkbox input[type="checkbox"]:checked + label > .mx_Checkbox_background {
2021-11-29 13:52:09 +01:00
background: $info-plinth-fg-color;
border-color: $info-plinth-fg-color;
}
}
.mx_ExportDialog_progress {
.mx_Dialog_buttons {
margin-top: unset;
margin-left: 18px;
}
2021-07-26 20:10:27 +02:00
.mx_Spinner {
width: unset;
height: unset;
flex: unset;
margin-right: 10px;
}
2021-07-26 20:10:27 +02:00
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
}
.mx_StyledRadioButton > .mx_StyledRadioButton_content {
2021-06-29 07:06:24 +02:00
margin-top: 5px;
margin-bottom: 5px;
}
2021-06-29 07:06:24 +02:00
.mx_Field {
width: 256px;
}
2021-06-29 07:06:24 +02:00
.mx_Field_postfix {
padding: 9px 10px;
}
}
.mx_ExportDialog_attachments-checkbox {
margin-top: $spacing-16;
}