* { margin: 0; padding: 0; box-sizing: border-box; } html { height: 100%; font-size: 14px; user-select: none; } body { font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif; height: 100%; } @font-face { font-family: 'fzFont'; /* 自定义字体名称 */ src: url('../font/fzFont.TTF') format('truetype'); } a { text-decoration: none; outline: none; } i { font-style: normal; } img { max-width: 100%; max-height: 100%; vertical-align: middle; } ul { list-style: none; } body { overflow: auto; overflow-y: overlay; } /* 文本域取消下拉 */ textarea { resize: none !important; min-height: 100px !important; } /* 主题色 */ :root { --themeColor: #c8a063; --themeColor2: #f58543; --pcIconWidth: 48px; --appIconWidthH: 36px; } /* 找不到页面 */ .noFindPage { padding-top: 100px; opacity: 0; transition: opacity 0.5s; } [hidden] { display: none !important; } .mySorrlNo::-webkit-scrollbar { /*滚动条整体样式*/ width: 0px; /*高宽分别对应横竖滚动条的尺寸*/ height: 0px; } .mySorrlNo::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; -webkit-box-shadow: inset 0 0 5px transparent; background: transparent; } .mySorrlNo::-webkit-scrollbar-track { /*滚动条里面轨道*/ -webkit-box-shadow: inset 0 0 5px transparent; border-radius: 10px; background: transparent; } .mySorrl::-webkit-scrollbar { /*滚动条整体样式*/ width: 3px; /*高宽分别对应横竖滚动条的尺寸*/ height: 1px; } .mySorrl::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; -webkit-box-shadow: inset 0 0 5px transparent; background: var(--themeColor2); } .mySorrl::-webkit-scrollbar-track { /*滚动条里面轨道*/ -webkit-box-shadow: inset 0 0 5px transparent; border-radius: 10px; background: rgba(0, 0, 0, 0.2); } #root { /*横屏*/ } #root #ScreenChange { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999; background-color: rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: all 0.5s; } #root #ScreenChange > img { width: 200px; } #root #ScreenChange > p { margin-top: 20px; color: #fff; font-size: 18px; height: 40px; } .ant-image-preview-operations { background-color: rgba(0, 0, 0, 0.6) !important; } .ant-image-preview-close { display: none !important; } html, body, #root, #App, #AppM { width: 100%; height: 100%; } #App, #AppM { position: relative; overflow: hidden; } .likeMoveAc { animation: likeMoveAc 2s linear forwards; } .room-label p { color: #fdfbb2; } @keyframes likeMoveAc { 0% { opacity: 1; bottom: 0; transform: scale(1); } 100% { opacity: 0; bottom: 50px; transform: scale(1.5); } } @media screen and (max-width: 1000px) { html .cad { width: 120px; height: 120px; } } @media screen and (max-width: 1000px) { html .cad { top: 20px; } }