del:多余代码

master
bobi 2019-10-27 23:19:38 +08:00
parent 2de88e9c7d
commit c47f5ad4f2
4 changed files with 13 additions and 153 deletions

View File

@ -1,7 +1,3 @@
/*********************************************
* (*^__^*) (*^__^*) *
* *
*********************************************/
@import "../lib/fonts/iconfont.css"; @import "../lib/fonts/iconfont.css";
[v-cloak]{display:none!important} [v-cloak]{display:none!important}

View File

@ -1,7 +1,7 @@
@import "../lib/layui/css/layui.css"; @import "../lib/layui/css/layui.css";
@import "../lib/fonts/iconfont.css"; @import "../lib/fonts/iconfont.css";
/**边距**/ /*边距*/
.ptb20{ .ptb20{
padding-top: 20px; padding-top: 20px;
padding-bottom: 20px; padding-bottom: 20px;
@ -12,7 +12,6 @@
} }
#navBar .layui-nav-child { #navBar .layui-nav-child {
/*transition: height .5s;*/
overflow: hidden; overflow: hidden;
padding: 0 !important; padding: 0 !important;
} }
@ -27,7 +26,7 @@
font-size: 16px; font-size: 16px;
} }
/**不显示滚动条样式*/ /*不显示滚动条样式*/
.not-scroll::-webkit-scrollbar { .not-scroll::-webkit-scrollbar {
height: 0; height: 0;
width: 0; width: 0;
@ -39,13 +38,13 @@
display: none; display: none;
} }
/**去掉after**/ /*去掉after*/
.no-line.layui-this:after { .no-line.layui-this:after {
background: transparent !important; background: transparent !important;
color: transparent !important; color: transparent !important;
} }
/**通用**/ /*通用*/
.ok-none-select { .ok-none-select {
-moz-user-select: none; /*火狐*/ -moz-user-select: none; /*火狐*/
-webkit-user-select: none; /*webkit浏览器*/ -webkit-user-select: none; /*webkit浏览器*/
@ -94,7 +93,7 @@
font-weight: bolder; font-weight: bolder;
} }
/** 框架布局样式 **/ /*框架布局样式*/
.okadmin-header .layui-nav-bar, .okadmin-header .layui-nav-bar,
.okadmin-header .layui-nav-tree .layui-nav-itemed:after { .okadmin-header .layui-nav-tree .layui-nav-itemed:after {
background: #20222A !important; background: #20222A !important;
@ -117,13 +116,13 @@
color: #000; color: #000;
} }
/**在tab导航中去掉首页标签的删除按钮 */ /*在tab导航中去掉首页标签的删除按钮*/
.ok-tab-title li strong[is-close="false"] ~ i.layui-tab-close, .ok-tab-title li strong[is-close="false"] ~ i.layui-tab-close,
.ok-tab-title li[tab="index"] i.layui-tab-close { .ok-tab-title li[tab="index"] i.layui-tab-close {
display: none !important; display: none !important;
} }
/**头部**/ /*头部*/
.okadmin .okadmin-header { .okadmin .okadmin-header {
background: #FFFFFF; background: #FFFFFF;
height: 49px; height: 49px;
@ -160,7 +159,7 @@
color: #000 !important; color: #000 !important;
} }
/**菜单显隐按钮**/ /*菜单显隐按钮*/
.ok-show-menu { .ok-show-menu {
font-size: 18px; font-size: 18px;
} }
@ -376,7 +375,7 @@
margin: 0 !important; margin: 0 !important;
} }
/**顶部tab标签样式**/ /*顶部tab标签样式*/
.ok-tab { .ok-tab {
background: #F5F7F9; background: #F5F7F9;
} }
@ -618,141 +617,6 @@
left: 0; left: 0;
} }
/**********登录页的样式**********/
.page-fill {
width: 100%;
height: 100%;
display: block;
box-sizing: border-box;
}
#login .layui-icon {
font-size: 16px !important;
}
#login .mag0 {
margin: 0 !important;
}
#login ::selection {
background: #ff5722;
color: #fff;
}
#login .layui-red {
color: #f00 !important;
font-weight: bold;
}
#login .layui-blue {
color: #01AAED !important;
}
#login .layui-form-item.layui-input-focus input {
border-color: #ff6700 !important;
}
#login .layui-block {
width: 100% !important;
}
#login {
width: 100%;
height: 100%;
background-image: url('../images/login-bg.jpg');
position: relative;
}
#login form.layui-form {
padding: 0 20px 20px 20px;
width: 300px;
position: absolute;
left: 50%;
top: 50%;
margin: -150px 0 0 -150px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
background: #fff;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
box-shadow: 0 0 50px #009688;
}
#login .login_face {
margin: -55px auto 20px;
width: 100px;
height: 100px;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
border: 5px solid #fff;
overflow: hidden;
box-shadow: 0 0 30px #009688;
background: #FFF;
}
#login .login_face img {
width: 100%;
}
#login .layui-form-item {
position: relative;
}
#login .layui-form-item label {
position: absolute;
color: #757575;
left: 10px;
top: 9px;
line-height: 20px;
background: transparent;
padding: 0 5px;
font-size: 14px;
cursor: text;
}
#login #code {
padding-right: 110px;
}
#login .captcha-box .img {
position: absolute;
top: 1px;
bottom: 1px;
right: 1px;
cursor: pointer;
width: 100px;
background: #C4E1CE;
}
#login .layui-form-item input {
background: #FFF !important;
}
#login .layui-form-item input,
#login .layui-form-item label {
transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
}
#login .layui-form-item input::placeholder {
color: transparent !important;
}
#login .layui-form-item.layui-input-focus input::placeholder {
color: #757575 !important;
}
#login .layui-form-item.layui-input-focus label,
#login .layui-form-item.layui-input-active label {
top: -10px;
font-size: 12px;
color: #ff6700;
background: #fff !important;
}
/* /*
* *
@ -769,7 +633,7 @@
} }
} }
/**移动端遮罩层**/ /*移动端遮罩层*/
.ok-make { .ok-make {
position: fixed; position: fixed;
left: 0; left: 0;

View File

@ -1,4 +1,4 @@
@import "../css/common.css"; /**页面的公共样式**/ @import "../css/common.css";
@import "../lib/layui/css/layui.css"; @import "../lib/layui/css/layui.css";
/**控制台样式*/ /**控制台样式*/

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>okUtils</title> <title>okUtils</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../../lib/layui/css/layui.css"> <link rel="stylesheet" href="../../css/oksub.css">
<style> <style>
.ok-body { .ok-body {
padding: 20px; padding: 20px;