branch_shen
shen 3 months ago
parent 0d66630248
commit d9fe360dd9

@ -1,433 +1,439 @@
@charset "utf-8";
@import url(../lib/layui/css/layui.css);
*{
/* 全局样式 */
* {
margin: 0px;
padding: 0px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a{
text-decoration: none;
a {
text-decoration: none; /* 去掉链接下划线 */
}
html{
html {
width: 100%;
height: 100%;
overflow-x:hidden;
overflow-y:auto;
overflow-x: hidden; /* 隐藏水平滚动条 */
overflow-y: auto; /* 允许垂直滚动 */
}
body{
body {
width: 100%;
min-height: 100%;
min-height: 100%; /* 最小高度为视口高度 */
}
.x-body{
padding: 20px;
/* 页面主体内容样式 */
.x-body {
padding: 20px; /* 内边距 */
}
.x-nav{
padding: 0 20px;
position: relative;
z-index: 99;
border-bottom: 1px solid #e5e5e5;
line-height: 39px;
height: 39px;
overflow: hidden;
.x-nav {
padding: 0 20px; /* 左右内边距 */
position: relative; /* 相对定位 */
z-index: 99; /* 层级 */
border-bottom: 1px solid #e5e5e5; /* 底部边框 */
line-height: 39px; /* 行高 */
height: 39px; /* 固定高度 */
overflow: hidden; /* 隐藏溢出内容 */
}
xblock{
display: block;
margin-bottom: 10px;
padding: 5px;
line-height: 22px;
/* border-left: 5px solid #009688; */
border-radius: 0 2px 2px 0;
background-color: #f2f2f2;
xblock {
display: block; /* 块级元素 */
margin-bottom: 10px; /* 下边距 */
padding: 5px; /* 内边距 */
line-height: 22px; /* 行高 */
border-radius: 0 2px 2px 0; /* 圆角 */
background-color: #f2f2f2; /* 背景色 */
}
.x-right{
float: right;
.x-right {
float: right; /* 右浮动 */
}
.x-so{
/*text-align: center;*/
/*background: #f2f2f2 url() 0 0 no-repeat;*/
margin-bottom: 20px;
.x-so {
margin-bottom: 20px; /* 下边距 */
}
.x-so input.layui-input{
width: 150px;
padding-left: 25px;
.x-so input.layui-input {
width: 150px; /* 宽度 */
padding-left: 25px; /* 左内边距 */
}
.x-so .layui-form-label{
display: inline-block;
.x-so .layui-form-label {
display: inline-block; /* 行内块级元素 */
}
.x-so input.layui-input,.x-so input.layui-btn{
display: inline-block;
.x-so input.layui-input, .x-so input.layui-btn {
display: inline-block; /* 行内块级元素 */
}
.x-red{
color: red;
.x-red {
color: red; /* 红色字体 */
}
.x-a{
color: #1AA093;
.x-a {
color: #1AA093; /* 绿色字体 */
}
.x-a:hover{
color: #127F74;
.x-a:hover {
color: #127F74; /* 悬停时的颜色 */
}
.x-sort{
height: 30px;
.x-sort {
height: 30px; /* 高度 */
}
.x-show{
cursor: pointer;
.x-show {
cursor: pointer; /* 鼠标指针 */
}
.layui-form-switch{
margin-top: 0px;
.layui-form-switch {
margin-top: 0px; /* 上边距 */
}
.layui-input:focus, .layui-textarea:focus {
border-color: #189f92!important;
}
.page{
margin-top: 20px;
text-align: center;
border-color: #189f92!important; /* 焦点状态下的边框颜色 */
}
.page a{
display: inline-block;
background: #fff url(#) 0 0 no-repeat;
color: #888;
padding: 10px;
min-width: 15px;
border: 1px solid #E2E2E2;
/* 分页样式 */
.page {
margin-top: 20px; /* 上边距 */
text-align: center; /* 居中对齐 */
}
.page a {
display: inline-block; /* 行内块级元素 */
background: #fff url(#) 0 0 no-repeat; /* 背景图 */
color: #888; /* 灰色字体 */
padding: 10px; /* 内边距 */
min-width: 15px; /* 最小宽度 */
border: 1px solid #E2E2E2; /* 边框 */
}
.page span {
display: inline-block; /* 行内块级元素 */
padding: 10px; /* 内边距 */
min-width: 15px; /* 最小宽度 */
border: 1px solid #E2E2E2; /* 边框 */
}
.page span.current {
display: inline-block; /* 行内块级元素 */
background: #009688 url(#) 0 0 no-repeat; /* 背景图 */
color: #fff; /* 白色字体 */
padding: 10px; /* 内边距 */
min-width: 15px; /* 最小宽度 */
border: 1px solid #009688; /* 边框 */
}
.page .pagination li {
display: inline-block; /* 行内块级元素 */
margin-right: 5px; /* 右边距 */
text-align: center; /* 居中对齐 */
}
.page .pagination li.active span {
background: #009688 url(#) 0 0 no-repeat; /* 背景图 */
color: #fff; /* 白色字体 */
border: 1px solid #009688; /* 边框 */
}
.page span{
display: inline-block;
padding: 10px;
min-width: 15px;
border: 1px solid #E2E2E2;
}
.page span.current{
display: inline-block;
background: #009688 url(#) 0 0 no-repeat;
color: #fff;
padding: 10px;
min-width: 15px;
border: 1px solid #009688;
}
.page .pagination li{
display: inline-block;
margin-right: 5px;
text-align: center;
}
.page .pagination li.active span{
background: #009688 url(#) 0 0 no-repeat;
color: #fff;
border: 1px solid #009688;
}
/* 登录样式 */
/* 头部 */
.container {
width: 100%; /* 宽度 */
height: 45px; /* 高度 */
background-color: #222; /* 背景色 */
border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 底部边框 */
}
.container .logo a {
float: left; /* 左浮动 */
color: #fff; /* 白色字体 */
font-size: 18px; /* 字体大小 */
padding-left: 20px; /* 左内边距 */
line-height: 45px; /* 行高 */
width: 200px; /* 宽度 */
}
.container .right {
background-color: rgba(0,0,0,0); /* 透明背景 */
float: right; /* 右浮动 */
}
.container .left_open {
height: 45px; /* 高度 */
float: left; /* 左浮动 */
}
.container .left_open i {
display: block; /* 块级元素 */
background: rgba(255,255,255,0.1) url(#) 0 0 no-repeat; /* 背景图 */
color: #fff; /* 白色字体 */
width: 32px; /* 宽度 */
height: 32px; /* 高度 */
line-height: 32px; /* 行高 */
border-radius: 3px; /* 圆角 */
text-align: center; /* 居中对齐 */
margin-top: 7px; /* 上边距 */
cursor: pointer; /* 鼠标指针 */
}
.container .left_open i:hover {
background: rgba(255,255,255,0.3) url(#) 0 0 no-repeat; /* 悬停时的背景图 */
}
.container .left {
background-color: rgba(0,0,0,0); /* 透明背景 */
float: left; /* 左浮动 */
}
.container .layui-nav-item {
line-height: 45px; /* 行高 */
}
.container .layui-nav-more {
top: 20px; /* 上边距 */
}
.container .layui-nav-child {
top: 50px; /* 上边距 */
}
.container .layui-nav-child i {
margin-right: 10px; /* 右边距 */
}
.left-nav {
position: absolute; /* 绝对定位 */
top: 46px; /* 上边距 */
bottom: 42px; /* 下边距 */
left: 0; /* 左边距 */
z-index: 2; /* 层级 */
padding-top: 10px; /* 上内边距 */
width: 220px; /* 宽度 */
max-width: 220px; /* 最大宽度 */
background-color: #EEEEEE; /* 背景色 */
overflow: auto; /* 自动溢出处理 */
/*登录样式*/
/*头部*/
.container{
width: 100%;
height: 45px;
background-color: #222;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.container .logo a{
float: left;
color: #fff;
font-size: 18px;
padding-left: 20px;
line-height: 45px;
width: 200px;
}
.container .right{
background-color:rgba(0,0,0,0);
float: right;
}
.container .left_open{
height: 45px;
float: left;
}
.container .left_open i{
display: block;
background: rgba(255,255,255,0.1) url(#) 0 0 no-repeat;
color: #fff;
width: 32px;
height: 32px;
line-height: 32px;
border-radius: 3px;
text-align: center;
margin-top: 7px;
cursor: pointer;
}
.container .left_open i:hover{
background: rgba(255,255,255,0.3) url(#) 0 0 no-repeat;
}
.container .left{
background-color:rgba(0,0,0,0);
float: left;
}
.container .layui-nav-item{
line-height: 45px;
}
.container .layui-nav-more{
top: 20px;
}
.container .layui-nav-child{
top: 50px;
}
.container .layui-nav-child i{
margin-right: 10px;
}
.layui-nav .layui-nav-item a{
color: #fff;
cursor: pointer;
}
.layui-nav .layui-nav-child a{
color: #333;
cursor: pointer;
}
.left-nav{
position: absolute;
top: 46px;
bottom: 42px;
left: 0;
z-index: 2;
padding-top: 10px;
background-color: #EEEEEE;
width: 220px;
max-width: 220px;
overflow: auto;
overflow-x:hidden;
/* 设置溢出内容不显示 */
overflow-x: hidden;
border-right: 1px solid #e5e5e5;
/*width: 0px;*/
}
.left-nav #nav li{
border-bottom: 1px solid #e5e5e5;
}
.left-nav #nav li:hover > a{
/*color: blue;*/
}
.left-nav #nav .current{
background-color: rgba(0, 0, 0, 0.3);
}
.left-nav #nav li a{
font-size: 14px;
padding: 10px 15px 10px 20px;
display: block;
cursor: pointer;
}
.left-nav #nav li a cite{
font-size: 14px;
}
/* 左侧导航样式 */
.left-nav {
/* 宽度设置为0注释掉的代码可以设置具体宽度 */
/* width: 0px; */
}
.left-nav #nav li .sub-menu{
display: none;
}
.left-nav #nav li .opened{
display: block;
}
.left-nav #nav li .opened:hover{
/*background: #fff url() 0 0 no-repeat;*/
}
.left-nav #nav li .opened .current{
}
.left-nav #nav li .sub-menu li:hover{
/*color: blue;*/
/*background: #fff url() 0 0 no-repeat;*/
}
.left-nav #nav li .sub-menu li a{
padding: 12px 15px 12px 30px;
font-size: 14px;
cursor: pointer;
}
.left-nav #nav li .sub-menu li .sub-menu li a{
padding-left: 45px;
}
.left-nav #nav li .sub-menu li a:hover{
color: #148cf1;
}
.left-nav #nav li .sub-menu li a i{
font-size: 12px;
}
.left-nav #nav li a i{
padding-right: 10px;
line-height: 14px;
}
.left-nav #nav li .nav_right{
float: right;
font-size: 16px;
}
.x-slide_left {
width: 17px;
height: 61px;
background: url(#) 0 0 no-repeat;
position: absolute;
top: 200px;
left: 221px;
cursor: pointer;
z-index: 3;
}
.page-content{
position: absolute;
top: 46px;
right: 0;
bottom: 42px;
left: 221px;
overflow: hidden;
z-index: 1;
}
.page-content-bg{
position: absolute;
top: 46px;
right: 0;
bottom: 42px;
left: 221px;
background: rgba(0,0,0,0.5); url() 0 0 no-repeat;
overflow: hidden;
z-index: 100;
display: none;
}
/* 左侧导航列表项样式 */
.left-nav #nav li {
border-bottom: 1px solid #e5e5e5; /* 底部边框 */
}
.page-content .tab{
height: 100%;
width: 100%;
background: #EFEEF0 url(#) 0 0 no-repeat;
margin: 0px;
}
.page-content .layui-tab-title{
/*padding-top: 5px;*/
height: 35px;
background: #EFEEF0 url(#) 0 0 no-repeat;
position: relative;
z-index: 100;
}
.page-content .layui-tab-title li.home i{
padding-right: 5px;
}
.page-content .layui-tab-title li.home .layui-tab-close{
display: none;
}
.page-content .layui-tab-title li{
line-height: 35px;
}
.page-content .layui-tab-title .layui-this:after{
height: 36px;
}
.page-content .layui-tab-title li .layui-tab-close{
border-radius: 50%;
}
.page-content .layui-tab-title .layui-this{
background: #fff url(#) 0 0 no-repeat;
}
.page-content .layui-tab-bar{
height:34px;
line-height: 35px;
}
.page-content .layui-tab-content{
position: absolute;
top: 36px;
bottom: 0px;
width: 100%;
background: #fff url(#) 0 0 no-repeat;
padding: 0px;
overflow: hidden;
}
.page-content .layui-tab-content .layui-tab-item{
width: 100%;
height: 100%;
/* 左侧导航列表项鼠标悬停样式 */
.left-nav #nav li:hover > a {
/* color: blue; */ /* 注释掉的颜色设置 */
}
}
.page-content .layui-tab-content .layui-tab-item iframe{
width: 100%;
height: 100%;
/* 左侧导航列表项当前选中样式 */
.left-nav #nav li .current {
background-color: rgba(0, 0, 0, 0.3); /* 背景色 */
}
}
.x-admin-carousel,.layui-carousel,.x-admin-carousel>[carousel-item]>* {
background-color:#fff
}
/* 左侧导航子菜单默认隐藏 */
.left-nav #nav li .sub-menu {
display: none;
}
.x-admin-backlog .x-admin-backlog-body {
display:block;
padding:10px 15px;
background-color:#f8f8f8;
color:#999;
border-radius:2px;
transition:all .3s;
-webkit-transition:all .3s
}
.x-admin-backlog-body h3 {
padding-bottom:10px;
font-size:12px
}
.x-admin-backlog-body p cite {
font-style:normal;
font-size:30px;
font-weight:300;
color:#009688
}
.x-admin-backlog-body:hover {
background-color:#CFCFCF;
color:#888
}
/* 左侧导航子菜单打开状态 */
.left-nav #nav li .opened {
display: block;
}
.welcome-footer{padding: 30px 0; line-height: 30px; text-align: center; background-color: #eee; color: #666; font-weight: 300;}
body .layui-layout-admin .footer-demo{height: auto; padding: 15px 0; line-height: 26px;}
.welcome-footer a{padding: 0 5px;}
/* 左侧导航子菜单打开状态鼠标悬停样式 */
.left-nav #nav li .opened:hover {
/* background: #fff url() 0 0 no-repeat; */ /* 注释掉的背景图设置 */
}
table th, table td {
word-break: break-all;
}
/* 左侧导航子菜单当前选中样式 */
.left-nav #nav li .opened .current {
/* background: rgba(0, 0, 0, 0); */ /* 注释掉的背景色设置 */
}
.footer{
position: fixed;
bottom: 0px;
width: 100%;
background-color: #222;
border-top: 1px solid rgba(255, 255, 255, 0.2);
line-height: 41px;
color: #fff;
/*padding-left: 10px;*/
}
.footer .copyright{
margin-left: 10px;
}
/* 左侧导航子菜单列表项样式 */
.left-nav #nav li .sub-menu li a {
padding: 12px 15px 12px 30px; /* 内边距 */
font-size: 14px; /* 字体大小 */
cursor: pointer; /* 鼠标指针样式 */
}
/* 左侧导航子菜单列表项二级菜单样式 */
.left-nav #nav li .sub-menu li .sub-menu li a {
padding-left: 45px; /* 左内边距 */
}
@media screen and (max-width: 768px){
.fast-add{
display: none;
/* 左侧导航子菜单列表项鼠标悬停样式 */
.left-nav #nav li .sub-menu li:hover a {
color: #148cf1; /* 颜色 */
/* background: #fff url() 0 0 no-repeat; */ /* 注释掉的背景图设置 */
}
.layui-nav .to-index{
display: none;
/* 左侧导航子菜单列表项图标样式 */
.left-nav #nav li .sub-menu li a i {
font-size: 12px; /* 字体大小 */
}
.container .logo a{
width: 140px;
/* 左侧导航列表项右侧箭头样式 */
.left-nav #nav li a i {
float: right; /* 右浮动 */
font-size: 16px; /* 字体大小 */
line-height: 14px; /* 行高 */
padding-right: 10px; /* 右内边距 */
}
/* 页面内容样式 */
.page-content {
position: absolute; /* 绝对定位 */
top: 46px; /* 顶部位置 */
right: 0; /* 右边位置 */
bottom: 42px; /* 底部位置 */
left: 221px; /* 左边位置 */
overflow: hidden; /* 隐藏溢出内容 */
z-index: 1; /* z轴顺序 */
}
/* 页面内容背景样式 */
.page-content-bg {
position: absolute; /* 绝对定位 */
top: 46px; /* 顶部位置 */
right: 0; /* 右边位置 */
bottom: 42px; /* 底部位置 */
left: 221px; /* 左边位置 */
background: rgba(0, 0, 0, 0.5); /* 背景色 */
url(); /* 背景图 */
z-index: 100; /* z轴顺序 */
display: none; /* 默认隐藏 */
}
/* x轴滑动按钮样式 */
.x-slide_left {
width: 17px; /* 宽度 */
height: 61px; /* 高度 */
background: url(#) 0 0 no-repeat; /* 背景图 */
position: absolute; /* 绝对定位 */
top: 200px; /* 顶部位置 */
left: 221px; /* 左边位置 */
cursor: pointer; /* 鼠标指针样式 */
z-index: 3; /* z轴顺序 */
}
.container .left_open {
/*float: right;*/
/* 页面内容标签页样式 */
.page-content .tab {
height: 100%; /* 高度 */
margin: 0px; /* 外边距 */
background: #EFEEF0 url(#) 0 0 no-repeat; /* 背景图 */
}
.left-nav{
left: -221px;
/* 页面内容标签页标题样式 */
.page-content .layui-tab-title {
height: 35px; /* 高度 */
background: #EFEEF0 url(#) 0 0 no-repeat; /* 背景图 */
position: relative; /* 相对定位 */
z-index: 100; /* z轴顺序 */
}
.page-content{
left: 0px;
/* 页面内容标签页标题当前选中样式 */
.page-content .layui-tab-title li.home i {
padding-right: 5px; /* 右内边距 */
}
.page-content .layui-tab-content .layui-tab-item{
-webkit-overflow-scrolling: touch;
overflow-y: scroll;
/* 页面内容标签页标题当前选中样式 */
.page-content .layui-tab-title li.home .layui-tab-close {
display: none; /* 隐藏关闭按钮 */
}
.x-so input.layui-input{
width: 100%;
margin: 10px;
/* 页面内容标签页标题当前选中样式 */
.page-content .layui-tab-title li {
line-height: 35px; /* 行高 */
}
.layui-input{
margin-left: 20px;
/* 页面内容标签页标题当前选中样式 */
.page-content .layui-tab-title li.layui-this:after {
height: 63px; /* 高度 */
}
/* 页面内容标签页标题当前选中样式 */
.page-content .layui-tab-title li.layui-this {
background: #fff url(#) 0 0 no-repeat; /* 背景图 */
}
/* 页面内容标签页标题当前选中样式 */
.page-content .layui-tab-title li.layui-this .layui-tab-close {
border-radius: 50%; /* 圆角 */
}
/* 页面内容标签页标题当前选中样式 */
.page-content .layui-tab-title li {
border-radius: 50%; /* 圆角 */
}
/* 页面内容标签页标题当前选中样式 */
.page-content .layui-tab-bar {
height: 34px; /* 高度 */
line-height: 34px; /* 行高 */
}
/* 页面内容标签页内容样式 */
.page-content .layui-tab-content {
top: 36px; /* 顶部位置 */
bottom: 0px; /* 底部位置 */
width: 100%; /* 宽度 */
background: #fff url(#) 0 0 no-repeat; /* 背景图 */
padding: 0px; /* 内边距 */
overflow: hidden; /* 隐藏溢出内容 */
}
/* 页面内容标签页内容项样式 */
.page-content .layui-tab-content .layui-tab-item {
width: 100%; /* 宽度 */
height: 100%; /* 高度 */
}
/* 页面内容标签页内容项iframe样式 */
.page-content .layui-tab-content .layui-tab-item iframe {
width: 100%; /* 宽度 */
height: 100%; /* 高度 */
}
/* xadmin后台日志样式 */
.x-admin-backlog-body {
display: block; /* 显示块级元素 */
padding: 10px 15px; /* 内边距 */
background-color: #f8f8f8; /* 背景色 */
color: #999; /* 文字颜色 */
border-radius: 2px; /* 圆角 */
transition: all .3s ease; /* CSS3过渡效果 */
}
/* xadmin后台日志标题样式 */
.x-admin-backlog-body h3 {
padding-bottom: 10px; /* 底部内边距 */
font-size: 12px; /* 字体大小 */
}
/* xadmin后台日志内容样式 */
.x-admin-backlog-body p {
font-style: normal; /* 正常字体风格 */
font-size: 30px; /* 字体大小 */
font-weight: 300; /* 字体粗细 */
color: #009689; /* 文字颜色 */
}
/* xadmin后台日志内容鼠标悬停样式 */
.x-admin-backlog-body:hover {
background-color: #CFCFCF; /* 背景色 */
color: #888; /* 文字颜色 */
}
/* welcome页脚样式 */
.welcome-footer {
padding: 30px 0; /* 内边距 */
text-align: center; /* 文本居中对齐 */
line-height: 30px; /* 行高 */
color: #eee; /* 文字颜色 */
background-color: #222; /* 背景色 */
border-top: 1px solid rgba(255, 255, 255, 0.1); /* 边框样式 */
}
/* foot页脚样式 */
.footer {
position: fixed; /* 固定定位 */
bottom: 0px; /* 底部位置 */
width: 100%; /* 宽度 */
background-color: #222; /* 背景色 */
line-height: 41px; /* 行高 */
color: #fff; /* 文字颜色 */
}
/* foot页脚版权样式 */
.footer .copyright {
margin-left: 10px; /* 左内边距 */
}
/* table表格样式 */
table th, table td {
word-break: break-all; /* CSS属性允许在单词内换行 */
}
}

Loading…
Cancel
Save