2019-05-27 01:24:17 +00:00
|
|
|
@import "../lib/layui/css/layui.css";
|
2019-08-30 06:23:05 +00:00
|
|
|
@import "../lib/fonts/okfont/iconfont.css";
|
|
|
|
|
/*@import "../lib/fonts/myfont.css";*/
|
2019-05-27 01:24:17 +00:00
|
|
|
|
2019-08-22 14:32:03 +00:00
|
|
|
#navBar .layui-nav-child {
|
2019-08-22 09:13:53 +00:00
|
|
|
/*transition: height .5s;*/
|
|
|
|
|
overflow: hidden;
|
2019-08-30 06:23:05 +00:00
|
|
|
padding: 0 !important;
|
2019-08-22 09:13:53 +00:00
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-08-22 09:13:53 +00:00
|
|
|
#navBar .layui-nav-itemed .layui-nav-child,
|
2019-08-22 14:32:03 +00:00
|
|
|
#navBar .layui-nav-child dd {
|
2019-08-22 09:13:53 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
2019-05-27 01:24:17 +00:00
|
|
|
|
|
|
|
|
[class^="ok-icon"], [class*=" ok-icon"] {
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-05-27 01:24:17 +00:00
|
|
|
/**不显示滚动条样式*/
|
2019-08-22 14:32:03 +00:00
|
|
|
.not-scroll::-webkit-scrollbar {
|
2019-05-27 01:24:17 +00:00
|
|
|
height: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
.scrollBody::-webkit-scrollbar {
|
2019-05-27 01:24:17 +00:00
|
|
|
display: none;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-05-27 01:24:17 +00:00
|
|
|
/**去掉after**/
|
|
|
|
|
.no-line.layui-this:after {
|
|
|
|
|
background: transparent !important;
|
|
|
|
|
color: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**通用**/
|
|
|
|
|
.ok-none-select {
|
|
|
|
|
-moz-user-select: none; /*火狐*/
|
|
|
|
|
-webkit-user-select: none; /*webkit浏览器*/
|
|
|
|
|
-ms-user-select: none; /*IE10*/
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-text-center {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-bg-20222A {
|
|
|
|
|
background: #20222A;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.post-left220 {
|
|
|
|
|
left: 220px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.flex-vc {
|
|
|
|
|
display: flex !important;
|
|
|
|
|
display: -webkit-flex !important;
|
|
|
|
|
align-items: center !important;
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pl0 {
|
|
|
|
|
padding-left: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pr0 {
|
|
|
|
|
padding-right: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pl10 {
|
|
|
|
|
padding-left: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pr10 {
|
|
|
|
|
padding-right: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#noticeQQ {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #FF5722;
|
|
|
|
|
font-weight: bolder;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 框架布局样式 **/
|
|
|
|
|
.okadmin-header .layui-nav-bar,
|
|
|
|
|
.okadmin-header .layui-nav-tree .layui-nav-itemed:after {
|
|
|
|
|
background: #20222A !important;
|
|
|
|
|
bottom: auto;
|
|
|
|
|
top: 0 !important;
|
|
|
|
|
height: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-nav .layui-this:after {
|
|
|
|
|
background: transparent !important;
|
|
|
|
|
color: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-side-menu, .layadmin-pagetabs .layui-tab-title li:after, .layadmin-pagetabs .layui-tab-title li.layui-this:after, .layui-layer-admin .layui-layer-title, .layadmin-side-shrink .layui-side-menu .layui-nav > .layui-nav-item > .layui-nav-child {
|
|
|
|
|
/*background: #20222A !important;*/
|
|
|
|
|
background: #001529 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-tab-brief > .layui-tab-title .layui-this {
|
|
|
|
|
color: #000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**在tab导航中去掉首页标签的删除按钮 */
|
|
|
|
|
.ok-tab-title li strong[is-close="false"] ~ i.layui-tab-close,
|
|
|
|
|
.ok-tab-title li[tab="index"] i.layui-tab-close {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**头部**/
|
|
|
|
|
.okadmin .okadmin-header {
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
height: 49px;
|
|
|
|
|
line-height: 49px;
|
|
|
|
|
border-bottom: 1px solid #f6f6f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-nav-item .layui-icon {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-nav .layui-nav-item a,
|
|
|
|
|
.okadmin-header .layui-nav-child dd.layui-this a {
|
|
|
|
|
color: #000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#userInfo .layui-this,
|
|
|
|
|
#userInfo .layui-this a {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#userInfo .layui-this a:hover {
|
|
|
|
|
background: #f2f2f2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*天气样式*/
|
|
|
|
|
.weather {
|
|
|
|
|
color: #000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#tp-weather-widget .tpwthwidt .title_2I35arv,
|
|
|
|
|
#tp-weather-widget .tpwthwidt .text_1vUR5ag {
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
color: #000 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**菜单显隐按钮**/
|
|
|
|
|
.ok-show-menu {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-show-menu .layui-icon {
|
|
|
|
|
font-size: 18px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-show-menu .ok-menu-hide:before {
|
|
|
|
|
content: "\e66b";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#fullScreen i.okicon-screen-restore:before {
|
|
|
|
|
content: "\e758";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-input-search {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
height: 32px;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: text;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-nav .layui-nav-item {
|
|
|
|
|
height: 49px;
|
|
|
|
|
line-height: 49px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-layout-left .layui-nav-item {
|
|
|
|
|
margin: 0 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-layout-left .layui-nav-item.layui-this:after {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-layout-left .layui-nav-item a {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin .menu-switch {
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
position: relative;
|
|
|
|
|
left: 220px;
|
|
|
|
|
top: 16px;
|
|
|
|
|
color: #FFF;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
z-index: 9999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-nav .layui-nav-more {
|
|
|
|
|
border-color: #000 transparent transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-nav .layui-nav-mored,
|
|
|
|
|
.okadmin-header .layui-nav-itemed > a .layui-nav-more {
|
|
|
|
|
border-color: transparent transparent #000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-nav-child {
|
|
|
|
|
top: 50px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.icon-head-i {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
/*color:#333!important;*/
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*左边菜单导航*/
|
|
|
|
|
.ok-left {
|
|
|
|
|
top: 0 !important;
|
|
|
|
|
width: 220px !important;
|
|
|
|
|
z-index: 9999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left .okadmin-logo {
|
|
|
|
|
line-height: 49px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #FFF;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
position: fixed;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
z-index: 1002;
|
|
|
|
|
width: 220px;
|
|
|
|
|
height: 49px;
|
|
|
|
|
padding: 0 15px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-position: center center;
|
|
|
|
|
background: #20222A;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-side-menu .layui-nav {
|
|
|
|
|
width: 220px;
|
|
|
|
|
background: 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-side-menu .layui-side-scroll {
|
|
|
|
|
width: 240px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-side-menu .layui-side-scroll:before {
|
|
|
|
|
content: " ";
|
|
|
|
|
height: 50px;
|
|
|
|
|
line-height: 50px;
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-side .user-photo {
|
|
|
|
|
/*margin-top: 50px;*/
|
|
|
|
|
width: 220px !important;
|
|
|
|
|
border-top: 1px solid #333555;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav .layui-nav-item a,
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav .layui-nav-item .layui-nav-child a {
|
|
|
|
|
height: 40px;
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
/*padding-left: 25px;*/
|
|
|
|
|
padding-left: 45px;
|
|
|
|
|
padding-right: 30px;
|
|
|
|
|
color: #FFF;
|
|
|
|
|
/*color: #f2f2f2;*/
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav .layui-nav-item.layui-this a,
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav .layui-nav-item.layui-this .layui-nav-child a {
|
|
|
|
|
color: #FFF !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav-item a:hover {
|
|
|
|
|
background-color: #4E5465;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left.layui-side-menu .layui-this a:hover {
|
|
|
|
|
background-color: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav .layui-nav-item .layui-icon,
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav .layui-nav-item a i {
|
|
|
|
|
position: absolute;
|
|
|
|
|
padding-right: 10px;
|
|
|
|
|
left: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav .layui-nav-item .layui-nav-child a i {
|
|
|
|
|
position: static !important;
|
|
|
|
|
padding-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-26 09:08:33 +00:00
|
|
|
/*第三级菜单及其一下的缩进样式*/
|
|
|
|
|
#navBar .layui-nav-child .layui-nav-child > dd > a {
|
2019-05-27 01:24:17 +00:00
|
|
|
padding-left: 65px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-26 09:08:33 +00:00
|
|
|
/*第四级菜单及其一下的缩进样式*/
|
|
|
|
|
#navBar .layui-nav-child .layui-nav-child .layui-nav-child > dd > a {
|
|
|
|
|
padding-left: 90px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*第五级菜单及其一下的缩进样式*/
|
|
|
|
|
#navBar .layui-nav-child .layui-nav-child .layui-nav-child .layui-nav-child > dd > a {
|
|
|
|
|
padding-left: 115px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-05-27 01:24:17 +00:00
|
|
|
.ok-left .user-photo {
|
|
|
|
|
width: 200px;
|
|
|
|
|
height: 120px;
|
|
|
|
|
padding: 15px 0 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left .user-photo a.img {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 80px;
|
|
|
|
|
height: 80px;
|
|
|
|
|
margin: 0 auto 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left .user-photo a.img img {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
-webkit-border-radius: 50%;
|
|
|
|
|
-moz-border-radius: 50%;
|
|
|
|
|
border: 4px solid #44576b;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left .user-photo p {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 25px;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
line-height: 25px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#navBar ul {
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**顶部tab标签样式**/
|
|
|
|
|
|
|
|
|
|
.okadmin-pagetabs {
|
|
|
|
|
padding: 0 80px 0 40px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
width: 100%;
|
|
|
|
|
/*box-sizing: border-box;*/
|
|
|
|
|
position: absolute;
|
|
|
|
|
height: 40px;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
border-bottom: 1px solid #e6e6e6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-tabs-control {
|
|
|
|
|
height: 40px;
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 40px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all .3s;
|
|
|
|
|
-webkit-transition: all .3s;
|
|
|
|
|
border-left: 1px solid #E6E6E6;
|
|
|
|
|
border-bottom: 1px solid #E6E6E6;
|
|
|
|
|
background: #FFF;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-tabs-control:hover {
|
|
|
|
|
background: #F2F2F2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-icon-prev {
|
|
|
|
|
left: 0;
|
|
|
|
|
border-left: none;
|
|
|
|
|
border-right: 1px solid #E6E6E6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-icon-next {
|
|
|
|
|
right: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-icon-down {
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-tabs-select.layui-nav {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background: 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab .layui-tab-title {
|
|
|
|
|
margin: 0 80px 0 40px;
|
2019-06-05 03:08:07 +00:00
|
|
|
overflow-x: hidden !important;
|
2019-05-27 01:24:17 +00:00
|
|
|
overflow-y: hidden !important;
|
2019-06-05 03:08:07 +00:00
|
|
|
width: max-content !important;
|
2019-05-27 01:24:17 +00:00
|
|
|
z-index: 9;
|
2019-06-05 03:08:07 +00:00
|
|
|
position: relative;
|
|
|
|
|
left: 0;
|
2019-05-27 01:24:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab-title cite {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
font-style: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-nav a {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-nav .okadmin-nav-item .okadmin-link {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-nav .okadmin-nav-item:hover .okadmin-nav-child {
|
|
|
|
|
display: block !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-nav .okadmin-nav-item .okadmin-nav-child {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 40px;
|
|
|
|
|
right: 0;
|
|
|
|
|
display: none;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
line-height: 36px;
|
|
|
|
|
padding: 5px 0;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
|
|
|
|
|
border: 1px solid #d2d2d2;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-nav .okadmin-nav-item a {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
color: #000;
|
|
|
|
|
transition: all .3s;
|
|
|
|
|
-webkit-transition: all .3s;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-nav .okadmin-nav-item .okadmin-nav-child:visited {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-nav .okadmin-nav-item a:hover {
|
|
|
|
|
background: #F2F2F2;
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-01 03:34:19 +00:00
|
|
|
/*中国天气样式*/
|
2019-08-22 14:32:03 +00:00
|
|
|
.weather-ok {
|
2019-07-01 03:34:19 +00:00
|
|
|
height: 49px;
|
|
|
|
|
line-height: 49px;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
.weather-ok .iframe-style {
|
2019-07-01 03:34:19 +00:00
|
|
|
/*height: 415px;*/
|
2019-07-06 09:07:24 +00:00
|
|
|
/*height: 375px;*/
|
|
|
|
|
height: 50px;
|
2019-07-01 03:34:19 +00:00
|
|
|
padding-top: 5px;
|
2019-07-06 09:07:24 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
.weather-ok .iframe-style:hover {
|
2019-07-18 03:14:07 +00:00
|
|
|
height: 380px;
|
2019-07-01 03:34:19 +00:00
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-05-27 01:24:17 +00:00
|
|
|
/*主体内容样式*/
|
|
|
|
|
.okadmin .content-body {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50px;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 42px;
|
|
|
|
|
left: 220px;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
overflow: hidden
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-06-21 03:18:19 +00:00
|
|
|
.okadmin .content-body:after {
|
|
|
|
|
content: "";
|
|
|
|
|
max-height: 1px;
|
|
|
|
|
min-height: 1px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
background: #e6e6e6;
|
|
|
|
|
z-index: 999;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 40px;
|
|
|
|
|
}
|
2019-05-27 01:24:17 +00:00
|
|
|
|
|
|
|
|
.okadmin-tabs-select.layui-nav .layui-nav-item {
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-nav-item {
|
|
|
|
|
height: 49px;
|
|
|
|
|
line-height: 49px;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
width: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*主体内容选项卡内容样式*/
|
2019-08-22 14:32:03 +00:00
|
|
|
.content-body .layui-tab {
|
2019-05-27 01:24:17 +00:00
|
|
|
margin: 0;
|
2019-06-21 03:18:19 +00:00
|
|
|
/*position: relative;*/
|
2019-05-27 01:24:17 +00:00
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-05-27 01:24:17 +00:00
|
|
|
.okadmin .content-body .layui-tab-content {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 40px;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab .layui-tab-title li:hover {
|
|
|
|
|
background: #F6F6F6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab .layui-tab-title li:hover:after {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab .layui-tab-title li {
|
|
|
|
|
border-right: 1px solid #f6f6f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab .layui-tab-title li:after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
-ms-transform: translateX(-50%); /* IE 9 */
|
|
|
|
|
-webkit-transform: translateX(-50%); /* Safari and Chrome */
|
|
|
|
|
width: 0;
|
|
|
|
|
height: 2px;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
background-color: #292B34;
|
|
|
|
|
transition: all .3s;
|
|
|
|
|
-webkit-transition: all .3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.ok-tab .layui-tab-brief > .layui-tab-more li.layui-this,
|
|
|
|
|
.ok-tab .layui-tab-brief > .layui-tab-title .layui-this,
|
|
|
|
|
.ok-tab .layui-tab-title li.layui-this {
|
|
|
|
|
background: #F6F6F6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab .layui-tab-brief > .layui-tab-more li.layui-this:after,
|
|
|
|
|
.ok-tab .layui-tab-brief > .layui-tab-title .layui-this:after,
|
|
|
|
|
.ok-tab .layui-tab-title .layui-this:after {
|
|
|
|
|
border-color: #000 !important;
|
|
|
|
|
border-bottom: 0 !important;
|
|
|
|
|
border-top: 2px solid #000 !important;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-tab .layui-tab-title .layui-this:after {
|
|
|
|
|
background: #20222A !important;
|
|
|
|
|
bottom: auto;
|
|
|
|
|
top: 0 !important;
|
|
|
|
|
height: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*使iframe高度100%,它的父类高度也需要100%*/
|
|
|
|
|
.okadmin .content-body .layui-tab-content .layui-tab-item {
|
|
|
|
|
height: 100%
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*使iframe高度100*/
|
|
|
|
|
.okadmin .content-body .layui-tab-content .layui-tab-item iframe {
|
|
|
|
|
height: 100%
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**隐藏左侧菜单**/
|
|
|
|
|
.layui-layout-admin.ok-left-hide .ok-left,
|
|
|
|
|
.layui-layout-admin.ok-left-hide .ok-left .okadmin-logo {
|
|
|
|
|
left: -220px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin.ok-left-hide .layui-header .layui-layout-left {
|
|
|
|
|
left: -20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin.ok-left-hide .content-body,
|
|
|
|
|
.layui-layout-admin.ok-left-hide .layui-footer {
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
2019-08-21 05:28:51 +00:00
|
|
|
|
|
|
|
|
/**********登录页的样式**********/
|
2019-08-22 14:32:03 +00:00
|
|
|
.page-fill {
|
2019-08-21 05:28:51 +00:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-21 05:28:51 +00:00
|
|
|
#login .layui-block {
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-08-21 05:28:51 +00:00
|
|
|
#login {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-image: url('../images/login-bg.jpg');
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-08-21 05:28:51 +00:00
|
|
|
#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;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
#login #code {
|
2019-08-21 05:28:51 +00:00
|
|
|
padding-right: 110px;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-08-22 14:42:37 +00:00
|
|
|
#login .captcha-box .img {
|
2019-08-21 05:28:51 +00:00
|
|
|
position: absolute;
|
|
|
|
|
top: 1px;
|
|
|
|
|
bottom: 1px;
|
|
|
|
|
right: 1px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
width: 100px;
|
|
|
|
|
background: #C4E1CE;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
#login .layui-form-item input {
|
|
|
|
|
background: #FFF !important;
|
2019-08-21 05:28:51 +00:00
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-08-21 05:28:51 +00:00
|
|
|
#login .layui-form-item input,
|
2019-08-22 14:32:03 +00:00
|
|
|
#login .layui-form-item label {
|
2019-08-21 05:28:51 +00:00
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
|
-webkit-transition: all 0.3s ease-in-out;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
#login .layui-form-item input::placeholder {
|
|
|
|
|
color: transparent !important;
|
2019-08-21 05:28:51 +00:00
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
#login .layui-form-item.layui-input-focus input::placeholder {
|
|
|
|
|
color: #757575 !important;
|
2019-08-21 05:28:51 +00:00
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-08-21 05:28:51 +00:00
|
|
|
#login .layui-form-item.layui-input-focus label,
|
2019-08-22 14:32:03 +00:00
|
|
|
#login .layui-form-item.layui-input-active label {
|
2019-08-21 05:28:51 +00:00
|
|
|
top: -10px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #ff6700;
|
2019-08-22 14:32:03 +00:00
|
|
|
background: #fff !important;
|
2019-08-21 05:28:51 +00:00
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
2019-05-27 01:24:17 +00:00
|
|
|
/*
|
|
|
|
|
* 以下都是移动端的处理响应
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* 这里只是给元素加一些额外的效果也可以,去掉媒体查询效果一样*/
|
|
|
|
|
@media screen {
|
|
|
|
|
.layui-layout-admin .ok-left,
|
|
|
|
|
.ok-left .okadmin-logo,
|
|
|
|
|
.layui-header .layui-layout-left,
|
|
|
|
|
.layui-layout-admin .content-body,
|
|
|
|
|
.layui-layout-admin .layui-footer {
|
|
|
|
|
transition: left .5s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**移动端遮罩层**/
|
|
|
|
|
.ok-make {
|
|
|
|
|
position: fixed;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
z-index: 9998;
|
|
|
|
|
background: rgba(0, 0, 0, .5);
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2019-08-22 14:32:03 +00:00
|
|
|
|
|
|
|
|
@media screen and (max-width: 970px) {
|
|
|
|
|
/*当屏幕宽度小于970时执行*/
|
|
|
|
|
.ok-hide-md {
|
|
|
|
|
display: none !important;
|
2019-05-27 01:24:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
|
[pc-show] {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin .ok-left {
|
|
|
|
|
position: fixed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-input-search {
|
|
|
|
|
width: 7rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin.ok-left-hide .ok-left,
|
|
|
|
|
.layui-layout-admin.ok-left-hide .ok-left .okadmin-logo {
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.okadmin-header .layui-layout-left .layui-nav-item {
|
|
|
|
|
margin: 0 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin.ok-left-hide .ok-make {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin .ok-left,
|
|
|
|
|
.ok-left .okadmin-logo {
|
|
|
|
|
transition: left .5s;
|
|
|
|
|
left: -220px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-header .layui-layout-left {
|
|
|
|
|
transition: left .5s;
|
|
|
|
|
left: -20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layui-layout-admin .content-body,
|
|
|
|
|
.layui-layout-admin .layui-footer {
|
|
|
|
|
transition: left .5s;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left .okadmin-side .user-photo {
|
|
|
|
|
height: auto;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left .user-photo a.img {
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 移动端菜单的宽度
|
|
|
|
|
*/
|
|
|
|
|
.layui-side-menu .layui-side-scroll {
|
|
|
|
|
width: 200px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ok-left,
|
|
|
|
|
.ok-left .okadmin-logo,
|
|
|
|
|
.ok-left .okadmin-side .user-photo,
|
|
|
|
|
.ok-left.layui-side-menu .layui-nav {
|
|
|
|
|
width: 180px !important;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|