question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change Color of Dialogue-Btn-Close?

See original GitHub issue

I’m submitting a … (check one with “x”)

[ ] bug report => search github for a similar issue or PR before submitting
[ X ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior I would like to change the color of the close button (“X”).

When I inspect the element of nsm-dialogue-btn-close, it looks like there is an image tag. <img src="data:image/svg+xml…/> I was trying to manipulate the fill via CSS and could not change the color.

Is there a way to do this or could this be a new feature. Thank you in advance

Expected behavior

There should be an easy way to change the color of the Btn-Close Reproduction of the problem

Not necessary What is the motivation / use case for changing the behavior?

Better User Experience Please tell us about your environment:

Angular 7 project

  • Smart Modal version: 0.8.x
  • Angular version: 2.0.x
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
dkuhrmeyercommented, Dec 4, 2019

thank you very much!

1reaction
khyliascommented, Dec 4, 2019

@dkuhrmeyer 7.3.0 is just released! You can update your package and change the color with the new SVG icon. 🤘

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dialog Close button color change - jquery - Stack Overflow
Change your css to : #dialog-confirm { display:none } .ui-dialog-buttonset .ui-button{ background:green; }. and the button will be green.
Read more >
Change background color of dialog close button - Drupal
The current background color (yellow) of close button in active state does match Seven color scheme. I don't think it was applied ...
Read more >
Change Color of Dialogue-Btn-Close? · Issue #251 - GitHub
I would like to change the color of the close button ("X"). When I inspect the element of nsm-dialogue-btn-close, it looks like there...
Read more >
Dialog Jquery : Changing the color of the close button in titlebar
I am using jQuery Dialog and change the color of the title-bar to black. Due to this the close button on the extreme...
Read more >
Jquery UI Dialog Close Button
I need to change the background color of the close button ofJQuery UI dialog or atleast place the 'X' in between.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found