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

3 couleurs de background sur #tarteaucitronAlertBig du dsfr-theme-tac.css #1

Open
jpsimonnet opened this issue Aug 5, 2021 · 0 comments

Comments

@jpsimonnet
Copy link

j'ai eu un soucis sur l'affichage de la 1ere modale en mode sombre dans le fichier dsfr-theme-tac.css

#tarteaucitronAlertBig { position: fixed; flex-wrap: wrap; justify-content: flex-end; bottom: 0; left: 0; width: 100%; padding: 1rem; color: var(--g700); background: var(--g200); box-shadow: inset 0 0 0 1px var(--g400); z-index: 2147483645; max-height: 73vh; overflow-y: scroll; background: linear-gradient(#f0f0f0 33%, rgba(240,240,240, 0)), linear-gradient(rgba(240,240,240, 0), #f0f0f0 66%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(34,34,34, 0.5), rgba(0,0,0,0)), radial-gradient(farthest-side at 50% 100%, rgba(34,34,34, 0.5), rgba(0,0,0,0)) 0 100%; background-color: #f0f0f0; background-repeat: no-repeat; background-attachment: local, local, scroll, scroll; background-size: 100% 18px, 100% 18px, 100% 6px, 100% 10px; }

il y a 3 couleurs de background définies les une à la suite des autres, j'ai corrigé en commentant les 2 dernières

#tarteaucitronAlertBig { position: fixed; flex-wrap: wrap; justify-content: flex-end; bottom: 0; left: 0; width: 100%; padding: 1rem; color: var(--g700); background: var(--g200); box-shadow: inset 0 0 0 1px var(--g400); z-index: 2147483645; max-height: 73vh; overflow-y: scroll; /* background: linear-gradient(#f0f0f0 33%, rgba(240,240,240, 0)), linear-gradient(rgba(240,240,240, 0), #f0f0f0 66%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(34,34,34, 0.5), rgba(0,0,0,0)), radial-gradient(farthest-side at 50% 100%, rgba(34,34,34, 0.5), rgba(0,0,0,0)) 0 100%; background-color: #f0f0f0;*/ background-repeat: no-repeat; background-attachment: local, local, scroll, scroll; background-size: 100% 18px, 100% 18px, 100% 6px, 100% 10px; }

je ne sais pas si j'ai mal implémenté le css au départ, mais je voulais vous partager cette remarque.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant