@charset "utf-8"; * { margin: 0; padding: 0; /* max-height: 999999px; */ } html { -webkit-overflow-scrolling: touch; /*//允许独立的滚动区域和触摸回弹*/ } body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin: 0; padding: 0; } h1, h2, h3, h4, h5, h6 { font-weight: normal; } body, button, input, select, textarea { font: 28px Source Han Sans CN, PingFang SC, Helvetica, Arial, Microsoft YaHei, FreeSans, Arimo, Droid Sans, wenquanyi micro hei, Hiragino Sans GB, Hiragino Sans GB W3, sans-serif } h1, h2, h3, h4, h5, h6 { font-size: 100%; } address, cite, dfn, em, var { font-style: normal; } code, kbd, pre, samp { font-family: courier new, courier, monospace; } small { font-size: 12px; } ul, ol { list-style: none; } i, em { font-style: normal; } a { text-decoration: none; /* color: #fff; */ } sup { vertical-align: text-top; } sub { vertical-align: text-bottom; } legend { color: #000; } fieldset, img { border: 0; max-width: 100%; } button, input, select, textarea { font-size: 100%; } table { border-collapse: collapse; border-spacing: 0; } .clear { clear: both; float: none; height: 0; overflow: hidden; } html .hide { display: none; } /* 去除苹果默认input样式 */ input[type="button"], input[type="submit"], input[type="reset"], textarea { -webkit-appearance: none; border: none; /*-moz-appearance: none; outline:none;*/ background: rgba(0, 0, 0, 0); } /*input[type="submit"]{ -webkit-appearance: button; }*/ /* 去除谷歌焦点样式 */ input:focus, textarea:focus { outline: none; } /* 去除IE10+浏览器文本框后面的小叉叉 */ input::-ms-clear { display: none; } /* 禁止多行文本框textarea拖拽 */ textarea { resize: none; } /* 去除android用户点击链接,出现边框或者半透明灰色遮罩 */ a, button, input, textarea { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-modify: read-only; /* 只能读 */ -moz-user-modify: read-only; user-modify: read-only; } input[type="text"][readonly] { background-color: #fff } *:not(input) { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .onlineColor { color: #08BE04 } .offlineColor { color: #666666 } .hitchColor { color: #FF6523 } input::-webkit-input-placeholder { color: #999; } input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #999; } input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #999; } input:-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #999; } /*add*/ body { font-size: 16px; } .device-list { margin-top: 106px; margin-bottom: 100px; } .device-item { padding: 10px 10px 10px 0; display: flex; align-items: center; margin-left: 10px; border-bottom: 1px solid #EDEDED; position: relative } .checkBox { width: 8%; text-align: center } .iconBox { width: 15%; text-align: center } .iconBox img { width: 45px } .desBox { width: 60%; padding: 0 10px; font-size: 14px; color: #666; } .desBox p:nth-child(2) { margin: 3px 0; } .device-tit { font-size: 16px; color: #333; } .statusBox { width: 15%; text-align: center } .arrowRight { width: 5%; text-align: center } .arrowRight img { width: 6px } /* 长摁弹框 */ .operate-box { display: none; position: absolute; bottom: -10px; left: 70px; background: #fff; box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%); } .operate-box li { padding: 5px 10px; color: #333 } .operate-box li:first-child { border-bottom: 1px solid #EDEDED } .fixed-section { position: fixed; top: 0; width: 100%; z-index: 9 } /* 筛选 */ .filterSection { padding: 15px 12px; background: #f1f1f1; width: 100%; } .nav-tit { background: #333; color: #fff; line-height: 45px; text-align: center; font-size: 20px; position: relative; } /* .nav-tit img { width: 10px; position: absolute; left: 25px; top: 12px; } */ .goBack { color: #ffffff; height: 45px; width: 20px; display: inline-block; float: left; background: url(../image/left-icon.png) no-repeat center; background-size: 12px 16px; margin-left: 20px; position: absolute; left: 0; } input[type="text"] { -webkit-appearance: none; } .filterSection input[type="text"] { line-height: 35px; width: 70%; border-radius: 18px; text-indent: 15px; border: 0px solid #aaa; background: #fff; font-size: 14px; color: #999 } .search { border-radius: 18px; line-height: 35px; width: 21%; background: #4074E7; color: #fff; display: inline-block; text-align: center; margin-left: 5px; } /* plus */ .plus { width: 60px; position: fixed; bottom: 7px; right: 7px; } .plus :hover { opacity: .7 } /* 无查询结果 */ .noResult { height: 100px; display: flex; align-items: center; justify-content: center; color: #999; display: none; } /* 站点列表 */ .navRight { width: 18%; text-align: right } .navRight img { /* width: 14px */ } /* 新增页面 */ form { padding: 15px 12px; } form>div { margin-bottom: 12px; } form span { font-size: 16px; color: #333; width: 24%; display: inline-block; text-align: left; position: relative; padding-left: 10px } form span i { color: #FF0303; position: absolute; left: -5px; } form input[type="text"], form select, form option { width: 71%; height: 35px; line-height: 35px; border: 1px solid #EDEDED; padding: 0 10px; color: #999; box-sizing: border-box; appearance: none; -moz-appearance: none; -webkit-appearance: none; } select { background: url(../image/arrow.png) no-repeat scroll 98% center; background-size: 6%; } select:focus, select:active, select:hover { outline: none; } a.submit-btn { background: #4074e7; border-radius: 40px; width: 100%; color: #fff; display: inline-block; line-height: 40px; text-align: center; margin: 20px 0 } .alarming-type input:last-child { margin-left: 20px } .siteSelect select { position: relative; } .siteSelect select input { position: absolute; left: 0 } /* 站点多选下拉样式 start */ .layui-btn { background-color: #5fb878; } a { text-decoration: none; } .label { padding: 2px 0px; background: #aaa; border-radius: 2px; color: #fff; display: block; line-height: 20px; height: 20px; margin: 2px 5px 2px 0; float: left; } .label span { padding: 0 5px; color: #fff; } .close { padding: 1px 5px !important; } .close:hover { /* background-color: #009E94; border-radius: 2px; color: tomato; */ } .selectId input { width: 100%!important; } .selectId input { height: 25px; padding: 1px 5px; border-radius: 3px; width: calc(100% - 12px); outline-color: #5fb878; border: 1px solid #5fb878; } .selectId { position: relative; } .selectId dl { border: 1px solid #eee; border-radius: 3px; margin: 2px 0px; max-height: 300px; overflow-x: hidden; white-space: nowrap; position: absolute; width: 100%; top: 40px; background: #fff; z-index: 1000 } .selectId dl dd { margin: 0; padding: 5px 10px; } .selectId dl dd:hover { background-color: #5FB878; color: white; } .AD { /* width: 210px; margin-left: 40px; */ overflow-y: auto; max-height: 200px; /* border: 2px solid #5fb878; border-radius: 6px; padding: 1px 2px; */ } form .AD span { width: auto; } .siteSelect { width: 71%; display: inline-block; } /* 站点多选下拉样式end */