删除夜间主题
parent
66dd81f9db
commit
1b0682eea4
|
|
@ -125,7 +125,6 @@
|
||||||
.pear-admin .layui-header .layui-nav .layui-this:after {
|
.pear-admin .layui-header .layui-nav .layui-this:after {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 新增兼容 */
|
/** 新增兼容 */
|
||||||
@media screen and (max-width:768px) {
|
@media screen and (max-width:768px) {
|
||||||
.pear-mini .bottom-nav {
|
.pear-mini .bottom-nav {
|
||||||
|
|
@ -169,7 +168,6 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@-webkit-keyframes am-horizontal-roll_show {
|
@-webkit-keyframes am-horizontal-roll_show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
@ -183,7 +181,6 @@
|
||||||
transform: translateX(0)
|
transform: translateX(0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes am-horizontal-roll_show {
|
@keyframes am-horizontal-roll_show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
@ -199,45 +196,29 @@
|
||||||
transform: translateX(0)
|
transform: translateX(0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.layer-anim-right {
|
.layer-anim-right {
|
||||||
-webkit-animation: am-horizontal-roll_show .6s ease-out;
|
-webkit-animation: am-horizontal-roll_show .6s ease-out;
|
||||||
animation: am-horizontal-roll_show .6s ease-out;
|
animation: am-horizontal-roll_show .6s ease-out;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** 亮色侧边风格 */
|
/** 亮色侧边风格 */
|
||||||
.light-theme .layui-logo {
|
.light-theme .layui-logo {
|
||||||
background-color: white !important;
|
background-color: white !important;
|
||||||
color: black !important;
|
color: black !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.light-theme .layui-side-scroll {
|
.light-theme .layui-side-scroll {
|
||||||
background-color: white !important;
|
background-color: white !important;
|
||||||
color: black !important;
|
color: black !important;
|
||||||
}
|
}
|
||||||
.light-theme .layui-side{
|
|
||||||
box-shadow: none;
|
|
||||||
border-right: 1px whitesmoke solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** 主 题 选 择 界 面 样 式 */
|
/** 主 题 选 择 界 面 样 式 */
|
||||||
|
|
||||||
.pearone-color .color-title {padding: 15px 0 0px 20px;margin-bottom: 4px;}
|
.pearone-color .color-title {padding: 15px 0 0px 20px;margin-bottom: 4px;}
|
||||||
.pearone-color .color-content {
|
.pearone-color .color-content {
|
||||||
padding: 15px 10px 0 20px;
|
padding: 15px 10px 0 20px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pearone-color .color-content ul {
|
.pearone-color .color-content ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pearone-color .color-content ul li {
|
.pearone-color .color-content ul li {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
@ -251,7 +232,6 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pearone-color .color-content li.layui-this:after,
|
.pearone-color .color-content li.layui-this:after,
|
||||||
.pearone-color .color-content li:hover:after {
|
.pearone-color .color-content li:hover:after {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -263,7 +243,6 @@
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pearone-color .color-content li:after {
|
.pearone-color .color-content li:after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -277,21 +256,17 @@
|
||||||
-webkit-transition: all .3s;
|
-webkit-transition: all .3s;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-color {
|
.select-color {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-color .select-color-title {
|
.select-color .select-color-title {
|
||||||
padding: 15px 0 0px 20px;
|
padding: 15px 0 0px 20px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-color .select-color-content {
|
.select-color .select-color-content {
|
||||||
padding: 20px 0 0px 0px;
|
padding: 20px 0 0px 0px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-color .select-color-content .select-color-item {
|
.select-color .select-color-content .select-color-item {
|
||||||
background-color: gray;
|
background-color: gray;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
|
||||||
var pearAdmin = new function() {
|
var pearAdmin = new function() {
|
||||||
|
|
||||||
this.render = function(option) {
|
this.render = function(option) {
|
||||||
|
|
||||||
var option = getData();
|
var option = getData();
|
||||||
|
|
||||||
this.menuRender(option);
|
this.menuRender(option);
|
||||||
this.bodyRender(option);
|
this.bodyRender(option);
|
||||||
this.keepLoad(option);
|
this.keepLoad(option);
|
||||||
|
|
@ -104,7 +102,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
|
||||||
bodyFrame = pearFrame.render({
|
bodyFrame = pearFrame.render({
|
||||||
elem: 'content',
|
elem: 'content',
|
||||||
title: '工作空间 / 首页',
|
title: '工作空间 / 首页',
|
||||||
url: option.index,
|
url: option.tab.index.href,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%'
|
height: '100%'
|
||||||
});
|
});
|
||||||
|
|
@ -163,7 +161,6 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
|
||||||
this.menuSkin = function(theme) {
|
this.menuSkin = function(theme) {
|
||||||
$(".pear-admin").removeClass("light-theme");
|
$(".pear-admin").removeClass("light-theme");
|
||||||
$(".pear-admin").removeClass("dark-theme");
|
$(".pear-admin").removeClass("dark-theme");
|
||||||
$(".pear-admin").removeClass("night-theme");
|
|
||||||
$(".pear-admin").addClass(theme);
|
$(".pear-admin").addClass(theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -314,13 +311,6 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
|
||||||
'</a>' +
|
'</a>' +
|
||||||
'</li>';
|
'</li>';
|
||||||
|
|
||||||
bgColorHtml +=
|
|
||||||
'<li data-select-bgcolor="night-theme" >' +
|
|
||||||
'<a href="javascript:;" data-skin="skin-blue" style="" class="clearfix full-opacity-hover">' +
|
|
||||||
'<div><span style="display:block; width: 20%; float: left; height: 12px; background: #28333E;"></span><span style="display:block; width: 80%; float: left; height: 12px; background: #28333E;"></span></div>' +
|
|
||||||
'<div><span style="display:block; width: 20%; float: left; height: 40px; background: #28333E;"></span><span style="display:block; width: 80%; float: left; height: 40px; background: #28333E;"></span></div>' +
|
|
||||||
'</a>' +
|
|
||||||
'</li>';
|
|
||||||
var html =
|
var html =
|
||||||
'<div class="pearone-color">\n' +
|
'<div class="pearone-color">\n' +
|
||||||
'<div class="color-title">整体风格</div>\n' +
|
'<div class="color-title">整体风格</div>\n' +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue