/** @Name: layui @Author: 贤心 @Site: http://www.layui.com */ /** 初始化 **/ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,input,button,textarea,p,blockquote,th,td,form,pre{margin: 0; padding: 0; -webkit-tap-highlight-color:rgba(0,0,0,0)} body{-webkit-font-feature-settings: 'kern' 1; -moz-font-feature-settings: 'kern' 1; -o-font-feature-settings: 'kern' 1; text-rendering: geometricPrecision;} a:active,a:hover{outline:0} img{display: inline-block; border: none; vertical-align: middle;} li{list-style:none;} table{border-collapse: collapse; border-spacing: 0;} h1,h2,h3{font-size: 14px; font-weight: 400;} h4, h5, h6{font-size: 100%; font-weight: 400;} button,input,select,textarea{font-size: 100%; } input,button,textarea,select,optgroup,option{font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; outline: 0;} pre{white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;} /** 滚动条 **/ ::-webkit-scrollbar{width: 10px; height: 10px;} ::-webkit-scrollbar-button:vertical{display: none;} ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner{background-color: #e2e2e2;} ::-webkit-scrollbar-thumb{border-radius: 0; background-color: rgba(0,0,0,.3);} ::-webkit-scrollbar-thumb:vertical:hover{background-color: rgba(0,0,0,.35);} ::-webkit-scrollbar-thumb:vertical:active{background-color: rgba(0,0,0,.38);} /** 图标字体 **/ @font-face {font-family: 'layui-icon'; src: url('../font/iconfont.eot'); src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'), url('../font/iconfont.woff') format('woff'), url('../font/iconfont.ttf') format('truetype'), url('../font/iconfont.svg#iconfont') format('svg'); } .layui-icon{ font-family:"layui-icon" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /** 初始化全局标签 **/ body{line-height: 24px; font: 14px Helvetica Neue,Helvetica,PingFang SC,\5FAE\8F6F\96C5\9ED1,Tahoma,Arial,sans-serif;} hr{height: 1px; margin: 10px 0; border: 0; background-color: #e2e2e2; clear: both;} a{color: #333; text-decoration:none; } a:hover{color: #777;} a cite{font-style: normal; *cursor:pointer;} /** 基础通用 **/ /* 消除第三方ui可能造成的冲突 */.layui-box, .layui-box *{-webkit-box-sizing: content-box !important; -moz-box-sizing: content-box !important; box-sizing: content-box !important;} .layui-border-box, .layui-border-box *{-webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;} .layui-clear{clear: both; *zoom: 1;} .layui-clear:after{content:'\20'; clear:both; *zoom:1; display:block; height:0;} .layui-inline{position: relative; display: inline-block; *display:inline; *zoom:1; vertical-align: middle;} /* 三角形 */.layui-edge{position: absolute; width: 0; height: 0; border-style: dashed; border-color: transparent; overflow: hidden;} /* 单行溢出省略 */.layui-elip{text-overflow: ellipsis; overflow: hidden; white-space: nowrap;} /* 屏蔽选中 */.layui-unselect{-moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;} .layui-disabled,.layui-disabled:hover{color: #d2d2d2 !important; cursor: not-allowed !important;} /* 纯圆角 */.layui-circle{border-radius: 100%;} .layui-show{display: block !important;} .layui-hide{display: none !important;} /* 布局 */ .layui-main{position: relative; width: 1140px; margin: 0 auto;} .layui-header{position: relative; z-index: 1000; height: 65px;} .layui-header a:hover{transition: all .5s; -webkit-transition: all .5s;} .layui-side{position: fixed; top: 0; bottom: 0; z-index: 999; width: 200px; overflow-x: hidden;} .layui-side-scroll{width: 220px; height: 100%; overflow-x: hidden;} .layui-body{position: absolute; left: 200px; right: 0; top: 0; bottom: 0; z-index: 998; width: auto; overflow: hidden; overflow-y: auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;} /* 后台布局风格 */.layui-layout-admin .layui-header{border-bottom: 5px solid #5FB878;} .layui-layout-admin .layui-side{top: 65px; width: 200px; overflow-x: hidden;} .layui-layout-admin .layui-body{top: 70px; bottom: 44px;} .layui-layout-admin .layui-main{width: auto; margin: 0 15px;} .layui-layout-admin .layui-footer{position: fixed; left: 200px; right: 0; bottom: 0; height: 44px; background-color: #eee;} /** 页面元素 **/ .layui-btn, .layui-input, .layui-textarea, .layui-upload-button{outline: none; -webkit-transition: border-color .3s cubic-bezier(.65,.05,.35,.5); transition: border-color .3s cubic-bezier(.65,.05,.35,.5); -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;} /* 引用 */.layui-elem-quote{margin-bottom: 10px; padding: 15px; line-height: 22px; border-left: 5px solid #009688; border-radius: 0 2px 2px 0; background-color: #f2f2f2;} .layui-quote-nm{border-color: #e2e2e2; border-style: solid; border-width: 1px; border-left-width: 5px; background: none;} /* 字段集合 */.layui-elem-field{margin-bottom: 10px; padding: 0; border: 1px solid #e2e2e2;} .layui-elem-field legend{margin-left: 20px; padding: 0 10px; font-size: 20px; font-weight: 300;} .layui-field-title{margin: 10px 0 20px; border: none; border-top: 1px solid #e2e2e2;} .layui-field-box{padding: 10px 15px;} .layui-field-title .layui-field-box{padding: 10px 0;} /* 颜色 */ .layui-bg-black{background-color: #393D49; color: #c2c2c2;} .layui-bg-black a{color: #c2c2c2;}.layui-bg-black a:hover{color: #fff;} .layui-bg-gray{background-color: #eee; color: #333;} .layui-bg-green{background-color: #009688; color: #D7EEE8;} .layui-bg-blue{background-color: #1E9FFF; color: #D7EEE8;} /* 文字 */ .layui-word-aux{font-size: 12px; color: #999; padding: 0 5px;} /* 按钮 */ .layui-btn{display: inline-block; vertical-align: middle; height: 38px; line-height: 38px; padding: 0 18px; background-color: #009688; color: #fff; white-space: nowrap; text-align: center; border: none; border-radius: 2px; cursor: pointer; opacity: 0.9; filter:alpha(opacity=90); -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;} .layui-btn:hover{opacity: 0.8; filter:alpha(opacity=80); color: #fff;} .layui-btn:active{opacity: 1; filter:alpha(opacity=100);} .layui-btn+.layui-btn{margin-left: 10px;} /* 圆角 */.layui-btn-radius{border-radius: 100px;} .layui-btn .layui-icon{font-size: 18px; vertical-align: bottom;} /* 原始 */.layui-btn-primary{border: 1px solid #C9C9C9; background-color: #fff; color: #555;} .layui-btn-primary:hover{border-color: #009688; color: #333} /* 百搭 */.layui-btn-normal{background-color: #1E9FFF;} /* 暖色 */.layui-btn-warm{background-color: #F7B824;} /* 警告 */.layui-btn-danger{background-color: #FF5722;} /* 禁用 */.layui-btn-disabled,.layui-btn-disabled:hover,.layui-btn-disabled:active{border: 1px solid #e6e6e6; background-color: #FBFBFB; color: #C9C9C9; cursor: not-allowed; opacity: 1;} /* 大型 */.layui-btn-big{height: 44px; line-height: 44px; padding: 0 25px; font-size: 16px;} /* 小型 */.layui-btn-small{height: 30px; line-height: 30px; padding: 0 10px; font-size: 12px;} .layui-btn-small i{font-size: 16px !important;} /* 迷你 */.layui-btn-mini{height: 22px; line-height: 22px; padding: 0 5px; font-size: 12px;} .layui-btn-mini i{font-size: 14px !important;} /** 表单 **/ .layui-input, .layui-textarea{display: block; width: 100%; padding-left: 10px; height: 38px; line-height: 38px; line-height: 36px\9; border: 1px solid #e6e6e6; background-color: #fff; border-radius: 2px;} .layui-input:hover, .layui-textarea:hover{border-color: #D2D2D2 !important;} .layui-input:focus, .layui-textarea:focus{border-color: #C9C9C9 !important;} .layui-textarea{position: relative; min-height: 100px; height: auto; line-height: 20px; padding: 6px 10px; resize: vertical;} .layui-form select, .layui-form input[type=checkbox], .layui-form input[type=radio]{display: none;} .layui-form-item{margin-bottom: 15px; clear: both; *zoom: 1;} .layui-form-item:after{content:'\20'; clear: both; *zoom: 1; display: block; height:0;} .layui-form-label{position: relative; float: left; display: block; padding: 9px 15px; width: 80px; font-weight:normal;line-height: 20px; text-align: right;} .layui-form-item .layui-inline{margin-bottom: 5px; margin-right: 10px;} .layui-input-block, .layui-input-inline{position: relative;} .layui-input-block{margin-left: 110px; min-height: 36px;} .layui-input-inline{display: inline-block; vertical-align: middle;} .layui-form-item .layui-input-inline{float: left; width: 190px; margin-right: 10px;} .layui-form-text .layui-input-inline{width: auto;} /* 分割块 */.layui-form-mid{position: relative; float: left; display: block; padding: 8px 0; line-height: 20px; margin-right: 10px;} /* 警告域 */.layui-form-danger:focus ,.layui-form-danger+.layui-form-select .layui-input{border: 1px solid #FF5722 !important;} /* 下拉选择 */.layui-form-select{position: relative;} .layui-form-select .layui-input{padding-right: 30px; cursor: pointer;} .layui-form-select .layui-edge{position: absolute; right: 10px; top: 50%; margin-top: -3px; cursor: pointer; border-width: 6px; border-top-color: #c2c2c2; border-top-style: solid; transition: transform .3s; transition: transform .3s,-webkit-transform .3s;} .layui-form-select ul{display: none; position: absolute; left: 0; top: 42px; margin-bottom: 50px; padding: 5px 0; z-index: 999; width: 100%; border: 1px solid #d2d2d2; max-height: 300px; overflow-y: auto; background-color: #fff; border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,.12); box-sizing: border-box;} .layui-form-select ul li{padding: 0 10px; line-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;} .layui-form-select ul li:hover{background-color: #f2f2f2;} .layui-form-select ul li.layui-this{background-color: #5FB878; color: #fff;} .layui-form-selected ul{display: block;} .layui-form-selected .layui-edge{margin-top: -9px; -webkit-transform:rotate(180deg); transform: rotate(180deg);} .layui-form-selected .layui-edge{margin-top: -3px\0; } :root .layui-form-selected .layui-edge{margin-top: -9px\0/IE9;} /* 复选框 */.layui-form-checkbox{position: relative; display: inline-block; vertical-align: middle; height: 30px; line-height: 28px; margin: 4px 10px 0 0; padding-right: 30px; border: 1px solid #d2d2d2; background-color: #fff; cursor: pointer; font-size: 0; border-radius: 2px; -webkit-transition: .1s linear; transition: .1s linear; box-sizing: border-box !important;} .layui-form-checkbox:hover{border: 1px solid #c2c2c2;} .layui-form-checkbox *{display: inline-block; vertical-align: middle;} .layui-form-checkbox span{padding: 0 10px; font-size: 14px; background-color: #d2d2d2; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;} .layui-form-checkbox:hover span{background-color: #c2c2c2;} .layui-form-checkbox i{position: absolute; right: 0; width: 37px; color: #fff; font-size: 20px;} .layui-form-checkbox:hover i{color: #c2c2c2;} .layui-form-checked, .layui-form-checked:hover{border: 1px solid #5FB878;} .layui-form-checked span, .layui-form-checked:hover span{background-color: #5FB878;} .layui-form-checked i, .layui-form-checked:hover i{color: #5FB878;} /* 复选框-开关风格 */.layui-form-switch{position: relative; display: inline-block; vertical-align: middle; height: 22px; line-height: 22px; width: 40px; padding: 0 5px; margin-top: 8px; border: 1px solid #d2d2d2; border-radius: 20px; cursor: pointer; background-color: #fff; -webkit-transition: .1s linear; transition: .1s linear;} .layui-form-switch i{position: absolute; left: 5px; top: 3px; width: 16px; height: 16px; border-radius: 20px; background-color: #d2d2d2; -webkit-transition: .1s linear; transition: .1s linear;} .layui-form-onswitch{border-color: #5FB878; background-color: #5FB878;} .layui-form-onswitch:before{content: 'ON'; color: #fff;} .layui-form-onswitch i{left: 30px; background-color: #fff;} /* 单选框 */ .layui-form-radio{display: inline-block; vertical-align: middle; line-height: 28px; margin: 6px 10px 0 0; padding-right: 10px; cursor: pointer; font-size: 0;} .layui-form-radio *{display: inline-block; vertical-align: middle;} .layui-form-radio i{margin-right: 8px; font-size: 22px; color: #c2c2c2;} .layui-form-radio span{font-size: 14px;} .layui-form-radioed i,.layui-form-radio i:hover{color: #5FB878;} /* 表单方框风格 */.layui-form-pane .layui-form-label{width: 80px; padding: 8px 15px; line-height: 20px; border: 1px solid #e6e6e6; border-radius: 2px 0 0 2px; text-align: center; background-color: #FBFBFB; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;} .layui-form-pane .layui-input-inline{margin-left: -1px;} .layui-form-pane .layui-input-block{margin-left: 112px; left: -1px;} .layui-form-pane .layui-input{border-radius: 0 2px 2px 0;} .layui-form-pane .layui-form-text .layui-form-label{float: none; width: 100%; border-right: 1px solid #e6e6e6; border-radius: 2px; box-sizing: border-box!important; text-align: left;} .layui-form-pane .layui-form-text .layui-input-inline{display: block; margin: 0; top: -1px; clear: both;} .layui-form-pane .layui-form-text .layui-input-block{margin: 0; left: 0; top: -1px;} .layui-form-pane .layui-form-text .layui-textarea{min-height: 100px; border-radius: 0 0 2px 2px;} .layui-form-pane .layui-input:hover, .layui-form-pane .layui-textarea:hover{border-color: #e6e6e6 !important;} .layui-form-pane .layui-input:focus, .layui-form-pane .layui-textarea:focus{border-color: #e6e6e6 !important;} .layui-form-pane .layui-form-checkbox{margin: 0 0 10px 10px;} .layui-form-pane .layui-form-switch, .layui-form-pane .layui-form-radio{margin-left: 10px; } /** 富文本编辑器 **/ .layui-layedit{border: 1px solid #d2d2d2; border-radius: 2px;} .layui-layedit-tool{padding: 3px 5px; border-bottom: 1px solid #e2e2e2; font-size: 0;} .layedit-tool-fixed{position: fixed; top: 0; border-top: 1px solid #e2e2e2;} .layui-layedit-tool .layedit-tool-mid, .layui-layedit-tool .layui-icon{display: inline-block; vertical-align: middle; text-align: center; font-size: 14px;} .layui-layedit-tool .layui-icon{position: relative; width: 32px; height: 30px; line-height: 30px; margin: 3px 5px; border-radius: 2px; color: #777; cursor: pointer; border-radius: 2px;} .layui-layedit-tool .layui-icon:hover{color: #393D49;} .layui-layedit-tool .layui-icon:active{color: #000;} .layui-layedit-tool .layedit-tool-active{background-color: #e2e2e2; color: #000;} .layui-layedit-tool .layui-disabled, .layui-layedit-tool .layui-disabled:hover{color: #d2d2d2; cursor: not-allowed;} .layui-layedit-tool .layedit-tool-mid{width: 1px; height: 18px; margin: 0 10px; background-color: #d2d2d2;} .layedit-tool-html{width: 50px !important; font-size: 30px !important;} .layedit-tool-b, .layedit-tool-code, .layedit-tool-help{font-size: 16px !important;} .layedit-tool-d, .layedit-tool-unlink, .layedit-tool-face, .layedit-tool-image{font-size: 18px !important;} .layedit-tool-image input{position: absolute; font-size: 0; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.01; filter: Alpha(opacity=1); cursor: pointer;} .layui-layedit-iframe iframe{display: block; width: 100%;} #LAY_layedit_code{overflow: hidden;} /** 表格简单修饰 **/ .layui-table{width: 100%; margin: 10px 0;} .layui-table thead tr{background-color: #f2f2f2;} .layui-table th, .layui-table td{padding: 6px 10px; min-height: 20px; line-height: 20px; border: 1px solid #d2d2d2; font-size: 14px; font-weight: 400;} .layui-table th{padding: 10px;} .layui-table tr{background-color: #fff;} .layui-table tr:nth-child(even){background: #fbfbfb;} /** 文件上传 **/ .layui-upload-button{position: relative; display: inline-block; vertical-align: middle; min-width: 60px; height: 36px; line-height: 36px; border: 1px solid #DFDFDF; border-radius: 2px; overflow: hidden; background-color: #fff; color: #666;} .layui-upload-button:hover{border: 1px solid #aaa; color: #333;} .layui-upload-button:active{border: 1px solid #4CAF50; color: #000;} .layui-upload-file, .layui-upload-button input{opacity: 0.01; filter: Alpha(opacity=1); cursor: pointer;} .layui-upload-button input{position: absolute; left: 0; top: 0; z-index: 10; font-size: 100px; width: 100%; height: 100%;} .layui-upload-icon{display:block; margin: 0 15px; text-align: center;} .layui-upload-icon i{margin-right: 5px; vertical-align: top; font-size: 20px; color: #5FB878} .layui-upload-iframe{position: absolute; width: 0px; height: 0px; border: 0px; visibility: hidden;} .layui-upload-enter{border: 1px solid #009E94; background-color: #009E94; color: #fff; -webkit-transform: scale(1.1); transform: scale(1.1);} .layui-upload-enter .layui-upload-icon, .layui-upload-enter .layui-upload-icon i{color: #fff;} /** 流加载 **/ .layui-flow-more{margin: 10px 0; text-align: center; color: #999; font-size: 14px;} .layui-flow-more a{ height: 32px; line-height: 32px; } .layui-flow-more a *{display: inline-block; vertical-align: top;} .layui-flow-more a cite{padding: 0 20px; border-radius: 3px; background-color: #eee; color: #333; font-style: normal;} .layui-flow-more a cite:hover{opacity: 0.8;} .layui-flow-more a i{font-size: 30px; color: #737383;} /** 分页 **/ .layui-laypage{display: inline-block; vertical-align: middle; margin: 10px 0; background-color: #fff; font-size: 0;} .layui-laypage>*:first-child, .layui-laypage>*:first-child em{border-radius: 2px 0 0 2px;} .layui-laypage>*:last-child, .layui-laypage>*:last-child em{border-radius: 0 2px 2px 0;} .layui-laypage span, .layui-laypage a{display: inline-block; vertical-align: middle; padding: 0 15px; border: 1px solid #e2e2e2; height: 28px; line-height: 28px; margin: 0 -1px -1px 0; color: #333; font-size: 12px;} .layui-laypage em{font-style: normal;} .layui-laypage span{color:#999; font-weight: 700;} .layui-laypage a{ text-decoration: none;} .layui-laypage .layui-laypage-curr{position: relative;} .layui-laypage .layui-laypage-curr em{position: relative; color: #fff; font-weight: 400;} .layui-laypage .layui-laypage-curr .layui-laypage-em{position: absolute; left: -1px; top: -1px; padding: 1px; width: 100%; height: 100%; background-color: #009688; } .layui-laypage-em{border-radius: 2px;} .layui-laypage-prev em, .layui-laypage-next em{font-family: Sim sun; font-size: 16px;} .layui-laypage .layui-laypage-total{border: none;font-weight: 400;} .layui-laypage input, .layui-laypage button{height: 30px; line-height: 30px; border:1px solid #e2e2e2; border-radius: 2px; vertical-align: middle; background-color: #fff; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;} .layui-laypage input{width: 50px; margin: 0 5px; text-align: center;} .layui-laypage button{margin-left: 5px; padding:0 15px; cursor: pointer;} /** 代码修饰器 **/ .layui-code{position: relative; margin: 10px 0; padding: 15px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;} /** 树组件 **/ .layui-tree{line-height: 26px;} .layui-tree li{text-overflow: ellipsis; overflow:hidden; white-space: nowrap;} .layui-tree li a, .layui-tree li .layui-tree-spread{display: inline-block; vertical-align: top; height: 26px; *display: inline; *zoom:1; cursor: pointer;} .layui-tree li a{font-size: 0;} .layui-tree li a i{font-size: 16px;} .layui-tree li a cite{padding: 0 6px; font-size: 14px; font-style: normal;} .layui-tree li i{padding-left: 6px; color: #333; -moz-user-select: none;} .layui-tree li .layui-tree-check{font-size: 13px;} .layui-tree li .layui-tree-check:hover{color: #009E94;} .layui-tree li ul{display: none; margin-left: 20px;} .layui-tree li .layui-tree-enter{line-height: 24px; border: 1px dotted #000;} .layui-tree-drag{display: none; position: absolute; left: -666px; top: -666px; background-color: #f2f2f2; padding: 5px 10px; border: 1px dotted #000; white-space: nowrap} .layui-tree-drag i{padding-right: 5px;} /** 导航菜单 **/ .layui-nav{position: relative; padding: 0 20px; background-color: #393D49; color: #c2c2c2; border-radius: 2px; font-size: 0; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;} .layui-nav *{font-size: 14px;} .layui-nav .layui-nav-item{position: relative; display: inline-block; vertical-align: middle; line-height: 60px;} .layui-nav .layui-nav-item a{display: block; padding: 0 20px; color: #c2c2c2; transition: all .3s; -webkit-transition: all .3s;} .layui-nav-bar, .layui-nav .layui-this:after{position: absolute; left: 0; top: 0; width: 0; height: 5px; background-color: #5FB878; transition: all .2s; -webkit-transition: all .2s;} .layui-nav .layui-this a ,.layui-nav .layui-nav-item a:hover{color: #fff;} .layui-nav .layui-this:after{content: ''; top: auto; bottom: 0; width: 100%;} /* 垂直导航菜单 */.layui-nav-tree{width: 200px; padding: 0;} .layui-nav-tree .layui-nav-item{display: block; line-height: 45px;} .layui-nav-tree .layui-nav-bar{width: 5px; height: 0;} .layui-nav-tree .layui-this{margin: 1px 0;} .layui-nav-tree .layui-this a{background-color: #4E5465;} .layui-nav-tree .layui-this:after{width: 5px; height: 100%; top: 0; left: 0; bottom: auto;} .layui-nav-tree .layui-nav-item a:hover{background-color: #4E5465;} .layui-nav-tree .layui-nav-title a, .layui-nav-tree .layui-nav-title a:hover{background-color: #2B2E37; color: #fff;} .layui-nav-side{position: fixed; top: 0; bottom: 0; left: 0; overflow-x: hidden; z-index: 999;} /** 面包屑 **/ .layui-breadcrumb{visibility: hidden; font-size: 0;} .layui-breadcrumb a{padding-right: 8px; line-height: 22px; font-size: 14px; color: #333 !important;} .layui-breadcrumb a:hover{color: #01AAED !important;} .layui-breadcrumb a span, .layui-breadcrumb a cite{ color: #666; cursor: text; font-style: normal;} .layui-breadcrumb a span{padding-left: 8px; font-family: Sim sun;} /** Tab选项卡 **/ .layui-tab{margin: 10px 0; overflow: hidden; text-align: left !important;} .layui-tab-title{position: relative; left: 0; height: 40px; white-space: nowrap; font-size: 0; border-bottom: 1px solid #e2e2e2; transition: all .2s; -webkit-transition: all .2s;} .layui-tab-title li{display: inline-block; *display: block; *zoom: 1; vertical-align: middle; font-size: 14px; transition: all .3s; -webkit-transition: all .3s;} .layui-tab-title li{position: relative; line-height: 40px; min-width: 65px; padding: 0 10px; text-align: center; cursor: pointer;} .layui-tab-title .layui-this{color: #000;} .layui-tab-title .layui-this:after{position: absolute; left:0; top: 0; content: ''; width:100%; height: 41px; border: 1px solid #e2e2e2; border-bottom-color: #fff; border-radius: 2px 2px 0 0; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important; pointer-events: none;} .layui-tab-bar{position: absolute; right: 0; top: 0; width: 30px; height: 39px; line-height: 39px; border: 1px solid #e2e2e2; border-radius: 2px; text-align: center; background-color: #fff; cursor: pointer;} .layui-tab-bar .layui-icon{position: relative; display: inline-block; top: 3px; transition: all .3s; -webkit-transition: all .3s;} .layui-tab-item{display: none;} .layui-tab-more{padding-right: 30px; height: auto; white-space: normal;} .layui-tab-more li.layui-this:after{border-bottom-color: #e2e2e2; border-radius: 2px;} .layui-tab-more .layui-tab-bar .layui-icon{top: -2px; top: 3px\0; -webkit-transform: rotate(180deg); transform: rotate(180deg);} :root .layui-tab-more .layui-tab-bar .layui-icon{top: -2px\0/IE9;} .layui-tab-content{padding: 10px;} /* Tab关闭 */.layui-tab-title li .layui-tab-close{ position: relative; margin-left: 8px; top: 1px; color: #c2c2c2;} .layui-tab-title li .layui-tab-close:hover{border-radius: 10px; background-color: #FF5722; color: #fff;} /* Tab简洁风格 */.layui-tab-brief > .layui-tab-title .layui-this{color: #009688;} .layui-tab-brief > .layui-tab-title .layui-this:after ,.layui-tab-brief > .layui-tab-more li.layui-this:after{border: none; border-radius: 0; border-bottom: 3px solid #5FB878;} /* Tab卡片风格 */.layui-tab-card{border: 1px solid #e2e2e2; border-radius: 2px; box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);} .layui-tab-card > .layui-tab-title{ background-color: #f2f2f2;} .layui-tab-card > .layui-tab-title li{margin-right: -1px; margin-left: -1px;} .layui-tab-card > .layui-tab-title .layui-this{background-color: #fff; } .layui-tab-card > .layui-tab-title .layui-this:after{border-top: none; border-width: 1px; border-bottom-color: #fff;} .layui-tab-card > .layui-tab-title .layui-tab-bar{height: 40px; line-height: 40px; border-radius: 0; border-top: none; border-right: none;} .layui-tab-card > .layui-tab-more .layui-this{background: none; color: #5FB878;} .layui-tab-card > .layui-tab-more .layui-this:after{border: none;} /** fixbar **/ .layui-fixbar{position: fixed; right: 15px; bottom: 15px; z-index: 9999;} .layui-fixbar li{width: 50px; height: 50px; line-height: 50px; margin-bottom: 1px; text-align:center; cursor: pointer; font-size:30px; background-color: #9F9F9F; color:#fff; border-radius: 2px; opacity: 0.95;} .layui-fixbar li:hover{opacity: 0.85;} .layui-fixbar li:active{opacity: 1;} .layui-fixbar .layui-fixbar-top{display: none; font-size: 40px;} /** 表情面板 **/ body .layui-util-face{border: none; background: none;} body .layui-util-face .layui-layer-content{padding:0; background-color:#fff; color:#666; box-shadow:none} .layui-util-face .layui-layer-TipsG{display:none;} .layui-util-face ul{position:relative; width:372px; padding:10px; border:1px solid #D9D9D9; background-color:#fff; box-shadow: 0 0 20px rgba(0,0,0,.2);} .layui-util-face ul li{cursor: pointer; float: left; border: 1px solid #e8e8e8; height: 22px; width: 26px; overflow: hidden; margin: -1px 0 0 -1px; padding: 4px 2px; text-align: center;} .layui-util-face ul li:hover{position: relative; z-index: 2; border: 1px solid #eb7350; background: #fff9ec;} /** 动画 **/ .layui-anim{-webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-animation-fill-mode: both; animation-fill-mode: both;} .layui-anim-loop{-webkit-animation-iteration-count: infinite; animation-iteration-count: infinite;} @-webkit-keyframes layui-rotate{ /* 循环旋转 */ from {-webkit-transform: rotate(0deg);} to {-webkit-transform: rotate(360deg);} } @keyframes layui-rotate{ from {transform: rotate(0deg);} to {transform: rotate(360deg);} } .layui-anim-rotate{-webkit-animation-name: layui-rotate; animation-name: layui-rotate; -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-timing-function: linear; animation-timing-function: linear;} @-webkit-keyframes layui-up{ /* 从最底部往上滑入 */ from {-webkit-transform: translate3d(0, 100%, 0); opacity: 0.3;} to {-webkit-transform: translate3d(0, 0, 0); opacity: 1;} } @keyframes layui-up{ from {transform: translate3d(0, 100%, 0); opacity: 0.3;} to {transform: translate3d(0, 0, 0); opacity: 1;} } .layui-anim-up{-webkit-animation-name: layui-up; animation-name: layui-up;} @-webkit-keyframes layui-upbit{ /* 微微往上滑入 */ from {-webkit-transform: translate3d(0, 30px, 0); opacity: 0.3;} to {-webkit-transform: translate3d(0, 0, 0); opacity: 1;} } @keyframes layui-upbit{ from {transform: translate3d(0, 30px, 0); opacity: 0.3;} to {transform: translate3d(0, 0, 0); opacity: 1;} } .layui-anim-upbit{-webkit-animation-name: layui-upbit; animation-name: layui-upbit;} @-webkit-keyframes layui-scale { /* 放大 */ 0% {opacity: 0.3; -webkit-transform: scale(.5);} 100% {opacity: 1; -webkit-transform: scale(1);} } @keyframes layui-scale { 0% {opacity: 0.3; -ms-transform: scale(.5); transform: scale(.5);} 100% {opacity: 1; -ms-transform: scale(1); transform: scale(1);} } .layui-anim-scale{-webkit-animation-name: layui-scale; animation-name: layui-scale} @-webkit-keyframes layui-scale-spring { /* 弹簧式放大 */ 0% {opacity: 0.5; -webkit-transform: scale(.5);} 80% {opacity: 0.8; -webkit-transform: scale(1.1);} 100% {opacity: 1; -webkit-transform: scale(1);} } @keyframes layui-scale-spring { 0% {opacity: 0.5; -ms-transform: scale(.5); transform: scale(.5);} 80% {opacity: 0.8; -ms-transform: scale(1.1); transform: scale(1.1);} 100% {opacity: 1; -ms-transform: scale(1); transform: scale(1);} } .layui-anim-scaleSpring{-webkit-animation-name: layui-scale-spring; animation-name: layui-scale-spring} /** 响应式(前期不作为重心) **/ @media screen and (max-width: 450px) { /** 表单 **/ .layui-form-item .layui-form-label{text-overflow: ellipsis; overflow: hidden; white-space: nowrap;} .layui-form-item .layui-inline{display: block; margin-right: 0; margin-bottom: 20px; clear: both;} .layui-form-item .layui-inline:after{content:'\20'; clear:both; display:block; height:0;} .layui-form-item .layui-input-inline{display: block; float: none; left: -1px; width: auto; margin: 0 0 10px 112px; } .layui-form-item .layui-input-inline+.layui-form-mid{margin-left: 110px; top: -5px; padding: 0;} .layui-form-item .layui-form-checkbox{margin-right: 5px; margin-bottom: 5px;} }