7925e7169a
Little bit of a mix of things in this one: * Support variable-width dialogs. Default is fixed-width as before, only UploadConformDialog is variable-width. Controlled by a prop to BaseDialog. * Fixes to the cancel 'x' - scale the mask image, tweak size & colour * Colour & boldness of dialog titles * Align the dialog title & cancel 'x' * Remove gap between dialog buttons & right hand side of dialog(!) * Round corners on dialogs * Add grey border on image preview in upload confirm dialog * and, squeezing in slightly randomly, finish the partially renamed ChatInviteDialog to AddressPickerDialog.
47 lines
1.3 KiB
SCSS
47 lines
1.3 KiB
SCSS
/*
|
|
Copyright 2019 New Vector Ltd.
|
|
|
|
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_SettingsDialog {
|
|
.mx_Dialog {
|
|
max-width: 1000px;
|
|
width: 90%;
|
|
height: 80%;
|
|
border-radius: 4px;
|
|
padding-top: 0;
|
|
padding-right: 30px;
|
|
padding-left: 0;
|
|
|
|
.mx_TabbedView {
|
|
top: 65px;
|
|
}
|
|
|
|
.mx_TabbedView .mx_SettingsTab {
|
|
box-sizing: border-box;
|
|
min-width: 580px;
|
|
padding-right: 100px;
|
|
|
|
// Put some padding on the bottom to avoid the settings tab from
|
|
// colliding harshly with the dialog when scrolled down.
|
|
padding-bottom: 100px;
|
|
}
|
|
|
|
.mx_Dialog_title {
|
|
text-align: center;
|
|
margin-top: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
}
|
|
}
|