header.scss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  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: #1b374c;
  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 50px;
  51. font-size: 15px;
  52. cursor: pointer;
  53. }
  54. li.active {
  55. color: #0084FF;
  56. background-color: #D9EDFF;
  57. }
  58. }
  59. .first-order {
  60. height: 50px;
  61. padding: 0 20px;
  62. line-height: 50px;
  63. font-size: 16px;
  64. font-weight: bold;
  65. background: #f9f9f9;
  66. cursor: pointer;
  67. i {
  68. position: relative;
  69. top: 3px;
  70. margin-right: 5px;
  71. }
  72. }
  73. }
  74. .right-banner {
  75. width: 300px;
  76. height: 500px;
  77. overflow-y: auto;
  78. padding: 0 20px;
  79. // background: #f1f1f1;
  80. &::-webkit-scrollbar {
  81. width: 2px !important;
  82. height: 2px !important;
  83. }
  84. .first-order-title {
  85. height: 50px;
  86. line-height: 50px;
  87. // color: #333333;
  88. // font-size: 15px;
  89. // font-weight: bold;
  90. // background: #fff;
  91. }
  92. .collect {
  93. .item {
  94. margin-bottom: 10px;
  95. font-size: 14px;
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: center;
  99. padding: 2px 5px;
  100. // border: 1px solid #eee;
  101. }
  102. }
  103. }
  104. .el-alert {
  105. line-height: 20px;
  106. text-align: center;
  107. background: #dfecff;
  108. color: #666666;
  109. font-weight: 400;
  110. margin-bottom: 20px;
  111. i {
  112. color: #46a6ff;
  113. }
  114. }
  115. }
  116. .menu-warp {
  117. width: calc(100vw - 230px - 300px);
  118. background: #fff;
  119. // overflow: hidden;
  120. box-sizing: border-box;
  121. padding: 0 20px;
  122. height: 500px;
  123. // overflow-y: auto;
  124. overflow: auto;
  125. box-shadow: 2px 0px 0px #eee;
  126. // &::-webkit-scrollbar {
  127. // width: 2px !important;
  128. // height: 2px !important;
  129. // }
  130. .btn-warp {
  131. margin: 40px 0 20px;
  132. }
  133. .all-menu-warp {
  134. overflow-y: auto;
  135. .all-menu-title {
  136. overflow: hidden;
  137. }
  138. .title {
  139. margin-bottom: 10px;
  140. color: #999999;
  141. font-size: 14px;
  142. }
  143. }
  144. .header-button-box {
  145. width: 140px;
  146. height: 40px;
  147. background: #EEEEEE;
  148. border-radius: 2px 2px 2px 2px;
  149. opacity: 1;
  150. border: 1px solid #DDDDDD;
  151. display: flex;
  152. justify-content: space-between;
  153. line-height: 40px;
  154. padding: 0 10px;
  155. box-sizing: border-box;
  156. margin-right: 20px;
  157. font-size: 14px;
  158. margin-bottom: 10px;
  159. float: left;
  160. i {
  161. position: relative;
  162. top: 2px;
  163. cursor: pointer;
  164. }
  165. }
  166. .header-add-button-box {
  167. width: 140px;
  168. height: 40px;
  169. background: #fff;
  170. border-radius: 2px 2px 2px 2px;
  171. opacity: 1;
  172. border: 1px dashed #DDDDDD;
  173. justify-content: space-between;
  174. line-height: 40px;
  175. padding: 0 10px;
  176. box-sizing: border-box;
  177. margin-right: 20px;
  178. font-size: 14px;
  179. margin-bottom: 10px;
  180. text-align: center;
  181. float: left;
  182. cursor: pointer;
  183. i {
  184. position: relative;
  185. top: 2px;
  186. cursor: pointer;
  187. }
  188. }
  189. .commons-warp {
  190. overflow: hidden;
  191. }
  192. .first-order-title {
  193. height: 50px;
  194. line-height: 50px;
  195. // color: #333333;
  196. // font-size: 15px;
  197. // font-weight: bold;
  198. }
  199. .aaa {
  200. -moz-column-count: 4;
  201. /* Firefox */
  202. -webkit-column-count: 4;
  203. /* Safari 和 Chrome */
  204. column-count: 4;
  205. -moz-column-gap: 50px;
  206. -webkit-column-gap: 50px;
  207. column-gap: 50px;
  208. .bbb {
  209. -moz-page-break-inside: avoid;
  210. -webkit-column-break-inside: avoid;
  211. break-inside: avoid;
  212. }
  213. }
  214. .second-level {
  215. // height: 420px;
  216. // display: flex;
  217. // flex-wrap: wrap;
  218. // flex-direction: column;
  219. // flex-grow: 0;
  220. // flex-basis: auto;
  221. // float: left;
  222. }
  223. .menu-title {
  224. font-weight: 600;
  225. color: #1b374c;
  226. height: 40px;
  227. line-height: 40px;
  228. border-bottom: 1px solid #efebeb;
  229. font-size: 15px;
  230. width: 140px;
  231. margin: 0 5vw 0 0;
  232. i {
  233. position: relative;
  234. top: 3px;
  235. margin-right: 5px;
  236. }
  237. }
  238. .menu-ul {
  239. // float: left;
  240. // width: 140px;
  241. // list-style: none;
  242. // margin: 0 5vw 0 0;
  243. // padding: 0;
  244. padding-left: 10px;
  245. // display: flex;
  246. // align-items: center;
  247. height: 36px;
  248. line-height: 36px;
  249. font-size: 14px;
  250. font-weight: 400;
  251. // cursor: pointer;
  252. }
  253. .menu-ul span:hover {
  254. color: #0084ff;
  255. }
  256. }
  257. }
  258. .nav {
  259. display: flex;
  260. padding: 0;
  261. margin: 0;
  262. height: 50px;
  263. .auto-list {
  264. width: calc(100vw - 616px);
  265. li {
  266. float: left;
  267. }
  268. .more-box {
  269. position: relative;
  270. .more-list {
  271. width: 120px;
  272. position: absolute;
  273. background: #FFFFFF;
  274. box-shadow: 0px 2px 20px 1px rgba(0, 0, 0, 0.1);
  275. border-radius: 2px 2px 2px 2px;
  276. opacity: 1;
  277. z-index: 10001111;
  278. color: #666666;
  279. padding-top: 10px;
  280. display: none;
  281. li {
  282. width: 100%;
  283. height: 40px;
  284. line-height: 40px;
  285. font-size: 14px;
  286. }
  287. li:hover {
  288. background-color: #EFF6FF;
  289. color: #0084FF;
  290. }
  291. }
  292. }
  293. .more-box:hover {
  294. .more-list {
  295. display: block;
  296. }
  297. }
  298. }
  299. .logo {
  300. color: #fff;
  301. font-size: 20px;
  302. font-weight: bold;
  303. line-height: 50px;
  304. margin: 0 20px;
  305. min-width: 120px
  306. }
  307. .nav-li {
  308. width: 120px;
  309. height: 50px;
  310. font-size: 14px;
  311. font-weight: 400;
  312. text-align: center;
  313. line-height: 50px;
  314. list-style: none;
  315. color: #fff;
  316. cursor: pointer;
  317. a {
  318. color: #fff;
  319. }
  320. }
  321. .nav-li.active {
  322. background: #0084ff;
  323. color: #fff;
  324. a {
  325. color: #fff;
  326. }
  327. }
  328. .nav-li:hover {
  329. background: #444;
  330. }
  331. .nav-li.active:hover {
  332. background: #0084ff;
  333. }
  334. }
  335. header {
  336. z-index: 11205;
  337. left: 0;
  338. right: 0;
  339. top: 0;
  340. height: 50px;
  341. display: flex;
  342. justify-content: space-between;
  343. .fr {
  344. max-width: 336px;
  345. display: flex;
  346. .input-search {
  347. margin: 12px 40px 12px 0;
  348. width: 240px;
  349. input {
  350. height: 30px;
  351. }
  352. }
  353. .dropdown-box {
  354. margin-right: 12px;
  355. line-height: 50px;
  356. cursor: pointer;
  357. width: fit-content;
  358. white-space: nowrap;
  359. overflow: hidden;
  360. text-overflow: ellipsis;
  361. }
  362. .badge {
  363. margin: 15px 24px 15px 0;
  364. height: 20px;
  365. width: 20px;
  366. i {
  367. color: #fff;
  368. }
  369. }
  370. .user-img {
  371. margin: 12px 12px 12px 0;
  372. }
  373. }
  374. }
  375. }
  376. header>a {
  377. margin: 0 20px;
  378. }