navBar.scss 2.8 KB

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