wfgz.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. @import './common/common.less';
  2. .wfgz-wrapper{
  3. background: #fff;
  4. padding:20px;
  5. }
  6. .wfgz-title{
  7. border-bottom: 2px solid @fcolor;
  8. overflow: hidden;
  9. .wfgz-lable{
  10. float: left;
  11. padding: 10px 15px 5px;
  12. cursor: pointer;
  13. border-radius: 5px 5px 0 0;
  14. font-size:1.7rem;
  15. &.active{
  16. background: @fcolor;
  17. color:#fff;
  18. }
  19. }
  20. }
  21. .wfgz-content-box{
  22. padding:10px 0;
  23. .wfgz-content{
  24. display: none;
  25. &.active{
  26. display: block;
  27. }
  28. }
  29. }
  30. h2{
  31. line-height: 40px;
  32. font-size:1.6rem;
  33. }
  34. p{
  35. line-height:30px;
  36. font-size:1.4rem;
  37. }
  38. tr{
  39. width:100%;
  40. }
  41. th,td{
  42. border:1px solid rgba(0,0,0,.1);
  43. width: auto !important;
  44. max-width: 30%;
  45. line-height:30px;
  46. }
  47. .mainContent{
  48. margin-bottom: 10px;
  49. margin-left:0 !important;
  50. }
  51. .main-nav{
  52. float:left;
  53. width:150px;
  54. overflow: hidden;
  55. background: #fff;
  56. cursor: pointer;
  57. box-sizing: border-box;
  58. border-left:1px solid #393947;
  59. border-right:1px solid #393947;
  60. /*.lot-wrapper:hover ul.lot-list-wrapper{
  61. display: block;
  62. }
  63. .lot-wrapper:hover .lot-title .trangle{
  64. border-top: 0;
  65. border-bottom: 6px solid #fff;
  66. margin-top:0;
  67. }*/
  68. .lot-title{
  69. line-height:50px;
  70. font-size:1.7rem;
  71. background: #393947;
  72. color:#fff;
  73. padding:0 10px;
  74. border-bottom:1px solid rgba(0,0,0,.1);
  75. border-top:1px solid rgba(0,0,0,.1);
  76. position:relative;
  77. &.active .trangle{
  78. border-top: 0;
  79. border-bottom: 6px solid #fff;
  80. margin-top:0;
  81. }
  82. .trangle{
  83. position: absolute;
  84. top:50%;
  85. right:10px;
  86. width: 0;
  87. height: 0;
  88. margin-top:-3px;
  89. border-left: 5px solid transparent;
  90. border-right: 5px solid transparent;
  91. border-top: 6px solid #fff;
  92. }
  93. }
  94. ul.lot-list-wrapper{
  95. display: none;
  96. &.active{
  97. display: block;
  98. }
  99. li.lot-list{
  100. background: #4A4A5A;
  101. list-style: none;
  102. border-bottom:1px solid rgba(0,0,0,.1);
  103. &:last-child{
  104. border:none;
  105. }
  106. &.active{
  107. background:#fff;
  108. a{
  109. color:#4A4A5A;
  110. }
  111. }
  112. a{
  113. line-height: 35px;
  114. padding:0 10px;
  115. font-size: 1.4rem;
  116. .text-ellipsis();
  117. color:#fff;
  118. &:hover{
  119. background: #fff;
  120. color: @fcolor;
  121. }
  122. }
  123. }
  124. }
  125. }