header.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. .header-bar-warp {
  2. position: fixed;
  3. top: 50px;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. background: rgba(0, 0, 0, 0.5);
  8. z-index: 1100;
  9. }
  10. .header-bar {
  11. background: #20222a;
  12. position: fixed;
  13. top: 0;
  14. left: 0;
  15. right: 0;
  16. z-index: 1100;
  17. ul,
  18. li {
  19. list-style: none;
  20. padding: 0;
  21. }
  22. .avatar-wrapper {
  23. margin-top: 10px;
  24. }
  25. .menu-modal {
  26. cursor: pointer;
  27. font-weight: 400;
  28. }
  29. .header-bar-hover {
  30. position: fixed;
  31. z-index: 1050;
  32. top: 50px;
  33. left: 0px;
  34. right: 0;
  35. background: #fff;
  36. box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1);
  37. height: 500px;
  38. .header-bar-hover-content {
  39. display: flex;
  40. text-align: left;
  41. .left-banner {
  42. width: 230px;
  43. height: 500px;
  44. overflow-y: auto;
  45. ul {
  46. background: #f1f1f1;
  47. li {
  48. height: 50px;
  49. line-height: 50px;
  50. padding: 0 30px;
  51. font-size: 12px;
  52. cursor: pointer;
  53. display: flex;
  54. i{
  55. display: block;
  56. width:20px;
  57. }
  58. }
  59. li.active{
  60. color: #0084FF;
  61. background-color: #D9EDFF;
  62. }
  63. }
  64. .first-order {
  65. height: 50px;
  66. padding: 0 20px;
  67. line-height: 50px;
  68. font-size: 14px;
  69. font-weight: bold;
  70. background: #f9f9f9;
  71. cursor: pointer;
  72. i {
  73. position: relative;
  74. top: 3px;
  75. margin-right: 5px;
  76. }
  77. }
  78. }
  79. .el-alert {
  80. line-height: 20px;
  81. text-align: center;
  82. background: #dfecff;
  83. color: #666666;
  84. font-weight: 400;
  85. margin-bottom: 20px;
  86. i {
  87. color: #46a6ff;
  88. }
  89. }
  90. }
  91. .menu-warp {
  92. width: calc(100vw - 230px);
  93. background: #fff;
  94. overflow: hidden;
  95. box-sizing: border-box;
  96. padding: 0 40px;
  97. height: 500px;
  98. overflow-y: auto;
  99. .btn-warp{
  100. margin: 40px 0 20px;
  101. }
  102. .all-menu-warp{
  103. overflow-y: auto;
  104. .all-menu-title{
  105. overflow: hidden;
  106. }
  107. .title{
  108. margin-bottom: 10px;
  109. color: #999999;
  110. font-size: 14px;
  111. }
  112. }
  113. .header-button-box{
  114. width: 140px;
  115. height: 40px;
  116. background: #EEEEEE;
  117. border-radius: 2px 2px 2px 2px;
  118. opacity: 1;
  119. border: 1px solid #DDDDDD;
  120. display: flex;
  121. justify-content: space-between;
  122. line-height: 40px;
  123. padding: 0 10px;
  124. box-sizing: border-box;
  125. margin-right: 20px;
  126. font-size: 14px;
  127. margin-bottom: 10px;
  128. float: left;
  129. i{
  130. position: relative;
  131. top: 2px;
  132. cursor: pointer;
  133. }
  134. }
  135. .header-add-button-box{
  136. width: 140px;
  137. height: 40px;
  138. background: #fff;
  139. border-radius: 2px 2px 2px 2px;
  140. opacity: 1;
  141. border: 1px dashed #DDDDDD;
  142. justify-content: space-between;
  143. line-height: 40px;
  144. padding: 0 10px;
  145. box-sizing: border-box;
  146. margin-right: 20px;
  147. font-size: 14px;
  148. margin-bottom: 10px;
  149. text-align: center;
  150. float: left;
  151. cursor: pointer;
  152. i{
  153. position: relative;
  154. top: 2px;
  155. cursor: pointer;
  156. }
  157. }
  158. .commons-warp{
  159. overflow: hidden;
  160. }
  161. .first-order-title {
  162. height: 55px;
  163. line-height: 55px;
  164. color: #333333;
  165. font-size: 15px;
  166. font-weight: bold;
  167. }
  168. .second-level {
  169. height: 420px;
  170. display: flex;
  171. flex-wrap: wrap;
  172. flex-direction: column;
  173. flex-grow: 0;
  174. flex-basis: auto;
  175. float: left;
  176. }
  177. .menu-title {
  178. font-weight: 600;
  179. color: #0084ff;
  180. height: 40px;
  181. line-height: 40px;
  182. border-bottom: 1px solid #ddd;
  183. font-size: 14px;
  184. width: 140px;
  185. margin: 0 50px 0 0;
  186. i {
  187. position: relative;
  188. top: 3px;
  189. margin-right: 5px;
  190. }
  191. }
  192. .menu-ul {
  193. float: left;
  194. width: 140px;
  195. list-style: none;
  196. margin: 0 50px 0 0;
  197. padding: 0;
  198. height: 36px;
  199. line-height: 36px;
  200. font-size: 12px;
  201. font-weight: 400;
  202. cursor: pointer;
  203. }
  204. .menu-ul:hover {
  205. color: #0084ff;
  206. }
  207. }
  208. }
  209. .nav {
  210. display: flex;
  211. padding: 0;
  212. margin: 0;
  213. height: 50px;
  214. .auto-list{
  215. width: calc(100vw - 616px);
  216. li{
  217. float: left;
  218. }
  219. .more-box{
  220. position: relative;
  221. .more-list{
  222. width: 120px;
  223. position: absolute;
  224. background: #FFFFFF;
  225. box-shadow: 0px 2px 20px 1px rgba(0,0,0,0.1);
  226. border-radius: 2px 2px 2px 2px;
  227. opacity: 1;
  228. z-index: 10001111;
  229. color: #666666;
  230. padding-top: 10px;
  231. display: none;
  232. li{
  233. width: 100%;
  234. height: 40px;
  235. line-height: 40px;
  236. font-size: 14px;
  237. }
  238. li:hover{
  239. background-color: #EFF6FF;
  240. color: #0084FF;
  241. }
  242. }
  243. }
  244. .more-box:hover{
  245. .more-list{
  246. display: block;
  247. }
  248. }
  249. }
  250. .logo {
  251. color: #fff;
  252. font-size: 20px;
  253. font-weight: bold;
  254. line-height: 50px;
  255. margin: 0 20px;
  256. min-width: 120px
  257. }
  258. .nav-li {
  259. width: 120px;
  260. height: 50px;
  261. font-size: 14px;
  262. font-weight: 400;
  263. text-align: center;
  264. line-height: 50px;
  265. list-style: none;
  266. color: #fff;
  267. cursor: pointer;
  268. a {
  269. color: #fff;
  270. }
  271. }
  272. .nav-li.active {
  273. background: #0084ff;
  274. color: #fff;
  275. a {
  276. color: #fff;
  277. }
  278. }
  279. .nav-li:hover{
  280. background: #444;
  281. }
  282. .nav-li.active:hover{
  283. background: #0084ff;
  284. }
  285. }
  286. header {
  287. z-index: 11205;
  288. left: 0;
  289. right: 0;
  290. top: 0;
  291. height: 50px;
  292. display: flex;
  293. justify-content: space-between;
  294. .fr {
  295. max-width: 336px;
  296. display: flex;
  297. .input-search {
  298. margin: 12px 40px 12px 0;
  299. width: 240px;
  300. input {
  301. height: 30px;
  302. }
  303. }
  304. .dropdown-box {
  305. margin-right: 12px;
  306. line-height: 50px;
  307. cursor: pointer;
  308. width: fit-content;
  309. white-space:nowrap;
  310. overflow:hidden;
  311. text-overflow:ellipsis;
  312. }
  313. .badge {
  314. margin: 15px 24px 15px 0;
  315. height: 20px;
  316. width: 20px;
  317. i {
  318. color: #bbbbbb;
  319. }
  320. }
  321. .user-img {
  322. margin: 12px 12px 12px 0;
  323. }
  324. }
  325. }
  326. }
  327. header > a {
  328. margin: 0 20px;
  329. }