header.scss 5.5 KB

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