-
Notifications
You must be signed in to change notification settings - Fork 14
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
Overlay Component #139
Overlay Component #139
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est-ce que tu pourrais déplacer cela dans
src/jagfx/application/components/shared/ui
Ce dossier comporte l'ensemble des composants atomique ;)
Aussi, tant que possible, utiliser les classes bootstrap ou celle définie dans ce fichier
src/jagfx/application/style/vendors/_bootstrap.scss
|
||
<script setup> | ||
// Defines a closeOverlay event that can be emitted by the overlay component. | ||
defineEmits(["closeOverlay"]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il sera émis par le contenu dans le slot
, c'est ça ?
width: 0; | ||
z-index: 9999; | ||
|
||
@supports (backdrop-filter: blur(30px)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il n'est pas nécessaire de faire cette vérification.
Le mixin
devrait suffire à lui-même normalement.
|
||
/* The Overlay (background) */ | ||
.overlay { | ||
background: $color-black; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cette propriété ne devrait pas être nécessaire ici, car déjà incluse dans le mixin
plus bas.
.overlay-content { | ||
position: relative; | ||
text-align: center; /* Centered text/links */ | ||
top: 50%; /* 50% from the top */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plus team display flex
. Mais si ça fonctionne bien, c'est top.
Description
Added the overlay component #137
Usage
Checklist: