删除夜间主题

develop
就眠仪式 2020-07-23 20:26:15 +08:00
parent 66dd81f9db
commit 1b0682eea4
2 changed files with 1 additions and 36 deletions

View File

@ -125,7 +125,6 @@
.pear-admin .layui-header .layui-nav .layui-this:after {
display: none;
}
/** 新增兼容 */
@media screen and (max-width:768px) {
.pear-mini .bottom-nav {
@ -169,7 +168,6 @@
display: none;
}
}
@-webkit-keyframes am-horizontal-roll_show {
0% {
opacity: 1;
@ -183,7 +181,6 @@
transform: translateX(0)
}
}
@keyframes am-horizontal-roll_show {
0% {
opacity: 1;
@ -199,45 +196,29 @@
transform: translateX(0)
}
}
.layer-anim-right {
-webkit-animation: am-horizontal-roll_show .6s ease-out;
animation: am-horizontal-roll_show .6s ease-out;
}
/** 亮色侧边风格 */
.light-theme .layui-logo {
background-color: white !important;
color: black !important;
}
.light-theme .layui-side-scroll {
background-color: white !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-content {
padding: 15px 10px 0 20px;
}
.pearone-color .color-content ul {
list-style: none;
padding: 0px;
}
.pearone-color .color-content ul li {
position: relative;
display: inline-block;
@ -251,7 +232,6 @@
font-size: 12px;
color: #666;
}
.pearone-color .color-content li.layui-this:after,
.pearone-color .color-content li:hover:after {
width: 100%;
@ -263,7 +243,6 @@
opacity: 1;
border-radius: 4px;
}
.pearone-color .color-content li:after {
content: '';
position: absolute;
@ -277,21 +256,17 @@
-webkit-transition: all .3s;
opacity: 0;
}
.select-color {
margin-bottom: 30px;
}
.select-color .select-color-title {
padding: 15px 0 0px 20px;
margin-bottom: 4px;
}
.select-color .select-color-content {
padding: 20px 0 0px 0px;
margin-bottom: 4px;
}
.select-color .select-color-content .select-color-item {
background-color: gray;
width: 30px;

View File

@ -16,9 +16,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
var pearAdmin = new function() {
this.render = function(option) {
var option = getData();
this.menuRender(option);
this.bodyRender(option);
this.keepLoad(option);
@ -104,7 +102,7 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
bodyFrame = pearFrame.render({
elem: 'content',
title: '工作空间 / 首页',
url: option.index,
url: option.tab.index.href,
width: '100%',
height: '100%'
});
@ -163,7 +161,6 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
this.menuSkin = function(theme) {
$(".pear-admin").removeClass("light-theme");
$(".pear-admin").removeClass("dark-theme");
$(".pear-admin").removeClass("night-theme");
$(".pear-admin").addClass(theme);
}
@ -314,13 +311,6 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
'</a>' +
'</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 =
'<div class="pearone-color">\n' +
'<div class="color-title">整体风格</div>\n' +