OpenWrt2020 theme -- not decorating link in the description, how to fix?

OpenWrt2020 is my favourite theme, but it's the only theme which doesn't apply any decoration to the links in the div with class=cbi-value-description (as per screenshot below), in the bootstrap and OpenWrt themes the link is either underlined or displayed with a different color.
Screen Shot 2022-10-26 at 23.14.55

As I maintain a few luci apps, I'd like to remedy that at least in my apps. Should I fix it in the luci apps lua/js code with some style? Is there a luci-standard style I should apply to the anchor?

@jow any ideas? I kinda forgot about it, but it's still relevant.

You're looking for an anchor decoration in this theme? Just add the missing anchor stuff to cascade.css and open a PR, e.g. (untested as I don't use this theme):

.cbi-map a {
  color: var(--main-bright-color);
  text-decoration: none;
  line-height: inherit;
  font-weight: inherit;
  outline: 0;
}
.cbi-map a:hover {
  color: var(--main-bright-color);
  text-decoration: underline;
  outline: 0;
}

Hope this helps.

1 Like

@dibdot: https://github.com/openwrt/luci/pull/6802 -- let me know if this looks OK, so I could cherry-pick it for 23.05.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.