style.module.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .headerWrap{
  2. height: $-header-height;
  3. //position: fixed;
  4. //z-index: 9;
  5. width: 100%;
  6. max-width: $-body-width;
  7. background: $-theme-color ;
  8. //transform: translate3d(200px, 0, 0);
  9. .headerMain{
  10. position: relative;
  11. padding: 3px 0;
  12. box-sizing: border-box;
  13. display: flex;
  14. align-items: center;
  15. .headerLeft{
  16. position: absolute;
  17. display: block;
  18. line-height: 21px;
  19. color: #ccc;
  20. top: .15rem;
  21. left: .12rem;
  22. z-index: 100;
  23. .menu{
  24. font-size: .16rem;
  25. color: #606060;
  26. }
  27. }
  28. .headerTitle{
  29. margin: 0 .5rem;
  30. height: .4rem;
  31. display: flex;
  32. width: auto;
  33. overflow: hidden;
  34. text-overflow: ellipsis;
  35. white-space: nowrap;
  36. line-height: 0.4rem;
  37. text-align: center;
  38. font-size: 18px;
  39. font-weight: 400;
  40. color: #fff;
  41. align-items: center;
  42. img{
  43. //height: 0.1389rem;
  44. }
  45. .title{
  46. font-size: .24rem;
  47. font-weight: 900;
  48. line-height: 40px;
  49. font-style: italic;
  50. color: #333;
  51. display: -webkit-box;
  52. display: -ms-flexbox;
  53. display: flex;
  54. -webkit-box-align: center;
  55. -ms-flex-align: center;
  56. align-items: center;
  57. }
  58. .selectCountry{
  59. display: flex;
  60. align-items: center;
  61. margin-left: .12rem;
  62. }
  63. .menuDown{
  64. margin-left: .06rem;
  65. border: .04rem solid #4b3d0e;
  66. border-color: #4b3d0e transparent transparent transparent;
  67. border-width: .05rem;
  68. border-radius: .015rem;
  69. border-bottom: 0;
  70. width: 0;
  71. height: 0;
  72. }
  73. }
  74. .headerRight{
  75. position: absolute;
  76. display: block;
  77. font-size: 14px;
  78. line-height: 21px;
  79. color: #ccc;
  80. top: .10rem;
  81. right: .12rem;
  82. .right{
  83. color: #fff;
  84. font-size: .15rem;
  85. display: flex;
  86. align-items: center;
  87. a {
  88. color: #fff;
  89. }
  90. .rightActive{
  91. background: linear-gradient(180deg, #ff9323, #ff6a01);
  92. padding: .04rem .05rem;
  93. border-radius: .05rem;
  94. color: #fff;
  95. margin-left: .11rem;
  96. //margin-top: -.023rem;
  97. }
  98. }
  99. }
  100. }
  101. }
  102. .bar {
  103. position: relative;
  104. display: block;
  105. width: 0.2083rem;
  106. height: 3px;
  107. margin-bottom: 5px ;
  108. background-color: #606060;
  109. border-radius: 10px;
  110. transition: 0.3s;
  111. }
  112. .cross .bar:nth-of-type(1) {
  113. transform: translateY(7px) rotate(-45deg);
  114. }
  115. .cross .bar:nth-of-type(2) {
  116. opacity: 0;
  117. }
  118. .cross .bar:nth-of-type(3) {
  119. transform: translateY(-9px) rotate(45deg);
  120. }