base.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html {
  7. height: 100%;
  8. font-size: 14px;
  9. user-select: none;
  10. }
  11. body {
  12. font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  13. height: 100%;
  14. }
  15. @font-face {
  16. font-family: 'fzFont';
  17. /* 自定义字体名称 */
  18. src: url('../font/fzFont.TTF') format('truetype');
  19. }
  20. a {
  21. text-decoration: none;
  22. outline: none;
  23. }
  24. i {
  25. font-style: normal;
  26. }
  27. img {
  28. max-width: 100%;
  29. max-height: 100%;
  30. vertical-align: middle;
  31. }
  32. ul {
  33. list-style: none;
  34. }
  35. body {
  36. overflow: auto;
  37. overflow-y: overlay;
  38. }
  39. /* 文本域取消下拉 */
  40. textarea {
  41. resize: none !important;
  42. min-height: 100px !important;
  43. }
  44. /* 主题色 */
  45. :root {
  46. --themeColor: #c8a063;
  47. --themeColor2: #f58543;
  48. --pcIconWidth: 48px;
  49. --appIconWidthH: 36px;
  50. }
  51. /* 找不到页面 */
  52. .noFindPage {
  53. padding-top: 100px;
  54. opacity: 0;
  55. transition: opacity 0.5s;
  56. }
  57. [hidden] {
  58. display: none !important;
  59. }
  60. .mySorrlNo::-webkit-scrollbar {
  61. /*滚动条整体样式*/
  62. width: 0px;
  63. /*高宽分别对应横竖滚动条的尺寸*/
  64. height: 0px;
  65. }
  66. .mySorrlNo::-webkit-scrollbar-thumb {
  67. /*滚动条里面小方块*/
  68. border-radius: 10px;
  69. -webkit-box-shadow: inset 0 0 5px transparent;
  70. background: transparent;
  71. }
  72. .mySorrlNo::-webkit-scrollbar-track {
  73. /*滚动条里面轨道*/
  74. -webkit-box-shadow: inset 0 0 5px transparent;
  75. border-radius: 10px;
  76. background: transparent;
  77. }
  78. .mySorrl::-webkit-scrollbar {
  79. /*滚动条整体样式*/
  80. width: 3px;
  81. /*高宽分别对应横竖滚动条的尺寸*/
  82. height: 1px;
  83. }
  84. .mySorrl::-webkit-scrollbar-thumb {
  85. /*滚动条里面小方块*/
  86. border-radius: 10px;
  87. -webkit-box-shadow: inset 0 0 5px transparent;
  88. background: var(--themeColor2);
  89. }
  90. .mySorrl::-webkit-scrollbar-track {
  91. /*滚动条里面轨道*/
  92. -webkit-box-shadow: inset 0 0 5px transparent;
  93. border-radius: 10px;
  94. background: rgba(0, 0, 0, 0.2);
  95. }
  96. #root {
  97. /*横屏*/
  98. }
  99. #root #ScreenChange {
  100. position: fixed;
  101. top: 0;
  102. left: 0;
  103. width: 100%;
  104. height: 100%;
  105. z-index: 99999;
  106. background-color: rgba(0, 0, 0, 0.8);
  107. display: flex;
  108. flex-direction: column;
  109. justify-content: center;
  110. align-items: center;
  111. opacity: 0;
  112. pointer-events: none;
  113. transition: all 0.5s;
  114. }
  115. #root #ScreenChange > img {
  116. width: 200px;
  117. }
  118. #root #ScreenChange > p {
  119. margin-top: 20px;
  120. color: #fff;
  121. font-size: 18px;
  122. height: 40px;
  123. }
  124. .ant-image-preview-operations {
  125. background-color: rgba(0, 0, 0, 0.6) !important;
  126. }
  127. .ant-image-preview-close {
  128. display: none !important;
  129. }
  130. html,
  131. body,
  132. #root,
  133. #App,
  134. #AppM {
  135. width: 100%;
  136. height: 100%;
  137. }
  138. #App,
  139. #AppM {
  140. position: relative;
  141. overflow: hidden;
  142. }
  143. .likeMoveAc {
  144. animation: likeMoveAc 2s linear forwards;
  145. }
  146. .room-label p {
  147. color: #fdfbb2;
  148. }
  149. @keyframes likeMoveAc {
  150. 0% {
  151. opacity: 1;
  152. bottom: 0;
  153. transform: scale(1);
  154. }
  155. 100% {
  156. opacity: 0;
  157. bottom: 50px;
  158. transform: scale(1.5);
  159. }
  160. }
  161. @media screen and (max-width: 1000px) {
  162. html .cad {
  163. width: 120px;
  164. height: 120px;
  165. }
  166. }
  167. @media screen and (max-width: 1000px) {
  168. html .cad {
  169. top: 20px;
  170. }
  171. }