index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. .createAd {
  2. border-radius: 8px;
  3. .cardTitle {
  4. font-weight: 600;
  5. }
  6. }
  7. .selector {
  8. border: 1px solid #dcdee2;
  9. border-radius: 4px;
  10. display: flex;
  11. justify-content: flex-start;
  12. align-items: center;
  13. transition: all .3s;
  14. &:hover {
  15. border: 1px solid #1890ff;
  16. }
  17. .selectorLabel {
  18. flex: 1;
  19. display: inline-block;
  20. height: 100%;
  21. padding: 0 10px;
  22. border-right: 1px solid #dcdee2;
  23. color: #333;
  24. }
  25. &:hover .selectorLabel {
  26. color: #1890ff;
  27. border-right: 1px solid #1890ff;
  28. }
  29. }
  30. .cardBody {
  31. margin-top: 24px;
  32. .content {
  33. border: 1px solid #f0f0f0;
  34. box-sizing: border-box;
  35. .conTitle {
  36. height: 38px;
  37. line-height: 38px;
  38. border-bottom: 1px solid #f0f0f0;
  39. padding: 0 10px;
  40. box-sizing: border-box;
  41. font-weight: 600;
  42. font-size: 16px;
  43. }
  44. .conRightBorder {
  45. border-right: 1px solid #f0f0f0;
  46. box-sizing: border-box;
  47. flex: 1;
  48. }
  49. .items {
  50. &>div {
  51. height: 380px;
  52. // padding: 10px;
  53. box-sizing: border-box;
  54. display: flex;
  55. flex-direction: column;
  56. .top {
  57. height: 24px;
  58. display: flex;
  59. font-weight: 600;
  60. font-size: 15px;
  61. margin-bottom: 10px;
  62. justify-content: space-between;
  63. align-items: center;
  64. padding: 10px 10px 0;
  65. &>span {
  66. font-size: 12px;
  67. color: rgb(90, 90, 90);
  68. }
  69. }
  70. .center {
  71. height: calc(100% - 48px);
  72. overflow: hidden;
  73. overflow-y: auto;
  74. padding: 4px 0;
  75. box-sizing: border-box;
  76. padding: 0 10px;
  77. .centerContent {
  78. width: 100%;
  79. min-height: 200px;
  80. font-size: 12px;
  81. // span {
  82. // color: #3085ff;
  83. // }
  84. }
  85. .acc {
  86. margin-bottom: 14px;
  87. }
  88. .accName {
  89. margin: 0 0 4px;
  90. }
  91. .accCon {
  92. padding: 8px 5px;
  93. background-color: rgba(0, 0, 0, .04);
  94. margin-bottom: 2px;
  95. display: flex;
  96. justify-content: space-between;
  97. align-items: center;
  98. position: relative;
  99. >span.title {
  100. width: 90%;
  101. overflow: hidden;
  102. text-overflow: ellipsis;
  103. white-space: nowrap;
  104. }
  105. .close {
  106. cursor: pointer;
  107. margin-right: 10px;
  108. display: none;
  109. position: absolute;
  110. right: 4px;
  111. top: 50%;
  112. transform: translateY(-50%);
  113. }
  114. &:hover {
  115. background-color: rgba(0, 0, 0, .08);
  116. &>.close {
  117. display: inline-block;
  118. }
  119. }
  120. }
  121. }
  122. .bottom {
  123. height: 40px;
  124. text-align: center;
  125. line-height: 40px;
  126. span {
  127. cursor: pointer;
  128. color: #108ee9;
  129. }
  130. &:hover {
  131. box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
  132. }
  133. }
  134. }
  135. }
  136. }
  137. .bts {
  138. width: 100%;
  139. margin-top: 20px;
  140. margin-bottom: 10px;
  141. justify-content: flex-end;
  142. }
  143. }
  144. .popoverContent {
  145. border: 1px solid #dcdee2;
  146. padding: 5px;
  147. border-radius: 4px;
  148. transition: all 0.5s;
  149. margin-top: 1px;
  150. margin-bottom: 5px;
  151. &:hover {
  152. border-color: rgb(24, 144, 255);
  153. box-shadow: 0 0 4px 1px rgba(24, 144, 255, 0.4);
  154. }
  155. }
  156. .popover {
  157. max-width: 450px;
  158. max-height: 150px;
  159. overflow: hidden;
  160. overflow-y: scroll;
  161. }
  162. .twoText {
  163. text-overflow: -o-ellipsis-lastline;
  164. overflow: hidden;
  165. text-overflow: ellipsis;
  166. display: -webkit-box;
  167. -webkit-line-clamp: 2;
  168. line-clamp: 2;
  169. -webkit-box-orient: vertical;
  170. }