loginTop.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. [v-cloak] {
  2. opacity: 0;
  3. }
  4. #login_header{
  5. width: 100vw;
  6. display: flex;
  7. justify-content: center;
  8. height: 7vh;
  9. position: fixed;
  10. top: 0;
  11. left: 0;
  12. background: #fff;
  13. }
  14. #login_header_container{
  15. width: 95vw;
  16. display: flex;
  17. border: 1px solid #ccc;
  18. align-items: center;
  19. }
  20. .img_logo {
  21. display: flex;
  22. align-items: center;
  23. }
  24. .img_logo .logo {
  25. width: 5.5vw;
  26. height: 4vh;
  27. background: url("/img/supplier-login/logo.png") no-repeat;
  28. }
  29. .text {
  30. font-size: 1.2vw;
  31. font-weight: 400;
  32. color: #272727;
  33. }
  34. .header_link{
  35. align-items: center;
  36. position: relative;
  37. width: 49vw;
  38. height: 100%;
  39. display: flex;
  40. justify-content: space-between;
  41. }
  42. .header_link .nav_link {
  43. position: absolute;
  44. left: 0;
  45. top: 0;
  46. display: flex;
  47. justify-content: center;
  48. align-items: end;
  49. width: 7vw;
  50. height: 100%;
  51. transition: .3s;
  52. }
  53. .header_link .nav_link .nav_link_item{
  54. width: 1.2vw;
  55. height: 0.2vh;
  56. background: #FF5B00;
  57. border-radius: 8px;
  58. margin-bottom: 1vh;
  59. }
  60. .header_link .header_link_itme {
  61. cursor: pointer;
  62. font-size: 0.84vw;
  63. width: 7vw;
  64. height: 100%;
  65. display: flex;
  66. justify-content: center;
  67. align-items: center;
  68. z-index: 1;
  69. }
  70. .header_link .header_link_itme:hover{
  71. color: #FF5B00;
  72. transform: scale(1.1);
  73. }
  74. .header_link_itme:nth-child(2):hover ~ .nav_link {
  75. left: 7vw;
  76. }
  77. .header_link_itme:nth-child(3):hover ~ .nav_link {
  78. left: 14vw;
  79. }
  80. .header_link_itme:nth-child(4):hover ~ .nav_link {
  81. left: 21vw;
  82. }
  83. .header_link_itme:nth-child(5):hover ~ .nav_link {
  84. left: 28vw;
  85. }
  86. .header_link_itme:nth-child(6):hover ~ .nav_link {
  87. left: 35vw;
  88. }
  89. .header_link_itme:nth-child(7):hover ~ .nav_link {
  90. left: 42vw;
  91. }
  92. .isActiveLink {
  93. color: #FF5B00;
  94. transform: scale(1.1);
  95. }