navBar.scss 2.4 KB

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