body{ position: relative; background-color: #eef1f5; } body,html{ /*overflow: hidden;*/ width: 100%; height: 100%; } ul,li,ol{ padding-left: 0; margin-bottom: 0!important; list-style: none; } .display-none{ display: none; } .float-left{ float: left; } .float-right{ float: right; } .marginright32{ margin-right: 32px; } input,button,select,textarea{outline:none;} /*头部--------------------------------------------------*/ header{ min-width: 1400px; height: 80px; width: 100%; background-color: #fff; box-shadow: 0 1px 10px 0 rgba(50,50,50,.2); } .java-logo{ height: 80px; display: inline-block; background: url("../../image/java-logo.png") no-repeat 47px center; } .java-title{ display: inline-block; height: 80px; width: 167px; margin-left: 101px; background: url("../../image/java-title.png") no-repeat 0px center; } .java-loginout{ cursor: pointer; float: right; width: 27px; height: 28px; background: url("../../image/pladata_close.png") no-repeat; margin-top: 26px; margin-right: 32px; } /*左侧栏--------------------------------------------------*/ .main-wrap{ min-width: 1400px; overflow-x: scroll; height: calc(100% - 80px); } nav{ width: 200px; height: 100%; } .nav-ul{ box-shadow: 1px 0 10px 0 rgba(50,50,50,.2); background-color: #fff; height: 100%; } .nav-ul li{ height: 120px; line-height: 120px; text-align: center; color: #1f2b3d; font-size: 20px; } .nav-ul li:nth-of-type(1){ box-shadow: 0 1px 10px 0 rgba(50,50,50,.2); background-color: #f9f9f9; } .nav-ul li:nth-of-type(2){ background-color: #fff; } .nav-ul li:nth-of-type(3){ background-color: #f9f9f9; } .nav-ul li:nth-of-type(4){ background-color: #fff; } .nav-ul li:hover{ background-color: rgba(38,190,150,.1); } .nav-ul li.visitActive{ background-color: #2abb9b; color: #fff; } /*内容--------------------------------------------------*/ section{ overflow-x: auto; overflow-y: auto; height: calc(100% - 80px); height: -webkit-calc(100% - 80px); height: -moz-calc(100% - 80px); width:calc(100% - 200px); width:-webkit-calc(100% - 200px); width:-moz-calc(100% - 200px); } .section-wrap{ padding: 18px 32px 0; } .link-div{ margin-left: -10px; } .link-div span{ width: 176px; height: 57px; display: inline-block; text-align: center; line-height: 42px; font-size: 18px; color: #fff; cursor: pointer; } .link-div span:nth-of-type(1){ background:url("../../image/link-div-1.png"); } .link-div span:nth-of-type(2){ background:url("../../image/link-div-2.png"); } .link-con-left{ padding-right: 32px; width: 734px; box-sizing: content-box; } .link-con-left-wrap{ width: 351px; height: 245px; background-color: #fff; float: left; } .link-con-right{ width: 336px; } /*API别表----------------------------------------*/