navBar.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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: 84px;
  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. .user-nav {
  96. // position: absolute;
  97. // right: 0;
  98. // display: inline-block;
  99. color: var(--v-primary-base);
  100. // height: 49px;
  101. // line-height: 49px;
  102. }
  103. .user-nav .btns .btn-outline {
  104. border-radius: 8px;
  105. text-align: center;
  106. font-size: 14px;
  107. height: 26px;
  108. line-height: 26px;
  109. min-width: 0;
  110. padding: 0 11px;
  111. margin-left: 14px;
  112. background-color: transparent;
  113. }
  114. .user-nav .btn {
  115. display: inline-block;
  116. box-sizing: content-box;
  117. border: 1px solid var(--v-primary-base);
  118. letter-spacing: 1px;
  119. cursor: pointer;
  120. }
  121. .user-nav a {
  122. text-decoration: none;
  123. }