Add some styling for the rb-c-form-field__disabled-reason element.

Review Request #14192 — Created Sept. 27, 2024 and updated

Information

Review Board
release-7.1.x

Reviewers

Djblets KeyValueForms have a nifty feature where we can annotate why a
field is disabled. We don't use this very much, so this wasn't really
styled at all.

This change adds some styling for that to show similar to help text, but
with an alert/error icon.

Viewed a form that used the disabled reasons and saw the new style.

Summary ID
Add some styling for the rb-c-form-field__disabled-reason element.
Djblets KeyValueForms have a nifty feature where we can annotate why a field is disabled. We don't use this very much, so this wasn't really styled at all. This change adds some styling for that to show similar to help text, but with an alert/error icon. Testing Done: Viewed a form that used the disabled reasons and saw the new style.
4182cc62a3dffdb5b36f80a98853197396aed7fe

Checks run (2 succeeded)
flake8 passed.
JSHint passed.
maubin
  1. Ship It!
  2.