base.css 8.6 KB

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