base.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  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: 24.331px auto auto 399.25px !important;
  230. width: 250px !important;
  231. height: 150px !important;
  232. max-width: 250px !important;
  233. }
  234. #root .ant-tooltip .tooltip_MT .top {
  235. width: 100%;
  236. height: 20px !important;
  237. }
  238. #root .ant-tooltip .tooltip_MT .top .title {
  239. width: 80px !important;
  240. font-size: 13px !important;
  241. }
  242. #root .ant-tooltip .tooltip_MT .top .close {
  243. width: 40px;
  244. height: 100%;
  245. cursor: pointer;
  246. display: flex;
  247. justify-content: end;
  248. align-items: center;
  249. }
  250. #root .ant-tooltip .tooltip_MT .top .close > img {
  251. height: 90%;
  252. object-fit: contain;
  253. }
  254. #root .ant-tooltip .tooltip_MT .content {
  255. font-size: 12px !important;
  256. line-height: 13px !important;
  257. }
  258. body #A7Back {
  259. transform: rotate(90deg);
  260. left: auto;
  261. top: 5%;
  262. right: 2%;
  263. width: 60px;
  264. height: 30px;
  265. position: absolute;
  266. z-index: 3;
  267. cursor: pointer;
  268. }
  269. body #A7Back > img {
  270. height: 100%;
  271. object-fit: contain;
  272. }
  273. }
  274. #myIframe {
  275. position: fixed;
  276. top: 0;
  277. left: 0;
  278. z-index: 99;
  279. width: 100vw;
  280. height: 100vh;
  281. z-index: 2;
  282. }
  283. .HotIconBase {
  284. animation: yunShan 2s infinite linear;
  285. }
  286. @keyframes yunShan {
  287. 0% {
  288. opacity: 1;
  289. }
  290. 50% {
  291. scale: 0.9;
  292. opacity: 0.2;
  293. }
  294. 100% {
  295. opacity: 1;
  296. }
  297. }
  298. @keyframes zhiti {
  299. 0% {
  300. opacity: 1;
  301. }
  302. 50% {
  303. scale: 0.98;
  304. opacity: 0.7;
  305. }
  306. 100% {
  307. opacity: 1;
  308. }
  309. }
  310. .likeImg2 {
  311. animation: likeImg2 1.5s linear forwards;
  312. }
  313. @keyframes likeImg2 {
  314. 0% {
  315. transform: scale(0.1);
  316. }
  317. 100% {
  318. transform: scale(1.5);
  319. }
  320. }
  321. /* 隐藏静音按钮 */
  322. #root .ant-tooltip {
  323. width: 190px;
  324. height: 92px;
  325. max-width: 200px;
  326. }
  327. #root .ant-tooltip .ant-tooltip-content {
  328. width: 100% !important;
  329. height: 100% !important;
  330. }
  331. #root .ant-tooltip .ant-tooltip-inner {
  332. background: url(../img/tooltipBg.png) no-repeat;
  333. background-size: 100% 100%;
  334. box-shadow: none !important;
  335. width: 100% !important;
  336. height: 100% !important;
  337. }
  338. #root .ant-tooltip .tooltip_MT {
  339. height: 100%;
  340. font-size: 16px;
  341. line-height: 24px;
  342. color: #000;
  343. display: flex;
  344. flex-direction: column;
  345. padding-bottom: 8px;
  346. gap: 4px;
  347. }
  348. #root .ant-tooltip .tooltip_MT .top {
  349. width: 100%;
  350. height: 15px;
  351. display: flex;
  352. justify-content: space-between;
  353. align-items: center;
  354. }
  355. #root .ant-tooltip .tooltip_MT .top .title {
  356. width: 30px;
  357. height: 100%;
  358. font-size: 10px;
  359. line-height: 15px;
  360. color: #ffe9b6;
  361. }
  362. #root .ant-tooltip .tooltip_MT .top .close {
  363. width: 40px;
  364. height: 100%;
  365. cursor: pointer;
  366. display: flex;
  367. justify-content: end;
  368. align-items: center;
  369. }
  370. #root .ant-tooltip .tooltip_MT .top .close > img {
  371. height: 90%;
  372. object-fit: contain;
  373. }
  374. #root .ant-tooltip .tooltip_MT .content {
  375. width: 100%;
  376. height: calc(100% - 16px);
  377. font-size: 7px;
  378. line-height: 10px;
  379. color: #fff;
  380. font-weight: lighter;
  381. overflow: auto;
  382. }
  383. #root .ant-tooltip .tooltip_MT .content::-webkit-scrollbar {
  384. width: 1px;
  385. }
  386. #root .ant-tooltip .tooltip_MT .content::-webkit-scrollbar-thumb {
  387. background: #ffe9b6;
  388. }
  389. #root #modalIframe {
  390. width: 100%;
  391. height: 100%;
  392. border: none;
  393. position: fixed;
  394. top: 0;
  395. left: 0;
  396. }
  397. .myFont {
  398. font-family: 'SimSun' !important;
  399. font-weight: 700;
  400. }
  401. .opacityChange {
  402. animation: opacityChange 2s infinite linear;
  403. }
  404. @keyframes opacityChange {
  405. 0% {
  406. opacity: 1;
  407. }
  408. 50% {
  409. opacity: 0.2;
  410. }
  411. 100% {
  412. opacity: 1;
  413. }
  414. }