Rename PostCSS files to .pcss
(#9013)
* Rename PostCSS files to `.pcss` * Make Stylelint happy * Delint * Rename new files too * delint * Fix bad comment placement
This commit is contained in:
parent
7842d5165c
commit
01f4bb8c78
371 changed files with 740 additions and 1045 deletions
62
res/css/views/settings/_ProfileSettings.pcss
Normal file
62
res/css/views/settings/_ProfileSettings.pcss
Normal file
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
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 {
|
||||
margin-inline-end: var(--SettingsTab_fullWidthField-margin-inline-end);
|
||||
border-bottom: 1px solid $quinary-content;
|
||||
|
||||
.mx_ProfileSettings_avatarUpload {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mx_ProfileSettings_profile {
|
||||
display: flex;
|
||||
|
||||
.mx_ProfileSettings_profile_controls {
|
||||
flex-grow: 1;
|
||||
margin-inline-end: 54px;
|
||||
|
||||
.mx_Field:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.mx_ProfileSettings_profile_controls_topic {
|
||||
& > textarea {
|
||||
font-family: inherit;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
&.mx_ProfileSettings_profile_controls_topic--room textarea {
|
||||
min-height: 4em;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_ProfileSettings_profile_controls_userId {
|
||||
margin-inline-end: $spacing-20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_ProfileSettings_buttons {
|
||||
margin-top: 10px; // 18px is already accounted for by the <p> above the buttons
|
||||
margin-bottom: $spacing-28;
|
||||
|
||||
> .mx_AccessibleButton_kind_link {
|
||||
font-size: $font-14px;
|
||||
margin-inline-end: 10px; // TODO: Use a spacing variable
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue