CSS help with Enable Conditions

  • 1
  • Idea
  • Updated 3 years ago
  • Under Consideration
We use custom CSS for most of our app. When we use “Enable Conditions” the style of the nx-basicfieldeditor-item-label is changed by a Style Attribute {color: rgb(0,0,0); for the label when available and Style Attribute {color: rgba(0,0,0,0.298039): for the greyed out label. The greyed out is fine but we want the color of the label when available to be that of our custom color and not black as being set by this attribute. Not sure how to change that in custom CSS.
Photo of Joel Knutson

Joel Knutson

  • 474 Points 250 badge 2x thumb
  • adventurous

Posted 3 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 52,276 Points 50k badge 2x thumb
Joel, the CSS applied to the Enable Conditions in this example is added via JavaScript, and there is no supported way to override that at present. I have added a request to our backlog to enable the Enabled/Disabled Field styles to be themeable using the Theme Composer, so I'm converting this to an Idea.