index.module.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. .nBaseCascaser {
  2. position: relative;
  3. z-index: auto;
  4. outline: none;
  5. width: 100%;
  6. box-shadow: none;
  7. max-width: 100%;
  8. display: inline-block;
  9. vertical-align: bottom;
  10. border-radius: 8px;
  11. min-height: max(34px, 32Px);
  12. line-height: 1.5;
  13. font-size: max(14px, 13Px);
  14. &:hover,
  15. &.nBaseCascaserActive {
  16. cursor: pointer;
  17. .n-base-selection__state-border {
  18. z-index: 1;
  19. border-color: #289bff;
  20. }
  21. }
  22. .n-base-selection-tags {
  23. position: absolute;
  24. left: 0;
  25. right: 0;
  26. top: 0;
  27. bottom: 0;
  28. pointer-events: none;
  29. border: 1px solid #e0e0e6;
  30. border-radius: inherit;
  31. transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), border-color .3s cubic-bezier(.4, 0, .2, 1);
  32. }
  33. .n-base-selection-input {
  34. font-size: inherit;
  35. line-height: inherit;
  36. outline: none;
  37. cursor: pointer;
  38. box-sizing: border-box;
  39. border: none;
  40. width: 100%;
  41. padding: 0 26px 0 12px;
  42. background-color: #0000;
  43. color: rgb(51, 54, 57);
  44. transition: color .3s cubic-bezier(.4, 0, .2, 1);
  45. caret-color: #18a058;
  46. height: 100%;
  47. display: flex;
  48. align-items: center;
  49. .n-base-selection-input__content {
  50. text-overflow: ellipsis;
  51. overflow: hidden;
  52. white-space: nowrap;
  53. }
  54. }
  55. .n-base-suffix {
  56. cursor: pointer;
  57. position: absolute;
  58. top: 50%;
  59. transform: translateY(-50%);
  60. right: 10px;
  61. .arrow {
  62. width: 1em;
  63. height: 1em;
  64. img {
  65. width: inherit;
  66. height: inherit;
  67. }
  68. }
  69. }
  70. .n-base-selection-placeholder {
  71. display: flex;
  72. align-items: center;
  73. white-space: nowrap;
  74. pointer-events: none;
  75. position: absolute;
  76. top: 0;
  77. right: 0;
  78. bottom: 0;
  79. left: 0;
  80. padding: 0 12px;
  81. transition: color .3s cubic-bezier(.4, 0, .2, 1);
  82. color: rgba(19, 20, 21, 0.4);
  83. .inner {
  84. max-width: 100%;
  85. overflow: hidden;
  86. }
  87. }
  88. .n-base-selection__border,
  89. .n-base-selection__state-border {
  90. position: absolute;
  91. left: 0;
  92. right: 0;
  93. top: 0;
  94. bottom: 0;
  95. pointer-events: none;
  96. border: 1px solid #e0e0e6;
  97. border-radius: inherit;
  98. transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), border-color .3s cubic-bezier(.4, 0, .2, 1);
  99. }
  100. .n-base-selection__state-border {
  101. z-index: 1;
  102. border-color: #0000;
  103. }
  104. }
  105. .cascaderPopover {
  106. width: 467px;
  107. background: #FFFFFF !important;
  108. box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12) !important;
  109. border-radius: 10px !important;
  110. padding: 13px 0 !important;
  111. }
  112. .baseScrollBar {
  113. padding: 0 13px;
  114. }
  115. .baseContentTitle {
  116. font-weight: 600;
  117. font-size: max(13px, 13Px);
  118. color: #131415;
  119. padding-bottom: 10px;
  120. }
  121. .baseContentWrap {
  122. padding-bottom: 15px;
  123. display: flex;
  124. align-items: center;
  125. flex-wrap: wrap;
  126. gap: 10px;
  127. .tag {
  128. display: inline-block;
  129. background: #F5F6FA;
  130. border-radius: 3px;
  131. font-weight: 400;
  132. font-size: max(13px, 13Px);
  133. color: rgba(0, 0, 0, 0.6);
  134. padding: 3px 10px;
  135. cursor: pointer;
  136. }
  137. .tagActive {
  138. background: #D2ECFF;
  139. font-weight: 600;
  140. color: #131415;
  141. }
  142. }
  143. .btnGroup {
  144. border-top: 1px solid #F2F2F2;
  145. padding: 10px 25px;
  146. display: flex;
  147. align-items: center;
  148. width: 100%;
  149. .btn {
  150. background: #F1F2F6;
  151. border-radius: 5px;
  152. font-weight: 600;
  153. font-size: 13Px;
  154. height: max(34px, 32Px);
  155. line-height: max(34px, 32Px);
  156. flex: 1;
  157. text-align: center;
  158. cursor: pointer;
  159. &+.btn {
  160. margin-left: 17px;
  161. }
  162. }
  163. .btnCancel {
  164. font-weight: 600;
  165. color: #1E2022;
  166. }
  167. .btnConfirm {
  168. background: linear-gradient(312deg, #1B7AF8 0%, #3CBBFF 100%);
  169. color: #FFFFFF;
  170. }
  171. }