@import './common/common.less'; .wfgz-wrapper{ background: #fff; padding:20px; } .wfgz-title{ border-bottom: 2px solid @fcolor; overflow: hidden; .wfgz-lable{ float: left; padding: 10px 15px 5px; cursor: pointer; border-radius: 5px 5px 0 0; font-size:1.7rem; &.active{ background: @fcolor; color:#fff; } } } .wfgz-content-box{ padding:10px 0; .wfgz-content{ display: none; &.active{ display: block; } } } h2{ line-height: 40px; font-size:1.6rem; } p{ line-height:30px; font-size:1.4rem; } tr{ width:100%; } th,td{ border:1px solid rgba(0,0,0,.1); width: auto !important; max-width: 30%; line-height:30px; } .mainContent{ margin-bottom: 10px; margin-left:0 !important; } .main-nav{ float:left; width:150px; overflow: hidden; background: #fff; cursor: pointer; box-sizing: border-box; border-left:1px solid #393947; border-right:1px solid #393947; /*.lot-wrapper:hover ul.lot-list-wrapper{ display: block; } .lot-wrapper:hover .lot-title .trangle{ border-top: 0; border-bottom: 6px solid #fff; margin-top:0; }*/ .lot-title{ line-height:50px; font-size:1.7rem; background: #393947; color:#fff; padding:0 10px; border-bottom:1px solid rgba(0,0,0,.1); border-top:1px solid rgba(0,0,0,.1); position:relative; &.active .trangle{ border-top: 0; border-bottom: 6px solid #fff; margin-top:0; } .trangle{ position: absolute; top:50%; right:10px; width: 0; height: 0; margin-top:-3px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #fff; } } ul.lot-list-wrapper{ display: none; &.active{ display: block; } li.lot-list{ background: #4A4A5A; list-style: none; border-bottom:1px solid rgba(0,0,0,.1); &:last-child{ border:none; } &.active{ background:#fff; a{ color:#4A4A5A; } } a{ line-height: 35px; padding:0 10px; font-size: 1.4rem; .text-ellipsis(); color:#fff; &:hover{ background: #fff; color: @fcolor; } } } } }