[OpenNMS/opennms] 17a3b6: NMS-20182: Keep legacy <textarea>s readable in dar...
Scott Theleman via opennms-cvs <[email protected]>
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/jira/NMS-20182-various-ui-fixes-smoke/[email protected]> |
Branch: refs/heads/jira/NMS-20182-various-ui-fixes-smoke
Home: https://github.com/OpenNMS/opennms
Commit: 17a3b62f43454db34c5774c01f5287fa7ed32b57
https://github.com/OpenNMS/opennms/commit/17a3b62f43454db34c5774c01f5287fa7ed32b57
Author: Scott Theleman <[email protected]>
Date: 2026-08-20 (Thu, 20 Aug 2026)
Changed paths:
M ui/src/styles/opennms-styles.scss
Log Message:
-----------
NMS-20182: Keep legacy <textarea>s readable in dark mode
The alarm detail page's Sticky Memo and Journal Memo textareas carry no
`.form-control` class, so Bootstrap gives them no explicit background or
text color. In dark mode PrimeVue emits `color-scheme: dark` on the
document, which inherits into the legacy JSP page and makes the browser
paint those textareas with dark UA field colors on a light-only page.
Add `textarea` to the existing rule that already pins native selects,
checkboxes and radios to `color-scheme: light`, so legacy textareas stay
dark-on-light in both themes. Only the menu bundle imports this
stylesheet, so the SPA's PrimeVue Textarea (which sets its colors from
theme tokens) is unaffected.
Commit: 522017e02189a5d4c5738e2c66d0160c6b80fd88
https://github.com/OpenNMS/opennms/commit/522017e02189a5d4c5738e2c66d0160c6b80fd88
Author: Scott Theleman <[email protected]>
Date: 2026-08-20 (Thu, 20 Aug 2026)
Changed paths:
M opennms-webapp/src/main/webapp/WEB-INF/jsp/alarm/list.jsp
M ui/src/components/Device/DCBTable.vue
M ui/src/styles/onms-base.scss
M ui/src/styles/opennms-styles.scss
Log Message:
-----------
NMS-20182: Stop a:visited from overriding button label colors
`a:visited` has a pseudo-class in the selector, so it outranks Bootstrap's
single-class `.btn-secondary`. Any list-page menu item that was both an
anchor with an href and an already-visited URL therefore lost its white
label: "View all alarms" and "Short/Long Listing" on the alarm list,
"View all events" and the "Next" pagination button on the event list. The
items rendered as anchors without an href ("Advanced Search", "Severity
Legend", "Help") are never :visited, which is why they stayed white.
The rule was redundant anyway — the `a` rule above it already colors
visited links, since an author declaration beats the UA's visited color —
so drop it from both places it was declared and leave a note about why it
should not come back. Also drop the two `text-white` workarounds it had
prompted on the alarm list, and DCBTable's scoped `a:visited`, so its
node links keep one color in both states.
Commit: bb244fe12f156c83c81a443ffef1898fabd63a45
https://github.com/OpenNMS/opennms/commit/bb244fe12f156c83c81a443ffef1898fabd63a45
Author: Scott Theleman <[email protected]>
Date: 2026-08-20 (Thu, 20 Aug 2026)
Changed paths:
M opennms-base-assembly/src/main/filtered/etc/search-actions.xml
Log Message:
-----------
Add Vue Resource Graphs, Geographical Map and Topological Map to 'search-actions.xml' so they are searchable.
Compare: https://github.com/OpenNMS/opennms/compare/17a3b62f4345%5E...bb244fe12f15
To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs