mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-16 21:40:24 +00:00
Merge pull request #274 from Riverside-Healthcare/dev
This commit is contained in:
commit
49fc0d579f
39 changed files with 283 additions and 3155 deletions
|
|
@ -88,7 +88,7 @@ module.exports = function(eleventyConfig) {
|
|||
'*': 'en-US'
|
||||
}})
|
||||
|
||||
return `<span class="icon-text"><span class="icon mr-1"><i class="fas fa-pencil-alt"></i></span><span>${i18n_func("edit_page", undefined,undefined, i18n_options, page)}</span></span>`;
|
||||
return `<span class="icon-text"><span class="icon mr-1"><i class="fas fa-pencil"></i></span><span>${i18n_func("edit_page", undefined,undefined, i18n_options, page)}</span></span>`;
|
||||
return x.inputPath
|
||||
},
|
||||
github_edit_class: 'edit-on-github',
|
||||
|
|
@ -190,18 +190,16 @@ module.exports = function(eleventyConfig) {
|
|||
|
||||
|
||||
const icons = {
|
||||
note: '<span class="icon has-text-info mr-1"><i class="fas fa-pencil-alt"></i></span>',
|
||||
hint: "./src/_includes/icons/green_question.njk",
|
||||
alert: "./src/_includes/icons/red_triangle.njk"
|
||||
note: '<span class="icon has-text-info mr-1"><i class="fas fa-pencil"></i></span>',
|
||||
};
|
||||
|
||||
eleventyConfig.addShortcode("admonition", function(icon, title, text) {
|
||||
return outdent`
|
||||
<article class="message ` + icon + ` box">
|
||||
<article class="message ${icon} box">
|
||||
<div class="message-header">
|
||||
<p>` + icons[icon] +title+`</p>
|
||||
<p>${icons[icon]} ${title}</p>
|
||||
</div>
|
||||
<div class="message-body">` + `${markdownIt.render(text)}`+ `</div>
|
||||
<div class="message-body">${markdownIt.render(text)}</div>
|
||||
</article>`;
|
||||
});
|
||||
|
||||
|
|
@ -213,8 +211,8 @@ module.exports = function(eleventyConfig) {
|
|||
const { fontawesomeSubset } = require('fontawesome-subset');
|
||||
fontawesomeSubset({
|
||||
brands:['discord', 'github'],
|
||||
regular:['envelope', 'life-ring'],
|
||||
solid: ['globe', 'arrow-circle-right', 'pencil-alt', 'envelope', 'share', 'infinity', 'search', 'book', 'project-diagram', 'heart', 'address-card', 'server', 'database', 'ship', 'code', 'chart-bar', 'sitemap', 'tasks', 'lock', 'sliders-h', 'user', 'users', 'compass', 'download', 'sync-alt']
|
||||
regular:['envelope'],
|
||||
solid: ['globe', 'circle-arrow-right', 'pencil', 'infinity','download','code-commit']
|
||||
}, '_site/static/font/fontawesome/webfonts');
|
||||
|
||||
eleventyConfig.addPlugin(i18n, {
|
||||
|
|
|
|||
1589
docs/package-lock.json
generated
1589
docs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -29,7 +29,7 @@
|
|||
"@11ty/eleventy-img": "2.0.0",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "4.0.0",
|
||||
"@fontsource/inter": "4.5.7",
|
||||
"@fortawesome/fontawesome-free": "5.14.0",
|
||||
"@fortawesome/fontawesome-free": "^6.1.1",
|
||||
"@fullhuman/postcss-purgecss": "4.1.3",
|
||||
"@toycode/markdown-it-class": "1.2.4",
|
||||
"algoliasearch": "4.13.0",
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
"eslint": "8.18.0",
|
||||
"eslint-config-airbnb-base": "15.0.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"fontawesome-subset": "3.0.0",
|
||||
"fontawesome-subset": "^4.0.0",
|
||||
"html-minifier": "4.0.0",
|
||||
"markdown-it": "13.0.0",
|
||||
"markdown-it-anchor": "8.6.2",
|
||||
|
|
|
|||
|
|
@ -10,13 +10,15 @@ layout: layout.njk
|
|||
{{ "documentation" | i18n }}
|
||||
</p>
|
||||
<ul class="menu-list">
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/getting-started/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/getting-started/">{{ "getting_started" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/formatter/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/formatter/">{{ "formatter" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/linter/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/linter">{{ "linter" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/configuration/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/configuration/">{{ "configuration" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/integrations/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/integrations">{{ "integrations" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/best-practices/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/best-practices/">{{ "best_practices" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/changelog/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/changelog">{{ "changelog" | i18n }}</a></li>
|
||||
<li>
|
||||
|
||||
<a class="{% if page.url == "lang_code_url" | i18n + "/docs/getting-started/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/getting-started/"><span class="icon mr-1"><i class="fa-solid fa-code-commit"></i></span>{{ "getting_started" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/formatter/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/formatter/"><span class="icon mr-1"><i class="fa-solid fa-code-commit"></i></span>{{ "formatter" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/linter/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/linter"><span class="icon mr-1"><i class="fa-solid fa-code-commit"></i></span>{{ "linter" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/configuration/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/configuration/"><span class="icon mr-1"><i class="fa-solid fa-code-commit"></i></span>{{ "configuration" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/integrations/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/integrations"><span class="icon mr-1"><i class="fa-solid fa-code-commit"></i></span>{{ "integrations" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/best-practices/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/best-practices/"><span class="icon mr-1"><i class="fa-solid fa-code-commit"></i></span>{{ "best_practices" | i18n }}</a></li>
|
||||
<li><a class="{% if page.url == "lang_code_url" | i18n + "/docs/changelog/" %}is-active{% endif %}" href="{{ "lang_code_url" | i18n }}/docs/changelog"><span class="icon mr-1"><i class="fa-solid fa-code-commit"></i></span>{{ "changelog" | i18n }}</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
target="_blank"
|
||||
rel="noopener">
|
||||
<span class="icon is-large has-text-grey is-nav-icon">
|
||||
<i class="fab fa-2x fa-download"></i>
|
||||
<i class="fas fa-2x fa-download"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-item has-dropdown has-text-grey is-hoverable">
|
||||
|
|
|
|||
|
|
@ -48,7 +48,8 @@ module.exports = class {
|
|||
/is-info/,
|
||||
/fa-*/,
|
||||
/mr-1/,
|
||||
/mr-2/
|
||||
/mr-2/,
|
||||
/has-text-info/,
|
||||
],
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ djlint . --reformat
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
||||
{% admonition
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ djlint /path/to/this.html.j2 --profile=jinja
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/docs/configuration/">Check out the configuration guide for all the options!</a></div>
|
||||
</div>
|
||||
|
||||
## Custom Rules
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ djlint . --reformat
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
||||
{% admonition
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ djlint /path/to/this.html.j2 --profile=jinja
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/fr/docs/configuration/">Consultez le guide de configuration pour connaître toutes les options !</a></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ djlint . --reformat
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
||||
{% admonition
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ profile="{{ tool }}"
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ djlint /path/to/this.html.j2 --profile=jinja
|
|||
```
|
||||
|
||||
<div class="box notification is-info is-light">
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-arrow-circle-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
<span class="icon is-large"><i class="fas fa-2x fa-circle-arrow-right"></i></span><div class="my-auto ml-3 is-inline-block"><a href="/ru/docs/configuration/">Ознакомьтесь с руководством по настройке, чтобы узнать обо всех возможностях!</a></div>
|
||||
</div>
|
||||
|
||||
## Пользовательские правила
|
||||
|
|
|
|||
|
|
@ -242,55 +242,6 @@ pre .number {
|
|||
width: 2.5em;
|
||||
}
|
||||
|
||||
/* search */
|
||||
#search-form .icon svg {
|
||||
height: 1.2rem;
|
||||
}
|
||||
|
||||
#search-results {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: none;
|
||||
border-radius: $radius;
|
||||
}
|
||||
|
||||
#search-results:empty {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#search:focus {
|
||||
border-color: $info;
|
||||
box-shadow: $input-focus-box-shadow-size bulmaRgba($info, 0.25);
|
||||
}
|
||||
#search:active {
|
||||
border-color: $info;
|
||||
box-shadow: $input-focus-box-shadow-size bulmaRgba($info, 0.25);
|
||||
}
|
||||
|
||||
#search-wrap:focus-within #search-results {
|
||||
display: block;
|
||||
box-shadow: $input-focus-box-shadow-size bulmaRgba($info, 0.25);
|
||||
border: 1px solid $info;
|
||||
}
|
||||
|
||||
#search-results:active {
|
||||
display: block;
|
||||
box-shadow: $input-focus-box-shadow-size bulmaRgba($info, 0.25);
|
||||
border: 1px solid $info;
|
||||
}
|
||||
|
||||
#search-results .panel-block:first-of-type {
|
||||
border-top-left-radius: inherit;
|
||||
border-top-right-radius: inherit;
|
||||
}
|
||||
|
||||
#search-results em {
|
||||
background-color: $info-light;
|
||||
color: $info;
|
||||
}
|
||||
|
||||
.story {
|
||||
font-family: Crimson Pro, Georgia, serif;
|
||||
font-size: 24px;
|
||||
|
|
@ -398,17 +349,13 @@ pre .number {
|
|||
.is-collapsible-menu .is-collapsible-menu {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.menu .menu-label {
|
||||
font-weight: 600;
|
||||
font-size: unset;
|
||||
color: $grey-dark;
|
||||
}
|
||||
|
||||
.menu li a {
|
||||
position: relative;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.menu li a.is-active {
|
||||
background: unset;
|
||||
color: unset;
|
||||
|
|
@ -429,41 +376,6 @@ pre .number {
|
|||
background-color: unset;
|
||||
}
|
||||
|
||||
.menu li a:before {
|
||||
position: absolute;
|
||||
display: block;
|
||||
margin-right: 18px;
|
||||
margin-left: -18px;
|
||||
content: '';
|
||||
}
|
||||
|
||||
.menu li a:not([data-action='collapse-menu']):before {
|
||||
height: 4px;
|
||||
width: 4px;
|
||||
border-radius: 4px;
|
||||
background: $grey;
|
||||
top: calc(50% - 2px);
|
||||
}
|
||||
|
||||
.menu li a[data-action='collapse-menu']:before {
|
||||
border: 2px solid $grey-light;
|
||||
border-radius: 2px;
|
||||
border-right: 0;
|
||||
border-top: 0;
|
||||
height: 7px;
|
||||
margin-top: -0.4375em;
|
||||
transform-origin: 3px 4px;
|
||||
width: 7px;
|
||||
transition: transform 0.2s;
|
||||
transform: rotate(-135deg);
|
||||
top: calc(50% + 3px);
|
||||
margin-left: -19px;
|
||||
}
|
||||
.menu li a.is-active[data-action='collapse-menu']:before {
|
||||
transform: rotate(-45deg);
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin-bottom: 1.5rem !important;
|
||||
}
|
||||
|
|
|
|||
1478
docs/src/static/font/fontawesome/_variables.scss
vendored
1478
docs/src/static/font/fontawesome/_variables.scss
vendored
File diff suppressed because it is too large
Load diff
166
docs/src/static/font/fontawesome/stylesheet.scss
vendored
166
docs/src/static/font/fontawesome/stylesheet.scss
vendored
|
|
@ -1,161 +1,71 @@
|
|||
@use 'sass:math';
|
||||
@use "sass:math";
|
||||
|
||||
@import '_variables';
|
||||
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/_functions';
|
||||
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/_variables';
|
||||
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/_mixins';
|
||||
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/_core';
|
||||
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/_sizing';
|
||||
|
||||
$fa-font-path: '/static/font/fontawesome/webfonts';
|
||||
|
||||
/* from font awesome */
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-family: 'Font Awesome 6 Brands';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: $fa-font-display;
|
||||
src: url('#{$fa-font-path}/fa-regular-400.eot');
|
||||
src: url('#{$fa-font-path}/fa-regular-400.eot?#iefix')
|
||||
format('embedded-opentype'),
|
||||
url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-regular-400.woff') format('woff'),
|
||||
url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype'),
|
||||
url('#{$fa-font-path}/fa-regular-400.svg#fontawesome') format('svg');
|
||||
src: url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: $fa-font-display;
|
||||
src: url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: $fa-font-display;
|
||||
src: url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype');
|
||||
}
|
||||
|
||||
.far,
|
||||
.fab {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
.#{$fa-css-prefix}-regular {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-style: normal;
|
||||
.fas,
|
||||
.#{$fa-css-prefix}-solid {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-weight: 900;
|
||||
font-display: $fa-font-display;
|
||||
src: url('#{$fa-font-path}/fa-solid-900.eot');
|
||||
src: url('#{$fa-font-path}/fa-solid-900.eot?#iefix')
|
||||
format('embedded-opentype'),
|
||||
url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-solid-900.woff') format('woff'),
|
||||
url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype'),
|
||||
url('#{$fa-font-path}/fa-solid-900.svg#fontawesome') format('svg');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-style: normal;
|
||||
.fab,
|
||||
.#{$fa-css-prefix}-brands {
|
||||
font-family: 'Font Awesome 6 Brands';
|
||||
font-weight: 400;
|
||||
font-display: $fa-font-display;
|
||||
src: url('#{$fa-font-path}/fa-brands-400.eot');
|
||||
src: url('#{$fa-font-path}/fa-brands-400.eot?#iefix')
|
||||
format('embedded-opentype'),
|
||||
url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
|
||||
url('#{$fa-font-path}/fa-brands-400.woff') format('woff'),
|
||||
url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype'),
|
||||
url('#{$fa-font-path}/fa-brands-400.svg#fontawesome') format('svg');
|
||||
}
|
||||
|
||||
.fa,
|
||||
.fas {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
// List Icons
|
||||
// -------------------------
|
||||
|
||||
.#{$fa-css-prefix}-ul {
|
||||
list-style-type: none;
|
||||
margin-left: $fa-li-width * math.div(5, 4);
|
||||
padding-left: 0;
|
||||
|
||||
> li {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$fa-css-prefix}-li {
|
||||
left: -$fa-li-width;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: $fa-li-width;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
// Icon Sizes
|
||||
// -------------------------
|
||||
|
||||
// makes the font 33% larger relative to the icon container
|
||||
.#{$fa-css-prefix}-lg {
|
||||
font-size: math.div(4em, 3);
|
||||
line-height: math.div(3em, 4);
|
||||
vertical-align: -0.0667em;
|
||||
}
|
||||
|
||||
.#{$fa-css-prefix}-xs {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
.#{$fa-css-prefix}-sm {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
.#{$fa-css-prefix}-2_3x {
|
||||
font-size: 2.3em;
|
||||
}
|
||||
|
||||
@for $i from 1 through 10 {
|
||||
.#{$fa-css-prefix}-#{$i}x {
|
||||
font-size: $i * 1em;
|
||||
}
|
||||
}
|
||||
|
||||
// Base Class Definition
|
||||
// -------------------------
|
||||
|
||||
.#{$fa-css-prefix},
|
||||
.fas,
|
||||
.far,
|
||||
.fal,
|
||||
.fad,
|
||||
.fab {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: inline-block;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
text-rendering: auto;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* build icon list */
|
||||
$icons: (
|
||||
infinity: $fa-var-infinity,
|
||||
search: $fa-var-search,
|
||||
book: $fa-var-book,
|
||||
project-diagram: $fa-var-project-diagram,
|
||||
heart: $fa-var-heart,
|
||||
address-card: $fa-var-address-card,
|
||||
server: $fa-var-server,
|
||||
database: $fa-var-database,
|
||||
ship: $fa-var-ship,
|
||||
code: $fa-var-code,
|
||||
sitemap: $fa-var-sitemap,
|
||||
chart-bar: $fa-var-chart-bar,
|
||||
tasks: $fa-var-tasks,
|
||||
sliders-h: $fa-var-sliders-h,
|
||||
lock: $fa-var-lock,
|
||||
compass: $fa-var-compass,
|
||||
user: $fa-var-user,
|
||||
users: $fa-var-users,
|
||||
share: $fa-var-share,
|
||||
discord: $fa-var-discord,
|
||||
github: $fa-var-github,
|
||||
envelope: $fa-var-envelope,
|
||||
download: $fa-var-download,
|
||||
sync-alt: $fa-var-sync-alt,
|
||||
life-ring: $fa-var-life-ring,
|
||||
pencil-alt: $fa-var-pencil-alt,
|
||||
arrow-circle-right: $fa-var-arrow-circle-right,
|
||||
pencil: $fa-var-pencil,
|
||||
circle-arrow-right: $fa-var-circle-arrow-right,
|
||||
globe: $fa-var-globe,
|
||||
code-commit: $fa-var-code-commit,
|
||||
);
|
||||
|
||||
@each $key, $value in $icons {
|
||||
|
|
|
|||
Loading…
Reference in a new issue