I have a modal window with a bootstrap modal-content class, where I need to change the background color to transparent for a particular modal. Because this has been set up for me, I can't actually add classes to the modal-content div.
I only want to change this property if the div within this contains the class erm-modal. Currently my Less file looks like this:
modal-content {
  background-color: transparent;
  .erm-modal {
     ......
  }
}
This changes my background color correctly, but also changes the background color for all the other modals as well! Can I write some less to allow me to only change this property if the child div contains .erm-modal?
I am using AngularJS if that makes a difference.
Thanks
