index.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. .header {
  2. height: 40px;
  3. line-height: 40px;
  4. flex-shrink: 0;
  5. padding: 0 32px;
  6. box-sizing: border-box;
  7. border-bottom: solid 1px #e8e8e8;
  8. //box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px;
  9. display: flex;
  10. align-items: center;
  11. background-color: #fff;
  12. overflow: hidden;
  13. .header-icons {
  14. justify-content: space-between;
  15. display: flex;
  16. align-items: center;
  17. // color: #597D3B;
  18. img{
  19. width:auto ;
  20. vertical-align: middle;
  21. height: 36px;
  22. }
  23. }
  24. .header-menu {
  25. margin-left: 100px;
  26. & .menu {
  27. height: 40px;
  28. }
  29. & .header-menu-item{
  30. vertical-align: middle;
  31. color: #000000;
  32. height: 40px;
  33. &:hover{
  34. //z-index: 1;
  35. background-color: #fff;
  36. color: #000000;
  37. border-bottom: 2px solid #597D3B;
  38. //& .header-menu-item-text{
  39. // z-index: 99;
  40. // border-bottom: 2px solid #597D3B;
  41. //}
  42. }
  43. &.is-active{
  44. background-color: #fff;
  45. color: #597D3B!important;
  46. border-bottom: 2px solid #597D3B;
  47. }
  48. }
  49. }
  50. .header-userName {
  51. margin-left: auto;
  52. display: flex;
  53. vertical-align: middle;
  54. align-items: center;
  55. gap: 15px;
  56. float: right;
  57. }
  58. }