html { width: 100%; height: 100%; margin: 0; padding: 0; font-family: 'Microsoft YaHei'; } body { width: 98%; height: 98%; margin: 1% !important; display: flex; flex-direction: column; justify-content: space-around; box-sizing: border-box; color: #262626; } .search-box { width: 100%; height: 60px; box-sizing: border-box; display: flex; align-items: center; } .content-box { width: 100%; height: calc(100% - 140px); box-sizing: border-box; } .btn-box { width: 100%; height: 60px; box-sizing: border-box; display: flex; justify-content: center; align-items: center; } .layui-btn { padding: 0; } .inputDiv { height: 36px; display: flex; justify-content: center; align-items: center; } .inputDiv input { height: 30px; border: 1px solid #d9d9d9; } .layui-form-item { display: flex; margin-bottom: 0px !important; } .layui-form-label { width: auto; font-size: 16px; } .layui-btn-sm { height: 32px; line-height: 32px; font-size: 16px; } .layui-inline { display: flex; margin: 0 !important; } .layui-input-inline { display: flex; align-items: center; } .layui-input, .layui-select, .layui-textarea { color: #595959 !important; border: 1px solid #d9d9d9 !important; height: 40px; font-size: 16px; background-color: transparent; padding: 3px 6px; } .layui-input:hover, .layui-select:hover, .layui-textarea:hover { border: 1px solid #595959 !important; } .layui-input:focus, .layui-select:focus, .layui-textarea:focus { border: 1px solid #595959 !important; } .layui-form-item .layui-input-inline { width: 290px; } button { width: 60px; font-size: 16px; background-color: #2F82FB; margin-left: 10px; } .classTable { width: 100%; table-layout: fixed; text-align: center; border-collapse: collapse; border-spacing: 0; box-sizing: border-box; height: 100%; } .classTable tr td:nth-child(1) { width: 20%; } .classTable tr td:nth-child(2) { width: 80%; } .classTable tr td { font-size: 13px; border-bottom: 1px solid #d9d9d9; height: 40px; color: #262626; } .classTable thead tr:nth-of-type(1) { background-color: #f0f0f0; height: 50px; } .classTable thead tr:nth-of-type(1) td { font-size: 18px; } .classTable tbody { display: block; height: 200px; overflow-y: auto; } .classTable thead, .classTable tbody tr { display: table; width: 100%; table-layout: fixed; } /*滚动条样式start*/ ::-webkit-scrollbar { width: 5px; height: 10px; } ::-webkit-scrollbar-track { background: #e7e7f1 !important; border-radius: 0px; } ::-webkit-scrollbar-thumb { background: rgba(94, 96, 97, 0.43) !important; border-radius: 0px; } ::-webkit-scrollbar-thumb:hover { background: rgba(94, 96, 97, 0.43) !important; border-radius: 0px; } ::-webkit-scrollbar-thumb:active { background: rgba(94, 96, 97, 0.43) !important; border-radius: 0px; } /*滚动条样式end*/