navBar.scss 2.9 KB

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