-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e23027
commit 782387b
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
// 2015-07-06 Обратите внимание, что такой синтаксис не поддерживает звёздочку на конце: надо явно указывать имя файла. | ||
// 2022-08-14 | ||
// SASS looks for the file in all load paths: https://sass-lang.com/documentation/at-rules/import#load-paths. | ||
// The root folder is within load paths. | ||
@import 'plugins/df-core/assets/stylesheets/admin-lib/settings'; | ||
// 1) A stylesheet included via `register_asset` should import other stylesheets using full paths, | ||
// otherwise Discourse will import all stylesheets with the specified base name found withing all load paths: | ||
// https://sass-lang.com/documentation/at-rules/import#load-paths. | ||
// 2) Other side, sub-imports should import other stylesheets only with relative paths: full paths do not work there. | ||
// 3) SASS does not allow variables in @import paths: https://stackoverflow.com/a/37569018 | ||
@import '../../../df-core/assets/stylesheets/admin-lib/settings'; | ||
.row.setting.df-textarea {textarea {width: 90%;}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// 2022-08-14 | ||
// 1) If not specify the full path, | ||
// then Discourse will include all stylesheets with the base name withing all load paths: | ||
// 1) A stylesheet included via `register_asset` should import other stylesheets using full paths, | ||
// otherwise Discourse will import all stylesheets with the specified base name found withing all load paths: | ||
// https://sass-lang.com/documentation/at-rules/import#load-paths. | ||
// 2) SASS does not allow variables in @import paths: https://stackoverflow.com/a/37569018 | ||
// 2) Other side, sub-imports should import other stylesheets only with relative paths: full paths do not work there. | ||
// 3) SASS does not allow variables in @import paths: https://stackoverflow.com/a/37569018 | ||
.admin-contents {@import 'plugins/df-table/assets/stylesheets/admin';} | ||
.cooked {@import 'plugins/df-table/assets/stylesheets/cooked';} |