header.scss 5.3 KB

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