-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong colors after login in dark mode #559
Comments
in 24.10 problem persist i have to edit .main-right > #maincontent .Dashboard .dashboard-bg { and if you could tell me what bandwidth monitor did you use? luci-app-nlbwmon has another icon |
at the moment everything is ok, i had to edit this files: /www/luci-static/resources/view/dashboard/css/custom.css .dashboard-bg{border-radius:16px;background-color:var(--background-color-medium,#333333)} /www/luci-static/argon/css/cascade.css .main-right>#maincontent .Dashboard .dashboard-bg{background-color:#333333} .main-right>#maincontent .Dashboard{ color:#fff !important} any one know what bandwith monitor is used on preview of argon theme? |
Is infopanel a newly added interface? I remember there was no this page in the original openwrt. |
Its luci app dashboard, if i changed values mentioned above everything looks ok. Could you tell me what bandwidth monitor did you use on theme preview? |
你可以使用自己喜欢的颜色去填充界面,类似这样(但肯定不是复制粘贴): /* luci-mod-dashboard */
.Dashboard .dashboard-bg {
background-color: #1b212a !important;
}
.Dashboard h3 {
color: #cccccc !important;
border-radius: 0 0 16px 16px;
}
.Dashboard:not(.some-other-class) {
color: #cccccc !important;
}
.Dashboard .title {
background-color: #444950 !important;
border-radius: 16px;
}
.Dashboard .cbi-rowstyle-1 {
background-color: #1b212a;
} |
The dark theme has styles that are applied to When you view the dashboard at the full url (/cgi-bin/luci/admin/dashboard - i.e. click on the Dashboard link) the body tag is The issue when first logging into the router (/cgi-bin/luci/) is that the body tag is missing the correct value for data-page: Edit: This issue also occurs at /cgi-bin/luci/admin. It looks like the data-page is set from the request path: https://github.com/jerrykuku/luci-theme-argon/blob/master/luasrc/view/themes/argon/header.htm#L127C30-L127C34 |
Hello,
After login, in dark mode colors are wrong, if i reload page nothing changes, if i click again into info panel then colors are ok.
The text was updated successfully, but these errors were encountered: