navBar.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. @media (max-width: 1425px) {
  2. .menuList {
  3. font-size: 13px;
  4. }
  5. .user-nav {
  6. font-size: 13px;
  7. }
  8. }
  9. .vipBox {
  10. .avatar {
  11. border: 1px solid #b29701;
  12. &:hover {
  13. border: 2px solid var(--v-primary-base);
  14. }
  15. }
  16. .userName {
  17. font-weight: bold;
  18. background: -webkit-linear-gradient(45deg, #333, #b29701);
  19. background: linear-gradient(45deg, #333, #b29701);
  20. -webkit-background-clip: text;
  21. background-clip: text;
  22. -webkit-text-fill-color: transparent;
  23. // text-fill-color: transparent;
  24. }
  25. }
  26. .user-nav .nav-resume-tools {
  27. display: inline-block;
  28. vertical-align: middle;
  29. }
  30. .user-nav .nav-resume-tools > a {
  31. display: inline-block;
  32. font-weight: 500;
  33. color: var(--v-primary-base);
  34. line-height: 20px;
  35. height: auto;
  36. padding: 3px 7px;
  37. vertical-align: middle;
  38. border-radius: 4px;
  39. margin-right: 8px;
  40. border: 1px solid transparent;
  41. }
  42. .banner {
  43. width: 100%;
  44. height: 50px;
  45. z-index: var(--zIndex-nav) !important;
  46. color: #333;
  47. background-color: #d6e5e8;
  48. padding-left: 0px;
  49. height: 50px;
  50. .left {
  51. height: 100%;
  52. display: flex;
  53. align-items: center;
  54. cursor: pointer;
  55. }
  56. }
  57. .hover:hover {
  58. cursor: pointer;
  59. background: rgba(0, 0, 0, 0.03);
  60. }
  61. .innerBox {
  62. position: relative;
  63. width: 100vw;
  64. // width: 1184px;
  65. // max-width: 1184px;
  66. margin: 0 auto;
  67. align-items: center;
  68. padding: 0 30px;
  69. }
  70. .nav-logo {
  71. float: left;
  72. }
  73. .nav-city {
  74. float: left;
  75. position: relative;
  76. cursor: pointer;
  77. height: 49px;
  78. line-height: 49px;
  79. color: var(--v-primary-base);
  80. margin-left: 50px;
  81. }
  82. .nav-city-selected {
  83. display: inline-block;
  84. white-space: nowrap;
  85. overflow: hidden;
  86. text-overflow: ellipsis;
  87. max-width: 95px;
  88. vertical-align: middle;
  89. }
  90. .switchover-city {
  91. // font-size: 12px;
  92. color: var(--v-primary-base);
  93. margin-left: 10px;
  94. }
  95. .nav {
  96. // font-size: 0;
  97. float: left;
  98. margin-left: 50px;
  99. height: 49px;
  100. line-height: 49px;
  101. }
  102. .nav ul {
  103. display: flex;
  104. white-space: nowrap;
  105. vertical-align: top;
  106. }
  107. .nav ul li {
  108. text-align: center;
  109. margin: 0 5px;
  110. list-style: none;
  111. }
  112. .nav li a {
  113. display: block;
  114. padding: 0 5px;
  115. position: relative;
  116. text-decoration: none;
  117. color: #333;
  118. }
  119. .routeActive { // 选中样式
  120. color: var(--color-333) !important;
  121. .aLink {
  122. color: #008979 !important;
  123. font-weight: 700;
  124. text-decoration: underline !important; // 多个下划线
  125. }
  126. }
  127. .active-route {
  128. color: #008979;
  129. text-decoration: underline !important;
  130. font-weight: 700;
  131. }
  132. .user-nav {
  133. // position: absolute;
  134. // right: 0;
  135. // display: inline-block;
  136. // color: var(--v-primary-base);
  137. // height: 49px;
  138. // line-height: 49px;
  139. }
  140. .user-nav .btns .btn-outline {
  141. border-radius: 8px;
  142. text-align: center;
  143. font-size: 14px;
  144. height: 26px;
  145. line-height: 26px;
  146. min-width: 0;
  147. padding: 0 11px;
  148. margin-left: 14px;
  149. background-color: transparent;
  150. }
  151. .user-nav .btn {
  152. display: inline-block;
  153. box-sizing: content-box;
  154. border: 1px solid var(--v-primary-base);
  155. letter-spacing: 1px;
  156. cursor: pointer;
  157. }
  158. .user-nav a {
  159. text-decoration: none;
  160. }
  161. .menuList {
  162. display: flex;
  163. height: 50px;
  164. line-height: 55px;
  165. // align-items: center;
  166. div {
  167. margin-left: 10px;
  168. }
  169. }
  170. .menuList-first-title:hover {
  171. color: #008979;
  172. font-weight: 700;
  173. text-decoration: underline;
  174. }