diff --git a/.stylelintrc.js b/.stylelintrc.js index 9e8cdc3a..bebba98f 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.js @@ -1,6 +1,11 @@ module.exports = { root: true, - extends: [ - 'stylelint-config-standard', + extends: ['stylelint-config-standard'], + customSyntax: 'postcss-sass', + overrides: [ + { + files: ['**/*.vue'], + customSyntax: 'postcss-html', + }, ], }; diff --git a/package-lock.json b/package-lock.json index 2ccd5a0c..a0e258f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,6 +40,8 @@ "husky": "^8.0.3", "lint-staged": "^14.0.1", "mux.js": "^6.3.0", + "postcss-html": "^1.5.0", + "postcss-sass": "^0.5.0", "sass": "^1.68.0", "sass-loader": "^13.3.2", "shaka-player": "^3.3.1", @@ -8205,6 +8207,21 @@ "integrity": "sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==", "dev": true }, + "node_modules/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, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "gonzales": "bin/gonzales.js" + }, + "engines": { + "node": ">=0.6.0" + } + }, "node_modules/gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", @@ -11608,6 +11625,101 @@ "postcss": "^8.2.15" } }, + "node_modules/postcss-html": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/postcss-html/-/postcss-html-1.5.0.tgz", + "integrity": "sha512-kCMRWJRHKicpA166kc2lAVUGxDZL324bkj/pVOb6RhjB0Z5Krl7mN0AsVkBhVIRZZirY0lyQXG38HCVaoKVNoA==", + "dev": true, + "dependencies": { + "htmlparser2": "^8.0.0", + "js-tokens": "^8.0.0", + "postcss": "^8.4.0", + "postcss-safe-parser": "^6.0.0" + }, + "engines": { + "node": "^12 || >=14" + } + }, + "node_modules/postcss-html/node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dev": true, + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/postcss-html/node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/postcss-html/node_modules/domutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", + "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "dev": true, + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/postcss-html/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/postcss-html/node_modules/htmlparser2": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", + "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, + "node_modules/postcss-html/node_modules/js-tokens": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-8.0.2.tgz", + "integrity": "sha512-Olnt+V7xYdvGze9YTbGFZIfQXuGV4R3nQwwl8BrtgaPE/wq8UFpUHWuTNc05saowhSr1ZO6tx+V6RjE9D5YQog==", + "dev": true + }, "node_modules/postcss-loader": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz", @@ -12045,6 +12157,19 @@ "postcss": "^8.3.3" } }, + "node_modules/postcss-sass": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/postcss-sass/-/postcss-sass-0.5.0.tgz", + "integrity": "sha512-qtu8awh1NMF3o9j/x9j3EZnd+BlF66X6NZYl12BdKoG2Z4hmydOt/dZj2Nq+g0kfk2pQy3jeYFBmvG9DBwynGQ==", + "dev": true, + "dependencies": { + "gonzales-pe": "^4.3.0", + "postcss": "^8.2.14" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, "node_modules/postcss-selector-parser": { "version": "6.0.13", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", diff --git a/package.json b/package.json index eeef53d1..d00ef680 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,8 @@ "husky": "^8.0.3", "lint-staged": "^14.0.1", "mux.js": "^6.3.0", + "postcss-html": "^1.5.0", + "postcss-sass": "^0.5.0", "sass": "^1.68.0", "sass-loader": "^13.3.2", "shaka-player": "^3.3.1", diff --git a/src/assets/css/style.css b/src/assets/css/style.css index fcb4a64d..6e78849c 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -33,7 +33,7 @@ main { } ::-webkit-scrollbar-thumb { - background: rgba(229, 160, 13, 0.6); + background: rgb(229 160 13 / 60%); border: 0 none #fff; border-radius: 0; } diff --git a/src/components/PlexMediaLayout.vue b/src/components/PlexMediaLayout.vue index b10bb7f3..12d9ed69 100644 --- a/src/components/PlexMediaLayout.vue +++ b/src/components/PlexMediaLayout.vue @@ -6,7 +6,7 @@ :img="artUrl" > diff --git a/src/components/PlexThumbnail.vue b/src/components/PlexThumbnail.vue index 468fcd7e..0d47caa3 100644 --- a/src/components/PlexThumbnail.vue +++ b/src/components/PlexThumbnail.vue @@ -41,7 +41,7 @@ style="position: absolute; top: 0; right: 0; - background-color: rgba(43, 43, 191, 0.8); + background-color: rgb(43 43 191 / 80%); min-width: 16px; min-height: 16px;" class="pa-1 text-body-2" @@ -337,6 +337,6 @@ export default { top: 0; text-align: right; right: 0; - background: rgba(0, 0, 0, 0.5); + background: rgb(0 0 0 / 50%); } diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue index d0da5671..2d6e2be9 100644 --- a/src/components/SearchBar.vue +++ b/src/components/SearchBar.vue @@ -86,7 +86,7 @@