mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge branch 'master' into refactor/rxjs-typescript (#1406)
* Improved Lighthouse score (#1391) * a few accessibility fixes from lighthouse report * add rel="noopener" to external links * add title attribute to social links * add mimetype to manifest link and allow it to work behind auth * add font-display: swap to all the places where external fonts are used * remove font-display: swap from icon fonts * removed font-display from style blocks in base * add target="_blank" to social links * switch base fonts grabbed from Google back to display:fallback As per recommendation from https://developers.google.com/web/updates/2016/02/font-display#fallback * add target="_blank" to the footer links as well * Set `tabindex` to `0` for skip to content link (#1393) see https://web.dev/control-focus-with-tabindex/ * Added diff to CI build * Added built files * Bump @babel/cli from 7.7.5 to 7.7.7 Bumps [@babel/cli](https://github.com/babel/babel) from 7.7.5 to 7.7.7. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump css-loader from 3.3.2 to 3.4.0 Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.0. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump eslint from 6.7.2 to 6.8.0 Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mini-css-extract-plugin from 0.8.0 to 0.9.0 Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.8.0 to 0.9.0. - [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases) - [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.8.0...v0.9.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @babel/plugin-transform-react-jsx from 7.7.4 to 7.7.7 Bumps [@babel/plugin-transform-react-jsx](https://github.com/babel/babel) from 7.7.4 to 7.7.7. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump style-loader from 1.0.1 to 1.1.1 Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.0.1 to 1.1.1. - [Release notes](https://github.com/webpack-contrib/style-loader/releases) - [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.0.1...v1.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump webpack from 4.41.2 to 4.41.4 Bumps [webpack](https://github.com/webpack/webpack) from 4.41.2 to 4.41.4. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @babel/core from 7.7.5 to 7.7.7 Bumps [@babel/core](https://github.com/babel/babel) from 7.7.5 to 7.7.7. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @babel/preset-env from 7.7.6 to 7.7.7 Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Fix makefile * Update packages * build * "Fix" lint * Revert icon and makefile change Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
This commit is contained in:
parent
abc851b64c
commit
9c6a4ca64f
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -58,6 +58,9 @@ jobs:
|
|||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
|
# Check diff after build
|
||||||
|
- run: git diff --name-only
|
||||||
|
|
||||||
# Upload distribution files
|
# Upload distribution files
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
if: startsWith(github.ref, 'refs/tags')
|
if: startsWith(github.ref, 'refs/tags')
|
||||||
|
1
material/assets/javascripts/lunr/lunr.ar.min.js
vendored
Normal file
1
material/assets/javascripts/lunr/lunr.ar.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/javascripts/lunr/lunr.vi.min.js
vendored
Normal file
1
material/assets/javascripts/lunr/lunr.vi.min.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.vi=function(){this.pipeline.reset(),this.pipeline.add(e.vi.stopWordFilter,e.vi.trimmer)},e.vi.wordCharacters="[A-Za-ẓ̀͐́͑̉̃̓ÂâÊêÔôĂ-ăĐ-đƠ-ơƯ-ư]",e.vi.trimmer=e.trimmerSupport.generateTrimmer(e.vi.wordCharacters),e.Pipeline.registerFunction(e.vi.trimmer,"trimmer-vi"),e.vi.stopWordFilter=e.generateStopWordFilter("là cái nhưng mà".split(" "))}});
|
File diff suppressed because one or more lines are too long
@ -1,9 +1,9 @@
|
|||||||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,r){var n,i;
|
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,r){var n,i;
|
||||||
/**
|
/**
|
||||||
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.6
|
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.8
|
||||||
* Copyright (C) 2019 Oliver Nightingale
|
* Copyright (C) 2019 Oliver Nightingale
|
||||||
* @license MIT
|
* @license MIT
|
||||||
*/!function(){var s,o,a,u,l,c,h,d,f,p,y,m,g,x,v,w,Q,b,S,E,k,P,L,T,O,I,R=function(e){var t=new R.Builder;return t.pipeline.add(R.trimmer,R.stopWordFilter,R.stemmer),t.searchPipeline.add(R.stemmer),e.call(t,t),t.build()};R.version="2.3.6"
|
*/!function(){var s,o,a,u,l,c,h,d,f,p,y,m,g,x,v,w,Q,b,S,E,k,P,L,T,O,I,R=function(e){var t=new R.Builder;return t.pipeline.add(R.trimmer,R.stopWordFilter,R.stemmer),t.searchPipeline.add(R.stemmer),e.call(t,t),t.build()};R.version="2.3.8"
|
||||||
/*!
|
/*!
|
||||||
* lunr.utils
|
* lunr.utils
|
||||||
* Copyright (C) 2019 Oliver Nightingale
|
* Copyright (C) 2019 Oliver Nightingale
|
||||||
@ -15,11 +15,11 @@
|
|||||||
/*!
|
/*!
|
||||||
* lunr.tokenizer
|
* lunr.tokenizer
|
||||||
* Copyright (C) 2019 Oliver Nightingale
|
* Copyright (C) 2019 Oliver Nightingale
|
||||||
*/,R.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new R.Token(R.utils.asString(e).toLowerCase(),R.utils.clone(t))}));for(var r=e.toString().trim().toLowerCase(),n=r.length,i=[],s=0,o=0;s<=n;s++){var a=s-o;if(r.charAt(s).match(R.tokenizer.separator)||s==n){if(a>0){var u=R.utils.clone(t)||{};u.position=[o,a],u.index=i.length,i.push(new R.Token(r.slice(o,s),u))}o=s+1}}return i},R.tokenizer.separator=/[\s\-]+/
|
*/,R.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new R.Token(R.utils.asString(e).toLowerCase(),R.utils.clone(t))}));for(var r=e.toString().toLowerCase(),n=r.length,i=[],s=0,o=0;s<=n;s++){var a=s-o;if(r.charAt(s).match(R.tokenizer.separator)||s==n){if(a>0){var u=R.utils.clone(t)||{};u.position=[o,a],u.index=i.length,i.push(new R.Token(r.slice(o,s),u))}o=s+1}}return i},R.tokenizer.separator=/[\s\-]+/
|
||||||
/*!
|
/*!
|
||||||
* lunr.Pipeline
|
* lunr.Pipeline
|
||||||
* Copyright (C) 2019 Oliver Nightingale
|
* Copyright (C) 2019 Oliver Nightingale
|
||||||
*/,R.Pipeline=function(){this._stack=[]},R.Pipeline.registeredFunctions=Object.create(null),R.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&R.utils.warn("Overwriting existing registered function: "+t),e.label=t,R.Pipeline.registeredFunctions[e.label]=e},R.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||R.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},R.Pipeline.load=function(e){var t=new R.Pipeline;return e.forEach((function(e){var r=R.Pipeline.registeredFunctions[e];if(!r)throw new Error("Cannot load unregistered function: "+e);t.add(r)})),t},R.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){R.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},R.Pipeline.prototype.after=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},R.Pipeline.prototype.before=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},R.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},R.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r<t;r++){for(var n=this._stack[r],i=[],s=0;s<e.length;s++){var o=n(e[s],s,e);if(void 0!==o&&""!==o)if(Array.isArray(o))for(var a=0;a<o.length;a++)i.push(o[a]);else i.push(o)}e=i}return e},R.Pipeline.prototype.runString=function(e,t){var r=new R.Token(e,t);return this.run([r]).map((function(e){return e.toString()}))},R.Pipeline.prototype.reset=function(){this._stack=[]},R.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return R.Pipeline.warnIfFunctionNotRegistered(e),e.label}))}
|
*/,R.Pipeline=function(){this._stack=[]},R.Pipeline.registeredFunctions=Object.create(null),R.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&R.utils.warn("Overwriting existing registered function: "+t),e.label=t,R.Pipeline.registeredFunctions[e.label]=e},R.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||R.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},R.Pipeline.load=function(e){var t=new R.Pipeline;return e.forEach((function(e){var r=R.Pipeline.registeredFunctions[e];if(!r)throw new Error("Cannot load unregistered function: "+e);t.add(r)})),t},R.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){R.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},R.Pipeline.prototype.after=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},R.Pipeline.prototype.before=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},R.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},R.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r<t;r++){for(var n=this._stack[r],i=[],s=0;s<e.length;s++){var o=n(e[s],s,e);if(null!=o&&""!==o)if(Array.isArray(o))for(var a=0;a<o.length;a++)i.push(o[a]);else i.push(o)}e=i}return e},R.Pipeline.prototype.runString=function(e,t){var r=new R.Token(e,t);return this.run([r]).map((function(e){return e.toString()}))},R.Pipeline.prototype.reset=function(){this._stack=[]},R.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return R.Pipeline.warnIfFunctionNotRegistered(e),e.label}))}
|
||||||
/*!
|
/*!
|
||||||
* lunr.Vector
|
* lunr.Vector
|
||||||
* Copyright (C) 2019 Oliver Nightingale
|
* Copyright (C) 2019 Oliver Nightingale
|
||||||
|
File diff suppressed because one or more lines are too long
@ -81,7 +81,6 @@ input {
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
speak: none;
|
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
direction: ltr; }
|
direction: ltr; }
|
||||||
.md-content__icon, .md-header-nav__button, .md-footer-nav__button, .md-nav__title::before, .md-nav__button, .md-search-result__article--document::before {
|
.md-content__icon, .md-header-nav__button, .md-footer-nav__button, .md-nav__title::before, .md-nav__button, .md-search-result__article--document::before {
|
||||||
@ -117,7 +116,6 @@ body {
|
|||||||
body,
|
body,
|
||||||
input {
|
input {
|
||||||
color: rgba(0, 0, 0, 0.87);
|
color: rgba(0, 0, 0, 0.87);
|
||||||
-webkit-font-feature-settings: "kern", "liga";
|
|
||||||
font-feature-settings: "kern", "liga";
|
font-feature-settings: "kern", "liga";
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
|
||||||
|
|
||||||
@ -125,7 +123,6 @@ pre,
|
|||||||
code,
|
code,
|
||||||
kbd {
|
kbd {
|
||||||
color: rgba(0, 0, 0, 0.87);
|
color: rgba(0, 0, 0, 0.87);
|
||||||
-webkit-font-feature-settings: "kern";
|
|
||||||
font-feature-settings: "kern";
|
font-feature-settings: "kern";
|
||||||
font-family: "Courier New", Courier, monospace; }
|
font-family: "Courier New", Courier, monospace; }
|
||||||
|
|
||||||
@ -850,24 +847,24 @@ hr {
|
|||||||
-webkit-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
-webkit-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
||||||
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
||||||
.md-search__input::-moz-placeholder {
|
.md-search__input::-moz-placeholder {
|
||||||
-webkit-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
-moz-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
||||||
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
||||||
.md-search__input:-ms-input-placeholder {
|
.md-search__input:-ms-input-placeholder {
|
||||||
-webkit-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
-ms-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
||||||
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
||||||
.md-search__input::-ms-input-placeholder {
|
.md-search__input::-ms-input-placeholder {
|
||||||
-webkit-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
-ms-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
||||||
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
||||||
.md-search__input::placeholder {
|
.md-search__input::placeholder {
|
||||||
-webkit-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
-webkit-transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
|
||||||
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
transition: color 0.25s cubic-bezier(0.1, 0.7, 0.1, 1); }
|
||||||
.md-search__input ~ .md-search__icon, .md-search__input::-webkit-input-placeholder {
|
.md-search__input::-webkit-input-placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
.md-search__input ~ .md-search__icon, .md-search__input::-moz-placeholder {
|
.md-search__input::-moz-placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
.md-search__input ~ .md-search__icon, .md-search__input:-ms-input-placeholder {
|
.md-search__input:-ms-input-placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
.md-search__input ~ .md-search__icon, .md-search__input::-ms-input-placeholder {
|
.md-search__input::-ms-input-placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
.md-search__input ~ .md-search__icon, .md-search__input::placeholder {
|
.md-search__input ~ .md-search__icon, .md-search__input::placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
@ -2500,13 +2497,13 @@ hr {
|
|||||||
background-color: white;
|
background-color: white;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
color: rgba(0, 0, 0, 0.87);
|
||||||
text-overflow: clip; }
|
text-overflow: clip; }
|
||||||
[data-md-toggle="search"]:checked ~ .md-header .md-search__input + .md-search__icon, [data-md-toggle="search"]:checked ~ .md-header .md-search__input::-webkit-input-placeholder {
|
[data-md-toggle="search"]:checked ~ .md-header .md-search__input::-webkit-input-placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
[data-md-toggle="search"]:checked ~ .md-header .md-search__input + .md-search__icon, [data-md-toggle="search"]:checked ~ .md-header .md-search__input::-moz-placeholder {
|
[data-md-toggle="search"]:checked ~ .md-header .md-search__input::-moz-placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
[data-md-toggle="search"]:checked ~ .md-header .md-search__input + .md-search__icon, [data-md-toggle="search"]:checked ~ .md-header .md-search__input:-ms-input-placeholder {
|
[data-md-toggle="search"]:checked ~ .md-header .md-search__input:-ms-input-placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
[data-md-toggle="search"]:checked ~ .md-header .md-search__input + .md-search__icon, [data-md-toggle="search"]:checked ~ .md-header .md-search__input::-ms-input-placeholder {
|
[data-md-toggle="search"]:checked ~ .md-header .md-search__input::-ms-input-placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
[data-md-toggle="search"]:checked ~ .md-header .md-search__input + .md-search__icon, [data-md-toggle="search"]:checked ~ .md-header .md-search__input::placeholder {
|
[data-md-toggle="search"]:checked ~ .md-header .md-search__input + .md-search__icon, [data-md-toggle="search"]:checked ~ .md-header .md-search__input::placeholder {
|
||||||
color: rgba(0, 0, 0, 0.54); }
|
color: rgba(0, 0, 0, 0.54); }
|
||||||
|
File diff suppressed because one or more lines are too long
2
material/assets/stylesheets/app.min.css
vendored
2
material/assets/stylesheets/app.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/application.e194128b.css
Normal file
1
material/assets/stylesheets/application.e194128b.css
Normal file
File diff suppressed because one or more lines are too long
@ -68,7 +68,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/fonts/material-icons.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/fonts/material-icons.css' | url }}">
|
||||||
{% if config.extra.manifest %}
|
{% if config.extra.manifest %}
|
||||||
<link rel="manifest" href="{{ config.extra.manifest | url }}">
|
<link rel="manifest" type="application/manifest+json" href="{{ config.extra.manifest | url }}" crossorigin="use-credentials">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for path in config["extra_css"] %}
|
{% for path in config["extra_css"] %}
|
||||||
<link rel="stylesheet" href="{{ path | url }}">
|
<link rel="stylesheet" href="{{ path | url }}">
|
||||||
@ -91,7 +91,7 @@
|
|||||||
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
||||||
<label class="md-overlay" for="__drawer"></label>
|
<label class="md-overlay" for="__drawer"></label>
|
||||||
{% if page.toc | first is defined %}
|
{% if page.toc | first is defined %}
|
||||||
<a href="{{ (page.toc | first).url }}" tabindex="1" class="md-skip">
|
<a href="{{ (page.toc | first).url }}" tabindex="0" class="md-skip">
|
||||||
{{ lang.t('skip.link.title') }}
|
{{ lang.t('skip.link.title') }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -193,7 +193,7 @@
|
|||||||
{% if language == "ja" %}
|
{% if language == "ja" %}
|
||||||
<script src="{{ (path ~ 'tinyseg.js') | url }}"></script>
|
<script src="{{ (path ~ 'tinyseg.js') | url }}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if language in ("da","de","du","es","fi","fr","hu","it","ja","jp","nl","no","pt","ro","ru","sv","tr") %}
|
{% if language in ("hu","ru","es","ja","ro","it","jp","no","de","sv","nl","vi","ar","tr","da","fi","du","pt","fr") %}
|
||||||
<script src="{{ (path ~ 'lunr.' ~ language ~ '.js') | url }}"></script>
|
<script src="{{ (path ~ 'lunr.' ~ language ~ '.js') | url }}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -48,9 +48,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
powered by
|
powered by
|
||||||
<a href="https://www.mkdocs.org">MkDocs</a>
|
<a href="https://www.mkdocs.org" target="_blank" rel="noopener">MkDocs</a>
|
||||||
and
|
and
|
||||||
<a href="https://squidfunk.github.io/mkdocs-material/">
|
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
||||||
Material for MkDocs
|
Material for MkDocs
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
<nav class="md-header-nav md-grid">
|
<nav class="md-header-nav md-grid">
|
||||||
<div class="md-flex">
|
<div class="md-flex">
|
||||||
<div class="md-flex__cell md-flex__cell--shrink">
|
<div class="md-flex__cell md-flex__cell--shrink">
|
||||||
<a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" title="{{ config.site_name }}" class="md-header-nav__button md-logo">
|
<a href="{{ config.site_url | default(nav.homepage.url, true) | url }}" title="{{ config.site_name }}" aria-label="{{ config.site_name }}" class="md-header-nav__button md-logo">
|
||||||
{% if config.theme.logo.icon %}
|
{% if config.theme.logo.icon %}
|
||||||
<i class="md-icon">{{ config.theme.logo.icon }}</i>
|
<i class="md-icon">{{ config.theme.logo.icon }}</i>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ config.theme.logo | url }}" width="24" height="24">
|
<img alt="logo" src="{{ config.theme.logo | url }}" width="24" height="24">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
{% if config.theme.logo.icon %}
|
{% if config.theme.logo.icon %}
|
||||||
<i class="md-icon">{{ config.theme.logo.icon }}</i>
|
<i class="md-icon">{{ config.theme.logo.icon }}</i>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ config.theme.logo | url }}" width="48" height="48">
|
<img alt="logo" src="{{ config.theme.logo | url }}" width="48" height="48">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{{ config.site_name }}
|
{{ config.site_name }}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
{% if config.extra.social %}
|
{% if config.extra.social %}
|
||||||
<div class="md-footer-social">
|
<div class="md-footer-social">
|
||||||
{% for social in config.extra.social %}
|
{% for social in config.extra.social %}
|
||||||
<a href="{{ social.link }}" class="md-footer-social__link">
|
<a href="{{ social.link }}" target="_blank" rel="noopener" class="md-footer-social__link">
|
||||||
{% include "assets/images/icons/fontawesome/" ~ social.type ~ ".svg" %}
|
{% include "assets/images/icons/fontawesome/" ~ social.type ~ ".svg" %}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
1235
package-lock.json
generated
1235
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
30
package.json
30
package.json
@ -33,8 +33,8 @@
|
|||||||
"clipboard": "^2.0.0",
|
"clipboard": "^2.0.0",
|
||||||
"escape-html": "^1.0.3",
|
"escape-html": "^1.0.3",
|
||||||
"escape-string-regexp": "^2.0.0",
|
"escape-string-regexp": "^2.0.0",
|
||||||
"lunr": "^2.3.6",
|
"lunr": "^2.3.8",
|
||||||
"lunr-languages": "^1.1.0",
|
"lunr-languages": "^1.4.0",
|
||||||
"lz-string": "^1.4.4",
|
"lz-string": "^1.4.4",
|
||||||
"ramda": "^0.26.1",
|
"ramda": "^0.26.1",
|
||||||
"rxjs": "^6.5.3"
|
"rxjs": "^6.5.3"
|
||||||
@ -44,33 +44,33 @@
|
|||||||
"@types/escape-html": "0.0.20",
|
"@types/escape-html": "0.0.20",
|
||||||
"@types/lunr": "^2.3.2",
|
"@types/lunr": "^2.3.2",
|
||||||
"@types/lz-string": "^1.3.33",
|
"@types/lz-string": "^1.3.33",
|
||||||
"@types/node": "^12.7.8",
|
"@types/node": "^12.12.22",
|
||||||
"@types/ramda": "^0.26.26",
|
"@types/ramda": "^0.26.38",
|
||||||
"@types/webpack": "^4.39.2",
|
"@types/webpack": "^4.41.0",
|
||||||
"autoprefixer": "^9.6.1",
|
"autoprefixer": "^9.7.3",
|
||||||
"css-mqpacker": "^7.0.0",
|
"css-mqpacker": "^7.0.0",
|
||||||
"csso-cli": "^3.0.0",
|
"csso-cli": "^3.0.0",
|
||||||
"html-minifier": "^4.0.0",
|
"html-minifier": "^4.0.0",
|
||||||
"material-design-color": "^2.3.2",
|
"material-design-color": "^2.3.2",
|
||||||
"material-shadows": "^3.0.1",
|
"material-shadows": "^3.0.1",
|
||||||
"modularscale-sass": "^3.0.10",
|
"modularscale-sass": "^3.0.10",
|
||||||
"node-sass": "^4.12.0",
|
"node-sass": "^4.13.0",
|
||||||
"nodemon": "^1.19.2",
|
"nodemon": "^1.19.4",
|
||||||
"null-loader": "^3.0.0",
|
"null-loader": "^3.0.0",
|
||||||
"postcss-cli": "^6.1.3",
|
"postcss-cli": "^6.1.3",
|
||||||
"preact": "^10.1.1",
|
"preact": "^10.1.1",
|
||||||
"stylelint": "^11.0.0",
|
"stylelint": "^11.1.1",
|
||||||
"stylelint-config-standard": "^19.0.0",
|
"stylelint-config-standard": "^19.0.0",
|
||||||
"stylelint-order": "^3.1.1",
|
"stylelint-order": "^3.1.1",
|
||||||
"stylelint-scss": "^3.11.1",
|
"stylelint-scss": "^3.13.0",
|
||||||
"ts-loader": "^6.1.2",
|
"ts-loader": "^6.2.1",
|
||||||
"ts-node": "^7.0.1",
|
"ts-node": "^7.0.1",
|
||||||
"tsconfig-paths-webpack-plugin": "^3.2.0",
|
"tsconfig-paths-webpack-plugin": "^3.2.0",
|
||||||
"tslint": "^5.18.0",
|
"tslint": "^5.20.1",
|
||||||
"tslint-sonarts": "^1.9.0",
|
"tslint-sonarts": "^1.9.0",
|
||||||
"typescript": "^3.7.3",
|
"typescript": "^3.7.4",
|
||||||
"webpack": "^4.41.0",
|
"webpack": "^4.41.4",
|
||||||
"webpack-cli": "^3.3.9"
|
"webpack-cli": "^3.3.10"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
|
@ -40,6 +40,7 @@ import { paintSearchResultMeta } from "../meta"
|
|||||||
// * Types
|
// * Types
|
||||||
// * ------------------------------------------------------------------------- */
|
// * ------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
// tslint:disable-next-line: no-commented-code
|
||||||
// /**
|
// /**
|
||||||
// * Search result state
|
// * Search result state
|
||||||
// */
|
// */
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
speak: none;
|
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
|
|
||||||
<!-- Progressive Web App Manifest -->
|
<!-- Progressive Web App Manifest -->
|
||||||
{% if config.extra.manifest %}
|
{% if config.extra.manifest %}
|
||||||
<link rel="manifest" href="{{ config.extra.manifest | url }}">
|
<link rel="manifest" type="application/manifest+json" href="{{ config.extra.manifest | url }}" crossorigin="use-credentials">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Custom stylesheets -->
|
<!-- Custom stylesheets -->
|
||||||
@ -214,7 +214,7 @@
|
|||||||
|
|
||||||
<!-- Link to skip to content -->
|
<!-- Link to skip to content -->
|
||||||
{% if page.toc | first is defined %}
|
{% if page.toc | first is defined %}
|
||||||
<a href="{{ (page.toc | first).url }}" tabindex="1" class="md-skip">
|
<a href="{{ (page.toc | first).url }}" tabindex="0" class="md-skip">
|
||||||
{{ lang.t('skip.link.title') }}
|
{{ lang.t('skip.link.title') }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -97,9 +97,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
powered by
|
powered by
|
||||||
<a href="https://www.mkdocs.org">MkDocs</a>
|
<a href="https://www.mkdocs.org" target="_blank" rel="noopener">MkDocs</a>
|
||||||
and
|
and
|
||||||
<a href="https://squidfunk.github.io/mkdocs-material/">
|
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
||||||
Material for MkDocs
|
Material for MkDocs
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,12 +32,13 @@
|
|||||||
<a
|
<a
|
||||||
href="{{ config.site_url | default(nav.homepage.url, true) | url }}"
|
href="{{ config.site_url | default(nav.homepage.url, true) | url }}"
|
||||||
title="{{ config.site_name }}"
|
title="{{ config.site_name }}"
|
||||||
|
aria-label="{{ config.site_name }}"
|
||||||
class="md-header-nav__button md-logo"
|
class="md-header-nav__button md-logo"
|
||||||
>
|
>
|
||||||
{% if config.theme.logo.icon %}
|
{% if config.theme.logo.icon %}
|
||||||
<i class="md-icon">{{ config.theme.logo.icon }}</i>
|
<i class="md-icon">{{ config.theme.logo.icon }}</i>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ config.theme.logo | url }}" width="24" height="24" />
|
<img alt="logo" src="{{ config.theme.logo | url }}" width="24" height="24" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
{% if config.theme.logo.icon %}
|
{% if config.theme.logo.icon %}
|
||||||
<i class="md-icon">{{ config.theme.logo.icon }}</i>
|
<i class="md-icon">{{ config.theme.logo.icon }}</i>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ config.theme.logo | url }}" width="48" height="48" />
|
<img alt="logo" src="{{ config.theme.logo | url }}" width="48" height="48" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{{ config.site_name }}
|
{{ config.site_name }}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
{% if config.extra.social %}
|
{% if config.extra.social %}
|
||||||
<div class="md-footer-social">
|
<div class="md-footer-social">
|
||||||
{% for social in config.extra.social %}
|
{% for social in config.extra.social %}
|
||||||
<a href="{{ social.link }}" class="md-footer-social__link">
|
<a href="{{ social.link }}" target="_blank" rel="noopener" class="md-footer-social__link">
|
||||||
{% include "assets/images/icons/fontawesome/" ~ social.type ~ ".svg" %}
|
{% include "assets/images/icons/fontawesome/" ~ social.type ~ ".svg" %}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user