diff --git a/package.json b/package.json index 06ce9be..d09721e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@minpluto/polestar", "author": "SudoVanilla ", "type": "module", - "version": "0.0.53", + "version": "0.0.54", "license": "AGPL-3.0-only", "bugs": { "url": "https://ark.sudovanilla.org/MinPluto/Polestar/issues", diff --git a/src/Category.astro b/src/Category.astro index 73c279a..04e84d1 100644 --- a/src/Category.astro +++ b/src/Category.astro @@ -23,10 +23,20 @@ const { position: relative; color: white; text-decoration: none; + &:hover { + &::before { + backdrop-filter: blur(0px) contrast(1) brightness(0.8); + transition: 0.6s backdrop-filter; + } + p, span { + opacity: 0.05; + } + } &::before { content: ""; position: absolute; backdrop-filter: blur(12px) contrast(0.8) brightness(0.4); + transition: 0.6s backdrop-filter; top: 0px; left: 0px; width: 100%; diff --git a/src/Dialog.astro b/src/Dialog.astro index 9640e3d..dbc3ccd 100644 --- a/src/Dialog.astro +++ b/src/Dialog.astro @@ -95,7 +95,7 @@ const { width: 100%; height: 100%; backdrop-filter: blur(10px) brightness(0.8) contrast(0.8); - z-index: 1; + z-index: 7; display: none; } .fl-dialog { @@ -103,7 +103,7 @@ const { top: 50%; left: 50%; transform: translate(-50%, -50%); - z-index: 2; + z-index: 8; background: black; border-radius: 12px; border: 1px #3e3e3e solid; diff --git a/src/MobileNavigation.astro b/src/MobileNavigation.astro new file mode 100644 index 0000000..7750f67 --- /dev/null +++ b/src/MobileNavigation.astro @@ -0,0 +1,59 @@ +--- +import { HomeSimple, Safari, List, Settings } from "@iconoir/vue"; +--- + +
+ Home + Discover + Subscription + Settings +
+ + \ No newline at end of file diff --git a/src/Sidebar.astro b/src/Sidebar.astro index 57f68cd..60f5b6f 100644 --- a/src/Sidebar.astro +++ b/src/Sidebar.astro @@ -47,6 +47,20 @@ import { Image } from "astro:assets"; \ No newline at end of file diff --git a/src/search/Field.astro b/src/search/Field.astro index 82cd280..611069e 100644 --- a/src/search/Field.astro +++ b/src/search/Field.astro @@ -1,5 +1,11 @@ --- -import { Search, ArrowRight } from "@iconoir/vue"; +// Properties +const { + Design = "RoundSquare" +} = Astro.props + +// Icons +import { Search } from "@iconoir/vue"; ---
@@ -8,6 +14,24 @@ import { Search, ArrowRight } from "@iconoir/vue";
+{ + ()=> { + if (Design === "RoundSquare") { + return + } else if (Design === "Pill") { + return + } + } + } +