luci-theme-bootstrap: various tweaks and cleanups
authorJo-Philipp Wich <[email protected]>
Fri, 8 Oct 2021 22:30:48 +0000 (00:30 +0200)
committerJo-Philipp Wich <[email protected]>
Fri, 22 Oct 2021 18:37:12 +0000 (20:37 +0200)
commit4a6927fa6763dafa3da09e76de3886c7096f9de5
tree04b92d4331df376317113123df7d36c11ec1f794
parent4c87f02cc03fd006a3aaa6c3bbf29e7474ce29d4
luci-theme-bootstrap: various tweaks and cleanups

 - introduce new variable --text-color-highest which results in #000/#fff
   for bright and dark modes respectively
 - drop unused navigation style rules and selectors
 - use sticky positioning for header bar and drop top margin hacks
 - use flex box layout for header bar contents
 - use uniform line-height for button elements instead of pixel paddings
 - fix too bright .cbi-value bottom border in mobile dark mode
 - avoid rendering duplicate .cbi-value bottom borders for nested sections
 - simplify header markup, get rid of unused container elements
 - use non-wrapping flex box layout for page actions, prioritize primary
   action button in automatic width calculation
 - fix border radius of ifacebox headers
 - use brightest color for log output textareas
 - fix dark mode colors for mode menu
 - use flex layout for footer

Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 588e24f9ca68de074c4d085ec99fd8c96ad0a3ed)
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css
themes/luci-theme-bootstrap/htdocs/luci-static/resources/menu-bootstrap.js
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm