style.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .detail-wrap{
  2. .detail-top{
  3. @include clearfix;
  4. padding-bottom: px2rem(15);
  5. line-height: px2rem(40);
  6. .d-tips{
  7. font-size: px2rem(14);
  8. float: left;
  9. }
  10. .d-filter{
  11. float: right;
  12. position: relative;
  13. cursor: pointer;
  14. &:after{
  15. content: "";
  16. position: absolute;
  17. width: 0;
  18. height: 0;
  19. right: px2rem(10);
  20. top: px2rem(15);
  21. border-left: px2rem(7) solid transparent;
  22. border-right: px2rem(7) solid transparent;
  23. border-top: px2rem(9) solid rgba(0, 0, 0, 0.5);
  24. }
  25. &:hover{
  26. ul{
  27. display: block;
  28. }
  29. }
  30. p{
  31. font-size: px2rem(16);
  32. color: rgba($color: #ffffff, $alpha: 0.6);
  33. line-height: px2rem(40);
  34. text-align: center;
  35. background: rgba(0, 0, 0, 0.3);
  36. min-width: px2rem(90);
  37. padding: 0 px2rem(30) 0 px2rem(15);
  38. }
  39. ul{
  40. display: none;
  41. top: px2rem(40);
  42. position: absolute;
  43. left: 0;
  44. right: 0;
  45. }
  46. li{
  47. line-height: px2rem(40);
  48. font-size: px2rem(16);
  49. background: #ffffff;
  50. color: rgba($color: #000000, $alpha: 0.7);
  51. width: 100%;
  52. &:hover{
  53. background: #dddddd;
  54. }
  55. }
  56. }
  57. }
  58. .detail-list{
  59. border: 1px solid rgba(255, 255, 255, 0.1);
  60. background: rgba(0, 0, 0, 0.2);
  61. padding: px2rem(2);
  62. .col-1{
  63. padding-left: px2rem(30);
  64. width: px2rem(140);
  65. text-align: left;
  66. }
  67. .col-2{
  68. @include flex(1);
  69. padding-left: px2rem(30);
  70. text-align: left;
  71. }
  72. .col-3{
  73. width: px2rem(120);
  74. padding-left: px2rem(30);
  75. text-align: left;
  76. }
  77. }
  78. .list-hd{
  79. @include webkitbox(1);
  80. background: rgba(0, 0, 0, 0.2);
  81. line-height: px2rem(50);
  82. font-size: px2rem(16);
  83. }
  84. .list-bd{
  85. height: px2rem(440);
  86. overflow-y: auto;
  87. &::-webkit-scrollbar {
  88. width: 6px;
  89. }
  90. &::-webkit-scrollbar-thumb {
  91. border-radius: 12px;
  92. background: rgba(#535a60, 0.6);
  93. }
  94. ul{
  95. margin: 0;
  96. padding: 0;
  97. overflow: hidden;
  98. }
  99. li{
  100. @include webkitbox(1);
  101. overflow: hidden;
  102. padding: px2rem(10) 0;
  103. &:nth-child(even) {
  104. background: rgba(0, 0, 0, 0.2);
  105. }
  106. .col-2{
  107. line-height: px2rem(26);
  108. em{
  109. font-size: px2rem(16);
  110. vertical-align: middle;
  111. display: inline-block;
  112. }
  113. }
  114. .col-3{
  115. line-height: px2rem(26);
  116. }
  117. }
  118. h5{
  119. font-weight: bold;
  120. line-height: px2rem(26);
  121. color: #eeeeee;
  122. font-size: px2rem(16);
  123. }
  124. p{
  125. color: #999999;
  126. font-size: px2rem(14);
  127. line-height: px2rem(26);
  128. }
  129. span{
  130. font-weight: bold;
  131. font-size: px2rem(16);
  132. display: inline-block;
  133. vertical-align: middle;
  134. padding-left: px2rem(35);
  135. &.tpMinus{
  136. color: #da3232;
  137. }
  138. &.tpAdd{
  139. color: #32a049;
  140. }
  141. &.tpEOS{
  142. background: url("../../../assets/icon_eos.png") left center no-repeat;
  143. background-size: px2rem(17);
  144. }
  145. &.tpGT{
  146. background: url("../../../assets/icon_b_gt.png") left center no-repeat;
  147. background-size: px2rem(22);
  148. }
  149. }
  150. }
  151. }