html, body{ float: left; width: 100%; height: 100%; margin: 0; padding: 0; } .content{ width: 100%; height: 96%; } .content>form{ width: 100%; height: 100%; } .content>form>div:nth-child(n + 3){ width: 80%; height: 9%; margin-left: 10%; } .content button{ margin-left: 73.5%; margin-top: 3%; } .content img{ border-right: 1px solid #E9E9E9; float: left; } .content>form>div:nth-child(n + 3){ float: left; } .content>form>div:nth-child(n + 3)>div{ margin-left: 21.5%; } ::-webkit-scrollbar { width: 15px; height: 15px; } /* 滚动槽 */ ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 5px #e8eceb; border-radius: 5px; } /* 滚动条滑块 */ ::-webkit-scrollbar-thumb { border-radius: 10px; background: #ffffff; -webkit-box-shadow: inset 0 0 6px #cbb7b7; } ::-webkit-scrollbar-thumb:window-inactive { background: #e8eceb; } ::-webkit-scrollbar-corner { background-color: #e8eceb; } .assignmentTypeCondition{ margin-top: 10px; border-bottom: 1px solid #E9E9E9; color: #999999; width: 100%; } .assignmentTypeCondition>div:nth-child(1){ width: 8%; height: 28px; display: flex; align-items: center; } .assignmentTypeCondition>.assignmentTypeContent{ width: 92%; } .subContent, .workTypeContent{ width: 85% !important; overflow: hidden; } .adjust{ height: 35px!important; } .expandOrRetract{ color: #409EFF; cursor: pointer; height: 26px; display: flex; align-items: center; } .assignmentTypeCondition div{ float: left; } .assignmentTypeCondition .assignmentTypeContent>div{ border: 1px solid #E4E4E4; border-radius: 20px; padding: 0 30px; margin-bottom: 10px; margin-right: 8px; cursor: pointer; height: 28px; display: flex; align-items: center; } .assignmentTypeCondition .assignmentTypeContent>div:hover{ background-color: #F0F7FF; border: 1px solid #7ABBFF; color: #409EFF; } .btnSelected{ background-color: #409EFF !important; color: #FFFFFF !important; border: 1px solid #409EFF !important; } .selectedConditionsCondition{ margin-top: 10px; width: 100%; color: #999999; } .selectedConditionsContent{ color: #409EFF; } .clearAll{ cursor: pointer; } .selectedConditionsCondition>div:nth-child(1){ width: 8%; } .selectedConditionsCondition>.selectedConditionsContent{ width: 92%; } .selectedConditionsCondition div{ float: left; } .selectedConditionsContent>div{ height: 28px; } .selectedConditionsCondition .selectedConditionsContent>div:not(:last-child){ border: 1px solid #409EFF; border-radius: 5px; margin-bottom: 10px; margin-right: 8px; } .selectedConditionsCondition .selectedConditionsContent>div:last-child{ margin-bottom: 10px; margin-right: 8px; } .selectedConditionsContent>div>div{ display: flex; align-items: center; } .selectedConditionsContent>div>div:nth-child(1){ height: 100%; padding: 0 20px; } .selectedConditionsContent>div>div:nth-child(2){ border-left: 1px solid #409EFF; height: 100%; padding: 0 10px; cursor: pointer; } .selectedConditionsContent>div>div:nth-child(2):hover{ background-color: #F0F7FF; } /* dataTables列内容居中 */ .table>tbody>tr>td{ text-align:center; vertical-align:middle; } /* dataTables表头居中 */ .table>thead:first-child>tr:first-child>th{ text-align:center; vertical-align:middle; } .layui-form-label { float: left; display: block; padding: 9px 15px; width: 100px; font-weight: 400; line-height: 20px; text-align: right; } .layui-form-select dl { max-height:200px; max-width: 600px;} /* chrome下的滚动条样式 */ ::-webkit-scrollbar { width: 1px; height: 15px; } /* 滚动槽 */ ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 5px #e8eceb; border-radius: 5px; } /* 滚动条滑块 */ ::-webkit-scrollbar-thumb { border-radius: 10px; background: #ffffff; -webkit-box-shadow: inset 0 0 6px #cbb7b7; } ::-webkit-scrollbar-thumb:window-inactive { background: #e8eceb; } ::-webkit-scrollbar-corner { background-color: #e8eceb; } input::-webkit-input-placeholder { /* WebKit browsers */ color: #CCCCCC; } input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #CCCCCC; } input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #CCCCCC; } input:-ms-input-placeholder { /* Internet Explorer 10+ */ color: #CCCCCC; } /*清除浮动后的box塌缩*/ .clearfix::after{ content: ''; display: block; clear: both; }