styles.module.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. .appbar{
  2. display: flex;
  3. flex-direction: column;
  4. position: fixed;
  5. z-index: var(--zindex-in);
  6. align-items: center;
  7. justify-content: flex-start;
  8. background:var(--widget);
  9. width: 100%;
  10. height: 4rem;
  11. &.mobile{
  12. background:transparent;
  13. height: 8.5rem;
  14. }
  15. &.hide_header{
  16. height:3.75rem;
  17. }
  18. }
  19. .header{
  20. height:100%;
  21. width:100%;
  22. padding: 0px 40px;
  23. background: var(--widget);
  24. border-bottom: 1px solid var(--border);
  25. padding-left:85px;
  26. box-shadow:var(--widget-shadow);
  27. &.nav_open{
  28. padding-left:270px;
  29. }
  30. &_mobile{
  31. position:fixed;
  32. height:3.75rem;
  33. padding: 0px 10px;
  34. z-index: 2;
  35. }
  36. }
  37. .header_room{
  38. display: flex;
  39. position: fixed;
  40. height: 4.75rem !important;
  41. background-color:var(--widget);
  42. z-index:1;
  43. padding: 0.75rem;
  44. //margin-top: -1px;
  45. top: 3.75rem;
  46. width: 100%;
  47. overflow-x: auto;
  48. overflow-y: hidden;
  49. }
  50. .btn_sign_in{
  51. padding: 12px 18px !important;
  52. width: 7rem !important;
  53. height:2.75rem !important;
  54. margin-right: 0.5rem !important;
  55. font-weight: 600 !important;
  56. &_mobile{
  57. background-color: var(--nav-item-hover) !important;
  58. width: 6.3rem !important;
  59. height:2rem !important;
  60. }
  61. }
  62. .btn_sign_up{
  63. width: 7rem !important;
  64. height:2.75rem !important;
  65. text-transform:none !important;
  66. color:#fff !important;
  67. background-color: rgba(29,128,58,0.7) !important;
  68. background-image:conic-gradient(from 1turn,rgba(88,175,16,1),rgba(29,128,58,1));
  69. font-weight: 600 !important;
  70. margin-right: 1.5rem !important;
  71. &_mobile{
  72. width: 6.3rem !important;
  73. height:2rem !important;
  74. margin-right: 0.1rem !important;
  75. }
  76. }
  77. .mobile-top-navigate-list{
  78. display: flex;
  79. height: 100%;
  80. width: auto;
  81. align-items: center;
  82. flex-wrap: nowrap;
  83. gap: 4px;
  84. }
  85. .mb-top-navigate-item{
  86. flex: none;
  87. display: flex;
  88. height: 3.25rem;
  89. padding: 0 0.75rem;
  90. border-radius: 2rem;
  91. align-items: center;
  92. justify-content: center;
  93. &.active{
  94. background-color: var(--nav-item-hover);
  95. }
  96. span{
  97. margin-left: 0.375rem;
  98. font-size: 1rem;
  99. color: var(--header);
  100. font-weight: 600;
  101. }
  102. svg{
  103. width: 1.28rem;
  104. height: 1.28rem;
  105. }
  106. }
  107. .user_info{
  108. position: relative;
  109. justify-content: flex-end;
  110. gap: 0.5rem;
  111. & .avatar{
  112. img{
  113. height: 3rem;
  114. width: auto;
  115. border-radius: 50%;
  116. }
  117. }
  118. & .info{
  119. display: flex;
  120. flex-direction: column;
  121. justify-content: center;
  122. align-items: flex-end;
  123. & .nick{
  124. font-size: 0.875rem;
  125. font-weight: 600;
  126. color: var(--text);
  127. }
  128. & .score{
  129. font-size: 0.9rem;
  130. font-weight: 700;
  131. color: #edc349;
  132. }
  133. }
  134. }