index.module.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. .searchGroup {
  2. position: relative;
  3. padding: 0;
  4. .btnType {
  5. flex-wrap: nowrap !important;
  6. &>div {
  7. display: flex;
  8. align-items: center;
  9. }
  10. .swipeControll {
  11. height: 25Px;
  12. .leftIcon {
  13. transform: rotate(180deg);
  14. }
  15. img {
  16. cursor: pointer;
  17. width: 25Px;
  18. height: 25Px;
  19. }
  20. .disabled {
  21. opacity: 0.4;
  22. cursor: not-allowed;
  23. }
  24. }
  25. :global {
  26. .n-button {
  27. height: 37px;
  28. padding: 0 24px;
  29. font-size: 18px;
  30. color: rgba(0, 0, 0, .6);
  31. &.n-button--primary-type {
  32. font-weight: bold;
  33. color: #fff;
  34. }
  35. }
  36. }
  37. .carouselGroup {
  38. display: flex;
  39. // width: 660px
  40. }
  41. .carouselContainer {
  42. width: 730px;
  43. margin-right: 12px;
  44. :global {
  45. .n-carousel__slide {
  46. width: auto !important;
  47. display: flex;
  48. align-items: center;
  49. padding-left: 10px;
  50. padding-right: 10px;
  51. }
  52. }
  53. }
  54. }
  55. .inputSearch {
  56. width: 360px;
  57. height: 42px;
  58. font-size: 16px;
  59. --n-height: 42px !important;
  60. img {
  61. width: 18px;
  62. height: 18px;
  63. }
  64. :global {
  65. .n-input-wrapper {
  66. padding-left: 12px;
  67. padding-right: 4px;
  68. height: 42px !important;
  69. }
  70. .n-button {
  71. height: 34px;
  72. font-size: 15px;
  73. font-weight: 500;
  74. width: auto;
  75. }
  76. }
  77. }
  78. .searchCatatory {
  79. display: flex;
  80. justify-content: space-between;
  81. border-bottom: 1px solid #F2F2F2;
  82. padding-bottom: 12px;
  83. margin-bottom: 12px;
  84. &.border {
  85. padding-bottom: 24px;
  86. border-bottom: 1px solid #F2F2F2;
  87. }
  88. .addTrain {
  89. height: 37px;
  90. border-radius: 8px;
  91. font-size: 18px;
  92. background-color: #E8F4FF;
  93. color: #0378EC;
  94. img {
  95. width: 16px;
  96. height: 16px;
  97. margin-right: 8px;
  98. }
  99. }
  100. }
  101. }
  102. .searchGroups {
  103. padding: 0 33px;
  104. }
  105. .instrumentList {
  106. :global {
  107. .n-spin-content {
  108. overflow: hidden;
  109. padding: 0 33px;
  110. }
  111. }
  112. }
  113. .list {
  114. margin-top: 12px;
  115. display: flex;
  116. flex-flow: row wrap;
  117. justify-content: flex-start;
  118. gap: 20px 0;
  119. min-height: 232px;
  120. margin-left: -10px;
  121. margin-right: -10px;
  122. .itemWrap {
  123. width: calc(100% / 3);
  124. padding-bottom: calc(100% / 3 * 0.1957894);
  125. position: relative;
  126. height: 0;
  127. cursor: pointer;
  128. .itemWrapBox {
  129. position: absolute;
  130. left: 0;
  131. top: 0;
  132. width: 100%;
  133. height: 100%;
  134. padding: 0 10px;
  135. }
  136. }
  137. .iconCheck {
  138. position: absolute;
  139. top: 7px;
  140. right: 7px;
  141. width: 20px;
  142. height: 20px;
  143. background: url('../../../../images/icon-check.png') no-repeat center;
  144. background-size: contain;
  145. }
  146. .itemCard {
  147. position: relative;
  148. cursor: pointer;
  149. height: 100%;
  150. background: #F4F4F4;
  151. border-radius: 13px;
  152. transition: all .2s ease;
  153. border: 2px solid #F4F4F4;
  154. &:hover {
  155. transform: scale(1.01);
  156. border: 2px solid rgba(0, 122, 254, 1);
  157. transition: all .2s ease;
  158. }
  159. display: flex;
  160. align-items: center;
  161. justify-content: space-between;
  162. padding: 0 17px;
  163. .musicBg {
  164. width: 50px;
  165. height: 50px;
  166. border-radius: 8px;
  167. margin-right: 10px;
  168. }
  169. .itemName {
  170. display: flex;
  171. align-items: center;
  172. font-weight: bold;
  173. }
  174. }
  175. .itemImgSectionSelected {
  176. .iconCheck {
  177. background-image: url('../../../../images/icon-checked.png');
  178. }
  179. }
  180. }
  181. .popSelect {
  182. font-size: 16px;
  183. width: 200px;
  184. box-shadow: 0px 2 16px 0px rgba(0, 0, 0, 0.08);
  185. border-radius: 11px;
  186. --n-option-height: 34px;
  187. :global {
  188. .n-base-select-option__content {
  189. width: 80% !important;
  190. }
  191. }
  192. }
  193. .spaceSection {
  194. padding-bottom: 20px;
  195. }
  196. .textBtn {
  197. background: #fff;
  198. border-radius: 8Px;
  199. padding: 4Px 17Px;
  200. font-size: max(16px, 13Px);
  201. color: rgba(0, 0, 0, 0.6);
  202. cursor: pointer;
  203. display: flex;
  204. align-items: center;
  205. font-weight: 500;
  206. .iconArrow {
  207. display: inline-block;
  208. margin-left: 8px;
  209. width: 8px;
  210. height: 5px;
  211. // background: url('../../../images/icon-arrow2.png') no-repeat center center / contain;
  212. background: url('/src/views/content-information/images/icon-arrow2.png') no-repeat center center / contain;
  213. transform: rotate(180deg);
  214. }
  215. &:hover,
  216. &.textBtnActive {
  217. background: #D2ECFF;
  218. font-weight: 500;
  219. color: #131415;
  220. }
  221. &:hover {
  222. .iconArrow {
  223. transform: rotate(0deg);
  224. }
  225. }
  226. }