mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 09:10:08 +03:00
b1066a5699
* use fieldset in space settings > visibility Signed-off-by: Kerry Archibald <kerrya@element.io> * add basic tests for space setttings visibility Signed-off-by: Kerry Archibald <kerrya@element.io> * i18n Signed-off-by: Kerry Archibald <kerrya@element.io> * fix toggle button placement Signed-off-by: Kerry Archibald <kerrya@element.io> * i18n Signed-off-by: Kerry Archibald <kerrya@element.io> * update settings separator color to quinary Signed-off-by: Kerry Archibald <kerrya@element.io>
68 lines
1.6 KiB
SCSS
68 lines
1.6 KiB
SCSS
/*
|
|
Copyright 2019, 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_ProfileSettings_controls_topic {
|
|
& > textarea {
|
|
font-family: inherit;
|
|
resize: vertical;
|
|
}
|
|
}
|
|
|
|
.mx_ProfileSettings_profile {
|
|
display: flex;
|
|
}
|
|
|
|
.mx_ProfileSettings_controls {
|
|
flex-grow: 1;
|
|
margin-right: 54px;
|
|
|
|
// We put the header under the controls with some minor styling to cheat
|
|
// alignment of the field with the avatar
|
|
.mx_SettingsTab_subheading {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.mx_ProfileSettings_controls .mx_Field #profileTopic {
|
|
height: 4em;
|
|
}
|
|
|
|
.mx_ProfileSettings_controls .mx_Field:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.mx_ProfileSettings_hostingSignup {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.mx_ProfileSettings_avatarUpload {
|
|
display: none;
|
|
}
|
|
|
|
.mx_ProfileSettings_profileForm {
|
|
@mixin mx_Settings_fullWidthField;
|
|
}
|
|
|
|
.mx_ProfileSettings_buttons {
|
|
margin-top: 10px; // 18px is already accounted for by the <p> above the buttons
|
|
margin-bottom: 28px;
|
|
|
|
> .mx_AccessibleButton_kind_link {
|
|
padding-left: 0; // to align with left side
|
|
padding-right: 0;
|
|
margin-right: 10px;
|
|
}
|
|
}
|