Skip to content

Commit e41b2fe

Browse files
committed
fix: fix hover styling fot three dots menu
1 parent ada932c commit e41b2fe

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

adminforth/spa/src/components/ThreeDotsMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<template v-if="threeDotsDropdownItems?.length || customActions?.length">
33
<button
44
data-dropdown-toggle="listThreeDotsDropdown"
5-
class="flex items-center py-2 px-2 text-sm font-medium text-lightThreeDotsMenuIconDots focus:outline-none bg-lightThreeDotsMenuIconBackground rounded border border-lightThreeDotsMenuIconBackgroundBorder hover:bg-lightThreeDotsMenuIconBackgroundHover hover:text-lightThreeDotsMenuIconDotsHover focus:z-10 focus:ring-4 focus:ring-lightThreeDotsMenuIconFocus dark:focus:ring-darkThreeDotsMenuIconFocus dark:bg-darkThreeDotsMenuIconBackground dark:text-darkThreeDotsMenuIconDots dark:border-darkThreeDotsMenuIconBackgroundBorder dark:hover:text-darkThreeDotsMenuIconDotsHover dark:hover:bg-darkThreeDotsMenuIconBackgroundHower rounded-default"
5+
class="flex items-center py-2 px-2 text-sm font-medium text-lightThreeDotsMenuIconDots focus:outline-none bg-lightThreeDotsMenuIconBackground rounded border border-lightThreeDotsMenuIconBackgroundBorder hover:bg-lightThreeDotsMenuIconBackgroundHover hover:text-lightThreeDotsMenuIconDotsHover focus:z-10 focus:ring-4 focus:ring-lightThreeDotsMenuIconFocus dark:focus:ring-darkThreeDotsMenuIconFocus dark:bg-darkThreeDotsMenuIconBackground dark:text-darkThreeDotsMenuIconDots dark:border-darkThreeDotsMenuIconBackgroundBorder dark:hover:text-darkThreeDotsMenuIconDotsHover dark:hover:bg-darkThreeDotsMenuIconBackgroundHover rounded-default"
66
>
77
<svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 4 15">
88
<path d="M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"/>

dev-demo/index.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const admin = new AdminForth({
8282
// loginPromptHTML: async () => {
8383
// const adminforthUserExists = await admin.resource("users").count(Filters.EQ('email', 'adminforth')) > 0;
8484
// if (adminforthUserExists) {
85-
// return "Please useeee <b>adminforth</b> as username and <b>adminforth</b> as password"
85+
// return "Please use <b>adminforth</b> as username and <b>adminforth</b> as password"
8686
// }
8787
// },
8888
rememberMeDays: 30,
@@ -179,7 +179,7 @@ export const admin = new AdminForth({
179179
SidebarHeading: "alias:lightSidebarText opacity:0.3",
180180

181181
List: "#FFFFFF",
182-
ListTable: "#alias:lightPrimary lighten",
182+
ListTable: "alias:lightPrimary lighten",
183183
ListTableHeading: "alias:lightPrimary darken",
184184
ListTableHeadingText: "alias:lightListTableHeading inverse",
185185
ListTableText: "alias:lightListTableHeadingText opacity:0.8",
@@ -194,7 +194,7 @@ export const admin = new AdminForth({
194194
ListTablePaginationTextHover: "alias:lightListTablePaginationText opacity:0.6",
195195
ListTablePaginationHelpText: "alias:lightListTablePaginationCurrentPageText",
196196

197-
Form: "#alias:lightPrimary lighten",
197+
Form: "alias:lightPrimary lighten",
198198
Border: "#F5F5F5",
199199
FormHeading: "alias:lightListTableHeading",
200200
FormFieldTextColor: "alias:lightListTableText",
@@ -366,7 +366,7 @@ export const admin = new AdminForth({
366366
FiltersCloseIconHover: "alias:lightFiltersCloseIcon inverse",
367367
FiltersCloseIconHoverBackground: "alias:lightFiltersCloseIcon",
368368
FiltersClearAllButtonBackground: "alias:lightPrimary darken",
369-
FiltersClearAllButtonBackgroundHover: "alias:lightFiltersClearAllButtonBackground ligten",
369+
FiltersClearAllButtonBackgroundHover: "alias:lightFiltersClearAllButtonBackground lighten",
370370
FiltersClearAllButtonBorder: "alias:lightFiltersClearAllButtonBackground darken",
371371
FiltersClearAllButtonText: "alias:lightFiltersClearAllButtonBackground inverse",
372372
FiltersClearAllButtonTextHover: "alias:lightFiltersClearAllButtonText darken",
@@ -381,7 +381,7 @@ export const admin = new AdminForth({
381381
ThreeDotsMenuBodyBackground: "alias:lightThreeDotsMenuIconBackground",
382382
ThreeDotsMenuBodyBackgroundHover: "alias:lightThreeDotsMenuBodyBackground darken",
383383
ThreeDotsMenuBodyText: "alias:lightThreeDotsMenuIconDots",
384-
ThreeDotsMenuBodyTextHover: "alias:lightlightThreeDotsMenuIconDots opacity:0.8",
384+
ThreeDotsMenuBodyTextHover: "alias:lightThreeDotsMenuIconDots opacity:0.8",
385385

386386
ToastBackground: "alias:lightPrimary opacity:0.6",
387387
ToastCloseIcon: "alias:lightPrimary darken",
@@ -429,7 +429,7 @@ export const admin = new AdminForth({
429429
LoginViewTextColor: "alias:lightLoginViewBackground inverse",
430430
LoginViewSubTextColor: "alias:lightLoginViewTextColor opacity:0.8",
431431
LoginViewPromptBackground: "alias:lightLoginViewTextColor opacity:0.1",
432-
LoginViewPromptText: "alias:ligthLoginViewTextColor",
432+
LoginViewPromptText: "alias:lightLoginViewTextColor",
433433

434434

435435

@@ -501,7 +501,7 @@ export const admin = new AdminForth({
501501
DropdownButtonsPlaceholderText: "alias:darkListTableText opacity:0.6",
502502

503503
DropdownOptionsBackground: "alias:darkForm ",
504-
DropdownOptionsHoverBackground: "#alias:darkForm darken",
504+
DropdownOptionsHoverBackground: "alias:darkForm darken",
505505
DropdownPicked:"alias:darkDropdownOptionsHoverBackground opacity:0.5",
506506
DropdownOptionsText: "alias:darkListTableText",
507507

@@ -641,7 +641,7 @@ export const admin = new AdminForth({
641641
FiltersCloseIconHover: "alias:darkFiltersCloseIcon inverse",
642642
FiltersCloseIconHoverBackground: "alias:darkFiltersCloseIcon",
643643
FiltersClearAllButtonBackground: "alias:darkPrimary darken",
644-
FiltersClearAllButtonBackgroundHover: "alias:darkFiltersClearAllButtonBackground ligten",
644+
FiltersClearAllButtonBackgroundHover: "alias:darkFiltersClearAllButtonBackground lighten",
645645
FiltersClearAllButtonBorder: "alias:darkFiltersClearAllButtonBackground darken",
646646
FiltersClearAllButtonText: "alias:darkFiltersClearAllButtonBackground inverse",
647647
FiltersClearAllButtonTextHover: "alias:darkFiltersClearAllButtonText darken",

0 commit comments

Comments
 (0)