暗色:修复导航栏 active 类链接背景色 & 兼容 luci-mod-dashboard 插件

Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
sbwml 2025-02-28 21:39:42 +08:00
parent de7ec7aa55
commit ba2ec536d4
2 changed files with 67 additions and 0 deletions

View File

@ -4667,6 +4667,8 @@ div#add_link_div {
border-radius: 9px; border-radius: 9px;
} }
/* luci-app-filemanager */
#file-manager-container button#go-button { #file-manager-container button#go-button {
cursor: pointer; cursor: pointer;
} }
@ -4675,6 +4677,37 @@ div#add_link_div {
padding: 4px; padding: 4px;
} }
/* luci-mod-dashboard */
.Dashboard .dashboard-bg {
background-color: #ffffff !important;
}
.Dashboard h3 {
color: #69758c !important;
border-radius: 0 0 16px 16px;
}
.Dashboard:not(.some-other-class) {
color: #666a88 !important;
}
.Dashboard .title {
background-color: var(--primary) !important;
border-radius: 16px;
}
.Dashboard span.label.label-success {
background-color: #55bb55;
}
.Dashboard .cbi-rowstyle-1 {
background-color: #ffffff;
}
.Dashboard .devices-list .devices-info, .Dashboard .router-status-wifi .wifi-info > hr:last-child {
margin-top: 0.575rem;
}
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
div#content-filemanager { div#content-filemanager {
overflow-x: auto; overflow-x: auto;

View File

@ -100,6 +100,16 @@ header::after {
color: #cccccc !important; color: #cccccc !important;
} }
.main .main-left .nav>li>a:first-child.active {
background: #483d8b;
background: var(--dark-primary)
}
.main .main-left .nav li.slide .slide-menu li::after {
background: #483d8b;
background: var(--dark-primary)
}
.main .main-left .nav .slide .menu.active a::after { .main .main-left .nav .slide .menu.active a::after {
background-color: #cccccc !important; background-color: #cccccc !important;
} }
@ -952,6 +962,7 @@ table,
background-color: #2c323c background-color: #2c323c
} }
/* luci-app-filemanager */
#file-manager-container button#go-button { #file-manager-container button#go-button {
background-color: #2c323c !important; background-color: #2c323c !important;
} }
@ -991,3 +1002,26 @@ table,
#file-manager-container .resizer::after { #file-manager-container .resizer::after {
background: none !important; background: none !important;
} }
/* 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;
}