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
7
res/themes/dark-custom/css/dark-custom.pcss
Normal file
7
res/themes/dark-custom/css/dark-custom.pcss
Normal 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";
|
|
@ -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";
|
8
res/themes/dark/css/dark.pcss
Normal file
8
res/themes/dark/css/dark.pcss
Normal 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");
|
|
@ -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");
|
7
res/themes/legacy-dark/css/legacy-dark.pcss
Normal file
7
res/themes/legacy-dark/css/legacy-dark.pcss
Normal 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");
|
|
@ -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");
|
|
@ -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.
|
|
@ -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: ../../..;
|
6
res/themes/legacy-light/css/legacy-light.pcss
Normal file
6
res/themes/legacy-light/css/legacy-light.pcss
Normal 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");
|
|
@ -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");
|
6
res/themes/light-custom/css/light-custom.pcss
Normal file
6
res/themes/light-custom/css/light-custom.pcss
Normal 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";
|
|
@ -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";
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -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");
|
|
@ -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");
|
|
@ -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: ../../..;
|
7
res/themes/light/css/light.pcss
Normal file
7
res/themes/light/css/light.pcss
Normal 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");
|
|
@ -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");
|
Loading…
Add table
Add a link
Reference in a new issue