mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
style(global): colorful button
This commit is contained in:
parent
70e748f249
commit
ce82c67f88
@ -121,9 +121,9 @@ export default function ServerListClient() {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
router.push(`/?global=true`);
|
router.push(`/?global=true`);
|
||||||
}}
|
}}
|
||||||
className="rounded-[50px] cursor-pointer bg-stone-100 p-[10px] transition-all hover:bg-stone-200 dark:hover:bg-stone-700 dark:bg-stone-800"
|
className="rounded-[50px] text-white cursor-pointer [text-shadow:_0_1px_0_rgb(0_0_0_/_20%)] bg-blue-600 hover:bg-blue-500 p-[10px] transition-all shadow-[inset_0_1px_0_rgba(255,255,255,0.2)] hover:shadow-[inset_0_1px_0_rgba(0,0,0,0.2)] "
|
||||||
>
|
>
|
||||||
<GlobeAsiaAustraliaIcon className="size-4" />
|
<GlobeAsiaAustraliaIcon className="size-[13px]" />
|
||||||
</button>
|
</button>
|
||||||
{getEnv("NEXT_PUBLIC_ShowTag") === "true" && (
|
{getEnv("NEXT_PUBLIC_ShowTag") === "true" && (
|
||||||
<Switch
|
<Switch
|
||||||
|
@ -23,9 +23,9 @@ export default function GlobalBackButton() {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
router.push(`/`);
|
router.push(`/`);
|
||||||
}}
|
}}
|
||||||
className="rounded-[50px] cursor-pointer w-fit bg-stone-100 p-[10px] transition-all hover:bg-stone-200 dark:hover:bg-stone-700 dark:bg-stone-800"
|
className="rounded-[50px] mt-[1px] w-fit text-white cursor-pointer [text-shadow:_0_1px_0_rgb(0_0_0_/_20%)] bg-green-600 hover:bg-green-500 p-[10px] transition-all shadow-[inset_0_1px_0_rgba(255,255,255,0.2)] hover:shadow-[inset_0_1px_0_rgba(0,0,0,0.2)] "
|
||||||
>
|
>
|
||||||
<ServerStackIcon className="size-4" />
|
<ServerStackIcon className="size-[13px]" />
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user