Pro/public/static/agent/css/xadmin.css
2026-02-25 01:50:31 +08:00

741 lines
14 KiB
CSS

@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;
}
html{
width: 100%;
height: 100%;
overflow-x:hidden;
overflow-y:auto;
}
body{
width: 100%;
min-height: 100%;
background:#F2F2F2;
}
.layui-input.layui-username{
border:none;
color:#AA947D;
}
.layui-input.readonly{
background:#F2F2F2;
color:#a9a4a4;
}
.layui-input.warning{
color:#ff622f;
border-color:#ff622f;
}
.layui-input.warning:hover{
border-color:#ff622f !important;
}
.layui-input::-webkit-input-placeholder{ /* WebKit, Blink, Edge */
color:#ccc;
}
.layui-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color:#ccc;
}
.layui-input::-moz-placeholder { /* Mozilla Firefox 19+ */
color:#ccc;
}
.layui-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
color:#ccc;
}
.layui-input.warning::-webkit-input-placeholder{ /* WebKit, Blink, Edge */
color:#ff622f;
}
.layui-input.warning:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color:#ff622f;
}
.layui-input.warning::-moz-placeholder { /* Mozilla Firefox 19+ */
color:#ff622f;
}
.layui-input.warning:-ms-input-placeholder { /* Internet Explorer 10-11 */
color:#ff622f;
}
input,textarea{
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
color:#795f45;
}
.layui-form-radio *{
color:#807c7c;
}
.layui-form-mid.warning{
color:#ff622f !important;
font-size:14px;
padding:0 5px;
}
.login-bg{
background-size: cover;
overflow: hidden;
/*background:url('/static/agent/images/bg.jpg') repeat-x;*/
background:#274640;
}
.login-bg .container .page-home .top_repeat{
background-size: cover;
height:100px;
/*background:url('/static/agent/images/top_repeat_bg.jpg') repeat-x ;*/
background:#274640;
}
.login-bg .container .page-home .login-logo{
height:200px;
padding:20px;
text-align:center;
}
.login-bg .container .page-home .login-logo img{
/*
height:114px;
width:160px;
*/
}
.login{
max-width: 420px;
padding:40px;
margin-left: auto;
margin-right: auto;
border-radius: 4px;
overflow-x: hidden;
box-sizing: border-box;
background:url('/static/agent/images/loginformbg.png') repeat-x ;
font-size:12px;
}
.login .form-label{
display:inline-block;
width:15%;
text-align:center;
font-weight:bold;
}
.login .layui-input{
width:80%;
display:inline-block;
height:28px;
}
.login .layui-button{
width:50%;
text-align:center;
margin-left:25%;
height:30px;
cursor:pointer;
font-size:13px;
}
.login .hr15, .login .hr20{
background:none;
}
.login a.logo{
display: block;
height: 58px;
width: 167px;
margin: 0 auto 30px auto;
background-size: 167px 42px;
}
.login .message {
position:relative;
left:50%;
top:-15px;
margin-left:-50px;
width:100px;
text-align:center;
background: #D4E0CC;
font-size: 14px;
border-radius:50px;
}
.x-body{
background:#fff;
width:98%;
margin:0 1%;
border-radius:10px;
padding-bottom:10px;
}
.x-body .layui-table thead tr{
background: #e0dada;
}
.x-body .layui-table thead th{
font-weight:bold;
color:#353232;
font-size:12px;
}
.x-body .search-btn{
height:28px;
line-height:28px;
font-size:12px;
}
.x-body .layui-btn.layui-operation{
height:20px;
line-height:20px;
padding:0 5px;
}
.x-body .layui-btn.layui-operation.child-add{
background:#5291bf;
}
.x-body .layui-btn.layui-operation.child-true{
background:#DDBF6B;
}
.x-body .layui-btn.layui-operation.child-false{
background:#FBFBFB;
cursor:not-allowed;
color:#ccc;
}
.x-body .search-input{
height:28px;
}
.x-body .layui-form .layui-form-label{
color:#807c7c;
}
.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;
}
.x-right{
float: right;
}
.x-so{
background: #fff;
padding:6px 20px;
border:1px solid #EEEEEE;
border-radius:10px;
}
.x-so input.layui-input{
width: 150px;
}
.x-so .layui-form-label{
display: inline-block;
}
.x-so input.layui-input,.x-so input.layui-btn{
display: inline-block;
}
.x-red{
color: red;
}
.x-a{
color: #1AA093;
}
.x-a:hover{
color: #127F74;
}
.x-sort{
height: 30px;
}
.x-show{
cursor: pointer;
}
.layui-form-switch{
margin-top: 0px;
}
.page{
margin:20px;
text-align: center;
}
.page a{
display: inline-block;
background: #fff;
color: #888;
padding: 10px;
min-width: 15px;
border: 1px solid #E2E2E2;
border-radius:2px;
}
.page span{
display: inline-block;
padding: 10px;
min-width: 15px;
border: 1px solid #E2E2E2;
}
.page span.current{
display: inline-block;
background: #807362;
color: #fff;
padding: 10px;
min-width: 15px;
border: 1px solid #807362;
border-radius:2px;
}
.page .pagination li{
display: inline-block;
margin-right: 5px;
text-align: center;
}
.page .pagination li.active span{
background: #807362 url() 0 0 no-repeat;
color: #fff;
border: 1px solid #807362;
border-radius:2px;
}
/*登录样式*/
/*头部*/
.container{
width: 100%;
height: 60px;
background-color: #222;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.container .logo a{
float: left;
color: #fff;
font-size: 18px;
padding:0 40px;
line-height: 60px;
}
.container .right{
background-color:rgba(0,0,0,0);
float: right;
}
.container .left_open{
height: 60px;
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: 60px;
}
.container .layui-nav-item.layui-this a{
color:#fff;
}
.container .layui-nav-more{
top: 30px;
}
.container .layui-nav-child{
top: 50px;
}
.container .layui-nav-child i{
margin-right: 10px;
}
.container .exit{
display:inline-block;
position:relative;
vertical-align:center;
top:5px;
background:#FF5722;
height:40px;
line-height:40px;
border-radius:5px;
margin:0 10px;
}
.container .exit a{
color:#fff;
display:block;
padding:0 20px;
}
.layui-nav .layui-nav-item a{
color: #ccc;
cursor: pointer;
}
.layui-nav .layui-nav-child a{
color: #333;
cursor: pointer;
}
.left-nav{
z-index: 2;
background-color: #dadada;
width:100%;
overflow: auto;
overflow-x:hidden;
border-right: 1px solid #e5e5e5;
}
.left-nav #nav li{
float:left;
display:none;
}
.left-nav #nav li.home{
display:block;
}
.left-nav #nav li a{
font-size: 15px;
font-weight:bold;
padding: 10px 15px 5px 20px;
display: block;
cursor: pointer;
text-decoration:underline;
}
.left-nav #nav li a:hover{
color:#A33D2F;
}
.x-slide_left {
width: 17px;
height: 61px;
background: url(../images/icon.png) 0 0 no-repeat;
position: absolute;
top: 200px;
left: 221px;
cursor: pointer;
z-index: 3;
}
.page-content{
position: absolute;
top: 62px;
right: 0;
bottom: 42px;
left: 0;
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;
}
.page-content .tab{
height: 100%;
width: 100%;
background: #EFEEF0 url() 0 0 no-repeat;
margin: 0px;
}
.page-content .layui-tab-title{
height: 40px;
background:#f3f3f3;
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: 40px;
}
.page-content .layui-tab-title .layui-this:after{
height: 42px;
}
.page-content .layui-tab-title li .layui-tab-close{
border-radius: 50%;
}
.page-content .layui-tab-bar{
height:34px;
line-height: 35px;
}
.page-content .layui-tab-content{
position: absolute;
top: 80px;
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%;
-webkit-overflow-scrolling: touch;
overflow:auto;
}
.page-content .layui-tab-content .layui-tab-item iframe{
width: 100%;
height: 99%;
}
.x-admin-carousel,.layui-carousel,.x-admin-carousel>[carousel-item]>* {
background-color:#fff
}
.x-admin-backlog .x-admin-backlog-body {
display:block;
padding:10px 15px;
color:#999;
border-radius:2px;
transition:all .3s;
-webkit-transition:all .3s
}
.x-admin-backlog-body div{
position:relative;
width:50%;
height:65px;
text-align:center;
border-radius:5px;
}
.x-admin-backlog-body div.icon-box{
color:#fff;
line-height:65px;
top:0;
left:0;
}
.x-admin-backlog-body div.num-box {
border:1px solid #ccc;
left:50%;
top:-65px;
}
.x-admin-backlog-body div.bg-blue{
background:#887856;
}
.x-admin-backlog-body div.bg-red{
background:#CC736C;
}
.x-admin-backlog-body div.bg-dark-green{
background:#127B72;
}
.x-admin-backlog-body div.bg-yellow-green{
background:#589A6B;
}
.x-admin-backlog-body div.bg-orange{
background:#AF6A54;
}
.x-admin-backlog-body div.bg-purple{
background:#5358a0;
}
.x-admin-backlog-body div.bg-yellow{
background:#F7B824;
}
.x-admin-backlog-body p cite {
font-style:normal;
font-size:30px;
font-weight:300;
color:#009688
}
.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;}
table th, table td {
word-break: break-all;
}
.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;
}
.footer .copyright{
margin-left: 10px;
}
/*表格滚动*/
/*.layui-table{min-width:1300px;}
.layui-form{overflow: auto}*/
/*.layui-tab-item{
-webkit-overflow-scrolling:touch;
overflow-x:auto;
overflow-y:hidden;
}
*/
.layui-tab-content .layui-tab-item {
position: absolute;
top:0;
bottom: 0;
left: 0;
right: 0;
padding: 0;
margin: 0;
}
.iframeClass {
position: absolute;
height: 100%;
width: 100%;
overflow: auto;
}
.scroll-wrapper {
-webkit-overflow-scrolling: touch;
overflow-y: scroll;
}
@media only screen and (max-width: 1000px){
.scroll-wrapper .layui-table{
min-width: 1500px;
}
.fast-add{
display: none;
}
.layui-nav .to-index{
display: none;
}
.container .logo a{
width: 140px;
}
.container .left_open {
/*float: right;*/
}
.left-nav{
left: -221px;
display:none;
position:absolute;
}
.layui-tab-title{
display:none;
position:absolute;
}
.to-hide{
display:none;
}
.page-content{
left: 0px;
}
.layui-form{
overflow:auto;
}
.x-so input.layui-input{
width: 150px;
margin: 10px;
}
.layui-tab-content{
top:10px !important;
}
.qrcode-box{width:10%;}
.member-count{display:block !important;}
.logo{display:none;}
.mobile-box{display:block !important;}
.layui-layer-iframe{
width:100% !important;
left:0;
}
.layui-form-label{
width:100px;
}
.layui-input,.layui-textarea,.layui-select{
width:80%;
}
.layui-form-mid{padding:0px !important;}
#createUsername{margin-left:130px;}
.layui-nav{padding:0;}
.layui-nav .layui-nav-item a{padding:0 5px;}
}
/* 手机版 */
.mobile-box{display:none;}
.mobile-box .menu{
position:absolute;
top:10px;
left:10px;
color:#fff;
height:40px;
line-height:40px;
width:70px;
background:#2B9C8E;
text-align:center;
font-size:16px;
border-radius:5px;
}
.mobile-box .menu-box{
position: absolute;
top: 60px;
left: -100%;
z-index: 99;
width: 70%;
background: rgba(0,0,0,0.8);
max-height:calc(100% - 60px);
overflow-y:auto;
transition: all .3s;
-webkit-transition: all .3s;
}
.mobile-box .menu-box.show{
left: 0;
}
.mobile-box .menu-box .list{
font-size: 14px;
color:#c2c2c2;
padding-left: 10px;
border-left: 5px solid rgba(43, 156, 142, 0);
transition: all .3s;
-webkit-transition: all .3s;
}
.mobile-box .active .list:first-child{
border-color:rgba(43, 156, 142, 1);
background-color: #4E5465;
color: #4ae475;
}
.mobile-box .menu-sub{
line-height: 45px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.mobile-box .menu-box ul{
height: 0;
overflow: hidden;
transition: all .3s;
-webkit-transition: all .3s;
padding-left: 20px;
}
.mobile-box .active .list ul{
height: auto;
}
.mobile-box .active .list ul .on{
color: #1ce4cb;
}
/* 遮罩loading */
.shadow{
background:#000;
opacity:0.2;
z-index:999;
width:100%;
height:100%;
position:fixed;
display:none;
}
.loading{
position:absolute;
left:50%;
top:50%;
z-index:1000;
height:50px;
width:50px;
display:none;
}