add hover effect to the primary button (#387)

This commit is contained in:
Saeed Vaziry 2024-12-08 11:13:03 +01:00 committed by GitHub
parent 1b741070b3
commit 1f95cb3854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"resources/css/filament/app/theme.css": {
"file": "assets/theme-fd558c42.css",
"file": "assets/theme-7ed65d36.css",
"isEntry": true,
"src": "resources/css/filament/app/theme.css"
},

View File

@ -40,7 +40,14 @@ .bg-primary-700-gradient {
rgba(var(--primary-300), 1),
rgba(var(--primary-700), 1)
);
box-shadow:
0 4px 6px -1px #0000001a,
0 2px 4px -2px #0000001a;
}
.fi-btn-color-primary {
transition: 0.5s;
background-size: 200% auto;
}
.fi-btn-color-primary:hover {
background-position: right center; /* change the direction of the change here */
text-decoration: none;
}