mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-25 03:00:25 +08:00
增加新的界面风格theme4, theme5
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user