_header.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. .top-header-Jf03 {
  2. vertical-align: baseline;
  3. }
  4. .top-header-Jf03 .main-Kg48 {
  5. height: 60px;
  6. background: linear-gradient(to right, #006946, #007d5f);
  7. overflow: hidden;
  8. padding: 0 24px 0 16px;
  9. position: relative;
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-between;
  13. color: #fff;
  14. }
  15. .top-header-Jf03 .main-Kg48 .left {
  16. display: flex;
  17. align-items: center;
  18. height: 100%;
  19. }
  20. .top-header-Jf03 .main-Kg48 .left .logo {
  21. font-size: 0;
  22. }
  23. .top-header-Jf03 .main-Kg48 .left .logo .img {
  24. height: 30px;
  25. width: 30px;
  26. cursor: pointer;
  27. border-radius: 50%;
  28. border: 1px solid rgba(255, 255, 255, 0.2);
  29. }
  30. .top-header-Jf03 .main-Kg48 .left .company-name {
  31. display: flex;
  32. align-items: center;
  33. margin-left: 8px;
  34. cursor: pointer;
  35. height: 50px;
  36. }
  37. .top-header-Jf03 .main-Kg48 .left .company-name .name {
  38. font-size: 17px;
  39. max-width: 174px;
  40. margin-right: 4px;
  41. overflow: hidden;
  42. text-overflow: ellipsis;
  43. white-space: nowrap;
  44. }
  45. .top-header-Jf03 .main-Kg48 .left .company-name .icon {
  46. color: #fff;
  47. font-size: 12px;
  48. vertical-align: -0.15em;
  49. }
  50. .top-header-Jf03 .main-Kg48 .left .divider {
  51. height: 20px;
  52. width: 1px;
  53. background: white;
  54. opacity: 0.2;
  55. margin-left: 17px;
  56. }
  57. .top-header-Jf03 .main-Kg48 .left #top-bar-menu {
  58. padding-left: 19px;
  59. height: 100%;
  60. white-space: nowrap;
  61. position: relative;
  62. }
  63. .top-header-Jf03 .main-Kg48 .left #top-bar-menu .layui-nav {
  64. background-color: unset;
  65. color: #fff;
  66. padding: 0;
  67. }
  68. .top-header-Jf03 .main-Kg48 .left #top-bar-menu .layui-nav .layui-nav-item:nth-child(n+2) {
  69. margin-left: 32px;
  70. }
  71. .top-header-Jf03 .main-Kg48 .left #top-bar-menu .layui-nav .layui-nav-item a {
  72. color: #fff;
  73. padding: 0;
  74. cursor: pointer;
  75. }
  76. .top-header-Jf03 .main-Kg48 .left #top-bar-menu .layui-nav .layui-nav-item.layui-this::after {
  77. bottom: 9px !important;
  78. width: 100%;
  79. height: 3px;
  80. border-radius: 2px;
  81. background-color: #fff;
  82. }
  83. .top-header-Jf03 .main-Kg48 .left #top-bar-menu .layui-nav .layui-nav-item#layui-nav-item-more {
  84. margin-left: 36px;
  85. }
  86. .top-header-Jf03 .main-Kg48 .left #top-bar-menu .layui-nav .layui-nav-item#layui-nav-item-more .icon {
  87. vertical-align: -0.15em;
  88. }
  89. .top-header-Jf03 .main-Kg48 .left #top-bar-menu .layui-nav .layui-nav-bar {
  90. display: none;
  91. }
  92. .top-header-Jf03 .main-Kg48 .right-Le52 {
  93. display: flex;
  94. align-items: center;
  95. height: 100%;
  96. }
  97. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search {
  98. background-color: rgba(0, 0, 0, 0.15);
  99. border-radius: 16px;
  100. border: 1px solid transparent;
  101. color: #fff;
  102. height: 32px;
  103. position: relative;
  104. }
  105. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .query-input {
  106. position: relative;
  107. font-size: 14px;
  108. display: inline-block;
  109. width: 100%;
  110. width: 300px;
  111. }
  112. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .query-input.active {
  113. background-color: white;
  114. border-radius: 16px;
  115. }
  116. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .query-input.active .input {
  117. color: #495060;
  118. font-size: 14px;
  119. padding-right: 36px;
  120. }
  121. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .query-input.active .input:focus {
  122. outline: none;
  123. border-color: #0bb27a;
  124. }
  125. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .query-input.active .icon-search {
  126. display: none;
  127. }
  128. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .query-input.active .icon-search2 {
  129. display: block;
  130. }
  131. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .query-input .input {
  132. background: transparent;
  133. box-shadow: none;
  134. border: none;
  135. height: 32px !important;
  136. line-height: 32px !important;
  137. color: white;
  138. -webkit-appearance: none;
  139. border-radius: 4px;
  140. box-sizing: border-box;
  141. display: inline-block;
  142. font-size: inherit;
  143. outline: none;
  144. padding: 0 15px;
  145. transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  146. width: 100%;
  147. }
  148. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .query-input .input::placeholder {
  149. color: rgba(255, 255, 255, 0.7);
  150. font-size: 14px;
  151. }
  152. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .icon-search, .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .icon-search2 {
  153. font-size: 16px;
  154. position: absolute;
  155. right: 12px;
  156. top: -2px;
  157. bottom: 0;
  158. margin: auto;
  159. width: 1em;
  160. height: 1em;
  161. overflow: hidden;
  162. }
  163. .top-header-Jf03 .main-Kg48 .right-Le52 .quick-search .icon-search2 {
  164. display: none;
  165. }
  166. .top-header-Jf03 .main-Kg48 .right-Le52 .notice {
  167. margin-left: 17px;
  168. }
  169. .top-header-Jf03 .main-Kg48 .right-Le52 .feedback {
  170. margin-left: 12px;
  171. }
  172. .top-header-Jf03 .main-Kg48 .right-Le52 .avatar {
  173. margin-left: 19px;
  174. }
  175. .top-header-Jf03 .main-Kg48 .right-Le52 .icon {
  176. vertical-align: -0.15em;
  177. }