common.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. @font-face {
  2. font-family: 'CustomTitleFont';
  3. src: url("~/assets/fonts/Nunito_Sans_800.ttf")format('truetype');
  4. font-weight: normal;
  5. font-style: normal;
  6. }
  7. @font-face {
  8. font-family: 'CommonFont';
  9. src: url("~/assets/fonts/Roboto-Regular.ttf")format('truetype');
  10. font-weight: normal;
  11. font-style: normal;
  12. }
  13. .custom-title-font {
  14. font-family: 'CustomTitleFont';
  15. }
  16. .common-font {
  17. font-family: 'CommonFont';
  18. }
  19. .nuxt-icon {
  20. margin-bottom: unset !important;
  21. }
  22. .nuxt-icon svg {
  23. width: 100% !important;
  24. height: 100% !important;
  25. }
  26. .el-dropdown-menu {
  27. .el-dropdown-menu__item:hover {
  28. color: var(--primary-hover-color) !important;
  29. background-color: unset !important;
  30. }
  31. }
  32. .el-dropdown {
  33. color: var(--default-text-color) !important;
  34. }
  35. .el-button {
  36. border-radius: 6px !important;
  37. &:hover {
  38. background-color: #b390fb !important;
  39. border-color: #b390fb !important;
  40. color: #fff !important;
  41. }
  42. }
  43. .hover-effect {
  44. transition: transform 0.3s ease;
  45. cursor: pointer;
  46. &:hover {
  47. transform: scale(1.05);
  48. }
  49. }
  50. .el-input {
  51. --el-input-focus-border: var(--primary-hover-color) !important;
  52. --el-input-focus-border-color: var(--primary-hover-color) !important;
  53. }
  54. .el-input__wrapper:hover {
  55. box-shadow: 0 0 0 1px var(--primary-hover-color) inset !important;
  56. }
  57. .el-input__wrapper.is-focus {
  58. box-shadow: 0 0 0 1px var(--primary-hover-color) inset !important;
  59. }
  60. .el-breadcrumb {
  61. font-size: 16px !important;
  62. .el-breadcrumb__item {
  63. .el-breadcrumb__inner {
  64. color: #999 !important;
  65. font-weight: 400 !important;
  66. &.is-link:hover {
  67. color: var(--primary-hover-color) !important;
  68. }
  69. }
  70. &:last-child {
  71. .el-breadcrumb__inner {
  72. color: #333 !important;
  73. font-weight: 500 !important;
  74. }
  75. }
  76. }
  77. }
  78. .el-pagination {
  79. .el-pager li.is-active {
  80. color: #fff !important;
  81. background-color: #9B6CFF;
  82. border-radius: 8px;
  83. }
  84. &.custom-pagination {
  85. .el-pager li.is-active {
  86. color: #fff !important;
  87. background-color: #DB977B;
  88. border-radius: 50%;
  89. }
  90. button {
  91. background-color: transparent !important;
  92. }
  93. }
  94. .el-pager li {
  95. &:hover {
  96. color: var(--primary-hover-color) !important;
  97. }
  98. }
  99. .btn-prev,
  100. .btn-next {
  101. &:hover {
  102. color: var(--primary-hover-color) !important;
  103. }
  104. }
  105. }
  106. .el-menu {
  107. border-right: unset !important;
  108. .el-sub-menu {
  109. .el-sub-menu__title {
  110. height: 44px ! important;
  111. line-height: 44px ! important;
  112. &:hover {
  113. background-color: unset !important;
  114. }
  115. }
  116. &.is-opened {
  117. .el-sub-menu__title {
  118. color: var(--primary-hover-color) !important;
  119. }
  120. }
  121. }
  122. .el-menu-item:hover {
  123. color: var(--primary-hover-color) !important;
  124. background-color: unset !important;
  125. }
  126. }
  127. .custom-navigate-dropdown {
  128. border-radius: 6px !important;
  129. .el-scrollbar {
  130. padding: 10px;
  131. .el-dropdown-menu {
  132. padding: 0 !important;
  133. display: flex;
  134. flex-direction: column;
  135. gap: 10px;
  136. .el-dropdown-menu__item {
  137. width: 90px !important;
  138. &:hover {
  139. border-radius: 6px !important;
  140. background: #F3F4FB !important;
  141. color: #9B6CFF !important;
  142. }
  143. }
  144. }
  145. }
  146. &.no-dropdown {
  147. display: none;
  148. }
  149. .el-popper__arrow {
  150. display: none;
  151. }
  152. }
  153. .custom-title-bg {
  154. position: relative;
  155. display: inline-block;
  156. background: url(~/assets/images/title_bg.png);
  157. background-repeat: no-repeat;
  158. background-position: center 100%;
  159. background-size: 100% auto;
  160. padding-bottom: 8px;
  161. }
  162. .custom-title-bg02 {
  163. position: relative;
  164. display: inline-block;
  165. background: url(~/assets/images/title_bg02.png);
  166. background-repeat: no-repeat;
  167. background-position: center 100%;
  168. background-size: 100% auto;
  169. padding-bottom: 8px;
  170. }
  171. .custom-title-bg03 {
  172. position: relative;
  173. display: inline-block;
  174. background: url(~/assets/images/title_bg03.png);
  175. background-repeat: no-repeat;
  176. background-position: center 100%;
  177. background-size: 100% auto;
  178. padding-bottom: 8px;
  179. }
  180. .custom-title-bg04 {
  181. position: relative;
  182. display: inline-block;
  183. background: url(~/assets/images/title_bg04.png);
  184. background-repeat: no-repeat;
  185. background-position: center 100%;
  186. background-size: 100% auto;
  187. padding-bottom: 8px;
  188. }
  189. // .el-checkbox {
  190. // .el-checkbox__input {
  191. // &.is-checked {
  192. // .el-checkbox__inner {
  193. // color: #CC9879 !important;
  194. // background-color: #CC9879 !important;
  195. // border: 1px solid #CC9879 !important;
  196. // }
  197. // }
  198. // .el-checkbox__inner {
  199. // &:hover {
  200. // border-color: #CC9879 !important;
  201. // }
  202. // }
  203. // }
  204. // &.is-checked {
  205. // .el-checkbox__label {
  206. // color: #CC9879 !important;
  207. // }
  208. // }
  209. // }