base.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
  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: hidden;
  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. .ant-image-preview-mask {
  65. backdrop-filter: blur(10px);
  66. background-color: rgba(0, 0, 0, 0.9) !important;
  67. }
  68. .ant-image-preview-img-wrapper .previewImage {
  69. width: 100%;
  70. height: 100%;
  71. display: flex;
  72. flex-direction: column;
  73. align-items: center;
  74. justify-content: center;
  75. }
  76. .ant-image-preview-img-wrapper .previewImage .Ori {
  77. height: 83%;
  78. width: 100%;
  79. object-fit: contain;
  80. }
  81. .ant-image-preview-img-wrapper .previewImage .Ori > .ant-image-preview-img {
  82. padding: 20px;
  83. width: 100%;
  84. height: 100%;
  85. max-width: 100%;
  86. max-height: 100%;
  87. object-fit: contain;
  88. }
  89. .ant-image-preview-img-wrapper .previewImage .ImgFromTxt {
  90. width: 80%;
  91. height: 3%;
  92. text-align: center;
  93. font-size: 14px;
  94. color: #fff;
  95. margin-top: 10px;
  96. white-space: nowrap;
  97. }
  98. #root {
  99. overflow: hidden;
  100. margin: auto;
  101. position: relative;
  102. }
  103. #root > div {
  104. width: 100%;
  105. height: 100%;
  106. }
  107. i {
  108. font-style: normal;
  109. }
  110. img {
  111. max-width: 100%;
  112. max-height: 100%;
  113. vertical-align: middle;
  114. object-fit: cover;
  115. }
  116. ul {
  117. list-style: none;
  118. }
  119. /* 文本域取消下拉 */
  120. textarea {
  121. resize: none !important;
  122. min-height: 100px !important;
  123. }
  124. /* 找不到页面 */
  125. .noFindPage {
  126. opacity: 0;
  127. transition: opacity 0.5s;
  128. text-align: center;
  129. transform: scale(0.6);
  130. }
  131. .noFindPage .ant-result {
  132. padding: 20px !important;
  133. }
  134. .noFindPage .ant-result .ant-result-subtitle {
  135. font-size: 20px;
  136. }
  137. [hidden] {
  138. display: none !important;
  139. }
  140. /* antd图片预览组件 */
  141. .ant-image {
  142. display: none !important;
  143. }
  144. .mySorrl::-webkit-scrollbar {
  145. /*滚动条整体样式*/
  146. width: 5px;
  147. /*高宽分别对应横竖滚动条的尺寸*/
  148. height: 1px;
  149. }
  150. .mySorrl::-webkit-scrollbar-thumb {
  151. /*滚动条里面小方块*/
  152. border-radius: 10px;
  153. -webkit-box-shadow: inset 0 0 5px transparent;
  154. background: var(--themeColor);
  155. }
  156. .mySorrl::-webkit-scrollbar-track {
  157. /*滚动条里面轨道*/
  158. -webkit-box-shadow: inset 0 0 5px transparent;
  159. border-radius: 10px;
  160. background: transparent;
  161. }
  162. .ant-image-preview-operations {
  163. background-color: rgba(0, 0, 0, 0.8) !important;
  164. }
  165. .ant-image-preview-operations-wrapper {
  166. position: fixed;
  167. width: 100%;
  168. height: auto;
  169. z-index: 1081;
  170. top: 80%;
  171. left: 50%;
  172. }
  173. .ant-image-preview-operations-wrapper .ant-image-preview-close {
  174. width: 150px;
  175. height: 70px;
  176. border-radius: 0;
  177. background-color: transparent;
  178. }
  179. .sizeNo {
  180. font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif !important;
  181. }
  182. .adm-auto-center-content {
  183. font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif !important;
  184. font-size: 16px;
  185. letter-spacing: 3px;
  186. text-align: center;
  187. }
  188. .hoverD {
  189. transition: all 0.3s;
  190. }
  191. .hoverD:hover {
  192. transform: scale(1.1);
  193. }
  194. .yunShan {
  195. animation: yunShan 1.5s infinite linear;
  196. color: #f1e39e;
  197. }
  198. @keyframes yunShan {
  199. 0% {
  200. opacity: 1;
  201. }
  202. 50% {
  203. opacity: 0;
  204. }
  205. 100% {
  206. opacity: 1;
  207. }
  208. }
  209. #HotOpCss {
  210. animation: HotOpCss 0.5s linear forwards;
  211. }
  212. @keyframes HotOpCss {
  213. 0% {
  214. opacity: 0;
  215. }
  216. 100% {
  217. opacity: 1;
  218. }
  219. }
  220. #bgImgBox {
  221. position: absolute;
  222. top: 0;
  223. left: 0;
  224. width: 100%;
  225. height: 100%;
  226. object-fit: fill !important;
  227. pointer-events: none;
  228. }
  229. @media screen and (orientation: portrait) {
  230. /* 竖屏 */
  231. .adm-image-viewer-image-wrapper img {
  232. transform: rotate(90deg) !important;
  233. }
  234. .adm-toast-wrap {
  235. transform: rotate(90deg) !important;
  236. }
  237. .ant-image-mask {
  238. background: rgba(0, 0, 0, 0.8) !important;
  239. }
  240. .ant-image-preview-footer {
  241. display: none !important;
  242. transform: scale(0.7) rotate(90deg) translate(-178%, -50%);
  243. transform-origin: left bottom;
  244. }
  245. .ant-image-preview-operations-wrapper {
  246. position: fixed;
  247. width: 100%;
  248. height: auto;
  249. z-index: 1081;
  250. top: 80%;
  251. left: 50%;
  252. transform: scale(0.7) rotate(90deg);
  253. }
  254. .ant-image-preview-operations-wrapper .ant-image-preview-close {
  255. border-radius: 0;
  256. background-color: transparent;
  257. }
  258. .ant-image-preview-img-wrapper .previewImage {
  259. position: relative;
  260. }
  261. .ant-image-preview-img-wrapper .previewImage .Ori {
  262. width: 80%;
  263. height: 74%;
  264. }
  265. .ant-image-preview-img-wrapper .previewImage .Ori .ant-image-preview-img {
  266. transform: rotate(90deg) scale(0.65) !important;
  267. }
  268. .ant-image-preview-img-wrapper .previewImage .ImgFromTxt {
  269. position: absolute;
  270. top: 50%;
  271. left: 50%;
  272. transform: translate(-107%, -50%) rotate(90deg) !important;
  273. }
  274. #root .ant-tooltip {
  275. transform: rotate(0) !important;
  276. width: 410px !important;
  277. height: 150px !important;
  278. max-width: 440px !important;
  279. inset: 88.7779px auto auto 334.985px !important;
  280. }
  281. #root .ant-tooltip .ant-tooltip-arrow {
  282. display: none !important;
  283. }
  284. #root .ant-tooltip .tooltip_MT .top {
  285. position: relative;
  286. width: 100%;
  287. height: 22px !important;
  288. }
  289. #root .ant-tooltip .tooltip_MT .top .title {
  290. width: 80px !important;
  291. font-size: 15px !important;
  292. line-height: 30px !important;
  293. }
  294. #root .ant-tooltip .tooltip_MT .top .close {
  295. position: absolute;
  296. top: 0px;
  297. right: 0;
  298. padding-left: 30px;
  299. padding-bottom: 30px;
  300. width: 50px !important;
  301. height: 52px !important;
  302. cursor: pointer;
  303. display: flex;
  304. justify-content: flex-end;
  305. align-items: center;
  306. }
  307. #root .ant-tooltip .tooltip_MT .top .close > img {
  308. height: 90%;
  309. object-fit: contain;
  310. }
  311. #root .ant-tooltip .tooltip_MT .content {
  312. font-size: 14px !important;
  313. line-height: 20px !important;
  314. font-weight: 400 !important;
  315. height: calc(100% - 30px) !important;
  316. }
  317. body #A7Back {
  318. transform: rotate(90deg);
  319. left: auto;
  320. top: 6%;
  321. right: -1%;
  322. width: 80px;
  323. height: 40px;
  324. position: absolute;
  325. z-index: 3;
  326. cursor: pointer;
  327. }
  328. body #A7Back > img {
  329. height: 100%;
  330. object-fit: contain;
  331. }
  332. }
  333. #myIframe {
  334. position: fixed;
  335. top: 0;
  336. left: 0;
  337. z-index: 99;
  338. width: 100vw;
  339. height: 100vh;
  340. z-index: 2;
  341. }
  342. .HotIconBase {
  343. animation: yunShan 2s infinite linear;
  344. }
  345. @keyframes yunShan {
  346. 0% {
  347. opacity: 1;
  348. }
  349. 50% {
  350. scale: 0.9;
  351. opacity: 0.2;
  352. }
  353. 100% {
  354. opacity: 1;
  355. }
  356. }
  357. @keyframes zhiti {
  358. 0% {
  359. opacity: 1;
  360. }
  361. 50% {
  362. scale: 0.98;
  363. opacity: 0.7;
  364. }
  365. 100% {
  366. opacity: 1;
  367. }
  368. }
  369. .likeImg2 {
  370. animation: likeImg2 1.5s linear forwards;
  371. }
  372. @keyframes likeImg2 {
  373. 0% {
  374. transform: scale(0.1);
  375. }
  376. 100% {
  377. transform: scale(1.5);
  378. }
  379. }
  380. /* 隐藏静音按钮 */
  381. #root .ant-tooltip {
  382. width: 380px;
  383. height: 122px;
  384. max-width: 200px;
  385. }
  386. #root .ant-tooltip .ant-tooltip-content {
  387. width: 100% !important;
  388. height: 100% !important;
  389. }
  390. #root .ant-tooltip .ant-tooltip-arrow::before {
  391. backdrop-filter: blur(2px);
  392. background-color: rgba(33, 30, 26, 0.5) !important;
  393. }
  394. #root .ant-tooltip .ant-tooltip-arrow::after {
  395. border: 1px solid rgba(255, 233, 182, 0.7);
  396. }
  397. #root .ant-tooltip.ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
  398. top: 1.5px !important;
  399. }
  400. #root .ant-tooltip.ant-tooltip-placement-topLeft .ant-tooltip-arrow {
  401. bottom: 1px !important;
  402. }
  403. #root .ant-tooltip.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow {
  404. top: 2px !important;
  405. }
  406. #root .ant-tooltip .ant-tooltip-inner {
  407. background-color: rgba(33, 30, 26, 0.5) !important;
  408. box-shadow: none !important;
  409. width: 100% !important;
  410. height: 100% !important;
  411. padding: 11px 12px !important;
  412. border: 1px solid #ffe9b6;
  413. backdrop-filter: blur(2px);
  414. }
  415. .ant-image-preview-footer {
  416. display: none !important;
  417. }
  418. #root .ant-tooltip .tooltip_MT {
  419. height: 100%;
  420. font-size: 16px;
  421. line-height: 24px;
  422. color: #000;
  423. display: flex;
  424. flex-direction: column;
  425. padding-bottom: 8px;
  426. gap: 4px;
  427. }
  428. #root .ant-tooltip .tooltip_MT .top {
  429. width: 100%;
  430. height: 20px;
  431. display: flex;
  432. justify-content: space-between;
  433. align-items: center;
  434. }
  435. #root .ant-tooltip .tooltip_MT .top .title {
  436. width: 50%;
  437. height: 100%;
  438. font-size: 10px;
  439. line-height: 15px;
  440. font-weight: bold;
  441. color: #ffe9b6;
  442. }
  443. #root .ant-tooltip .tooltip_MT .top .close {
  444. width: 40px;
  445. height: 18px;
  446. cursor: pointer;
  447. display: flex;
  448. justify-content: flex-end;
  449. align-items: center;
  450. }
  451. #root .ant-tooltip .tooltip_MT .top .close > img {
  452. height: 90%;
  453. object-fit: contain;
  454. }
  455. #root .ant-tooltip .tooltip_MT .content {
  456. width: 100%;
  457. height: calc(100% - 16px);
  458. font-size: 7px;
  459. line-height: 10px;
  460. color: #fff;
  461. font-weight: lighter;
  462. overflow: auto;
  463. }
  464. #root .ant-tooltip .tooltip_MT .content::-webkit-scrollbar {
  465. width: 0px;
  466. }
  467. #root .ant-tooltip .tooltip_MT .content::-webkit-scrollbar-thumb {
  468. background: #ffe9b6;
  469. }
  470. #root #modalIframe {
  471. width: 100%;
  472. height: 100%;
  473. position: fixed;
  474. border: none;
  475. top: 0;
  476. left: 0;
  477. backface-visibility: hidden;
  478. -webkit-backface-visibility: hidden;
  479. -webkit-transform: translateZ(0);
  480. transform: translateZ(0);
  481. background-color: transparent;
  482. /* 确保背景透明 */
  483. }
  484. #opacityChange {
  485. animation: opacityChange 2s infinite linear;
  486. }
  487. #opacityChangeTxt {
  488. animation: opacityChange 2s infinite linear;
  489. }
  490. @keyframes opacityChange {
  491. 0% {
  492. opacity: 1;
  493. }
  494. 50% {
  495. opacity: 0.4;
  496. }
  497. 100% {
  498. opacity: 1;
  499. }
  500. }
  501. @keyframes gestureState1 {
  502. 0% {
  503. transform: translateX(0);
  504. }
  505. 25% {
  506. transform: translateX(-20px);
  507. }
  508. 50% {
  509. transform: translateX(0);
  510. }
  511. 75% {
  512. transform: translateX(20px);
  513. }
  514. 100% {
  515. transform: translateX(0);
  516. }
  517. }
  518. #root .moFont {
  519. font-size: 16px;
  520. line-height: 24px;
  521. letter-spacing: 2px;
  522. font-weight: 400;
  523. color: #504e40;
  524. }
  525. #root .moBack {
  526. width: 80px;
  527. height: 40px;
  528. }
  529. #root .moBack img {
  530. object-fit: fill !important;
  531. }
  532. #opacityCss {
  533. animation: opacityCss 2s linear forwards;
  534. }
  535. @keyframes opacityCss {
  536. 0% {
  537. opacity: 0;
  538. }
  539. 100% {
  540. opacity: 1;
  541. }
  542. }
  543. .songFont {
  544. font-family: 'song' !important;
  545. }
  546. .songFontc {
  547. font-family: 'song' !important;
  548. font-weight: 700 !important;
  549. }
  550. #Weijie {
  551. animation: Weijie 3s linear forwards;
  552. }
  553. @keyframes Weijie {
  554. 0% {
  555. height: 0;
  556. }
  557. 100% {
  558. height: 290px;
  559. }
  560. }
  561. @keyframes fade_in {
  562. 0% {
  563. opacity: 0;
  564. }
  565. 100% {
  566. opacity: 1;
  567. }
  568. }
  569. @keyframes fade_in2 {
  570. 0% {
  571. opacity: 0.3;
  572. }
  573. 100% {
  574. opacity: 1;
  575. }
  576. }
  577. @keyframes fade_in3 {
  578. 0% {
  579. opacity: 0;
  580. }
  581. 100% {
  582. opacity: 1;
  583. }
  584. }
  585. @keyframes fade_out3 {
  586. 0% {
  587. opacity: 1;
  588. }
  589. 100% {
  590. opacity: 0;
  591. }
  592. }
  593. @keyframes fade_in4 {
  594. 0% {
  595. opacity: 0;
  596. }
  597. 100% {
  598. opacity: 0.7;
  599. }
  600. }
  601. @keyframes fade_out4 {
  602. 0% {
  603. opacity: 0.7;
  604. }
  605. 100% {
  606. opacity: 0;
  607. }
  608. }
  609. @keyframes fadeOut {
  610. 0% {
  611. opacity: 1;
  612. }
  613. 100% {
  614. opacity: 0;
  615. }
  616. }
  617. @keyframes fadeInOut {
  618. 0% {
  619. opacity: 0.3;
  620. }
  621. 50% {
  622. opacity: 1;
  623. }
  624. 100% {
  625. opacity: 0.3;
  626. }
  627. }
  628. @keyframes lian_wang {
  629. 0% {
  630. /* 第一帧:背景位置 (0, 0) */
  631. transform: translateX(0);
  632. }
  633. 100% {
  634. /* 最后一帧:横向偏移 = -(总帧数-1) × 单帧宽度 */
  635. /* 10帧:-(10-1)×200 = -1800px */
  636. transform: translateX(-11857px);
  637. }
  638. }
  639. @keyframes lian_zou {
  640. 0% {
  641. /* 第一帧:背景位置 (0, 0) */
  642. transform: translate(0, 0);
  643. }
  644. 100% {
  645. /* 最后一帧:横向偏移 = -(总帧数-1) × 单帧宽度 */
  646. /* 10帧:-(10-1)×200 = -1800px */
  647. transform: translate(-5177px, 0);
  648. }
  649. }
  650. @keyframes bei_shang {
  651. 0% {
  652. /* 第一帧:背景位置 (0, 0) */
  653. transform: translate(0, 0);
  654. }
  655. 100% {
  656. /* 最后一帧:横向偏移 = -(总帧数-1) × 单帧宽度 */
  657. /* 10帧:-(10-1)×200 = -1800px */
  658. transform: translate(-5845px, 0);
  659. }
  660. }
  661. @keyframes bei_xia {
  662. 0% {
  663. /* 第一帧:背景位置 (0, 0) */
  664. transform: translate(0, 0);
  665. }
  666. 100% {
  667. /* 最后一帧:横向偏移 = -(总帧数-1) × 单帧宽度 */
  668. /* 10帧:-(10-1)×200 = -1800px */
  669. transform: translate(-5845px, 0);
  670. }
  671. }