Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NeoNotification to tailwindcss #8517

Merged
merged 2 commits into from
Dec 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 8 additions & 18 deletions libs/ui/src/components/NeoNotification/NeoNotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,31 @@ export default {
</script>

<style lang="scss">
@import '../../scss/_theme.scss';
@import '@oruga-ui/oruga-next/src/scss/utilities/_expressions.scss';
@import '@oruga-ui/oruga-next/src/scss/utilities/_variables.scss';
@import '@oruga-ui/oruga-next/src/scss/utilities/_animations.scss';
@import '@oruga-ui/oruga-next/src/scss/utilities/_helpers.scss';
@import '@oruga-ui/oruga-next/src/scss/components/_notification.scss';

.o-notices {
top: 4.5rem;
@apply top-[4.5rem];

.o-notification {
padding: 1rem 2rem;
@apply py-4 px-8;

&--component {
padding: 0 !important;
background-color: unset;
@apply p-0 #{!important};
@apply bg-[unset];
}
}
}

.is-neo-toast {
font-size: 12px;
border-radius: 0;
padding: 0.5rem 1rem !important;
@apply text-xs rounded-none bg-background-color border-default border-border-color shadow-primary text-text-color;
@apply py-2 px-4 #{!important};

@include ktheme() {
background-color: theme('background-color');
border: 1px solid theme('border-color');
box-shadow: theme('primary-shadow');
color: theme('text-color');
-webkit-box-shadow: theme('primary-shadow');

&:hover {
background-color: theme('k-accentlight');
}
&:hover {
@apply bg-k-accent-light;
}
}
</style>
Loading