navBar.scss 2.4 KB

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