themes: scale down icons for network interfaces
authorDávid Benko <[email protected]>
Sat, 23 Aug 2025 16:00:33 +0000 (18:00 +0200)
committerPaul Donald <[email protected]>
Mon, 29 Sep 2025 15:25:45 +0000 (17:25 +0200)
commit65c1075b869d16b31f4479f3d7025804f9cf08b7
tree47053733eb21b5cdee39699f721712e5cdd5282a
parentf53e99d2299f118df5a6eff60d101414d69d4912
themes: scale down icons for network interfaces

Many LuCI icons doubled in size during migration to vector graphics
in commit ae5d91da903b6f1d3086d6082ca622231e34f555 (16px to 32px).

Sizing of their instances is mostly controlled by CSS, but there's
an exception - network interface boxes of "Interfaces" page in LuCI.
Current CSS doesn't specify any particular size requirements to follow,
so the icons just scale with the images served, thus effectively
doubling in width and height compared to state before the vectorization
commit. Such a big icons look odd and take up too much space, especially
for bridge interfaces with many ports.

Instead of reverting to the original 16×16px, this commit proposes
compromise of 24×24px as most of other icons within LuCI became a bit
bigger as well.

Signed-off-by: Dávid Benko <[email protected]>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
themes/luci-theme-material/htdocs/luci-static/material/cascade.css
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css