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:
Michael Telatynski 2022-07-15 14:53:23 +01:00 committed by GitHub
parent 7842d5165c
commit 01f4bb8c78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
371 changed files with 740 additions and 1045 deletions

View file

@ -0,0 +1,7 @@
@import "../../../../res/css/_font-sizes.pcss";
@import "../../legacy-light/css/_paths.pcss";
@import "../../legacy-light/css/_fonts.pcss";
@import "../../legacy-light/css/_legacy-light.pcss";
@import "../../legacy-dark/css/_legacy-dark.pcss";
@import "../../light-custom/css/_custom.pcss";
@import "../../../../res/css/_components.pcss";

View file

@ -1,7 +0,0 @@
@import "../../../../res/css/_font-sizes.scss";
@import "../../legacy-light/css/_paths.scss";
@import "../../legacy-light/css/_fonts.scss";
@import "../../legacy-light/css/_legacy-light.scss";
@import "../../legacy-dark/css/_legacy-dark.scss";
@import "../../light-custom/css/_custom.scss";
@import "../../../../res/css/_components.scss";

View file

@ -0,0 +1,8 @@
@import "../../../../res/css/_font-sizes.pcss";
@import "../../light/css/_paths.pcss";
@import "../../light/css/_fonts.pcss";
@import "../../light/css/_light.pcss";
@import "_dark.pcss";
@import "../../light/css/_mods.pcss";
@import "../../../../res/css/_components.pcss";
@import url("highlight.js/styles/atom-one-dark.css");

View file

@ -1,8 +0,0 @@
@import "../../../../res/css/_font-sizes.scss";
@import "../../light/css/_paths.scss";
@import "../../light/css/_fonts.scss";
@import "../../light/css/_light.scss";
@import "_dark.scss";
@import "../../light/css/_mods.scss";
@import "../../../../res/css/_components.scss";
@import url("highlight.js/styles/atom-one-dark.css");

View file

@ -0,0 +1,7 @@
@import "../../../../res/css/_font-sizes.pcss";
@import "../../legacy-light/css/_paths.pcss";
@import "../../legacy-light/css/_fonts.pcss";
@import "../../legacy-light/css/_legacy-light.pcss";
@import "_legacy-dark.pcss";
@import "../../../../res/css/_components.pcss";
@import url("highlight.js/styles/atom-one-dark.css");

View file

@ -1,7 +0,0 @@
@import "../../../../res/css/_font-sizes.scss";
@import "../../legacy-light/css/_paths.scss";
@import "../../legacy-light/css/_fonts.scss";
@import "../../legacy-light/css/_legacy-light.scss";
@import "_legacy-dark.scss";
@import "../../../../res/css/_components.scss";
@import url("highlight.js/styles/atom-one-dark.css");

View file

@ -14,7 +14,7 @@
// Grab the other fonts from the current theme, so we can override to Inter
// in custom fonts if needed.
@import "../../light/css/_fonts.scss";
@import "../../light/css/_fonts.pcss";
// Nunito as the default, for old time's sake on legacy themes.
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.

View file

@ -1,3 +1,3 @@
// Path from root SCSS file (such as `light.scss`) to `res` dir in the source tree
// Path from root SCSS file (such as `light.pcss`) to `res` dir in the source tree
// This value is overridden by external themes in `element-web`.
$res: ../../..;

View file

@ -0,0 +1,6 @@
@import "../../../../res/css/_font-sizes.pcss";
@import "_paths.pcss";
@import "_fonts.pcss";
@import "_legacy-light.pcss";
@import "../../../../res/css/_components.pcss";
@import url("highlight.js/styles/atom-one-light.css");

View file

@ -1,6 +0,0 @@
@import "../../../../res/css/_font-sizes.scss";
@import "_paths.scss";
@import "_fonts.scss";
@import "_legacy-light.scss";
@import "../../../../res/css/_components.scss";
@import url("highlight.js/styles/atom-one-light.css");

View file

@ -0,0 +1,6 @@
@import "../../../../res/css/_font-sizes.pcss";
@import "../../legacy-light/css/_paths.pcss";
@import "../../legacy-light/css/_fonts.pcss";
@import "../../legacy-light/css/_legacy-light.pcss";
@import "_custom.pcss";
@import "../../../../res/css/_components.pcss";

View file

@ -1,6 +0,0 @@
@import "../../../../res/css/_font-sizes.scss";
@import "../../legacy-light/css/_paths.scss";
@import "../../legacy-light/css/_fonts.scss";
@import "../../legacy-light/css/_legacy-light.scss";
@import "_custom.scss";
@import "../../../../res/css/_components.scss";

View file

@ -83,8 +83,8 @@ $roomtopic-color: $secondary-content;
}
.mx_Dialog, .mx_MatrixChat_wrapper {
:not(.mx_textinput):not(.mx_Field):not(.mx_no_textinput) > input[type=text]::placeholder,
:not(.mx_textinput):not(.mx_Field):not(.mx_no_textinput) > input[type=search]::placeholder,
:not(.mx_textinput):not(.mx_Field):not(.mx_no_textinput) > input[type="text"]::placeholder,
:not(.mx_textinput):not(.mx_Field):not(.mx_no_textinput) > input[type="search"]::placeholder,
.mx_textinput input::placeholder {
color: $input-darker-fg-color !important;
}
@ -150,7 +150,7 @@ $roomtopic-color: $secondary-content;
#mx_SpotlightDialog_content {
.mx_SpotlightDialog_recentlyViewed {
.mx_SpotlightDialog_option {
&:hover, &[aria-selected=true] {
&:hover, &[aria-selected="true"] {
color: $background !important;
.mx_DecoratedRoomAvatar_icon::before {
@ -164,7 +164,7 @@ $roomtopic-color: $secondary-content;
.mx_SpotlightDialog_otherSearches,
.mx_SpotlightDialog_hiddenResults {
.mx_SpotlightDialog_option {
&:hover, &[aria-selected=true] {
&:hover, &[aria-selected="true"] {
background-color: $quinary-content !important;
color: $background !important;
@ -210,7 +210,7 @@ $roomtopic-color: $secondary-content;
}
.mx_GenericDropdownMenu_button:hover,
.mx_GenericDropdownMenu_button[aria-expanded=true] {
.mx_GenericDropdownMenu_button[aria-expanded="true"] {
color: $background !important;
}

View file

@ -0,0 +1,8 @@
@import "../../../../res/css/_font-sizes.pcss";
@import "../../light/css/_paths.pcss";
@import "../../light/css/_fonts.pcss";
@import "../../light/css/_light.pcss";
@import "_light-high-contrast.pcss";
@import "../../light/css/_mods.pcss";
@import "../../../../res/css/_components.pcss";
@import url("highlight.js/styles/atom-one-light.css");

View file

@ -1,8 +0,0 @@
@import "../../../../res/css/_font-sizes.scss";
@import "../../light/css/_paths.scss";
@import "../../light/css/_fonts.scss";
@import "../../light/css/_light.scss";
@import "_light-high-contrast.scss";
@import "../../light/css/_mods.scss";
@import "../../../../res/css/_components.scss";
@import url("highlight.js/styles/atom-one-light.css");

View file

@ -1,3 +1,3 @@
// Path from root SCSS file (such as `light.scss`) to `res` dir in the source tree
// Path from root SCSS file (such as `light.pcss`) to `res` dir in the source tree
// This value is overridden by external themes in `element-web`.
$res: ../../..;

View file

@ -0,0 +1,7 @@
@import "../../../../res/css/_font-sizes.pcss";
@import "_paths.pcss";
@import "_fonts.pcss";
@import "_light.pcss";
@import "_mods.pcss";
@import "../../../../res/css/_components.pcss";
@import url("highlight.js/styles/atom-one-light.css");

View file

@ -1,7 +0,0 @@
@import "../../../../res/css/_font-sizes.scss";
@import "_paths.scss";
@import "_fonts.scss";
@import "_light.scss";
@import "_mods.scss";
@import "../../../../res/css/_components.scss";
@import url("highlight.js/styles/atom-one-light.css");