This commit is contained in:
jxxghp
2023-09-12 09:24:45 +08:00
parent 5722547d93
commit 3df8bdfbf2
2 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "moviepilot", "name": "moviepilot",
"version": "1.1.9-1", "version": "1.1.9",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite --host", "dev": "vite --host",
+12 -11
View File
@@ -17,17 +17,18 @@
// ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element // ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element
@mixin before-pseudo() { @mixin before-pseudo() {
position: relative; position: relative;
@media (hover) {
&::before { &::before {
position: absolute; position: absolute;
background: currentcolor; background: currentcolor;
block-size: 100%; block-size: 100%;
border-radius: inherit; border-radius: inherit;
content: ""; content: "";
inline-size: 100%; inline-size: 100%;
inset: 0; inset: 0;
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
}
} }
} }