-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from awcodes/no-overlay-test
Fix: overlay issues with notifications
- Loading branch information
Showing
4 changed files
with
25 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,24 @@ | ||
@tailwind utilities; | ||
.filament-main-topbar::before { | ||
@apply opacity-0; | ||
content: ""; | ||
z-index: 5; | ||
} | ||
|
||
.is-sticky .filament-main-topbar::before { | ||
@apply opacity-100 h-16 block absolute inset-0 backdrop-blur-md transition-all bg-white/75 border-b border-gray-200 dark:bg-gray-900/75 dark:border-gray-700; | ||
@screen lg { | ||
.filament-sidebar { | ||
z-index: 2 !important; | ||
} | ||
} | ||
|
||
.is-sticky .filament-header { | ||
@apply transition-all z-10 min-h-[4rem] py-0 flex items-center space-y-0 sticky top-0; | ||
@apply sticky inset-x-0 md:items-center py-3 md:-inset-x-6; | ||
z-index: 1; | ||
} | ||
|
||
.is-sticky .filament-header .filament-header-heading { | ||
@apply text-xl overflow-ellipsis whitespace-nowrap overflow-hidden; | ||
.is-sticky .filament-header:before { | ||
@apply backdrop-blur-md bg-white/95 dark:bg-gray-900/95 border-b border-gray-200 dark:border-gray-700 absolute block top-0 bottom-0; | ||
content: ""; | ||
z-index: -1; | ||
left: -1000px; | ||
right: -1000px; | ||
} | ||
|
||
[stuck] .filament-header { | ||
margin-inline: -1rem; | ||
padding-inline: theme("spacing.4"); | ||
padding-block: theme("spacing.3"); | ||
z-index: 20; | ||
min-height: 4rem; | ||
align-items: center; | ||
background-color: theme(colors.white / 75%); | ||
border-color: theme("colors.gray.200"); | ||
border-bottom: solid 1px; | ||
backdrop-filter: blur(12px); | ||
.is-sticky .filament-header .filament-header-heading { | ||
@apply text-xl overflow-ellipsis whitespace-nowrap overflow-hidden leading-none; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters