-
Notifications
You must be signed in to change notification settings - Fork 27
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
How to work on background when modal is opened #43
Comments
So, I'm not sure if I understand the problem yet but, for the baseline CSS
I recommend you create a global default. Add to yours styles.[s]css file or
as the README suggests , create a separate file and include in the styles
section of your angular config file.
You have the option to set classes for background on a per modal basis if
you need to change the behaviour.
Since the modal itself is created lazily, and then added as a child to a
dynamically created wrapper which is where the background lives, setting a
CSS class to override default is the way to currently target background
colour and style.
In my experience, most projects pick a single style for the background so I
didn't expand it beyond this. I am willing to consider if you make a clear
outline of your feature request though.
Best
K
…On Wed, 6 Jun 2018, 06:42 Navyasri-Gurram, ***@***.***> wrote:
I am new to modals in angular. my requirement is to work on background
when my modal popup is opened and i need to set my custom styles to the
modal. But couldn't apply when i am creating separate css for each
components modals. Effecting all modals if i declare css globally
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#43>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAqe8EsRe63IRCqUI8pHsB-CW-VW8Gavks5t52uzgaJpZM4UcA5O>
.
|
Sorry for the late. Thank you it worked i have created my css globally. 👍 |
No worries, glad that helped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am new to modals in angular. my requirement is to work on background when my modal popup is opened and i need to set my custom styles to the modal. But couldn't apply when i am creating separate css for each components modals. Effecting all modals if i declare css globally
The text was updated successfully, but these errors were encountered: