html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, a, img, i, dl, dt, dd, ol, ul, li, label, tr, th, td, input { margin: 0; padding: 0; border: 0; font-size: 14px; font-style: normal; color: #333333; text-decoration: none; } html, body { font-family: 'Microsoft YaHei', arial, tahoma, sans-serif; color: #333333; height: 100%; overflow: hidden; } ol, ul { list-style: none; } li { list-style: none; } a { color: #000; } button { cursor: pointer; outline: none; background-color: #fff; border: 0 none; } table { border-collapse: collapse; border-spacing: 0; } input, textarea { border: none; margin: 0; padding: 0; outline: none; } .clearfix:after{ content: ""; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { zoom: 1; } .fl{ float: left; } .fr{ float: right; } @headerHt:50px; /*logo栏高度*/ @menuLiHt:40px; /*菜单项高度*/ @menuWt:300px; /*菜单宽度*/ @activeColor:#5A8EEE; /*菜单项选中颜色*/ @activeBg:#EEF4FF; /*菜单项选中背景*/ @borderColor:#E2E5EF; /**边框颜色**/ @frameBdColor:#F0F0F0;/***框架边框颜色**/ @warnColor:#FF4D4F; /**重点红色**/ @thBgColor:#EFF0F9; /**标题背景色**/ @tableBorderColor:#E2E5EF; /**表格边框**/ /****弹窗样式*****/ .modal{ position: fixed; top:0; left: 0; display: none; width: 100%; height: 100%; .cover{ width: 100%; height: 100%; background: #000; opacity: .5; } .modal-box{ position: absolute; top:50%; left: 50%; /*width: 400px; height: 255px;*/ padding-bottom: 30px; margin-top:-180px; margin-left: -200px; background: #fff; border-radius:4px; } .modal-header{ height: 40px; line-height: 40px; padding: 0 15px; border-bottom: 1px #E2E5EF solid; a{ float: right; font-size: 18px; color: #8C8C8C; } } .modal-body{ padding: 30px 65px 40px; } .modal-footer{ /*position: absolute; bottom: 20px; width: 100%;*/ height: 50px; line-height: 50px; text-align: center; a{ width:80px; height:36px; color: #fff; background:@activeColor; border-radius:4px; padding:7px 26px; &.cancel{ background: #fff; border:1px @activeColor solid; color:@activeColor; margin-left: 20px; } } } } .red{ color: @warnColor; } .blue{ color:@activeColor; } .alertModal { .modalBg { position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; background: rgba(0, 0, 0, .3); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000); } .modalMain { width: 300px; // height: 200px; background-color: #fff; position: fixed; left: 50%; top: 30%; margin-left: -200px; padding-bottom: 20px; border-radius: 4px; overflow: hidden; } .title { border-bottom: 1px solid #eee; line-height: 40px; height: 40px; position: relative; padding-left: 15px; font-size: 14px; img { position: absolute; right: 0px; top: 0px; cursor: pointer; } } .content { padding: 25px 15px 0 15px; font-size: 14px; text-align: center; } .btns { height: 36px; text-align: center; span { border-radius: 5px; display: inline-block; // float: right; cursor: pointer; border: 1px solid #dedede; width: 80px; height: 36px; line-height: 36px; margin: 5px 5px 0; color: #333; border-radius: 3px; font-weight: 400; text-decoration: none; } .sure { background-color: #5A8EEE; border-color: #1E9FFF; color: #fff; } .quite { margin-left: 30px; margin-right: 30px; } } } .divModal { position: fixed; } .modaltip { position: fixed; top: 40%; left: 50%; padding: 10px; border-radius: 3px; color: #fff; background: rgba(0, 0, 0, .6); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000); } .loading { position: fixed; width: 100%; height: 100%; padding: 10px; border-radius: 3px; color: #fff; background: rgba(0, 0, 0, 0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000); img { position: fixed; top: 50%; left: 50%; width: 40px; height: 40px; margin-left: -20px; margin-top: -20px; } } input::-webkit-input-placeholder{ color:#ccc; } input::-moz-placeholder{ /* Mozilla Firefox 19+ */ color:#ccc; } input:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */ color:#ccc; } input:-ms-input-placeholder{ /* Internet Explorer 10-11 */ color:#ccc; }