/* 以12设置长高度 */ .w-1 { width: 9.833%; } .w-2 { width: 16.666%; } .w-3 { width: 25%; } .w-4 { width: 33.333% } .w-5 { width: 41.666%; } .w-6 { width: 50%; } .w-7 { width: 58.333%; } .w-8 { width: 66.666%; } .w-9 { width: 75% } .w-10 { width: 83.333% } .w-11 { width: 91.666%; } .w-12 { width: 100%; } .w360 { width: 360px; } /* 左右浮动 */ .fix-left { float: left; } .fix-right { float: right; } /* 无法被选中 */ .not-select { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } /* absolute 顶部 居中 底部定位*/ .abs { position: absolute; z-index: 1; } .abs-top { top: 0; margin: 0 auto; } .abs-center { position: absolute; top: 0; bottom: 0; margin: auto; } .abs-left { top:0; bottom: 0; left: 0; } .abs-right { top:0; bottom: 0; right: 0; } .abs-bottom { bottom: 0; margin: 0 auto; } .left360 { left: 360px; } .abs-top0{ top: 0 !important;; } .abs-bottom0{ bottom: 0 !important; } /* float */ .fix-left { float: left; } .fix-right { float: right; } /* color */ .success { color: #2a65a0; } .danger { color: #FF0000; } .warn { color: #ffa500; } /* popup */ .popup { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: none; z-index: 9999; } .popup-container { position: relative; width: 100%; height: 100%; background-color: none; } .popup-container-content { position: absolute; top: 0; left: 0; background-color: none; background-color: none; } .popup-header { overflow: visible; padding: .5em 1em; border: 1px solid #d4d4d4; text-shadow: 1px 1px 0 #fff; color: #333; white-space: nowrap; background-color: #ececec; background-image: linear-gradient(#f4f4f4, #ececec); background-clip: padding-box; border-top-left-radius: .5em; border-top-right-radius: .5em; } .popup-header-title { font-weight: bold; } .popup-header .fa { font-size: 18px; } .popup-header .fa:hover { color: #FF0000; } .popup-content { width: 400px; padding: .5em 0; border-left: 1px solid #d4d4d4; border-right: 1px solid #d4d4d4; /* border-bottom: 1px solid #d4d4d4; */ background-color: #FFFFFF; } .popup-footer-btn { padding-top: .5em; border-top: 1px solid #d4d4d4; border-left: 1px solid #d4d4d4; border-right: 1px solid #d4d4d4; background-color: #FFFFFF; } .popup-footer-btn .btn { margin-right: 1.5em; } .popup-footer-bottom { overflow: visible; padding: .25em .5em; border-left: 1px solid #d4d4d4; border-right: 1px solid #d4d4d4; border-bottom: 1px solid #d4d4d4; text-shadow: 1px 1px 0 #fff; color: #333; white-space: nowrap; background-color: #FFFFFF; /* background-image: linear-gradient(#f4f4f4, #ececec); */ background-clip: padding-box; border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; } .popup-tblContentTwo { width: 49em; padding-left: .5em; padding-right: .5em; } .popup-tblContentTwo table { width: 100%; } .popup-tblContentTwo th, .popup-tblContentTwo td { padding: .2em 0; } .popup-tblContentTwo td i.fa { visibility: hidden; margin-left: .3em; font-size: 16px; color: red; } .popup-inputError i.fa { visibility: visible !important; } .popup-inputError input { border: 1px solid #FF0000 !important; } .popup-tblContentTwo input[type=text]{ width: 22em; height: 1.63em; border: 1px solid #bbbbbb; } .popup-tblContentTwo input[readonly=readonly] { background-color: #d4d4d4; } .popup-tblContentTwo select { width: 99%; height: 1.63em; border: 1px solid #bbbbbb; } /* btn */ .btn { display: inline-block; overflow: visible; padding: .5em 1em; border: 1px solid #d4d4d4; margin: 0; text-decoration: none; text-align: center; text-shadow: 1px 1px 0 #FFFFFF; color: #333; white-space: nowrap; cursor: pointer; background-color: #ececec; background-image: linear-gradient(#f4f4f4, #ececec); border-radius: .3em; } .btn:hover { border-color:#3072b3; border-bottom-color: #2a65a0; background-color: #3c8dde; text-shadow: -1px -1px 0 rgba(0, 0, 0, 3); color: #fff; background-image: linear-gradient(#599bdc, #3072b3) } .btn:active { border-color: #2a65a0; border-bottom-color: #3884cd; background-color: #3072b3; background-image: linear-gradient(#3072b3, #599bdc); } /* shadow */ .page-mask { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; opacity: .5; background-color: #000000; z-index: 9998; } /* checkbox */ .checkbox { display: inline; } .checkbox input[type=checkbox] { vertical-align: middle; } .whyc-confirm { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; background-color: rgba(192, 203, 243, 0.233); } .whyc-confirm-container { position: relative; width: 100%; height: 100%; background-color: none; } .whyc-confirm-content { position: absolute; top: 50%; left: 50%; margin-top: -10em; margin-left: -15em; width: 30em; background-color: none; } .whyc-confirm-header { padding: .6em 0; color: #FFFFFF; font-weight: bold; text-indent: 1.5em; font-size: 14px; background-color: #3d90df; background-image:linear-gradient(#3d90df,#3074b3); border-top-left-radius: .5em; border-top-right-radius: .5em; } .panel-header-tools{ text-indent: 0; } .panel-header-tools i { margin-left: 5px; } .whyc-confirm-body { padding: 1em 0; text-indent: 1em; font-size: 14px; background-color: #FFFFFF; border-left: 1px solid #e4e4e4; border-right: 1px solid #e4e4e4; } .whyc-confirm-footer { background-color: #FFFFFF; padding-top: 1em; padding-bottom: 1em; border: 1px solid #e4e4e4; border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; } .whyc-confirm-footer .w50p { width: 50%; text-align: center; } /************panel模块*****************/ .panel { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; display: inline-block; vertical-align: top; } .panel.panel-auto { height: auto; } .panel-header { padding-top: .6em; padding-bottom: .6em; text-indent: 1em; border-top-left-radius: .5em; border-top-right-radius: .5em; } .panel-header .panel-header-title { margin: 0; } .panel-header-default { color: #000000; background-color: #ebeaea; background-image: linear-gradient(#ebeaea, #c7c5c5); } .panel-header-tools i:hover{ color: #f05151; cursor: pointer; } .panel-header-tools i:active { color: #3884cd; } .panel-content { padding-bottom: 5px; border-bottom-left-radius: .5em; border-bottom-right-radius: .5em; } .panel-content-default { border: 1px solid #CCCCCC; background-color: #FFFFFF; } /* 带确定和取消的自定义弹出框 */ .myconfirm { display: none; position: fixed; margin-left: 50%; left: -190px; z-index: 99997; width:350px; min-width: 350px; max-width: 400px; background-color: pink; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; } /* 定义容器的before和after清除浮动 */ .myconfirm:before, .myconfirm:after, .myconfirm .confirm-header:before, .myconfirm .confirm-header:after, .myconfirm .confirm-footer:before, .myconfirm .confirm-footer:after { display: table; content: " "; } .myconfirm:after, .myconfirm .confirm-header:after, .myconfirm .confirm-footer:after { clear: both; } /* 定义confirm的header */ .myconfirm .confirm-header { background: url('../images/bg_13.jpg') repeat-x; } .myconfirm .confirm-header .title{ float: left; widht: 80px; height: 30px; line-height: 30px; text-indent: 2em; font-weight: bold; } .myconfirm .confirm-header .close-confirm { float: right; width: 21px; height: 21px; margin-top: 5px; margin-right: 5px; background-image: url(../images/backgrounds.32.png); background-position: -396px -20px; background-repeat: no-repeat; } .myconfirm .confirm-header .close-confirm:hover { background-position: -396px -108px; } /* 定义confirm的content */ .myconfirm .confirm-content { background-color: #FFFFFF; padding: 40px 0; font-size: 14px; text-align: center; font-weight: bold; } /* 定义confirm的footer */ .myconfirm .confirm-footer { background-color: #E9E7E7; } .myconfirm .confirm-footer .ipt { float: left; width:50%; height: 60px; text-align: center; } .myconfirm .confirm-footer input { /*初始化按钮*/ font-size: 12px; text-decoration: none!important; font-family: Helvetica, Arial, sans serif; padding: 6px 12px; border-radius: 3px; -moz-border-radius: 3px; box-shadow: inset 0px 0px 2px #fff; -o-box-shadow: inset 0px 0px 2px #fff; -webkit-box-shadow: inset 0px 0px 2px #fff; -moz-box-shadow: inset 0px 0px 2px #fff; /*定义颜色和样式*/ color: #41788c; border: 1px solid #6fb1c7; background-image: -moz-linear-gradient(#aae5f7, #73d0f1); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#73d0f1), to(#aae5f7)); background-image: -webkit-linear-gradient(#aae5f7, #73d0f1); background-image: -o-linear-gradient(#aae5f7, #73d0f1); text-shadow: 1px 1px 1px #bfeafb; background-color: #73d0f1; /* 自定义位置 */ margin-top: 15px; } .myconfirm .confirm-footer input:hover { border: 1px solid #4690ad; background-image: -moz-linear-gradient(#73d0f1, #aae5f7); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#aae5f7), to(#73d0f1)); background-image: -webkit-linear-gradient(#73d0f1, #aae5f7); background-image: -o-linear-gradient(#73d0f1, #aae5f7); background-color: #aae5f7; } /* confirm遮罩层 */ .confirm-mask { display:none; position: fixed; left: 0; top: 0; z-index: 99996; width: 100%; height: 100%; background-color: #000000; filter:alpha(opacity=30); /*IE滤镜,透明度50%*/ -moz-opacity:0.3; /*Firefox私有,透明度50%*/ opacity:0.3; /*其他,透明度50%*/ -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; } .filter-container { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; font-size: 12px; } .filter-container .filter-header { padding-top: .6em; padding-bottom: .6em; background-image: url(../images/table_th_bg.gif); background-repeat: repeat-x; text-align: center; } .filter-container .filter-header:hover { color: #007f00; } .filter-body table { width: 100%; border-collapse: collapse; } .filter-body table td { line-height: 26px; border: 1px solid #ccc; white-space:nowrap; } .filter-body table tr.font-weight { font-weight: bold; text-align: center; } .filter-body table tr.font-weight td { padding-top: .1em; padding-bottom: .1em; padding-left: 1em; padding-right: 1em; } .filter-body table td select { width: 100%; height: 26px; border:none; outline:none; } .filter-body table td.time { width: 16em; } .filter-body table td input[type=text] { width: 100%; height: 26px; border: none; outline: none; } /* btn */ .btn { display: inline-block; overflow: visible; padding: .5em 1em; border: 1px solid #d4d4d4; margin: 0; text-decoration: none; text-align: center; text-shadow: 1px 1px 0 #FFFFFF; color: #333; white-space: nowrap; cursor: pointer; background-color: #ececec; background-image: linear-gradient(#f4f4f4, #ececec); border-radius: .3em; } .btn:hover { border-color:#3072b3; border-bottom-color: #2a65a0; background-color: #3c8dde; text-shadow: -1px -1px 0 rgba(0, 0, 0, 3); color: #fff; background-image: linear-gradient(#599bdc, #3072b3) } .btn:active { border-color: #2a65a0; border-bottom-color: #3884cd; background-color: #3072b3; background-image: linear-gradient(#3072b3, #599bdc); } /* tbl ui set */ .tbl-container { position: relative; font-size: 12px; background-color: #ffffff; overflow: hidden; } .tbl-container .tbl-header { position: relative; z-index: 9; height: 2.4em; border-bottom: 1px solid #c9c7c2; overflow:hidden; background-color: #ffffff; } .tbl-container .tbl-header table{ position: absolute; width: 100%; border-collapse: collapse; } .tbl-container .tbl-header table thead { line-height: 2.4em; } .tbl-container .tbl-header table thead td { border: 1px solid #c9c7c2; text-align: center; white-space: nowrap; padding-left: 1em; padding-right: 1em; font-weight: bold; background-image: url(../images/table_th_bg.gif); background-repeat: repeat-x; } .tbl-container .tbl-header table tbody td { border: 1px solid #c9c7c2; padding-top: .5em; padding-bottom: .5em; padding-left: 1em; padding-right: 1em; text-align: center; white-space: nowrap; } .tbl-container .tbl-body { position: relative; overflow: auto; z-index: 8; } .tbl-container .tbl-body table{ position: absolute; width: 100%; top: -2.5em; border-collapse: collapse; } .tbl-container .tbl-body table thead { line-height: 2.4em; } .tbl-container .tbl-body table thead td { border: 1px solid #c9c7c2; text-align: center; white-space: nowrap; font-weight: bold; padding-left: 1em; padding-right: 1em; } .tbl-container .tbl-body table tbody td { border: 1px solid #c9c7c2; padding-top: .5em; padding-bottom: .5em; padding-left: 1em; padding-right: 1em; text-align: center; white-space: nowrap; } .tbl-container .tbl-body table tbody tr:hover { background-color: #e2e0e0; } .tbl-container .tbl-body table tbody tr.active { background-color: #d6ddf5; } /* 设置无数据显示图片 */ .tbl-container .no-data { position: absolute; height: 220px; top: 50%; left: 50%; margin-top: -100px; margin-left: -90px; z-index: 9; text-align: center; } .tbl-container .no-data img { width: auto; height: 100%; } /* 表格工具条样式 */ .whyc-tbl-tools { padding-top: .5em; padding-bottom: .5em; padding-left: .5em; } .whyc-tbl-tools .tools-item { display: inline-block; margin-right: .5em; } .whyc-tbl-tools .tools-item a { display: block; color: #333; font-weight: bold; text-indent: .2em; text-decoration: none; padding-top: .5em; padding-bottom: .5em; padding-right: .5em; text-align: center; min-width: 6em; border: 1px solid #d4d4d4; border-radius: .4em; background-color: #ececec; text-shadow: 1px 1px 0 #fff; cursor: pointer; outline:none; background-image: linear-gradient(#f4f4f4, #ececec); } .whyc-tbl-tools .tools-item a .tools-icon { font-size: 14px; margin-right: .2em; } .whyc-tbl-tools .tools-item a:hover { border-color: #3072b3; border-bottom-color: #2a65a0; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); color: #fff; background-color: #3072b3; background-image: linear-gradient(#599bdc, #3072b3); } .whyc-tbl-tools .tools-item a:active { border-color: #2a65a0; border-bottom-color: #3884CF; background-color: #3072b3; background-image: linear-gradient(#3072b3, #599bdc); } /* page layui */ .whyc-page-content-layui { position: relative; width: 100%; height: 100%; } .side-bar-container { height: 100%; } .whyc-page-layui-header { height: 80px; background-color: #F03AF6; } .whyc-page-layui-nav { height: 40px; background-color: #4BF50F; } .whyc-page-layui-main { position: absolute; top: 120px; bottom: 30px; left: 0; right: 0; overflow: hidden; background-color: #7E7878; } .whyc-page-layui-content-container { position: relative; height: 100%; background-color: #FFFFFF; } .whyc-page-layui-siderbar { position: absolute; top: 0; bottom: 0; left: 0; background-color: #C3BEBE; } .whyc-page-layui-content { position: absolute; top: 0; bottom: 0; right: 0; left: 0; overflow: hidden; overflow-y: auto; } .whyc-page-filter { background-color: #FFFFFF; overflow:hidden; } .tbl-container { position: relative; width: 100%; height: 100%; background-color: #FFFFFF; } .tbl-filter { position: absolute; top: 4px; left: 0; z-index: 891; padding-left: 10px; }