ok-admin/css/okadmin.css

115 lines
1.8 KiB
CSS
Raw Normal View History

2018-05-05 16:00:49 +00:00
@charset "utf-8";
@import "../lib/layui/css/layui.css";
/*顶部导航菜单*/
.layui-layout-admin .layui-logo {
color: #fff;
font-size: 20px;
}
.layui-nav {
padding: 0;
}
.layui-layout-left {
left: 235px;
}
.menu-switch {
width: 30px;
height: 30px;
position: relative;
left: 200px;
top: 18px;
color: #fff;
background-color: #1AA094;
text-align: center;
line-height: 30px;
cursor: pointer;
}
/*主体内容*/
2018-06-03 17:09:10 +00:00
.content-body {
position: absolute;
top: 46px;
right: 0px;
bottom: 42px;
left: 200px;
z-index: 1;
overflow: hidden;
2018-05-05 16:00:49 +00:00
}
2018-06-03 17:09:10 +00:00
.content-body .layui-tab-content {
position: absolute;
top: 50px;
bottom: 0px;
width: 100%;
padding: 0px;
overflow: hidden;
}
/*使iframe高度100%,它的父类高度也需要100%*/
.content-body .layui-tab-content .layui-tab-item {
2018-05-05 16:00:49 +00:00
height: 100%;
}
2018-06-03 17:09:10 +00:00
.content-body .layui-tab-content .layui-tab-item iframe {
height: 100%;
2018-05-05 16:00:49 +00:00
}
2018-06-03 17:09:10 +00:00
/*定义一些常量值*/
.ok-body {
padding: 10px;
2018-05-05 16:00:49 +00:00
}
2018-06-03 17:09:10 +00:00
.ok-body-breadcrumb {
position: relative;
line-height: 39px;
height: 39px;
border-bottom: 1px solid rgb(229, 229, 229);
2018-05-05 16:00:49 +00:00
}
2018-06-03 17:09:10 +00:00
/*
.ok-search {
text-align: center;
}
.ok-search input.layui-input {
width: 190px;
}*/
/*美化滚动条代码*/
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-button:vertical {
display: none;
}
::-webkit-scrollbar-track:vertical {
background-color: black;
}
::-webkit-scrollbar-track-piece {
background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb:vertical {
margin-right: 10px;
background-color: #A6A6A6;
}
::-webkit-scrollbar-thumb:vertical:hover {
background-color: #aaa;
}
::-webkit-scrollbar-corner:vertical {
background-color: #535353;
}
::-webkit-scrollbar-resizer:vertical {
background-color: #FF6E00;
}