diff options
author | Miguel Angel Mulero Martinez <migmul@gmail.com> | 2022-05-02 09:47:36 +0200 |
---|---|---|
committer | Miguel Angel Mulero Martinez <migmul@gmail.com> | 2022-05-02 09:47:36 +0200 |
commit | 56aeaa8ac8b2a8a9864f3c8290fb10c39ed3173a (patch) | |
tree | 5b9a0e51a92ad6fb1f898d387b0adbc48ff0a682 /themes/luci-theme-material/htdocs/luci-static | |
parent | 6b3bba36d1381d0cd72e77f096b7f6892fd3314f (diff) |
luci-material-theme: fix localizated left menu
The latest fix to fix the logout worked, but it was not applied to all
the resolutions, and I have observed the same problem exists for the
dasboard optional component.
Looking at the code, it seems only the components without submenu, have the
data-title element, so this fix modifies the style for all of them, not
relying on the position or text content.
Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static')
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index b194ff0d3b..1544482fc7 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -583,8 +583,7 @@ header > .fill > .container > .status > * { } .main > .main-left > .nav > .slide > .menu, -.main > .main-left > .nav > li > [data-title="Logout"], -.main > .main-left > .nav > li > [data-title="Dashboard"] { +.main > .main-left > .nav > li > [data-title] { font-size: 1.15rem; font-weight: 500; display: flex; @@ -2656,7 +2655,7 @@ input[name="nslookup"] { .main > .main-left > .nav > li, .main > .main-left > .nav > li a, .main > .main-left > .nav > .slide > .menu, - .main > .main-left > .nav > li:last-child > [data-title] { + .main > .main-left > .nav > li > [data-title] { font-size: .9rem; } @@ -2935,7 +2934,7 @@ input[name="nslookup"] { } .main > .main-left > .nav > .slide > .menu, - .main > .main-left > .nav > li > [data-title="Logout"] { + .main > .main-left > .nav > li > [data-title] { font-size: 1.2rem; } |