base.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. word-wrap: break-word;
  6. -webkit-tap-highlight-color: transparent;
  7. font-family: 'SimHei', 'SimSun', 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  8. }
  9. /* 全局css变量 */
  10. :root {
  11. --themeColor: #733c00;
  12. --themeColor2: #ead98f;
  13. --fontNum: 16px;
  14. }
  15. html {
  16. height: 100%;
  17. user-select: none;
  18. }
  19. body {
  20. position: relative;
  21. font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  22. font-size: var(--fontNum);
  23. height: 100%;
  24. color: black;
  25. overflow: auto;
  26. background-color: #cbc5b7;
  27. }
  28. body #wjwjScene {
  29. width: 100%;
  30. height: 100%;
  31. border: none;
  32. position: fixed;
  33. top: 50%;
  34. left: 50%;
  35. transform: translate(-50%, -50%);
  36. }
  37. body #panoramic-root {
  38. display: none;
  39. width: 100%;
  40. height: 100%;
  41. border: none;
  42. position: fixed;
  43. top: 0;
  44. left: 0;
  45. }
  46. body #A7Back {
  47. width: 136px;
  48. height: 67px;
  49. position: absolute;
  50. z-index: 3;
  51. top: 3%;
  52. left: 4%;
  53. cursor: pointer;
  54. }
  55. body #A7Back > img {
  56. height: 100%;
  57. object-fit: contain;
  58. }
  59. #root {
  60. overflow: hidden;
  61. margin: auto;
  62. position: relative;
  63. }
  64. #root > div {
  65. width: 100%;
  66. height: 100%;
  67. }
  68. i {
  69. font-style: normal;
  70. }
  71. img {
  72. max-width: 100%;
  73. max-height: 100%;
  74. vertical-align: middle;
  75. object-fit: cover;
  76. }
  77. ul {
  78. list-style: none;
  79. }
  80. /* 文本域取消下拉 */
  81. textarea {
  82. resize: none !important;
  83. min-height: 100px !important;
  84. }
  85. /* 找不到页面 */
  86. .noFindPage {
  87. opacity: 0;
  88. transition: opacity 0.5s;
  89. text-align: center;
  90. transform: scale(0.6);
  91. }
  92. .noFindPage .ant-result {
  93. padding: 20px !important;
  94. }
  95. .noFindPage .ant-result .ant-result-subtitle {
  96. font-size: 20px;
  97. }
  98. [hidden] {
  99. display: none !important;
  100. }
  101. /* antd图片预览组件 */
  102. .ant-image {
  103. display: none !important;
  104. }
  105. .mySorrl::-webkit-scrollbar {
  106. /*滚动条整体样式*/
  107. width: 5px;
  108. /*高宽分别对应横竖滚动条的尺寸*/
  109. height: 1px;
  110. }
  111. .mySorrl::-webkit-scrollbar-thumb {
  112. /*滚动条里面小方块*/
  113. border-radius: 10px;
  114. -webkit-box-shadow: inset 0 0 5px transparent;
  115. background: var(--themeColor);
  116. }
  117. .mySorrl::-webkit-scrollbar-track {
  118. /*滚动条里面轨道*/
  119. -webkit-box-shadow: inset 0 0 5px transparent;
  120. border-radius: 10px;
  121. background: transparent;
  122. }
  123. .ant-image-preview-operations {
  124. background-color: rgba(0, 0, 0, 0.8) !important;
  125. }
  126. .sizeNo {
  127. font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif !important;
  128. }
  129. .adm-auto-center-content {
  130. font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif !important;
  131. font-size: 16px;
  132. letter-spacing: 3px;
  133. text-align: center;
  134. }
  135. .hoverD {
  136. transition: all 0.3s;
  137. }
  138. .hoverD:hover {
  139. transform: scale(1.1);
  140. }
  141. .yunShan {
  142. animation: yunShan 1.5s infinite linear;
  143. color: #f1e39e;
  144. }
  145. @keyframes yunShan {
  146. 0% {
  147. opacity: 1;
  148. }
  149. 50% {
  150. opacity: 0;
  151. }
  152. 100% {
  153. opacity: 1;
  154. }
  155. }
  156. #BtnRight {
  157. position: absolute;
  158. width: 50px;
  159. height: 50px;
  160. cursor: pointer;
  161. bottom: 15px;
  162. right: 20px;
  163. }
  164. #BtnRight > img {
  165. position: absolute;
  166. top: 0;
  167. left: 0;
  168. width: 100%;
  169. height: 100%;
  170. object-fit: fill !important;
  171. opacity: 1;
  172. transition: all 0.3s;
  173. }
  174. #BtnRight .BtnRight2 {
  175. opacity: 0;
  176. pointer-events: none;
  177. }
  178. #BtnRight:hover .BtnRight1 {
  179. opacity: 0;
  180. pointer-events: none;
  181. }
  182. #BtnRight:hover .BtnRight2 {
  183. opacity: 1;
  184. pointer-events: auto;
  185. }
  186. @media screen and (min-width: 1200px) {
  187. #BtnRight {
  188. width: 35px;
  189. height: 35px;
  190. }
  191. }
  192. #HotOpCss {
  193. animation: HotOpCss 0.5s linear forwards;
  194. }
  195. @keyframes HotOpCss {
  196. 0% {
  197. opacity: 0;
  198. }
  199. 100% {
  200. opacity: 1;
  201. }
  202. }
  203. #bgImgBox {
  204. position: absolute;
  205. top: 0;
  206. left: 0;
  207. width: 100%;
  208. height: 100%;
  209. object-fit: fill !important;
  210. pointer-events: none;
  211. }
  212. @media screen and (orientation: portrait) {
  213. /* 竖屏 */
  214. .adm-image-viewer-image-wrapper img {
  215. transform: rotate(90deg) !important;
  216. }
  217. .adm-toast-wrap {
  218. transform: rotate(90deg) !important;
  219. }
  220. .ant-image-preview-wrap {
  221. transform: rotate(90deg) !important;
  222. }
  223. .ant-image-preview-footer {
  224. transform: scale(0.7) rotate(90deg) translate(-178%, -50%);
  225. transform-origin: left bottom;
  226. }
  227. #root .ant-tooltip {
  228. transform: rotate(0) !important;
  229. inset: 4.331px auto auto 417.25px !important;
  230. width: 410px !important;
  231. height: 150px !important;
  232. max-width: 440px !important;
  233. }
  234. .ant-tooltip-inner {
  235. background: url('../img/tooltipBg.png') no-repeat center center / 100% 100%;
  236. }
  237. #root .ant-tooltip .tooltip_MT .top {
  238. width: 100%;
  239. height: 22px !important;
  240. }
  241. #root .ant-tooltip .tooltip_MT .top .title {
  242. width: 80px !important;
  243. font-size: 15px !important;
  244. line-height: 30px !important;
  245. }
  246. #root .ant-tooltip .tooltip_MT .top .close {
  247. width: 40px;
  248. height: 100%;
  249. cursor: pointer;
  250. display: flex;
  251. justify-content: end;
  252. align-items: center;
  253. }
  254. #root .ant-tooltip .tooltip_MT .top .close > img {
  255. height: 90%;
  256. object-fit: contain;
  257. }
  258. #root .ant-tooltip .tooltip_MT .content {
  259. font-size: 14px !important;
  260. line-height: 20px !important;
  261. font-weight: 400 !important;
  262. height: calc(100% - 30px) !important;
  263. }
  264. body #A7Back {
  265. transform: rotate(90deg);
  266. left: auto;
  267. top: 5%;
  268. right: 2%;
  269. width: 60px;
  270. height: 30px;
  271. position: absolute;
  272. z-index: 3;
  273. cursor: pointer;
  274. }
  275. body #A7Back > img {
  276. height: 100%;
  277. object-fit: contain;
  278. }
  279. }
  280. #myIframe {
  281. position: fixed;
  282. top: 0;
  283. left: 0;
  284. z-index: 99;
  285. width: 100vw;
  286. height: 100vh;
  287. z-index: 2;
  288. }
  289. .HotIconBase {
  290. animation: yunShan 2s infinite linear;
  291. }
  292. @keyframes yunShan {
  293. 0% {
  294. opacity: 1;
  295. }
  296. 50% {
  297. scale: 0.9;
  298. opacity: 0.2;
  299. }
  300. 100% {
  301. opacity: 1;
  302. }
  303. }
  304. @keyframes zhiti {
  305. 0% {
  306. opacity: 1;
  307. }
  308. 50% {
  309. scale: 0.98;
  310. opacity: 0.7;
  311. }
  312. 100% {
  313. opacity: 1;
  314. }
  315. }
  316. .likeImg2 {
  317. animation: likeImg2 1.5s linear forwards;
  318. }
  319. @keyframes likeImg2 {
  320. 0% {
  321. transform: scale(0.1);
  322. }
  323. 100% {
  324. transform: scale(1.5);
  325. }
  326. }
  327. /* 隐藏静音按钮 */
  328. #root .ant-tooltip {
  329. width: 220px;
  330. height: 92px;
  331. max-width: 200px;
  332. }
  333. #root .ant-tooltip .ant-tooltip-content {
  334. width: 100% !important;
  335. height: 100% !important;
  336. }
  337. #root .ant-tooltip .ant-tooltip-inner {
  338. background: url(../img/tooltipBg.png) no-repeat;
  339. background-size: 100% 100%;
  340. box-shadow: none !important;
  341. width: 100% !important;
  342. height: 100% !important;
  343. }
  344. #root .ant-tooltip .tooltip_MT {
  345. height: 100%;
  346. font-size: 16px;
  347. line-height: 24px;
  348. color: #000;
  349. display: flex;
  350. flex-direction: column;
  351. padding-bottom: 8px;
  352. gap: 4px;
  353. }
  354. #root .ant-tooltip .tooltip_MT .top {
  355. width: 100%;
  356. height: 15px;
  357. display: flex;
  358. justify-content: space-between;
  359. align-items: center;
  360. }
  361. #root .ant-tooltip .tooltip_MT .top .title {
  362. width: 30px;
  363. height: 100%;
  364. font-size: 10px;
  365. line-height: 15px;
  366. color: #ffe9b6;
  367. }
  368. #root .ant-tooltip .tooltip_MT .top .close {
  369. width: 40px;
  370. height: 100%;
  371. cursor: pointer;
  372. display: flex;
  373. justify-content: end;
  374. align-items: center;
  375. }
  376. #root .ant-tooltip .tooltip_MT .top .close > img {
  377. height: 90%;
  378. object-fit: contain;
  379. }
  380. #root .ant-tooltip .tooltip_MT .content {
  381. width: 100%;
  382. height: calc(100% - 16px);
  383. font-size: 7px;
  384. line-height: 10px;
  385. color: #fff;
  386. font-weight: lighter;
  387. overflow: auto;
  388. }
  389. #root .ant-tooltip .tooltip_MT .content::-webkit-scrollbar {
  390. width: 0px;
  391. }
  392. #root .ant-tooltip .tooltip_MT .content::-webkit-scrollbar-thumb {
  393. background: #ffe9b6;
  394. }
  395. #root #modalIframe {
  396. width: 100%;
  397. height: 100%;
  398. border: none;
  399. position: fixed;
  400. top: 0;
  401. left: 0;
  402. }
  403. .myFont {
  404. font-family: 'SimSun' !important;
  405. font-weight: 700;
  406. }
  407. .opacityChange {
  408. animation: opacityChange 2s infinite linear;
  409. }
  410. @keyframes opacityChange {
  411. 0% {
  412. opacity: 1;
  413. }
  414. 50% {
  415. opacity: 0.2;
  416. }
  417. 100% {
  418. opacity: 1;
  419. }
  420. }
  421. @keyframes gestureState1 {
  422. 0% {
  423. transform: translateX(0);
  424. }
  425. 50% {
  426. transform: translateX(-50px);
  427. }
  428. 100% {
  429. transform: translateX(0);
  430. }
  431. }
  432. #root .moFont {
  433. font-size: 16px;
  434. line-height: 24px;
  435. letter-spacing: 2px;
  436. font-weight: 400;
  437. color: #504e40;
  438. }
  439. #root .moBack {
  440. width: 80px;
  441. height: 40px;
  442. }
  443. #root .moBack img {
  444. object-fit: fill !important;
  445. }