_global.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. /* global template styles */
  2. html {
  3. user-select: none;
  4. font-size: calc(100% * var(--font-scale));
  5. &.no-transition *:not(.swiper:not(.selection-list) *) {
  6. transition: none !important;
  7. }
  8. &.no-scroll {
  9. overflow: hidden;
  10. }
  11. }
  12. body {
  13. background: var(--body);
  14. color: var(--text);
  15. font-family: var(--body-font);
  16. font-size: 0.875rem;
  17. line-height: 24px;
  18. }
  19. .app {
  20. min-height: 100vh;
  21. display: flex;
  22. flex-direction: column;
  23. transition: transform var(--transition),opacity var(--transition);
  24. &_openSub{
  25. transform: translateX(-50%) translateZ(0);
  26. opacity: 0;
  27. }
  28. &_container {
  29. display: flex;
  30. flex-direction: column;
  31. align-items: stretch;
  32. flex: 1;
  33. margin: 0px 0px 70px;
  34. &-content{
  35. padding: 0px 15px;
  36. min-height: 92vh;
  37. background-color: var(--widget-bg);
  38. }
  39. &-footer{
  40. margin-top: 3rem;
  41. background-color: var(--body);
  42. }
  43. }
  44. &_container_full{
  45. display: flex;
  46. min-height: 100vh;
  47. background-color: var(--widget-bg);
  48. }
  49. &.fluid {
  50. //display: block;
  51. //display: flex;
  52. .app_container {
  53. margin: 0;
  54. }
  55. }
  56. .layout {
  57. display: flex;
  58. flex-direction: column;
  59. gap: 0.75rem;
  60. }
  61. @media screen and (min-width: 768px) {
  62. .app_container {
  63. margin-bottom: 40px;
  64. }
  65. .layout {
  66. //margin: 0px 0px;
  67. }
  68. }
  69. @media screen and (min-width: 1920px) {
  70. display: grid;
  71. grid-template-columns: minmax(0, 250px) minmax(0, (calc(100% - 250px)));
  72. .app_container {
  73. margin: 30px 40px 40px;
  74. grid-area: 1 / 2 / 2 / 3;
  75. }
  76. }
  77. }
  78. .app-top{
  79. position: fixed;
  80. inset: 0px;
  81. z-index: var(--zindex-in);
  82. transition: transform var(--transition),opacity var(--transition);
  83. pointer-events: none;
  84. }
  85. .app-hash{
  86. position: fixed;
  87. z-index: var(--zindex-second);
  88. inset: 0px;
  89. pointer-events: none;
  90. }
  91. .pop{
  92. min-height: 100vh;
  93. display: flex;
  94. flex-direction: column;
  95. &_content{
  96. min-width: 100vh;
  97. min-height: 20vh;
  98. }
  99. }
  100. .lazy-image {
  101. display: block;
  102. width: 100%;
  103. height: 100%;
  104. overflow: hidden;
  105. img {
  106. height: 100%;
  107. }
  108. }
  109. input, input::placeholder {
  110. color: var(--text);
  111. }
  112. .sidebar-open{
  113. //margin-left: 250px;
  114. margin-left: var(--side-open);
  115. }
  116. .sidebar-close{
  117. //margin-left: 65px;
  118. margin-left: var(--side-close);
  119. }
  120. .sidebar-nav{
  121. //padding: 20px 10px 80px;
  122. padding: 20px 0px 80px;
  123. overflow-y: auto;
  124. overflow-x: hidden;
  125. height: 100%;
  126. }
  127. .sidebar-nav-block{
  128. position: relative;
  129. padding: 0px 1rem;
  130. }
  131. .ls-icon{
  132. display: flex;
  133. align-items: center;
  134. justify-content: center;
  135. width: 18px;
  136. height: 18px;
  137. fill: var(--text);
  138. &:hover, &:focus, &.active{
  139. fill: var(--header);
  140. }
  141. }
  142. .m-button{
  143. &.MuiButton-root{
  144. gap: 12px;
  145. text-transform:none !important;
  146. border: none !important;
  147. border-radius: var(--border-radius) !important;
  148. height:3rem;
  149. width:3rem;
  150. min-width: 3rem;
  151. //padding: 12px !important;
  152. color: var(--text);
  153. font-size: 0.875rem;
  154. line-height: 1.75;
  155. &:hover, &.active{
  156. background-color: var(--nav-item-hover) !important;
  157. color: var(--header);
  158. & .ls-icon{
  159. fill: var(--header);
  160. }
  161. }
  162. }
  163. }
  164. .chat-green-dont {
  165. position: absolute;
  166. right: 6px;
  167. top: 6px;
  168. z-index: 1;
  169. width: 0.625rem;
  170. height: 0.625rem;
  171. border-radius: 50%;
  172. background-color: var(--primary-color);
  173. }
  174. .fold-line {
  175. width: 100%;
  176. border-top: 1px solid var(--divider);
  177. margin: 12px 0;
  178. }
  179. @keyframes rotate {
  180. from {
  181. transform: rotate(0deg);
  182. }
  183. to {
  184. transform: rotate(360deg);
  185. }
  186. }
  187. .overflow-visible{
  188. overflow:visible !important;
  189. }
  190. .page-max-width-wrap{
  191. width: 100%;
  192. margin: 0 auto;
  193. padding: 0 25px;
  194. max-width: 1430px;
  195. }
  196. .grid-list {
  197. --grid-gap: .75rem;
  198. row-gap: 1.25rem;
  199. }
  200. .progressier_bar_open{
  201. margin-top: 65px;
  202. }
  203. .loading-in{
  204. width: 100%;
  205. height: 75vh;
  206. }
  207. .loading-full{
  208. width: 100vw;
  209. height: 100vh;
  210. }