增加新的界面风格theme4, theme5

This commit is contained in:
GoEdgeLab
2021-10-09 11:50:02 +08:00
parent b799873bf7
commit e557c66250
4 changed files with 44 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ type ThemeAction struct {
func (this *ThemeAction) RunPost(params struct{}) { func (this *ThemeAction) RunPost(params struct{}) {
theme := configloaders.FindAdminTheme(this.AdminId()) theme := configloaders.FindAdminTheme(this.AdminId())
var themes = []string{"theme1", "theme2", "theme3"} var themes = []string{"theme1", "theme2", "theme3", "theme4", "theme5"}
var nextTheme = "theme1" var nextTheme = "theme1"
if len(theme) == 0 { if len(theme) == 0 {
nextTheme = "theme2" nextTheme = "theme2"

View File

@@ -326,6 +326,12 @@ body.expanded .main {
.top-nav.theme3 { .top-nav.theme3 {
background: #007D9C !important; background: #007D9C !important;
} }
.top-nav.theme4 {
background: #A12568 !important;
}
.top-nav.theme5 {
background: #1C7947 !important;
}
.top-nav::-webkit-scrollbar { .top-nav::-webkit-scrollbar {
height: 2px; height: 2px;
} }
@@ -469,6 +475,18 @@ body.expanded .main {
.main-menu.theme3 .menu { .main-menu.theme3 .menu {
background: #007D9C !important; background: #007D9C !important;
} }
.main-menu.theme4 {
background: #A12568 !important;
}
.main-menu.theme4 .menu {
background: #A12568 !important;
}
.main-menu.theme5 {
background: #1C7947 !important;
}
.main-menu.theme5 .menu {
background: #1C7947 !important;
}
.main-menu::-webkit-scrollbar { .main-menu::-webkit-scrollbar {
width: 2px; width: 2px;
} }

File diff suppressed because one or more lines are too long

View File

@@ -297,6 +297,14 @@ body.expanded .main {
background: #007D9C !important; background: #007D9C !important;
} }
.top-nav.theme4 {
background: #A12568 !important;
}
.top-nav.theme5 {
background: #1C7947 !important;
}
.top-nav::-webkit-scrollbar { .top-nav::-webkit-scrollbar {
height: 2px; height: 2px;
} }
@@ -483,6 +491,22 @@ body.expanded .main {
} }
} }
.main-menu.theme4 {
background: #A12568 !important;
.menu {
background: #A12568 !important;
}
}
.main-menu.theme5 {
background: #1C7947 !important;
.menu {
background: #1C7947 !important;
}
}
.main-menu::-webkit-scrollbar { .main-menu::-webkit-scrollbar {
width: 2px; width: 2px;
} }