From 24bc6165bcd67e00a0f643a5ff2051b0a0791984 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 30 May 2020 15:35:46 +0300 Subject: [PATCH 1/4] Add Stylelint. --- .gitignore | 1 + .stylelintignore | 4 + .stylelintrc | 16 + build/scss/.csslintrc | 23 - package-lock.json | 1266 +++++++++++++++++++++++++++++++++++++++++ package.json | 8 +- 6 files changed, 1293 insertions(+), 25 deletions(-) create mode 100644 .stylelintignore create mode 100644 .stylelintrc delete mode 100644 build/scss/.csslintrc diff --git a/.gitignore b/.gitignore index cac042cb5..f1192895c 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ docs_html/ TODO test.html ad.js +/.cache/ diff --git a/.stylelintignore b/.stylelintignore new file mode 100644 index 000000000..60fd5ca7d --- /dev/null +++ b/.stylelintignore @@ -0,0 +1,4 @@ +**/*.min.css +**/dist/ +**/docs_html/ +**/plugins/ diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 000000000..fd1002fa3 --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,16 @@ +{ + "extends": [ + "stylelint-config-twbs-bootstrap/scss" + ], + "rules": { + "declaration-no-important": null, + "order/properties-order": null, + "selector-max-class": null, + "selector-max-combinators": null, + "selector-max-compound-selectors": null, + "selector-max-id": null, + "selector-max-specificity": null, + "selector-max-type": null, + "selector-no-qualifying-type": null + } +} diff --git a/build/scss/.csslintrc b/build/scss/.csslintrc deleted file mode 100644 index 59c3ff926..000000000 --- a/build/scss/.csslintrc +++ /dev/null @@ -1,23 +0,0 @@ -{ - "adjoining-classes": false, - "box-sizing": false, - "box-model": false, - "compatible-vendor-prefixes": false, - "floats": false, - "font-sizes": false, - "gradients": false, - "important": false, - "known-properties": false, - "outline-none": false, - "qualified-headings": false, - "regex-selectors": false, - "shorthand": false, - "text-indent": false, - "unique-headings": false, - "universal-selector": false, - "unqualified-attributes": false, - "ids": false, - "fallback-colors": false, - "vendor-prefix": false, - "import": false -} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 03e367f5e..59207b615 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1079,6 +1079,25 @@ "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", "dev": true }, + "@stylelint/postcss-css-in-js": { + "version": "0.37.1", + "resolved": "https://registry.npmjs.org/@stylelint/postcss-css-in-js/-/postcss-css-in-js-0.37.1.tgz", + "integrity": "sha512-UMf2Rni3JGKi3ZwYRGMYJ5ipOA5ENJSKMtYA/pE1ZLURwdh7B5+z2r73RmWvub+N0UuH1Lo+TGfCgYwPvqpXNw==", + "dev": true, + "requires": { + "@babel/core": ">=7.9.0" + } + }, + "@stylelint/postcss-markdown": { + "version": "0.36.1", + "resolved": "https://registry.npmjs.org/@stylelint/postcss-markdown/-/postcss-markdown-0.36.1.tgz", + "integrity": "sha512-iDxMBWk9nB2BPi1VFQ+Dc5+XpvODBHw2n3tYpaBZuEAFQlbtF9If0Qh5LTTwSi/XwdbJ2jt+0dis3i8omyggpw==", + "dev": true, + "requires": { + "remark": "^12.0.0", + "unist-util-find-all-after": "^3.0.1" + } + }, "@sweetalert2/theme-bootstrap-4": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/@sweetalert2/theme-bootstrap-4/-/theme-bootstrap-4-3.1.4.tgz", @@ -1110,6 +1129,30 @@ "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true }, + "@types/minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=", + "dev": true + }, + "@types/normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", + "dev": true + }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true + }, + "@types/unist": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz", + "integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==", + "dev": true + }, "abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", @@ -1349,6 +1392,12 @@ "integrity": "sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==", "dev": true }, + "arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true + }, "asn1": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", @@ -1564,6 +1613,12 @@ "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", "dev": true }, + "bail": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", + "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", + "dev": true + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -2193,6 +2248,12 @@ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, + "ccount": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.0.5.tgz", + "integrity": "sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw==", + "dev": true + }, "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", @@ -2230,6 +2291,30 @@ "upper-case-first": "^1.1.0" } }, + "character-entities": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", + "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", + "dev": true + }, + "character-entities-html4": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-1.1.4.tgz", + "integrity": "sha512-HRcDxZuZqMx3/a+qrzxdBKBPUpxWEq9xw2OPZ3a/174ihfrQKVsFhqtthBInFy1zZ9GgZyFXOatNujm8M+El3g==", + "dev": true + }, + "character-entities-legacy": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", + "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", + "dev": true + }, + "character-reference-invalid": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", + "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", + "dev": true + }, "chardet": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", @@ -2368,6 +2453,15 @@ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" }, + "clone-regexp": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-2.2.0.tgz", + "integrity": "sha512-beMpP7BOtTipFuW8hrJvREQ2DrRu3BE7by0ZpibtfBA+qfHYvMGTc2Yb1JMYPKg/JUw0CHYvpg796aNTSW9z7Q==", + "dev": true, + "requires": { + "is-regexp": "^2.0.0" + } + }, "clone-response": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", @@ -2383,6 +2477,12 @@ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, + "collapse-white-space": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz", + "integrity": "sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ==", + "dev": true + }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -2683,6 +2783,12 @@ } } }, + "cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true + }, "currently-unhandled": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", @@ -2965,6 +3071,16 @@ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, + "decamelize-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", + "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", + "dev": true, + "requires": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + } + }, "decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", @@ -3132,6 +3248,55 @@ "esutils": "^2.0.2" } }, + "dom-serializer": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", + "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", + "dev": true, + "requires": { + "domelementtype": "^2.0.1", + "entities": "^2.0.0" + }, + "dependencies": { + "domelementtype": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.1.tgz", + "integrity": "sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ==", + "dev": true + }, + "entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.2.tgz", + "integrity": "sha512-dmD3AvJQBUjKpcNkoqr+x+IF0SdRtPz9Vk0uTy4yWqga9ibB6s4v++QFWNohjiUGoMlF552ZvNyXDxz5iW0qmw==", + "dev": true + } + } + }, + "domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", + "dev": true + }, + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "requires": { + "domelementtype": "1" + } + }, + "domutils": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", + "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", + "dev": true, + "requires": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, "dot-case": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-2.1.1.tgz", @@ -3325,6 +3490,12 @@ "has-binary2": "~1.0.2" } }, + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true + }, "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -3773,6 +3944,15 @@ "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=", "dev": true }, + "execall": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/execall/-/execall-2.0.0.tgz", + "integrity": "sha512-0FU2hZ5Hh6iQnarpRtQurM/aAvp3RIbfvgLHrcqJYzhXyV2KFruhuChf9NC6waAhiUR7FFtlugkI4p7f2Fqlow==", + "dev": true, + "requires": { + "clone-regexp": "^2.1.0" + } + }, "expand-brackets": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", @@ -4536,6 +4716,12 @@ } } }, + "globjoin": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", + "integrity": "sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=", + "dev": true + }, "globule": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.1.tgz", @@ -4547,6 +4733,15 @@ "minimatch": "~3.0.2" } }, + "gonzales-pe": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-4.3.0.tgz", + "integrity": "sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, "got": { "version": "9.6.0", "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", @@ -4587,6 +4782,12 @@ "har-schema": "^2.0.0" } }, + "hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "dev": true + }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -4707,6 +4908,39 @@ "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", "dev": true }, + "html-tags": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.1.0.tgz", + "integrity": "sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==", + "dev": true + }, + "htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "dev": true, + "requires": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, "http-cache-semantics": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", @@ -4862,6 +5096,12 @@ "repeating": "^2.0.0" } }, + "indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, "indexof": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", @@ -5042,6 +5282,28 @@ } } }, + "is-alphabetical": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", + "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", + "dev": true + }, + "is-alphanumeric": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-alphanumeric/-/is-alphanumeric-1.0.0.tgz", + "integrity": "sha1-Spzvcdr0wAHB2B1j0UDPU/1oifQ=", + "dev": true + }, + "is-alphanumerical": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", + "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", + "dev": true, + "requires": { + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0" + } + }, "is-arguments": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", @@ -5107,6 +5369,12 @@ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==" }, + "is-decimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", + "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", + "dev": true + }, "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", @@ -5168,6 +5436,12 @@ "is-extglob": "^2.1.1" } }, + "is-hexadecimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", + "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", + "dev": true + }, "is-installed-globally": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", @@ -5234,6 +5508,12 @@ "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==", "dev": true }, + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true + }, "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -5251,6 +5531,12 @@ "has": "^1.0.3" } }, + "is-regexp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-2.1.0.tgz", + "integrity": "sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==", + "dev": true + }, "is-symbol": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", @@ -5280,12 +5566,24 @@ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", "dev": true }, + "is-whitespace-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz", + "integrity": "sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w==", + "dev": true + }, "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, + "is-word-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-word-character/-/is-word-character-1.0.4.tgz", + "integrity": "sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA==", + "dev": true + }, "is-wsl": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", @@ -5495,6 +5793,12 @@ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, + "known-css-properties": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.19.0.tgz", + "integrity": "sha512-eYboRV94Vco725nKMlpkn3nV2+96p9c3gKXRsYqAJSswSENvBhN7n5L+uDhY58xQa0UukWsDMTGELzmD8Q+wTA==", + "dev": true + }, "latest-version": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", @@ -5561,6 +5865,12 @@ "unicode-trie": "^1.0.0" } }, + "lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -5646,6 +5956,12 @@ "chalk": "^2.0.1" } }, + "longest-streak": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", + "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==", + "dev": true + }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -5742,6 +6058,36 @@ "object-visit": "^1.0.0" } }, + "markdown-escapes": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", + "integrity": "sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==", + "dev": true + }, + "markdown-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz", + "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==", + "dev": true, + "requires": { + "repeat-string": "^1.0.0" + } + }, + "mathml-tag-names": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz", + "integrity": "sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==", + "dev": true + }, + "mdast-util-compact": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-compact/-/mdast-util-compact-2.0.1.tgz", + "integrity": "sha512-7GlnT24gEwDrdAwEHrU4Vv5lLWrEer4KOkAiKT9nYstsTad7Oc1TwqT2zIMKRdZF7cTuaf+GA1E4Kv7jJh8mPA==", + "dev": true, + "requires": { + "unist-util-visit": "^2.0.0" + } + }, "mdn-browser-compat-data": { "version": "1.0.23", "resolved": "https://registry.npmjs.org/mdn-browser-compat-data/-/mdn-browser-compat-data-1.0.23.tgz", @@ -5850,6 +6196,12 @@ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", "dev": true }, + "min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true + }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", @@ -5864,6 +6216,31 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" }, + "minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dev": true, + "requires": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "dependencies": { + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true + } + } + }, "mitt": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz", @@ -6281,6 +6658,12 @@ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", "dev": true }, + "normalize-selector": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/normalize-selector/-/normalize-selector-0.2.0.tgz", + "integrity": "sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=", + "dev": true + }, "normalize-url": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz", @@ -6700,6 +7083,20 @@ "callsites": "^3.0.0" } }, + "parse-entities": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", + "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", + "dev": true, + "requires": { + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" + } + }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -7255,6 +7652,24 @@ } } }, + "postcss-html": { + "version": "0.36.0", + "resolved": "https://registry.npmjs.org/postcss-html/-/postcss-html-0.36.0.tgz", + "integrity": "sha512-HeiOxGcuwID0AFsNAL0ox3mW6MHH5cstWN1Z3Y+n6H+g12ih7LHdYxWwEA/QmrebctLjo79xz9ouK3MroHwOJw==", + "dev": true, + "requires": { + "htmlparser2": "^3.10.0" + } + }, + "postcss-less": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-3.1.4.tgz", + "integrity": "sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==", + "dev": true, + "requires": { + "postcss": "^7.0.14" + } + }, "postcss-load-config": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.0.tgz", @@ -7265,6 +7680,12 @@ "import-cwd": "^2.0.0" } }, + "postcss-media-query-parser": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", + "integrity": "sha1-J7Ocb02U+Bsac7j3Y1HGCeXO8kQ=", + "dev": true + }, "postcss-reporter": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-6.0.1.tgz", @@ -7277,6 +7698,31 @@ "postcss": "^7.0.7" } }, + "postcss-resolve-nested-selector": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", + "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=", + "dev": true + }, + "postcss-safe-parser": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-4.0.2.tgz", + "integrity": "sha512-Uw6ekxSWNLCPesSv/cmqf2bY/77z11O7jZGPax3ycZMFU/oi2DMH9i89AdHc1tRwFg/arFoEwX0IS3LCUxJh1g==", + "dev": true, + "requires": { + "postcss": "^7.0.26" + } + }, + "postcss-sass": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.4.4.tgz", + "integrity": "sha512-BYxnVYx4mQooOhr+zer0qWbSPYnarAy8ZT7hAQtbxtgVf8gy+LSLT/hHGe35h14/pZDTw1DsxdbrwxBN++H+fg==", + "dev": true, + "requires": { + "gonzales-pe": "^4.3.0", + "postcss": "^7.0.21" + } + }, "postcss-scss": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-2.1.1.tgz", @@ -7286,6 +7732,33 @@ "postcss": "^7.0.6" } }, + "postcss-selector-parser": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz", + "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + }, + "postcss-sorting": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-sorting/-/postcss-sorting-5.0.1.tgz", + "integrity": "sha512-Y9fUFkIhfrm6i0Ta3n+89j56EFqaNRdUKqXyRp6kvTcSXnmgEjaVowCXH+JBe9+YKWqd4nc28r2sgwnzJalccA==", + "dev": true, + "requires": { + "lodash": "^4.17.14", + "postcss": "^7.0.17" + } + }, + "postcss-syntax": { + "version": "0.36.2", + "resolved": "https://registry.npmjs.org/postcss-syntax/-/postcss-syntax-0.36.2.tgz", + "integrity": "sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==", + "dev": true + }, "postcss-value-parser": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", @@ -7375,6 +7848,12 @@ "integrity": "sha1-HPyyXBCpsrSDBT/zn138kjOQjP4=", "dev": true }, + "quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true + }, "quote-stream": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/quote-stream/-/quote-stream-1.0.2.tgz", @@ -7638,6 +8117,63 @@ } } }, + "remark": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/remark/-/remark-12.0.0.tgz", + "integrity": "sha512-oX4lMIS0csgk8AEbzY0h2jdR0ngiCHOpwwpxjmRa5TqAkeknY+tkhjRJGZqnCmvyuWh55/0SW5WY3R3nn3PH9A==", + "dev": true, + "requires": { + "remark-parse": "^8.0.0", + "remark-stringify": "^8.0.0", + "unified": "^9.0.0" + } + }, + "remark-parse": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-8.0.2.tgz", + "integrity": "sha512-eMI6kMRjsAGpMXXBAywJwiwAse+KNpmt+BK55Oofy4KvBZEqUDj6mWbGLJZrujoPIPPxDXzn3T9baRlpsm2jnQ==", + "dev": true, + "requires": { + "ccount": "^1.0.0", + "collapse-white-space": "^1.0.2", + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "is-word-character": "^1.0.0", + "markdown-escapes": "^1.0.0", + "parse-entities": "^2.0.0", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "trim": "0.0.1", + "trim-trailing-lines": "^1.0.0", + "unherit": "^1.0.4", + "unist-util-remove-position": "^2.0.0", + "vfile-location": "^3.0.0", + "xtend": "^4.0.1" + } + }, + "remark-stringify": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-8.0.0.tgz", + "integrity": "sha512-cABVYVloFH+2ZI5bdqzoOmemcz/ZuhQSH6W6ZNYnLojAUUn3xtX7u+6BpnYp35qHoGr2NFBsERV14t4vCIeW8w==", + "dev": true, + "requires": { + "ccount": "^1.0.0", + "is-alphanumeric": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "longest-streak": "^2.0.1", + "markdown-escapes": "^1.0.0", + "markdown-table": "^2.0.0", + "mdast-util-compact": "^2.0.0", + "parse-entities": "^2.0.0", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "stringify-entities": "^3.0.0", + "unherit": "^1.0.4", + "xtend": "^4.0.1" + } + }, "remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", @@ -7665,6 +8201,12 @@ "is-finite": "^1.0.0" } }, + "replace-ext": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", + "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=", + "dev": true + }, "request": { "version": "2.88.2", "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", @@ -8769,6 +9311,12 @@ "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", "dev": true }, + "specificity": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/specificity/-/specificity-0.4.1.tgz", + "integrity": "sha512-1klA3Gi5PD1Wv9Q0wUoOQN1IWAuPu0D1U03ThXTr0cJ20+/iq2tHSDnK7Kk/0LXJ1ztUB2/1Os0wKmfyNgUQfg==", + "dev": true + }, "split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", @@ -8801,6 +9349,12 @@ "tweetnacl": "~0.14.0" } }, + "state-toggle": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", + "integrity": "sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==", + "dev": true + }, "static-eval": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.0.5.tgz", @@ -8943,6 +9497,19 @@ "safe-buffer": "~5.1.0" } }, + "stringify-entities": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-3.0.1.tgz", + "integrity": "sha512-Lsk3ISA2++eJYqBMPKcr/8eby1I6L0gP0NlxF8Zja6c05yr/yCYyb2c9PwXjd08Ib3If1vn1rbs1H5ZtVuOfvQ==", + "dev": true, + "requires": { + "character-entities-html4": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.2", + "is-hexadecimal": "^1.0.0" + } + }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", @@ -8976,6 +9543,546 @@ "integrity": "sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==", "dev": true }, + "style-search": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", + "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=", + "dev": true + }, + "stylelint": { + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-13.5.0.tgz", + "integrity": "sha512-+Jy7ieKAWKTf2tmcAE7jgScxH39Urb87i0bjK/enScFaGWWaFn4kAPwepGOSk2b7CLUDVt/O6kwA0x0p/V7moQ==", + "dev": true, + "requires": { + "@stylelint/postcss-css-in-js": "^0.37.1", + "@stylelint/postcss-markdown": "^0.36.1", + "autoprefixer": "^9.7.6", + "balanced-match": "^1.0.0", + "chalk": "^4.0.0", + "cosmiconfig": "^6.0.0", + "debug": "^4.1.1", + "execall": "^2.0.0", + "file-entry-cache": "^5.0.1", + "get-stdin": "^8.0.0", + "global-modules": "^2.0.0", + "globby": "^11.0.0", + "globjoin": "^0.1.4", + "html-tags": "^3.1.0", + "ignore": "^5.1.4", + "import-lazy": "^4.0.0", + "imurmurhash": "^0.1.4", + "known-css-properties": "^0.19.0", + "leven": "^3.1.0", + "lodash": "^4.17.15", + "log-symbols": "^4.0.0", + "mathml-tag-names": "^2.1.3", + "meow": "^7.0.1", + "micromatch": "^4.0.2", + "normalize-selector": "^0.2.0", + "postcss": "^7.0.30", + "postcss-html": "^0.36.0", + "postcss-less": "^3.1.4", + "postcss-media-query-parser": "^0.2.3", + "postcss-reporter": "^6.0.1", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-safe-parser": "^4.0.2", + "postcss-sass": "^0.4.4", + "postcss-scss": "^2.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-syntax": "^0.36.2", + "postcss-value-parser": "^4.1.0", + "resolve-from": "^5.0.0", + "slash": "^3.0.0", + "specificity": "^0.4.1", + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "style-search": "^0.1.0", + "sugarss": "^2.0.0", + "svg-tags": "^1.0.0", + "table": "^5.4.6", + "v8-compile-cache": "^2.1.0", + "write-file-atomic": "^3.0.3" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "camelcase": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.0.0.tgz", + "integrity": "sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==", + "dev": true + }, + "camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + } + } + }, + "chalk": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz", + "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "cosmiconfig": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", + "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", + "dev": true, + "requires": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "get-stdin": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", + "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", + "dev": true + }, + "global-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", + "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", + "dev": true, + "requires": { + "global-prefix": "^3.0.0" + } + }, + "global-prefix": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", + "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", + "dev": true, + "requires": { + "ini": "^1.3.5", + "kind-of": "^6.0.2", + "which": "^1.3.1" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "dev": true + }, + "import-lazy": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", + "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", + "dev": true + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "log-symbols": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", + "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==", + "dev": true, + "requires": { + "chalk": "^4.0.0" + } + }, + "map-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", + "integrity": "sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==", + "dev": true + }, + "meow": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-7.0.1.tgz", + "integrity": "sha512-tBKIQqVrAHqwit0vfuFPY3LlzJYkEOFyKa3bPgxzNl6q/RtN8KQ+ALYEASYuFayzSAsjlhXj/JZ10rH85Q6TUw==", + "dev": true, + "requires": { + "@types/minimist": "^1.2.0", + "arrify": "^2.0.1", + "camelcase": "^6.0.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "^4.0.2", + "normalize-package-data": "^2.5.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.13.1", + "yargs-parser": "^18.1.3" + } + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "parse-json": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", + "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1", + "lines-and-columns": "^1.1.6" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "dependencies": { + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + } + } + }, + "redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "requires": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + } + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + }, + "strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "requires": { + "min-indent": "^1.0.0" + } + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "trim-newlines": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", + "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", + "dev": true + }, + "type-fest": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", + "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + } + } + } + } + }, + "stylelint-config-recommended": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-3.0.0.tgz", + "integrity": "sha512-F6yTRuc06xr1h5Qw/ykb2LuFynJ2IxkKfCMf+1xqPffkxh0S09Zc902XCffcsw/XMFq/OzQ1w54fLIDtmRNHnQ==", + "dev": true + }, + "stylelint-config-recommended-scss": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-4.2.0.tgz", + "integrity": "sha512-4bI5BYbabo/GCQ6LbRZx/ZlVkK65a1jivNNsD+ix/Lw0U3iAch+jQcvliGnnAX8SUPaZ0UqzNVNNAF3urswa7g==", + "dev": true, + "requires": { + "stylelint-config-recommended": "^3.0.0" + } + }, + "stylelint-config-standard": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-20.0.0.tgz", + "integrity": "sha512-IB2iFdzOTA/zS4jSVav6z+wGtin08qfj+YyExHB3LF9lnouQht//YyB0KZq9gGz5HNPkddHOzcY8HsUey6ZUlA==", + "dev": true, + "requires": { + "stylelint-config-recommended": "^3.0.0" + } + }, + "stylelint-config-twbs-bootstrap": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-2.0.2.tgz", + "integrity": "sha512-8CBxRwdllEptFOdW0oHN5hSne/BCM4ofufF+kxtVYPx4cK18tkIYF0X/2FSymNh3gTI5a54e1Riij8kzpfFnug==", + "dev": true, + "requires": { + "stylelint-config-recommended-scss": "^4.2.0", + "stylelint-config-standard": "^20.0.0", + "stylelint-order": "^4.0.0", + "stylelint-scss": "^3.17.1" + } + }, + "stylelint-order": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-4.0.0.tgz", + "integrity": "sha512-bXV0v+jfB0+JKsqIn3mLglg1Dj2QCYkFHNfL1c+rVMEmruZmW5LUqT/ARBERfBm8SFtCuXpEdatidw/3IkcoiA==", + "dev": true, + "requires": { + "lodash": "^4.17.15", + "postcss": "^7.0.26", + "postcss-sorting": "^5.0.1" + } + }, + "stylelint-scss": { + "version": "3.17.2", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-3.17.2.tgz", + "integrity": "sha512-e0dmxqsofy/HZj4urcGSJw4S6yHDJxiQdT20/1ciCsd5lomisa7YM4+Qtt1EG4hsqEG1dbEeF855tec1UyqcSA==", + "dev": true, + "requires": { + "lodash": "^4.17.15", + "postcss-media-query-parser": "^0.2.3", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + } + }, + "sugarss": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-2.0.0.tgz", + "integrity": "sha512-WfxjozUk0UVA4jm+U1d736AUpzSrNsQcIbyOkoE364GrtWmIrFdk5lksEupgWMD4VaT/0kVx1dobpiDumSgmJQ==", + "dev": true, + "requires": { + "postcss": "^7.0.2" + } + }, "summernote": { "version": "0.8.18", "resolved": "https://registry.npmjs.org/summernote/-/summernote-0.8.18.tgz", @@ -8990,6 +10097,12 @@ "has-flag": "^3.0.0" } }, + "svg-tags": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", + "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=", + "dev": true + }, "svg-to-pdfkit": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/svg-to-pdfkit/-/svg-to-pdfkit-0.1.8.tgz", @@ -9296,12 +10409,30 @@ "punycode": "^2.1.1" } }, + "trim": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", + "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", + "dev": true + }, "trim-newlines": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", "dev": true }, + "trim-trailing-lines": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.3.tgz", + "integrity": "sha512-4ku0mmjXifQcTVfYDfR5lpgV7zVqPg6zV9rdZmwOPqq0+Zq19xDqEgagqVbc4pOOShbncuAOIs59R3+3gcF3ZA==", + "dev": true + }, + "trough": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", + "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", + "dev": true + }, "true-case-path": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", @@ -9403,6 +10534,16 @@ } } }, + "unherit": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz", + "integrity": "sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ==", + "dev": true, + "requires": { + "inherits": "^2.0.0", + "xtend": "^4.0.0" + } + }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", @@ -9477,6 +10618,28 @@ } } }, + "unified": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/unified/-/unified-9.0.0.tgz", + "integrity": "sha512-ssFo33gljU3PdlWLjNp15Inqb77d6JnJSfyplGJPT/a+fNRNyCBeveBAYJdO5khKdF6WVHa/yYCC7Xl6BDwZUQ==", + "dev": true, + "requires": { + "bail": "^1.0.0", + "extend": "^3.0.0", + "is-buffer": "^2.0.0", + "is-plain-obj": "^2.0.0", + "trough": "^1.0.0", + "vfile": "^4.0.0" + }, + "dependencies": { + "is-buffer": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", + "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==", + "dev": true + } + } + }, "union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -9489,6 +10652,12 @@ "set-value": "^2.0.1" } }, + "uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, "unique-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", @@ -9498,6 +10667,60 @@ "crypto-random-string": "^2.0.0" } }, + "unist-util-find-all-after": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/unist-util-find-all-after/-/unist-util-find-all-after-3.0.1.tgz", + "integrity": "sha512-0GICgc++sRJesLwEYDjFVJPJttBpVQaTNgc6Jw0Jhzvfs+jtKePEMu+uD+PqkRUrAvGQqwhpDwLGWo1PK8PDEw==", + "dev": true, + "requires": { + "unist-util-is": "^4.0.0" + } + }, + "unist-util-is": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.0.2.tgz", + "integrity": "sha512-Ofx8uf6haexJwI1gxWMGg6I/dLnF2yE+KibhD3/diOqY2TinLcqHXCV6OI5gFVn3xQqDH+u0M625pfKwIwgBKQ==", + "dev": true + }, + "unist-util-remove-position": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz", + "integrity": "sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA==", + "dev": true, + "requires": { + "unist-util-visit": "^2.0.0" + } + }, + "unist-util-stringify-position": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz", + "integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==", + "dev": true, + "requires": { + "@types/unist": "^2.0.2" + } + }, + "unist-util-visit": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-2.0.2.tgz", + "integrity": "sha512-HoHNhGnKj6y+Sq+7ASo2zpVdfdRifhTgX2KTU3B/sO/TTlZchp7E3S4vjRzDJ7L60KmrCPsQkVK3lEF3cz36XQ==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-is": "^4.0.0", + "unist-util-visit-parents": "^3.0.0" + } + }, + "unist-util-visit-parents": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.0.2.tgz", + "integrity": "sha512-yJEfuZtzFpQmg1OSCyS9M5NJRrln/9FbYosH3iW0MG402QbdbaB8ZESwUv9RO6nRfLAKvWcMxCwdLWOov36x/g==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-is": "^4.0.0" + } + }, "universalify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", @@ -9711,6 +10934,43 @@ "extsprintf": "^1.2.0" } }, + "vfile": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.1.1.tgz", + "integrity": "sha512-lRjkpyDGjVlBA7cDQhQ+gNcvB1BGaTHYuSOcY3S7OhDmBtnzX95FhtZZDecSTDm6aajFymyve6S5DN4ZHGezdQ==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "replace-ext": "1.0.0", + "unist-util-stringify-position": "^2.0.0", + "vfile-message": "^2.0.0" + }, + "dependencies": { + "is-buffer": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", + "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==", + "dev": true + } + } + }, + "vfile-location": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-3.0.1.tgz", + "integrity": "sha512-yYBO06eeN/Ki6Kh1QAkgzYpWT1d3Qln+ZCtSbJqFExPl1S3y2qqotJQXoh6qEvl/jDlgpUJolBn3PItVnnZRqQ==", + "dev": true + }, + "vfile-message": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz", + "integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-stringify-position": "^2.0.0" + } + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -9864,6 +11124,12 @@ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true }, + "yaml": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz", + "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==", + "dev": true + }, "yargs": { "version": "6.4.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.4.0.tgz", diff --git a/package.json b/package.json index f2d33100f..3379af010 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "css-minify:extra-components": "npm run css-minify-bash -- dist/css/alt/adminlte.extra-components.min.css dist/css/alt/adminlte.extra-components.css", "css-minify:pages": "npm run css-minify-bash -- dist/css/alt/adminlte.pages.min.css dist/css/alt/adminlte.pages.css", "css-minify:plugins": "npm run css-minify-bash -- dist/css/alt/adminlte.plugins.min.css dist/css/alt/adminlte.plugins.css", + "css-lint": "stylelint \"build/scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache", "compile": "npm-run-all --parallel js css-all", "dev": "npm-run-all --parallel watch sync", "docs": "npm-run-all --sequential docs-clean docs-prepare docs-compile", @@ -37,11 +38,12 @@ "js-compile": "rollup --config build/config/rollup.config.js --sourcemap", "js-minify": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/adminlte.js.map,includeSources,url=adminlte.min.js.map\" --output dist/js/adminlte.min.js dist/js/adminlte.js", "production": "npm-run-all --sequential compile plugins", - "prepare-release": "npm-run-all --sequential compile plugins docs", + "prepare-release": "npm-run-all --sequential production docs", + "test": "npm-run-all css-lint production", "plugins": "node build/npm/Publish.js -v", "sync": "browser-sync start --server --files *.html pages/ dist/", "watch": "npm-run-all --parallel watch-css watch-js", - "watch-css": "nodemon --watch build/scss -e scss -x \"npm run css\"", + "watch-css": "nodemon --watch build/scss -e scss -x \"npm-run-all css-lint css\"", "watch-js": "nodemon --watch build/js -e js -x \"npm run js\"" }, "keywords": [ @@ -142,6 +144,8 @@ "npm-run-all": "^4.1.5", "postcss-cli": "^7.1.1", "rollup": "^2.12.0", + "stylelint": "^13.5.0", + "stylelint-config-twbs-bootstrap": "^2.0.2", "terser": "^4.7.0" } } From 3d87e3c4cb66f808ba2cacc4ca7d5f6ddc192c97 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 30 May 2020 16:06:11 +0300 Subject: [PATCH 2/4] Adhere to the Stylelint rules. Also, re-use some of the color variables while at it. --- build/scss/AdminLTE-components.scss | 12 +-- build/scss/AdminLTE-core.scss | 14 +-- build/scss/AdminLTE-extra-components.scss | 12 +-- build/scss/AdminLTE-pages.scss | 14 +-- build/scss/AdminLTE-plugins.scss | 12 +-- build/scss/AdminLTE-raw.scss | 18 ++-- build/scss/AdminLTE.scss | 22 ++--- build/scss/_bootstrap-variables.scss | 104 +++++++++++----------- build/scss/_brand.scss | 4 +- build/scss/_buttons.scss | 4 +- build/scss/_callout.scss | 8 +- build/scss/_cards.scss | 14 +-- build/scss/_colors.scss | 2 +- build/scss/_control-sidebar.scss | 27 +++--- build/scss/_direct-chat.scss | 14 +-- build/scss/_dropdown.scss | 23 +++-- build/scss/_forms.scss | 44 ++++----- build/scss/_info-box.scss | 2 +- build/scss/_layout.scss | 7 +- build/scss/_main-header.scss | 4 +- build/scss/_main-sidebar.scss | 42 ++++----- build/scss/_miscellaneous.scss | 14 +-- build/scss/_mixins.scss | 18 ++-- build/scss/_modals.scss | 2 +- build/scss/_navs.scss | 6 +- build/scss/_products.scss | 2 +- build/scss/_sidebar-mini.scss | 8 +- build/scss/_small-box.scss | 14 +-- build/scss/_social-widgets.scss | 2 +- build/scss/_table.scss | 6 +- build/scss/_text.scss | 4 +- build/scss/_timeline.scss | 6 +- build/scss/_users-list.scss | 2 +- build/scss/_variables.scss | 62 +++++++------ build/scss/mixins/_accent.scss | 14 +-- build/scss/mixins/_backgrounds.scss | 6 +- build/scss/mixins/_cards.scss | 2 +- build/scss/mixins/_direct-chat.scss | 2 +- build/scss/mixins/_miscellaneous.scss | 7 +- build/scss/mixins/_navbar.scss | 2 +- build/scss/mixins/_sidebar.scss | 2 +- build/scss/mixins/_toasts.scss | 2 +- build/scss/pages/_404_500_errors.scss | 2 +- build/scss/pages/_e-commerce.scss | 6 +- build/scss/pages/_mailbox.scss | 6 +- build/scss/parts/_components.scss | 20 ++--- build/scss/parts/_core.scss | 16 ++-- build/scss/parts/_extra-components.scss | 14 +-- build/scss/parts/_miscellaneous.scss | 10 +-- build/scss/parts/_pages.scss | 16 ++-- build/scss/parts/_plugins.scss | 24 ++--- build/scss/plugins/_fullcalendar.scss | 2 +- build/scss/plugins/_mapael.scss | 2 +- build/scss/plugins/_select2.scss | 1 - build/scss/plugins/_toastr.scss | 2 +- 55 files changed, 350 insertions(+), 357 deletions(-) diff --git a/build/scss/AdminLTE-components.scss b/build/scss/AdminLTE-components.scss index fe5947e8c..25ba2b488 100644 --- a/build/scss/AdminLTE-components.scss +++ b/build/scss/AdminLTE-components.scss @@ -7,14 +7,14 @@ */ // Bootstrap // --------------------------------------------------- -@import '~bootstrap/scss/functions'; -@import 'bootstrap-variables'; -@import '~bootstrap/scss/mixins'; +@import "~bootstrap/scss/functions"; +@import "bootstrap-variables"; +@import "~bootstrap/scss/mixins"; // @import '~bootstrap/scss/bootstrap'; // Variables and Mixins // --------------------------------------------------- -@import 'variables'; -@import 'mixins'; +@import "variables"; +@import "mixins"; -@import 'parts/components'; +@import "parts/components"; diff --git a/build/scss/AdminLTE-core.scss b/build/scss/AdminLTE-core.scss index 4ed9580d0..8e14dcbb0 100644 --- a/build/scss/AdminLTE-core.scss +++ b/build/scss/AdminLTE-core.scss @@ -7,14 +7,14 @@ */ // Bootstrap // --------------------------------------------------- -@import '~bootstrap/scss/functions'; -@import 'bootstrap-variables'; -@import '~bootstrap/scss/bootstrap'; +@import "~bootstrap/scss/functions"; +@import "bootstrap-variables"; +@import "~bootstrap/scss/bootstrap"; // Variables and Mixins // --------------------------------------------------- -@import 'variables'; -@import 'mixins'; +@import "variables"; +@import "mixins"; -@import 'parts/core'; -@import 'parts/miscellaneous'; +@import "parts/core"; +@import "parts/miscellaneous"; diff --git a/build/scss/AdminLTE-extra-components.scss b/build/scss/AdminLTE-extra-components.scss index e02cda881..a48dad847 100644 --- a/build/scss/AdminLTE-extra-components.scss +++ b/build/scss/AdminLTE-extra-components.scss @@ -7,14 +7,14 @@ */ // Bootstrap // --------------------------------------------------- -@import '~bootstrap/scss/functions'; -@import 'bootstrap-variables'; -@import '~bootstrap/scss/mixins'; +@import "~bootstrap/scss/functions"; +@import "bootstrap-variables"; +@import "~bootstrap/scss/mixins"; // @import '~bootstrap/scss/bootstrap'; // Variables and Mixins // --------------------------------------------------- -@import 'variables'; -@import 'mixins'; +@import "variables"; +@import "mixins"; -@import 'parts/extra-components'; +@import "parts/extra-components"; diff --git a/build/scss/AdminLTE-pages.scss b/build/scss/AdminLTE-pages.scss index 7d97d2988..efeb1c145 100644 --- a/build/scss/AdminLTE-pages.scss +++ b/build/scss/AdminLTE-pages.scss @@ -7,14 +7,14 @@ */ // Bootstrap // --------------------------------------------------- -@import '~bootstrap/scss/functions'; -@import 'bootstrap-variables'; -@import '~bootstrap/scss/mixins'; -@import '~bootstrap/scss/close'; +@import "~bootstrap/scss/functions"; +@import "bootstrap-variables"; +@import "~bootstrap/scss/mixins"; +@import "~bootstrap/scss/close"; // Variables and Mixins // --------------------------------------------------- -@import 'variables'; -@import 'mixins'; +@import "variables"; +@import "mixins"; -@import 'parts/pages'; +@import "parts/pages"; diff --git a/build/scss/AdminLTE-plugins.scss b/build/scss/AdminLTE-plugins.scss index fe42869c0..d6523f30f 100644 --- a/build/scss/AdminLTE-plugins.scss +++ b/build/scss/AdminLTE-plugins.scss @@ -7,14 +7,14 @@ */ // Bootstrap // --------------------------------------------------- -@import '~bootstrap/scss/functions'; -@import 'bootstrap-variables'; -@import '~bootstrap/scss/mixins'; +@import "~bootstrap/scss/functions"; +@import "bootstrap-variables"; +@import "~bootstrap/scss/mixins"; // @import '~bootstrap/scss/bootstrap'; // Variables and Mixins // --------------------------------------------------- -@import 'variables'; -@import 'mixins'; +@import "variables"; +@import "mixins"; -@import 'parts/plugins'; +@import "parts/plugins"; diff --git a/build/scss/AdminLTE-raw.scss b/build/scss/AdminLTE-raw.scss index 807d5e908..0c9ddd196 100644 --- a/build/scss/AdminLTE-raw.scss +++ b/build/scss/AdminLTE-raw.scss @@ -15,13 +15,13 @@ // // Variables and Mixins // --------------------------------------------------- -@import 'bootstrap-variables'; -@import 'variables'; -@import 'mixins'; +@import "bootstrap-variables"; +@import "variables"; +@import "mixins"; -@import 'parts/core'; -@import 'parts/components'; -@import 'parts/extra-components'; -@import 'parts/pages'; -@import 'parts/plugins'; -@import 'parts/miscellaneous'; +@import "parts/core"; +@import "parts/components"; +@import "parts/extra-components"; +@import "parts/pages"; +@import "parts/plugins"; +@import "parts/miscellaneous"; diff --git a/build/scss/AdminLTE.scss b/build/scss/AdminLTE.scss index 376fca9a6..54d05fe64 100644 --- a/build/scss/AdminLTE.scss +++ b/build/scss/AdminLTE.scss @@ -6,19 +6,19 @@ */ // Bootstrap // --------------------------------------------------- -@import '~bootstrap/scss/functions'; -@import 'bootstrap-variables'; -@import '~bootstrap/scss/bootstrap'; +@import "~bootstrap/scss/functions"; +@import "bootstrap-variables"; +@import "~bootstrap/scss/bootstrap"; // Variables and Mixins // --------------------------------------------------- -@import 'variables'; -@import 'mixins'; +@import "variables"; +@import "mixins"; -@import 'parts/core'; -@import 'parts/components'; -@import 'parts/extra-components'; -@import 'parts/pages'; -@import 'parts/plugins'; -@import 'parts/miscellaneous'; +@import "parts/core"; +@import "parts/components"; +@import "parts/extra-components"; +@import "parts/pages"; +@import "parts/plugins"; +@import "parts/miscellaneous"; diff --git a/build/scss/_bootstrap-variables.scss b/build/scss/_bootstrap-variables.scss index f273323b0..270a6f848 100644 --- a/build/scss/_bootstrap-variables.scss +++ b/build/scss/_bootstrap-variables.scss @@ -9,7 +9,7 @@ // // stylelint-disable -$white: #ffffff !default; +$white: #fff !default; $gray-100: #f8f9fa !default; $gray-200: #e9ecef !default; $gray-300: #dee2e6 !default; @@ -23,15 +23,15 @@ $black: #000 !default; $grays: () !default; $grays: map-merge(( - "100": $gray-100, - "200": $gray-200, - "300": $gray-300, - "400": $gray-400, - "500": $gray-500, - "600": $gray-600, - "700": $gray-700, - "800": $gray-800, - "900": $gray-900 + "100": $gray-100, + "200": $gray-200, + "300": $gray-300, + "400": $gray-400, + "500": $gray-500, + "600": $gray-600, + "700": $gray-700, + "800": $gray-800, + "900": $gray-900 ), $grays); $blue: #007bff !default; @@ -47,19 +47,19 @@ $cyan: #17a2b8 !default; $colors: () !default; $colors: map-merge(( - "blue": $blue, - "indigo": $indigo, - "purple": $purple, - "pink": $pink, - "red": $red, - "orange": $orange, - "yellow": $yellow, - "green": $green, - "teal": $teal, - "cyan": $cyan, - "white": $white, - "gray": $gray-600, - "gray-dark": $gray-800 + "blue": $blue, + "indigo": $indigo, + "purple": $purple, + "pink": $pink, + "red": $red, + "orange": $orange, + "yellow": $yellow, + "green": $green, + "teal": $teal, + "cyan": $cyan, + "white": $white, + "gray": $gray-600, + "gray-dark": $gray-800 ), $colors); $primary: $blue !default; @@ -73,14 +73,14 @@ $dark: $gray-800 !default; $theme-colors: () !default; $theme-colors: map-merge(( - "primary": $primary, - "secondary": $secondary, - "success": $success, - "info": $info, - "warning": $warning, - "danger": $danger, - "light": $light, - "dark": $dark + "primary": $primary, + "secondary": $secondary, + "success": $success, + "info": $info, + "warning": $warning, + "danger": $danger, + "light": $light, + "dark": $dark ), $theme-colors); // stylelint-enable @@ -91,7 +91,7 @@ $theme-color-interval: 8% !default; $yiq-contrasted-threshold: 150 !default; // Customize the light and dark text colors for use in our YIQ color contrast function. -$yiq-text-dark: #1F2D3D !default; +$yiq-text-dark: #1f2d3d !default; $yiq-text-light: $white !default; // Options @@ -122,21 +122,21 @@ $enable-deprecation-messages: true !default; $spacer: 1rem !default; $spacers: () !default; $spacers: map-merge(( - 0: 0, - 1: ($spacer * .25), - 2: ($spacer * .5), - 3: $spacer, - 4: ($spacer * 1.5), - 5: ($spacer * 3) + 0: 0, + 1: ($spacer * .25), + 2: ($spacer * .5), + 3: $spacer, + 4: ($spacer * 1.5), + 5: ($spacer * 3) ), $spacers); // This variable affects the `.h-*` and `.w-*` classes. $sizes: () !default; $sizes: map-merge(( - 25: 25%, - 50: 50%, - 75: 75%, - 100: 100% + 25: 25%, + 50: 50%, + 75: 75%, + 100: 100% ), $sizes); // stylelint-enable @@ -169,11 +169,11 @@ $paragraph-margin-bottom: 1rem !default; // adapting to different screen sizes, for use in media queries. $grid-breakpoints: ( - xs: 0, - sm: 576px, - md: 768px, - lg: 992px, - xl: 1200px + xs: 0, + sm: 576px, + md: 768px, + lg: 992px, + xl: 1200px ) !default; @include _assert-ascending($grid-breakpoints, "$grid-breakpoints"); @@ -185,10 +185,10 @@ $grid-breakpoints: ( // Define the maximum width of `.container` for different screen sizes. $container-max-widths: ( - sm: 540px, - md: 720px, - lg: 960px, - xl: 1140px + sm: 540px, + md: 720px, + lg: 960px, + xl: 1140px ) !default; @include _assert-ascending($container-max-widths, "$container-max-widths"); @@ -521,7 +521,7 @@ $custom-file-box-shadow: $custom-select-focus-box-shadow !default; $custom-file-button-color: $custom-file-color !default; $custom-file-button-bg: $input-group-addon-bg !default; $custom-file-text: ( - en: "Browse" + en: "Browse" ) !default; $custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default; diff --git a/build/scss/_brand.scss b/build/scss/_brand.scss index ae25e5c89..e1d0f8462 100644 --- a/build/scss/_brand.scss +++ b/build/scss/_brand.scss @@ -20,12 +20,12 @@ font-size: inherit; } - [class*='sidebar-dark'] & { + [class*="sidebar-dark"] & { border-bottom: 1px solid lighten($dark, 10%); color: rgba($white, .8); } - [class*='sidebar-light'] & { + [class*="sidebar-light"] & { border-bottom: 1px solid $gray-300; color: rgba($black, .8); } diff --git a/build/scss/_buttons.scss b/build/scss/_buttons.scss index ea28648ba..cfd680701 100644 --- a/build/scss/_buttons.scss +++ b/build/scss/_buttons.scss @@ -20,7 +20,7 @@ overflow: hidden; position: relative; - > input[type='file'] { + > input[type="file"] { background: $white; cursor: inherit; display: block; @@ -88,7 +88,7 @@ &:active, &:focus { - @include box-shadow(inset 0 3px 5px rgba($black, 0.125)); + @include box-shadow(inset 0 3px 5px rgba($black, .125)); } // The badge diff --git a/build/scss/_callout.scss b/build/scss/_callout.scss index d1cfe8817..70217629f 100644 --- a/build/scss/_callout.scss +++ b/build/scss/_callout.scss @@ -34,18 +34,18 @@ // Themes for different contexts &.callout-danger { - border-left-color: darken(theme-color('danger'), 10%); + border-left-color: darken(theme-color("danger"), 10%); } &.callout-warning { - border-left-color: darken(theme-color('warning'), 10%); + border-left-color: darken(theme-color("warning"), 10%); } &.callout-info { - border-left-color: darken(theme-color('info'), 10%); + border-left-color: darken(theme-color("info"), 10%); } &.callout-success { - border-left-color: darken(theme-color('success'), 10%); + border-left-color: darken(theme-color("success"), 10%); } } diff --git a/build/scss/_cards.scss b/build/scss/_cards.scss index 96cd01628..3d26ffba6 100644 --- a/build/scss/_cards.scss +++ b/build/scss/_cards.scss @@ -40,7 +40,7 @@ display: block !important; } - [data-widget='collapse'] { + [data-widget="collapse"] { display: none; } @@ -202,7 +202,7 @@ html.maximized-card { .card-header, .card-body, .card-footer { - @include clearfix; + @include clearfix (); } // Box header @@ -231,7 +231,7 @@ html.maximized-card { margin-top: -$card-spacer-y / 2.5; } - [data-toggle='tooltip'] { + [data-toggle="tooltip"] { position: relative; } } @@ -310,7 +310,7 @@ html.maximized-card { } .chart-legend { - @include list-unstyled; + @include list-unstyled (); margin: 10px 0; > li { @@ -326,7 +326,7 @@ html.maximized-card { background: $gray-100; .card-comment { - @include clearfix; + @include clearfix (); border-bottom: 1px solid $gray-200; padding: 8px 0; @@ -385,7 +385,7 @@ html.maximized-card { margin-bottom: 0; } - > input[type='checkbox'] { + > input[type="checkbox"] { margin: 0 10px 0 5px; } @@ -403,7 +403,7 @@ html.maximized-card { // Tools and options box .tools { - color: theme-color('danger'); + color: theme-color("danger"); display: none; float: right; diff --git a/build/scss/_colors.scss b/build/scss/_colors.scss index 1cd515f9e..860566ef1 100644 --- a/build/scss/_colors.scss +++ b/build/scss/_colors.scss @@ -43,7 +43,7 @@ } // Backgrund Color Disabled -[class^='bg-'].disabled { +[class^="bg-"].disabled { opacity: .65; } diff --git a/build/scss/_control-sidebar.scss b/build/scss/_control-sidebar.scss index a15c2e464..bde5b2ebc 100644 --- a/build/scss/_control-sidebar.scss +++ b/build/scss/_control-sidebar.scss @@ -1,7 +1,7 @@ // // Component: Control Sidebar // - + html.control-sidebar-animate { overflow-x: hidden; } @@ -11,7 +11,7 @@ html.control-sidebar-animate { position: absolute; top: $main-header-height; z-index: $zindex-control-sidebar; - + &, &::before { bottom: $main-footer-height; @@ -22,7 +22,7 @@ html.control-sidebar-animate { } &::before { - content: ''; + content: ""; display: block; position: fixed; top: 0; @@ -46,11 +46,11 @@ body.text-sm { } .control-sidebar-push-slide { - .content-wrapper, - .main-footer { - @include transition(margin-right $transition-speed $transition-fn); - } + .content-wrapper, + .main-footer { + @include transition(margin-right $transition-speed $transition-fn); } +} // Control sidebar open state .control-sidebar-open { @@ -95,17 +95,14 @@ body.text-sm { // Dark skin .control-sidebar-dark { + background: $sidebar-dark-bg; + &, a, .nav-link { color: $sidebar-dark-color; } - // Background - & { - background: $sidebar-dark-bg; - } - a:hover { color: $sidebar-dark-hover-color; } @@ -171,8 +168,6 @@ body.text-sm { color: lighten($sidebar-light-color, 10%); // Background - & { - background: $sidebar-light-bg; - border-left: $main-header-bottom-border; - } + background: $sidebar-light-bg; + border-left: $main-header-bottom-border; } diff --git a/build/scss/_direct-chat.scss b/build/scss/_direct-chat.scss index 5329b3d1d..afbcf0fcc 100644 --- a/build/scss/_direct-chat.scss +++ b/build/scss/_direct-chat.scss @@ -1,7 +1,7 @@ // // Component: Direct Chat // - + .direct-chat { .card-body { overflow-x: hidden; @@ -42,7 +42,7 @@ } .direct-chat-msg { - @include clearfix; + @include clearfix (); margin-bottom: 10px; } @@ -68,7 +68,7 @@ &::before { border: solid transparent; border-right-color: $direct-chat-default-msg-border-color; - content: ' '; + content: " "; height: 0; pointer-events: none; position: absolute; @@ -163,11 +163,11 @@ //Contacts list -- for displaying contacts in direct chat contacts pane .contacts-list { - @include list-unstyled; + @include list-unstyled (); > li { - @include clearfix; - border-bottom: 1px solid rgba($black, 0.2); + @include clearfix (); + border-bottom: 1px solid rgba($black, .2); margin: 0; padding: 10px; @@ -203,7 +203,7 @@ .contacts-list-date { color: $gray-400; - font-weight: normal; + font-weight: 400; } .contacts-list-msg { diff --git a/build/scss/_dropdown.scss b/build/scss/_dropdown.scss index ad01fd73d..3b11d92bf 100644 --- a/build/scss/_dropdown.scss +++ b/build/scss/_dropdown.scss @@ -18,7 +18,7 @@ } .dropdown-toggle::after { - vertical-align: .2rem + vertical-align: .2rem; } } @@ -57,8 +57,8 @@ .dropdown-submenu { position: relative; - & > a:after { - @include caret-right; + & > a::after { + @include caret-right (); float: right; margin-left: .5rem; margin-top: .5rem; @@ -66,8 +66,8 @@ & > .dropdown-menu { left: 100%; - margin-left: 0px; - margin-top: 0px; + margin-left: 0; + margin-top: 0; top: 0; } } @@ -85,7 +85,6 @@ } - // Dropdown Sizes .dropdown-menu-xl { max-width: 420px; @@ -115,7 +114,7 @@ text-align: center; } -// Add fade animation to dropdown menus by appending +// Add fade animation to dropdown menus by appending // the class .animated-dropdown-menu to the .dropdown-menu ul (or ol) .open:not(.dropup) > .animated-dropdown-menu { @include animation(flipInX .7s both); @@ -178,8 +177,8 @@ // User Menu .navbar-nav > .user-menu { - > .nav-link:after { - content:none; + > .nav-link::after { + content: none; } > .dropdown-menu { @@ -205,7 +204,7 @@ width: 90px; border: 3px solid; border-color: transparent; - border-color: rgba(255, 255, 255, 0.2); + border-color: rgba(255, 255, 255, .2); } > p { @@ -223,7 +222,7 @@ // Menu Body > .user-body { - @include clearfix; + @include clearfix (); border-bottom: 1px solid $gray-700; border-top: 1px solid $gray-300; padding: 15px; @@ -238,7 +237,7 @@ // Menu Footer > .user-footer { - @include clearfix; + @include clearfix (); background-color: $gray-100; padding: 10px; diff --git a/build/scss/_forms.scss b/build/scss/_forms.scss index ed55f058e..726158633 100644 --- a/build/scss/_forms.scss +++ b/build/scss/_forms.scss @@ -1,7 +1,7 @@ // // Component: Forms // - + .form-group { &.has-icon { position: relative; @@ -46,7 +46,7 @@ } } -.input-lg + .form-control-feedback, +.input-lg + .form-control-feedback, .input-group-lg + .form-control-feedback { &.fa, &.fas, @@ -71,7 +71,7 @@ } } -.input-sm + .form-control-feedback, +.input-sm + .form-control-feedback, .input-group-sm + .form-control-feedback { &.fa, &.fas, @@ -102,7 +102,7 @@ label:not(.form-check-label):not(.custom-file-label) { .warning-feedback { @include font-size($form-feedback-font-size); - color: theme-color('warning'); + color: theme-color("warning"); display: none; margin-top: $form-feedback-margin-top; width: 100%; @@ -111,8 +111,8 @@ label:not(.form-check-label):not(.custom-file-label) { .warning-tooltip { @include border-radius($form-feedback-tooltip-border-radius); @include font-size($form-feedback-tooltip-font-size); - background-color: rgba(theme-color('warning'), $form-feedback-tooltip-opacity); - color: color-yiq(theme-color('warning')); + background-color: rgba(theme-color("warning"), $form-feedback-tooltip-opacity); + color: color-yiq(theme-color("warning")); display: none; line-height: $form-feedback-tooltip-line-height; margin-top: .1rem; @@ -125,7 +125,7 @@ label:not(.form-check-label):not(.custom-file-label) { .form-control { &.is-warning { - border-color: theme-color('warning'); + border-color: theme-color("warning"); @if $enable-validation-icons { // padding-right: $input-height-inner; @@ -136,8 +136,8 @@ label:not(.form-check-label):not(.custom-file-label) { } &:focus { - border-color: theme-color('warning'); - box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25); + border-color: theme-color("warning"); + box-shadow: 0 0 0 $input-focus-width rgba(theme-color("warning"), .25); } ~ .warning-feedback, @@ -159,7 +159,7 @@ textarea.form-control { .custom-select { &.is-warning { - border-color: theme-color('warning'); + border-color: theme-color("warning"); @if $enable-validation-icons { // padding-right: $custom-select-feedback-icon-padding-right; @@ -167,8 +167,8 @@ textarea.form-control { } &:focus { - border-color: theme-color('warning'); - box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25); + border-color: theme-color("warning"); + box-shadow: 0 0 0 $input-focus-width rgba(theme-color("warning"), .25); } ~ .warning-feedback, @@ -191,7 +191,7 @@ textarea.form-control { .form-check-input { &.is-warning { ~ .form-check-label { - color: theme-color('warning'); + color: theme-color("warning"); } ~ .warning-feedback, @@ -203,10 +203,10 @@ textarea.form-control { .custom-control-input.is-warning { ~ .custom-control-label { - color: theme-color('warning'); + color: theme-color("warning"); &::before { - border-color: theme-color('warning'); + border-color: theme-color("warning"); } } @@ -217,18 +217,18 @@ textarea.form-control { &:checked { ~ .custom-control-label::before { - @include gradient-bg(lighten(theme-color('warning'), 10%)); - border-color: lighten(theme-color('warning'), 10%); + @include gradient-bg(lighten(theme-color("warning"), 10%)); + border-color: lighten(theme-color("warning"), 10%); } } &:focus { ~ .custom-control-label::before { - box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25); + box-shadow: 0 0 0 $input-focus-width rgba(theme-color("warning"), .25); } &:not(:checked) ~ .custom-control-label::before { - border-color: theme-color('warning'); + border-color: theme-color("warning"); } } } @@ -237,7 +237,7 @@ textarea.form-control { .custom-file-input { &.is-warning { ~ .custom-file-label { - border-color: theme-color('warning'); + border-color: theme-color("warning"); } ~ .warning-feedback, @@ -247,8 +247,8 @@ textarea.form-control { &:focus { ~ .custom-file-label { - border-color: theme-color('warning'); - box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25); + border-color: theme-color("warning"); + box-shadow: 0 0 0 $input-focus-width rgba(theme-color("warning"), .25); } } } diff --git a/build/scss/_info-box.scss b/build/scss/_info-box.scss index 6366dbe7c..a34eaec51 100644 --- a/build/scss/_info-box.scss +++ b/build/scss/_info-box.scss @@ -1,7 +1,7 @@ // // Component: Info Box // - + .info-box { @include box-shadow($card-shadow); @include border-radius($border-radius); diff --git a/build/scss/_layout.scss b/build/scss/_layout.scss index 2c8a74aea..e6539938c 100644 --- a/build/scss/_layout.scss +++ b/build/scss/_layout.scss @@ -347,9 +347,7 @@ body, .control-sidebar { bottom: 0; } - } - .layout-footer-fixed & { .main-footer { bottom: 0; left: 0; @@ -376,9 +374,7 @@ body, .control-sidebar { bottom: 0; } - } - .layout#{$infix}-footer-fixed & { .main-footer { bottom: 0; left: 0; @@ -403,7 +399,7 @@ body, .layout-top-nav & { margin-left: 0; - .main-header { + .main-header { .brand-image { margin-top: -.5rem; margin-right: .2rem; @@ -617,7 +613,6 @@ body:not(.sidebar-mini-md) { } - .hold-transition { .content-wrapper, .main-header, diff --git a/build/scss/_main-header.scss b/build/scss/_main-header.scss index 6fcdcc55d..484c756e0 100644 --- a/build/scss/_main-header.scss +++ b/build/scss/_main-header.scss @@ -1,7 +1,7 @@ // // Component: Main Header // - + .main-header { border-bottom: $main-header-bottom-border; z-index: $zindex-main-header; @@ -34,7 +34,7 @@ margin: 0; } - &[class*='-right'] { + &[class*="-right"] { .dropdown-menu { left: auto; margin-top: -3px; diff --git a/build/scss/_main-sidebar.scss b/build/scss/_main-sidebar.scss index 56a2388ad..7594d1739 100644 --- a/build/scss/_main-sidebar.scss +++ b/build/scss/_main-sidebar.scss @@ -30,11 +30,11 @@ .user-panel { position: relative; - [class*='sidebar-dark'] & { + [class*="sidebar-dark"] & { border-bottom: 1px solid lighten($dark, 12%); } - [class*='sidebar-light'] & { + [class*="sidebar-light"] & { border-bottom: 1px solid $gray-300; } @@ -158,12 +158,12 @@ } &.nav-legacy { - .nav-treeview { + .nav-treeview { .nav-treeview { padding-left: 2rem; margin-left: -1rem; - .text-sm & { + .text-sm & { padding-left: 1rem; margin-left: -.5rem; } @@ -197,7 +197,7 @@ } } - background-color: rgba($black, 0.1); + background-color: rgba($black, .1); bottom: 0; display: none; left: 0; @@ -207,7 +207,7 @@ z-index: $zindex-main-sidebar - 1; } -[class*='sidebar-light-'] { +[class*="sidebar-light-"] { // Sidebar background color background-color: $sidebar-light-bg; @@ -330,7 +330,7 @@ } } -[class*='sidebar-dark-'] { +[class*="sidebar-dark-"] { // Sidebar background color background-color: $sidebar-dark-bg; @@ -461,14 +461,14 @@ @each $name, $color in $theme-colors { .sidebar-dark-#{$name}, .sidebar-light-#{$name} { - @include sidebar-color($color) + @include sidebar-color($color); } } @each $name, $color in $colors { .sidebar-dark-#{$name}, .sidebar-light-#{$name} { - @include sidebar-color($color) + @include sidebar-color($color); } } @@ -478,7 +478,7 @@ .sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover, .sidebar-mini .main-sidebar.sidebar-focused, .sidebar-mini-md .main-sidebar.sidebar-focused { - .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview { + .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview { padding-left: 1rem; margin-left: -.5rem; } @@ -486,7 +486,7 @@ // Nav Flat .nav-flat { - margin: (-$sidebar-padding-x/2) (-$sidebar-padding-x) 0; + margin: (-$sidebar-padding-x / 2) (-$sidebar-padding-x) 0; .nav-item { > .nav-link { @@ -500,7 +500,7 @@ } &:not(.nav-child-indent) { - .nav-treeview { + .nav-treeview { .nav-item { > .nav-link { > .nav-icon { @@ -649,7 +649,7 @@ } .nav-legacy { - margin: (-$sidebar-padding-x/2) (-$sidebar-padding-x) 0; + margin: (-$sidebar-padding-x / 2) (-$sidebar-padding-x) 0; &.nav-sidebar .nav-item { > .nav-link { @@ -675,7 +675,7 @@ > .nav-icon { margin-left: calc(.55rem - 3px); - + .text-sm & { margin-left: calc(.75rem - 3px); } @@ -746,15 +746,15 @@ } } - &.nav-child-indent { + &.nav-child-indent { .nav-treeview { .nav-treeview { padding-left: 0; margin-left: 0; } } - } } + } .sidebar-mini.sidebar-collapse.text-sm &, @@ -772,7 +772,7 @@ } } - [class*='sidebar-dark'] & { + [class*="sidebar-dark"] & { &.nav-sidebar > .nav-item { .nav-treeview, > .nav-treeview { @@ -794,7 +794,7 @@ } } - [class*='sidebar-light'] & { + [class*="sidebar-light"] & { &.nav-sidebar > .nav-item { .nav-treeview, > .nav-treeview { @@ -875,7 +875,7 @@ } // Sidebar Form Control -[class*='sidebar-dark'] { +[class*="sidebar-dark"] { .form-control-sidebar, .btn-sidebar { background: lighten($sidebar-dark-bg, 5%); @@ -897,7 +897,7 @@ } } -[class*='sidebar-light'] { +[class*="sidebar-light"] { .form-control-sidebar, .btn-sidebar { background: darken($sidebar-light-bg, 5%); @@ -932,7 +932,7 @@ &.sidebar-collapse .main-sidebar { margin-left: 0; } - .content-wrapper, + .content-wrapper, .main-header, .main-footer { z-index: 9999; diff --git a/build/scss/_miscellaneous.scss b/build/scss/_miscellaneous.scss index d3ed4f7c2..9d65c2b85 100644 --- a/build/scss/_miscellaneous.scss +++ b/build/scss/_miscellaneous.scss @@ -47,7 +47,7 @@ .list-header { color: $gray-600; font-size: 15px; - font-weight: bold; + font-weight: 700; padding: 10px 4px; } @@ -162,7 +162,7 @@ // Rounded and Circle Images .img-rounded { - @include border-radius($border-radius) + @include border-radius($border-radius); } .img-circle { @@ -259,7 +259,7 @@ .overlay { @include border-radius($border-radius); align-items: center; - background: rgba($white, 0.7); + background: rgba($white, .7); display: flex; justify-content: center; z-index: 50; @@ -274,7 +274,7 @@ } &.dark { - background: rgba($black, 0.5); + background: rgba($black, .5); > .fa, > .fas, @@ -360,7 +360,7 @@ border-right: $ribbon-border-size solid transparent; border-top: $ribbon-border-size solid #9e9e9e; bottom: -$ribbon-border-size; - content: ''; + content: ""; position: absolute; } @@ -396,7 +396,7 @@ blockquote { background: $white; border-left: .7rem solid $primary; margin: 1.5em .7rem; - padding: 0.5em .7rem; + padding: .5em .7rem; .box & { background: $gray-200; @@ -471,7 +471,7 @@ blockquote { border-radius: $button-border-radius-xs; font-size: $button-font-size-xs; font-weight: 400; - padding: $button-padding-y-xs*2 $button-padding-x-xs*2; + padding: $button-padding-y-xs * 2 $button-padding-x-xs * 2; } .badge-btn.badge-pill { diff --git a/build/scss/_mixins.scss b/build/scss/_mixins.scss index 147a0dad0..5beef917c 100644 --- a/build/scss/_mixins.scss +++ b/build/scss/_mixins.scss @@ -2,12 +2,12 @@ // General: Mixins // -@import 'mixins/cards'; -@import 'mixins/sidebar'; -@import 'mixins/navbar'; -@import 'mixins/accent'; -@import 'mixins/custom-forms'; -@import 'mixins/backgrounds'; -@import 'mixins/direct-chat'; -@import 'mixins/toasts'; -@import 'mixins/miscellaneous'; +@import "mixins/cards"; +@import "mixins/sidebar"; +@import "mixins/navbar"; +@import "mixins/accent"; +@import "mixins/custom-forms"; +@import "mixins/backgrounds"; +@import "mixins/direct-chat"; +@import "mixins/toasts"; +@import "mixins/miscellaneous"; diff --git a/build/scss/_modals.scss b/build/scss/_modals.scss index c38547b30..61e3aeb42 100644 --- a/build/scss/_modals.scss +++ b/build/scss/_modals.scss @@ -34,7 +34,7 @@ &.bg-success, { .close { color: $white; - text-shadow: 0 1px 0 #000; + text-shadow: 0 1px 0 $black; } } } diff --git a/build/scss/_navs.scss b/build/scss/_navs.scss index ad5dc7223..13fbe8066 100644 --- a/build/scss/_navs.scss +++ b/build/scss/_navs.scss @@ -7,7 +7,7 @@ color: $gray-600; &:not(.active):hover { - color: theme-color('primary'); + color: theme-color("primary"); } } @@ -30,7 +30,7 @@ border-top-right-radius: 0; margin-right: -$nav-tabs-border-width; - @include hover-focus { + @include hover-focus () { border-color: $gray-200 transparent $gray-200 $gray-200; } } @@ -51,7 +51,7 @@ border-top-right-radius: $nav-tabs-border-radius; margin-left: -$nav-tabs-border-width; - @include hover-focus { + @include hover-focus () { border-color: $gray-200 $gray-200 $gray-200 transparent; } } diff --git a/build/scss/_products.scss b/build/scss/_products.scss index 2c94e6095..aa37a6545 100644 --- a/build/scss/_products.scss +++ b/build/scss/_products.scss @@ -8,7 +8,7 @@ padding: 0; > .item { - @include clearfix; + @include clearfix (); @if $enable-rounded { @include border-radius($border-radius); diff --git a/build/scss/_sidebar-mini.scss b/build/scss/_sidebar-mini.scss index 93d19eb18..dfc8e7557 100644 --- a/build/scss/_sidebar-mini.scss +++ b/build/scss/_sidebar-mini.scss @@ -33,7 +33,7 @@ .brand-link { &.logo-switch { &::before { - content: '\00a0'; + content: "\00a0"; } } } @@ -41,7 +41,7 @@ // Add sidebar-mini class to the body tag to activate this feature .sidebar-mini { @include media-breakpoint-up(lg) { - @include sidebar-mini-breakpoint; + @include sidebar-mini-breakpoint (); } } @include media-breakpoint-down(md) { @@ -52,7 +52,7 @@ .sidebar-mini-md { @include media-breakpoint-up(md) { - @include sidebar-mini-breakpoint; + @include sidebar-mini-breakpoint (); } } @include media-breakpoint-down(sm) { @@ -170,5 +170,5 @@ .main-sidebar .logo-xs, .main-sidebar .logo-xl, .sidebar .user-panel .info { - @include transition(margin-left $transition-speed linear, opacity $transition-speed ease, visibility $transition-speed ease) + @include transition(margin-left $transition-speed linear, opacity $transition-speed ease, visibility $transition-speed ease); } diff --git a/build/scss/_small-box.scss b/build/scss/_small-box.scss index 6703fc08c..1dd8eee69 100644 --- a/build/scss/_small-box.scss +++ b/build/scss/_small-box.scss @@ -16,8 +16,8 @@ } > .small-box-footer { - background: rgba($black, 0.1); - color: rgba($white, 0.8); + background: rgba($black, .1); + color: rgba($white, .8); display: block; padding: 3px 0; position: relative; @@ -26,15 +26,15 @@ z-index: 10; &:hover { - background: rgba($black, 0.15); + background: rgba($black, .15); color: $white; } } h3 { @include font-size(2.2rem); - font-weight: bold; - margin: 0 0 10px 0; + font-weight: 700; + margin: 0 0 10px; padding: 0; white-space: nowrap; } @@ -81,7 +81,7 @@ > small { color: $gray-100; display: block; - font-size: 0.9rem; + font-size: .9rem; margin-top: 5px; } } @@ -93,7 +93,7 @@ // the icon .icon { - color: rgba($black, 0.15); + color: rgba($black, .15); z-index: 0; > i { diff --git a/build/scss/_social-widgets.scss b/build/scss/_social-widgets.scss index 211ddf82b..27e46fece 100644 --- a/build/scss/_social-widgets.scss +++ b/build/scss/_social-widgets.scss @@ -28,7 +28,7 @@ font-weight: 300; margin-bottom: 0; margin-top: 0; - text-shadow: 0 1px 1px rgba($black, 0.2); + text-shadow: 0 1px 1px rgba($black, .2); } //User single line description diff --git a/build/scss/_table.scss b/build/scss/_table.scss index 38e39a187..0b198e1ec 100644 --- a/build/scss/_table.scss +++ b/build/scss/_table.scss @@ -12,8 +12,7 @@ thead tr:nth-child(1) th { background-color: $white; border-bottom: 0; - box-shadow: inset 0 1px 0 $table-border-color, - inset 0 -1px 0 $table-border-color; + box-shadow: inset 0 1px 0 $table-border-color, inset 0 -1px 0 $table-border-color; position: sticky; top: 0; z-index: 10; @@ -23,8 +22,7 @@ thead tr { &:nth-child(1) th { background-color: $table-dark-bg; - box-shadow: inset 0 1px 0 $table-dark-border-color, - inset 0 -1px 0 $table-dark-border-color; + box-shadow: inset 0 1px 0 $table-dark-border-color, inset 0 -1px 0 $table-dark-border-color; } } } diff --git a/build/scss/_text.scss b/build/scss/_text.scss index 6e4f1850c..d16c96753 100644 --- a/build/scss/_text.scss +++ b/build/scss/_text.scss @@ -4,7 +4,9 @@ // text modification .text-bold { - &, &.table td, &.table th { + &, + &.table td, + &.table th { font-weight: 700; } } diff --git a/build/scss/_timeline.scss b/build/scss/_timeline.scss index 0868e5908..9e009bb0c 100644 --- a/build/scss/_timeline.scss +++ b/build/scss/_timeline.scss @@ -11,7 +11,7 @@ @include border-radius($border-radius); background: $gray-300; bottom: 0; - content: ''; + content: ""; left: 31px; margin: 0; position: absolute; @@ -70,7 +70,9 @@ > img { margin: 10px; } - > dl, ol, ul { + > dl, + ol, + ul { margin: 0; } } diff --git a/build/scss/_users-list.scss b/build/scss/_users-list.scss index 896d2ab9d..3e71f2eb5 100644 --- a/build/scss/_users-list.scss +++ b/build/scss/_users-list.scss @@ -3,7 +3,7 @@ // .users-list { - @include list-unstyled; + @include list-unstyled (); > li { float: left; diff --git a/build/scss/_variables.scss b/build/scss/_variables.scss index 0ea0eb7ce..38607c713 100644 --- a/build/scss/_variables.scss +++ b/build/scss/_variables.scss @@ -17,14 +17,17 @@ $maroon: #d81b60 !default; $black: #111 !default; $gray-x-light: #d2d6de !default; -$colors: map-merge(( - 'lightblue': $lightblue, - 'navy': $navy, - 'olive': $olive, - 'lime': $lime, - 'fuchsia': $fuchsia, - 'maroon': $maroon, -), $colors); +$colors: map-merge( + ( + "lightblue": $lightblue, + "navy": $navy, + "olive": $olive, + "lime": $lime, + "fuchsia": $fuchsia, + "maroon": $maroon, + ), + $colors +); // LAYOUT // -------------------------------------------------------- @@ -33,7 +36,7 @@ $font-size-root: 1rem !default; // Sidebar $sidebar-width: 250px !default; -$sidebar-padding-x: 0.5rem !default; +$sidebar-padding-x: .5rem !default; $sidebar-padding-y: 0 !default; // Boxed layout maximum width @@ -74,19 +77,19 @@ $main-header-height-sm: calc(#{$main-header-height-sm-inner} + #{$main-header-bo // Main header skins -$main-header-dark-form-control-bg: hsla(100, 100%, 100%, 0.2) !default; -$main-header-dark-form-control-focused-bg: hsla(100, 100%, 100%, 0.6) !default; +$main-header-dark-form-control-bg: hsla(100, 100%, 100%, .2) !default; +$main-header-dark-form-control-focused-bg: hsla(100, 100%, 100%, .6) !default; $main-header-dark-form-control-focused-color: $gray-800 !default; $main-header-dark-form-control-border: 0 !default; $main-header-dark-form-control-focused-border: 0 !default; -$main-header-dark-placeholder-color: hsla(100, 100%, 100%, 0.6) !default; +$main-header-dark-placeholder-color: hsla(100, 100%, 100%, .6) !default; $main-header-light-form-control-bg: darken($gray-100, 2%) !default; $main-header-light-form-control-focused-bg: $gray-200 !default; $main-header-light-form-control-focused-color: $gray-800 !default; $main-header-light-form-control-border: 0 !default; $main-header-light-form-control-focused-border: 0 !default; -$main-header-light-placeholder-color: hsla(0, 0%, 0%, 0.6) !default; +$main-header-light-placeholder-color: hsla(0, 0%, 0%, .6) !default; // MAIN FOOTER // -------------------------------------------------------- @@ -106,16 +109,16 @@ $main-footer-bg: $white !default; // Dark sidebar $sidebar-dark-bg: $dark !default; -$sidebar-dark-hover-bg: hsla(100, 100%, 100%, 0.1) !default; -$sidebar-dark-color: #C2C7D0 !default; +$sidebar-dark-hover-bg: hsla(100, 100%, 100%, .1) !default; +$sidebar-dark-color: #c2c7d0 !default; $sidebar-dark-hover-color: $white !default; $sidebar-dark-active-color: $white !default; $sidebar-dark-submenu-bg: transparent !default; -$sidebar-dark-submenu-color: #C2C7D0 !default; +$sidebar-dark-submenu-color: #c2c7d0 !default; $sidebar-dark-submenu-hover-color: $white !default; $sidebar-dark-submenu-hover-bg: $sidebar-dark-hover-bg !default; $sidebar-dark-submenu-active-color: $sidebar-dark-bg !default; -$sidebar-dark-submenu-active-bg: hsla(100, 100%, 100%, 0.9) !default; +$sidebar-dark-submenu-active-bg: hsla(100, 100%, 100%, .9) !default; $sidebar-dark-header-color: $white !default; // Light sidebar @@ -184,7 +187,7 @@ $zindex-toasts: $zindex-main-sidebar + 2 !default; // -------------------------------------------------------- // Transition global options -$transition-speed: 0.3s !default; +$transition-speed: .3s !default; $transition-fn: ease-in-out !default; // TEXT @@ -205,18 +208,21 @@ $button-line-height-xs: $line-height-sm !default; $button-font-size-xs: ($font-size-base * .75) !default; $button-border-radius-xs: .15rem !default; - + // ELEVATION // -------------------------------------------------------- $elevations: (); -$elevations: map-merge(( - 1: unquote('0 1px 3px ' + rgba($black, 0.12) + ', 0 1px 2px ' + rgba($black, 0.24)), - 2: unquote('0 3px 6px ' + rgba($black, 0.16) + ', 0 3px 6px ' + rgba($black, 0.23)), - 3: unquote('0 10px 20px ' + rgba($black, 0.19) + ', 0 6px 6px ' + rgba($black, 0.23)), - 4: unquote('0 14px 28px ' + rgba($black, 0.25) + ', 0 10px 10px ' + rgba($black, 0.22)), - 5: unquote('0 19px 38px ' + rgba($black, 0.30) + ', 0 15px 12px ' + rgba($black, 0.22)), -), $elevations); - +$elevations: map-merge( + ( + 1: unquote("0 1px 3px " + rgba($black, .12) + ", 0 1px 2px " + rgba($black, .24)), + 2: unquote("0 3px 6px " + rgba($black, .16) + ", 0 3px 6px " + rgba($black, .23)), + 3: unquote("0 10px 20px " + rgba($black, .19) + ", 0 6px 6px " + rgba($black, .23)), + 4: unquote("0 14px 28px " + rgba($black, .25) + ", 0 10px 10px " + rgba($black, .22)), + 5: unquote("0 19px 38px " + rgba($black, .3) + ", 0 15px 12px " + rgba($black, .22)), + ), + $elevations +); + // RIBBON // -------------------------------------------------------- $ribbon-border-size: 3px !default; @@ -230,7 +236,7 @@ $ribbon-right: -2px !default; $ribbon-lg-wrapper-size: 120px !default; $ribbon-lg-width: 160px !default; $ribbon-lg-top: 26px !default; -$ribbon-lg-right: 0px !default; +$ribbon-lg-right: 0 !default; $ribbon-xl-wrapper-size: 180px !default; $ribbon-xl-width: 240px !default; $ribbon-xl-top: 47px !default; diff --git a/build/scss/mixins/_accent.scss b/build/scss/mixins/_accent.scss index b2807ece6..9b12da5ed 100644 --- a/build/scss/mixins/_accent.scss +++ b/build/scss/mixins/_accent.scss @@ -14,7 +14,7 @@ a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { color: $link-color; - @include hover { + @include hover () { color: $link-hover-color; } } @@ -34,8 +34,8 @@ } &::after { - $newColor: color-yiq($color); - background-image: str-replace($custom-checkbox-indicator-icon-checked, str-replace(#{$custom-control-indicator-checked-color}, '#', '%23'), str-replace(#{$newColor}, '#', '%23')); + $new-color: color-yiq($color); + background-image: str-replace($custom-checkbox-indicator-icon-checked, str-replace(#{$custom-control-indicator-checked-color}, "#", "%23"), str-replace(#{$new-color}, "#", "%23")); } } @@ -45,7 +45,7 @@ .custom-file-input:focus ~ .custom-file-label { border-color: lighten($color, 25%); } - + .page-item { .page-link { color: $link-color; @@ -70,8 +70,8 @@ .sidebar { a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { color: $sidebar-dark-color; - - @include hover { + + @include hover () { color: $sidebar-dark-hover-color; } } @@ -83,7 +83,7 @@ a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { color: $sidebar-light-color; - @include hover { + @include hover () { color: $sidebar-light-hover-color; } } diff --git a/build/scss/mixins/_backgrounds.scss b/build/scss/mixins/_backgrounds.scss index 5cc0353b4..b196ea43a 100644 --- a/build/scss/mixins/_backgrounds.scss +++ b/build/scss/mixins/_backgrounds.scss @@ -33,7 +33,7 @@ // Background Gradient Variant @mixin background-gradient-variant($name, $color) { .bg-gradient-#{$name} { - @include bg-gradient-variant('&', $color); + @include bg-gradient-variant("&", $color); color: color-yiq($color); &.btn { @@ -46,7 +46,7 @@ } &:hover { - @include bg-gradient-variant('&', darken($color, 7.5%)); + @include bg-gradient-variant("&", darken($color, 7.5%)); border-color: darken($color, 10%); color: darken(color-yiq($color), 7.5%); } @@ -55,7 +55,7 @@ &:not(:disabled):not(.disabled).active, &:active, &.active { - @include bg-gradient-variant('&', darken($color, 10%)); + @include bg-gradient-variant("&", darken($color, 10%)); border-color: darken($color, 12.5%); color: color-yiq(darken($color, 10%)); } diff --git a/build/scss/mixins/_cards.scss b/build/scss/mixins/_cards.scss index c118b985d..cd0960d1b 100644 --- a/build/scss/mixins/_cards.scss +++ b/build/scss/mixins/_cards.scss @@ -42,7 +42,7 @@ .bg-gradient-#{$name}, .card-#{$name}:not(.card-outline) { .btn-tool { - color: rgba(color-yiq($color), 0.8); + color: rgba(color-yiq($color), .8); &:hover { color: color-yiq($color); diff --git a/build/scss/mixins/_direct-chat.scss b/build/scss/mixins/_direct-chat.scss index 6e01002f2..e39e7035d 100644 --- a/build/scss/mixins/_direct-chat.scss +++ b/build/scss/mixins/_direct-chat.scss @@ -3,7 +3,7 @@ // // Direct Chat Variant -@mixin direct-chat-variant($bg-color, $color: #fff) { +@mixin direct-chat-variant($bg-color, $color: $white) { .right > .direct-chat-text { background: $bg-color; border-color: $bg-color; diff --git a/build/scss/mixins/_miscellaneous.scss b/build/scss/mixins/_miscellaneous.scss index 813986dfe..41ed9d4f9 100644 --- a/build/scss/mixins/_miscellaneous.scss +++ b/build/scss/mixins/_miscellaneous.scss @@ -25,11 +25,8 @@ } // Gradient background -@mixin gradient($color: #F5F5F5, $start: #EEE, $stop: #FFF) { +@mixin gradient($color: #f5f5f5, $start: #eee, $stop: $white) { background: $color; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, $start), color-stop(1, $stop)); - background: -ms-linear-gradient(bottom, $start, $stop); - background: -moz-linear-gradient(center bottom, $start 0%, $stop 100%); - background: -o-linear-gradient($stop, $start); + background: gradient(linear, left bottom, left top, color-stop(0, $start), color-stop(1, $stop)); } diff --git a/build/scss/mixins/_navbar.scss b/build/scss/mixins/_navbar.scss index 18e429d7f..c45090113 100644 --- a/build/scss/mixins/_navbar.scss +++ b/build/scss/mixins/_navbar.scss @@ -3,7 +3,7 @@ // // Navbar Variant -@mixin navbar-variant($color, $font-color: rgba(255, 255, 255, 0.8), $hover-color: #f6f6f6, $hover-bg: rgba(0, 0, 0, 0.1)) { +@mixin navbar-variant($color, $font-color: rgba(255, 255, 255, .8), $hover-color: #f6f6f6, $hover-bg: rgba(0, 0, 0, .1)) { background-color: $color; .nav > li > a { diff --git a/build/scss/mixins/_sidebar.scss b/build/scss/mixins/_sidebar.scss index acc6a475a..42b026aae 100644 --- a/build/scss/mixins/_sidebar.scss +++ b/build/scss/mixins/_sidebar.scss @@ -136,7 +136,7 @@ .sidebar-form, .user-panel > .info { display: block !important; - -webkit-transform: translateZ(0); + transform: translateZ(0); } .nav-sidebar > .nav-item > .nav-link > span { diff --git a/build/scss/mixins/_toasts.scss b/build/scss/mixins/_toasts.scss index f198eb20c..4f95fdaf5 100644 --- a/build/scss/mixins/_toasts.scss +++ b/build/scss/mixins/_toasts.scss @@ -10,7 +10,7 @@ .close { color: color-yiq($color); - text-shadow: 0 1px 0 #000; + text-shadow: 0 1px 0 $black; } } diff --git a/build/scss/pages/_404_500_errors.scss b/build/scss/pages/_404_500_errors.scss index bc310458d..13267b002 100644 --- a/build/scss/pages/_404_500_errors.scss +++ b/build/scss/pages/_404_500_errors.scss @@ -1,7 +1,7 @@ // // Pages: 400 and 500 error pages // - + .error-page { margin: 20px auto 0; width: 600px; diff --git a/build/scss/pages/_e-commerce.scss b/build/scss/pages/_e-commerce.scss index e75421403..a1b5577ae 100644 --- a/build/scss/pages/_e-commerce.scss +++ b/build/scss/pages/_e-commerce.scss @@ -4,7 +4,7 @@ // product image .product-image { - @include img-fluid; + @include img-fluid (); width: 100%; } @@ -28,12 +28,12 @@ padding: $thumbnail-padding * 2; img { - @include img-fluid; + @include img-fluid (); align-self: center; } &:hover { - opacity: 0.5; + opacity: .5; } } diff --git a/build/scss/pages/_mailbox.scss b/build/scss/pages/_mailbox.scss index 06fb63a61..c88fb3799 100644 --- a/build/scss/pages/_mailbox.scss +++ b/build/scss/pages/_mailbox.scss @@ -41,7 +41,7 @@ } .mailbox-attachments { - @include list-unstyled; + @include list-unstyled (); li { border: 1px solid #eee; float: left; @@ -53,7 +53,7 @@ .mailbox-attachment-name { color: #666; - font-weight: bold; + font-weight: 700; } .mailbox-attachment-icon, @@ -73,7 +73,7 @@ > span { display: inline-block; - padding-top: 0.75rem; + padding-top: .75rem; } } diff --git a/build/scss/parts/_components.scss b/build/scss/parts/_components.scss index 5bbfc0502..0431170df 100644 --- a/build/scss/parts/_components.scss +++ b/build/scss/parts/_components.scss @@ -2,13 +2,13 @@ // Part: Components // -@import '../forms'; -@import '../progress-bars'; -@import '../cards'; -@import '../modals'; -@import '../toasts'; -@import '../buttons'; -@import '../callout'; -@import '../alerts'; -@import '../table'; -@import '../carousel'; +@import "../forms"; +@import "../progress-bars"; +@import "../cards"; +@import "../modals"; +@import "../toasts"; +@import "../buttons"; +@import "../callout"; +@import "../alerts"; +@import "../table"; +@import "../carousel"; diff --git a/build/scss/parts/_core.scss b/build/scss/parts/_core.scss index 8c7259f45..5e056143e 100644 --- a/build/scss/parts/_core.scss +++ b/build/scss/parts/_core.scss @@ -2,11 +2,11 @@ // Part: Core // -@import '../layout'; -@import '../main-header'; -@import '../brand'; -@import '../main-sidebar'; -@import '../sidebar-mini'; -@import '../control-sidebar'; -@import '../dropdown'; -@import '../navs'; +@import "../layout"; +@import "../main-header"; +@import "../brand"; +@import "../main-sidebar"; +@import "../sidebar-mini"; +@import "../control-sidebar"; +@import "../dropdown"; +@import "../navs"; diff --git a/build/scss/parts/_extra-components.scss b/build/scss/parts/_extra-components.scss index ecaa444d1..27ab96917 100644 --- a/build/scss/parts/_extra-components.scss +++ b/build/scss/parts/_extra-components.scss @@ -2,10 +2,10 @@ // Part: Extra Components // -@import '../small-box'; -@import '../info-box'; -@import '../timeline'; -@import '../products'; -@import '../direct-chat'; -@import '../users-list'; -@import '../social-widgets'; +@import "../small-box"; +@import "../info-box"; +@import "../timeline"; +@import "../products"; +@import "../direct-chat"; +@import "../users-list"; +@import "../social-widgets"; diff --git a/build/scss/parts/_miscellaneous.scss b/build/scss/parts/_miscellaneous.scss index 6fe0b93ae..a7c0d680e 100644 --- a/build/scss/parts/_miscellaneous.scss +++ b/build/scss/parts/_miscellaneous.scss @@ -2,8 +2,8 @@ // Part: Miscellaneous // -@import '../miscellaneous'; -@import '../print'; -@import '../text'; -@import '../elevation'; -@import '../colors'; +@import "../miscellaneous"; +@import "../print"; +@import "../text"; +@import "../elevation"; +@import "../colors"; diff --git a/build/scss/parts/_pages.scss b/build/scss/parts/_pages.scss index 8e87f22f8..7e6535895 100644 --- a/build/scss/parts/_pages.scss +++ b/build/scss/parts/_pages.scss @@ -2,11 +2,11 @@ // Part: Pages // -@import '../pages/mailbox'; -@import '../pages/lockscreen'; -@import '../pages/login_and_register'; -@import '../pages/404_500_errors'; -@import '../pages/invoice'; -@import '../pages/profile'; -@import '../pages/e-commerce'; -@import '../pages/projects'; +@import "../pages/mailbox"; +@import "../pages/lockscreen"; +@import "../pages/login_and_register"; +@import "../pages/404_500_errors"; +@import "../pages/invoice"; +@import "../pages/profile"; +@import "../pages/e-commerce"; +@import "../pages/projects"; diff --git a/build/scss/parts/_plugins.scss b/build/scss/parts/_plugins.scss index 8675d870c..2cf8fd609 100644 --- a/build/scss/parts/_plugins.scss +++ b/build/scss/parts/_plugins.scss @@ -2,15 +2,15 @@ // Part: Plugins // -@import '../plugins/mixins'; -@import '../plugins/fullcalendar'; -@import '../plugins/select2'; -@import '../plugins/bootstrap-slider'; -@import '../plugins/icheck-bootstrap'; -@import '../plugins/mapael'; -@import '../plugins/jqvmap'; -@import '../plugins/sweetalert2'; -@import '../plugins/toastr'; -@import '../plugins/pace'; -@import '../plugins/bootstrap-switch'; -@import '../plugins/miscellaneous'; +@import "../plugins/mixins"; +@import "../plugins/fullcalendar"; +@import "../plugins/select2"; +@import "../plugins/bootstrap-slider"; +@import "../plugins/icheck-bootstrap"; +@import "../plugins/mapael"; +@import "../plugins/jqvmap"; +@import "../plugins/sweetalert2"; +@import "../plugins/toastr"; +@import "../plugins/pace"; +@import "../plugins/bootstrap-switch"; +@import "../plugins/miscellaneous"; diff --git a/build/scss/plugins/_fullcalendar.scss b/build/scss/plugins/_fullcalendar.scss index e023b7cec..7fdfb980b 100644 --- a/build/scss/plugins/_fullcalendar.scss +++ b/build/scss/plugins/_fullcalendar.scss @@ -121,7 +121,7 @@ border-radius: $border-radius; cursor: move; - font-weight: bold; + font-weight: 700; margin-bottom: 4px; padding: 5px 10px; diff --git a/build/scss/plugins/_mapael.scss b/build/scss/plugins/_mapael.scss index 770a169b5..8bd42b974 100644 --- a/build/scss/plugins/_mapael.scss +++ b/build/scss/plugins/_mapael.scss @@ -35,7 +35,7 @@ border-radius: $btn-border-radius; color: $button-default-color; cursor: pointer; - font-weight: bold; + font-weight: 700; height: 16px; left: 10px; line-height: 14px; diff --git a/build/scss/plugins/_select2.scss b/build/scss/plugins/_select2.scss index 66aca6f53..61c9eaaaa 100644 --- a/build/scss/plugins/_select2.scss +++ b/build/scss/plugins/_select2.scss @@ -34,7 +34,6 @@ & .select2-results__option { padding: 6px 12px; user-select: none; - -webkit-user-select: none; } & .select2-selection--single .select2-selection__rendered { diff --git a/build/scss/plugins/_toastr.scss b/build/scss/plugins/_toastr.scss index 9400ca5d8..38be988a4 100644 --- a/build/scss/plugins/_toastr.scss +++ b/build/scss/plugins/_toastr.scss @@ -12,7 +12,7 @@ // font-weight: 900; // line-height: 18px; // float: left; -// color: #FFF; +// color: $white; // padding-right: 0.5em; // margin: auto 0.5em auto -1.5em; // } From ff66f38cee7aa0b0d750e0ed2193025ad96c02d0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 31 May 2020 09:26:21 +0300 Subject: [PATCH 3/4] Convert hsla colors to rgba for consistency --- build/scss/_variables.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/scss/_variables.scss b/build/scss/_variables.scss index 38607c713..1bdbc0b7f 100644 --- a/build/scss/_variables.scss +++ b/build/scss/_variables.scss @@ -77,19 +77,19 @@ $main-header-height-sm: calc(#{$main-header-height-sm-inner} + #{$main-header-bo // Main header skins -$main-header-dark-form-control-bg: hsla(100, 100%, 100%, .2) !default; -$main-header-dark-form-control-focused-bg: hsla(100, 100%, 100%, .6) !default; +$main-header-dark-form-control-bg: rgba(255, 255, 255, .2) !default; +$main-header-dark-form-control-focused-bg: rgba(255, 255, 255, .6) !default; $main-header-dark-form-control-focused-color: $gray-800 !default; $main-header-dark-form-control-border: 0 !default; $main-header-dark-form-control-focused-border: 0 !default; -$main-header-dark-placeholder-color: hsla(100, 100%, 100%, .6) !default; +$main-header-dark-placeholder-color: rgba(255, 255, 255, .6) !default; $main-header-light-form-control-bg: darken($gray-100, 2%) !default; $main-header-light-form-control-focused-bg: $gray-200 !default; $main-header-light-form-control-focused-color: $gray-800 !default; $main-header-light-form-control-border: 0 !default; $main-header-light-form-control-focused-border: 0 !default; -$main-header-light-placeholder-color: hsla(0, 0%, 0%, .6) !default; +$main-header-light-placeholder-color: rgba(0, 0, 0, .6) !default; // MAIN FOOTER // -------------------------------------------------------- @@ -109,7 +109,7 @@ $main-footer-bg: $white !default; // Dark sidebar $sidebar-dark-bg: $dark !default; -$sidebar-dark-hover-bg: hsla(100, 100%, 100%, .1) !default; +$sidebar-dark-hover-bg: rgba(255, 255, 255, .1) !default; $sidebar-dark-color: #c2c7d0 !default; $sidebar-dark-hover-color: $white !default; $sidebar-dark-active-color: $white !default; @@ -118,7 +118,7 @@ $sidebar-dark-submenu-color: #c2c7d0 !default; $sidebar-dark-submenu-hover-color: $white !default; $sidebar-dark-submenu-hover-bg: $sidebar-dark-hover-bg !default; $sidebar-dark-submenu-active-color: $sidebar-dark-bg !default; -$sidebar-dark-submenu-active-bg: hsla(100, 100%, 100%, .9) !default; +$sidebar-dark-submenu-active-bg: rgba(255, 255, 255, .9) !default; $sidebar-dark-header-color: $white !default; // Light sidebar From ffcbdb2029fb91a0470bb9dbffdb6427386fcf1e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 31 May 2020 14:58:08 +0300 Subject: [PATCH 4/4] Add lint and compile tests to CI. --- .../workflows/{node-install.yml => ci.yml} | 13 +++++-- .github/workflows/lint.yml | 39 +++++++++++++++++++ package.json | 3 +- 3 files changed, 51 insertions(+), 4 deletions(-) rename .github/workflows/{node-install.yml => ci.yml} (71%) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/node-install.yml b/.github/workflows/ci.yml similarity index 71% rename from .github/workflows/node-install.yml rename to .github/workflows/ci.yml index 9e12b4894..f42930dd0 100644 --- a/.github/workflows/node-install.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Node.js Install Test +name: CI on: pull_request: @@ -26,9 +26,16 @@ jobs: - "windows-latest" steps: - - uses: actions/checkout@v2 + - name: Clone repository + uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - - run: npm ci + + - name: Install npm dependencies + run: npm ci + + - name: Build files + run: npm run compile diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..a19372f4d --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,39 @@ +name: Lint + +on: + pull_request: + release: + types: + - created + +env: + CI: true + NODE: 12.x + +jobs: + run: + runs-on: ubuntu-latest + + steps: + - name: Clone repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: "${{ env.NODE }}" + + - name: Set up npm cache + uses: actions/cache@v2 + with: + path: ~/.npm + key: ${{ runner.os }}-node-v${{ env.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}} + restore-keys: | + ${{ runner.OS }}-node-v${{ env.node }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} + ${{ runner.OS }}-node-v${{ env.node }}- + + - name: Install npm dependencies + run: npm ci + + - name: Run lint + run: npm run lint diff --git a/package.json b/package.json index 3379af010..00aa2f65a 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,10 @@ "js": "npm-run-all --sequential js-compile js-minify", "js-compile": "rollup --config build/config/rollup.config.js --sourcemap", "js-minify": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/adminlte.js.map,includeSources,url=adminlte.min.js.map\" --output dist/js/adminlte.min.js dist/js/adminlte.js", + "lint": "npm run css-lint", "production": "npm-run-all --sequential compile plugins", "prepare-release": "npm-run-all --sequential production docs", - "test": "npm-run-all css-lint production", + "test": "npm-run-all lint production", "plugins": "node build/npm/Publish.js -v", "sync": "browser-sync start --server --files *.html pages/ dist/", "watch": "npm-run-all --parallel watch-css watch-js",