| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- word-wrap: break-word;
- -webkit-tap-highlight-color: transparent;
- font-family: 'SimHei', 'SimSun', 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB',
- 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
- }
- /* 全局css变量 */
- :root {
- --themeColor: #733c00;
- --themeColor2: #ead98f;
- --fontNum: 16px;
- }
- html {
- height: 100%;
- user-select: none;
- }
- body {
- position: relative;
- font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB',
- 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
- font-size: var(--fontNum);
- height: 100%;
- color: black;
- overflow: auto;
- background-color: #cbc5b7;
- // background-color: rgba(0, 0, 0, 0.8);
- }
- body #wjwjScene {
- width: 100%;
- height: 100%;
- position: fixed;
- border: none;
- position: fixed;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- body #panoramic-root {
- display: none;
- width: 100%;
- height: 100%;
- position: fixed;
- border: none;
- position: fixed;
- top: 0;
- left: 0;
- }
- body #A7Back {
- width: 136px;
- height: 67px;
- position: absolute;
- z-index: 3;
- top: 3%;
- left: 4%;
- cursor: pointer;
- & > img {
- height: 100%;
- object-fit: contain;
- }
- }
- #root {
- overflow: hidden;
- margin: auto;
- position: relative;
- & > div {
- width: 100%;
- height: 100%;
- }
- }
- i {
- font-style: normal;
- }
- img {
- max-width: 100%;
- max-height: 100%;
- vertical-align: middle;
- object-fit: cover;
- }
- ul {
- list-style: none;
- }
- /* 文本域取消下拉 */
- textarea {
- resize: none !important;
- min-height: 100px !important;
- }
- /* 找不到页面 */
- .noFindPage {
- opacity: 0;
- transition: opacity 0.5s;
- text-align: center;
- transform: scale(0.6);
- .ant-result {
- padding: 20px !important;
- .ant-result-subtitle {
- font-size: 20px;
- }
- }
- }
- [hidden] {
- display: none !important;
- }
- /* antd图片预览组件 */
- .ant-image {
- display: none !important;
- }
- // 滚动条
- .mySorrl::-webkit-scrollbar {
- /*滚动条整体样式*/
- width: 5px;
- /*高宽分别对应横竖滚动条的尺寸*/
- height: 1px;
- }
- .mySorrl::-webkit-scrollbar-thumb {
- /*滚动条里面小方块*/
- border-radius: 10px;
- -webkit-box-shadow: inset 0 0 5px transparent;
- background: var(--themeColor);
- }
- .mySorrl::-webkit-scrollbar-track {
- /*滚动条里面轨道*/
- -webkit-box-shadow: inset 0 0 5px transparent;
- border-radius: 10px;
- background: transparent;
- }
- .ant-image-preview-operations {
- background-color: rgba(0, 0, 0, 0.8) !important;
- }
- // 默认字体
- .sizeNo {
- font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti',
- 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif !important;
- }
- .adm-auto-center-content {
- font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti',
- 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif !important;
- font-size: 16px;
- letter-spacing: 3px;
- text-align: center;
- }
- .hoverD {
- transition: all 0.3s;
- &:hover {
- transform: scale(1.1);
- }
- }
- // 云气图闪动
- .yunShan {
- animation: yunShan 1.5s infinite linear;
- color: #f1e39e;
- }
- @keyframes yunShan {
- 0% {
- opacity: 1;
- }
- 50% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- // 右下角的按钮
- #BtnRight {
- position: absolute;
- width: 50px;
- height: 50px;
- cursor: pointer;
- bottom: 15px;
- right: 20px;
- & > img {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- object-fit: fill !important;
- opacity: 1;
- transition: all 0.3s;
- }
- .BtnRight2 {
- opacity: 0;
- pointer-events: none;
- }
- &:hover {
- .BtnRight1 {
- opacity: 0;
- pointer-events: none;
- }
- .BtnRight2 {
- opacity: 1;
- pointer-events: auto;
- }
- }
- }
- @media screen and (min-width: 1200px) {
- #BtnRight {
- width: 35px;
- height: 35px;
- }
- }
- // 热点页面打开透明的变化
- #HotOpCss {
- animation: HotOpCss 0.5s linear forwards;
- }
- @keyframes HotOpCss {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- #bgImgBox {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- object-fit: fill !important;
- pointer-events: none;
- }
- // antd mo 查看图片
- @media screen and (orientation: portrait) {
- /* 竖屏 */
- .adm-image-viewer-image-wrapper img {
- transform: rotate(90deg) !important;
- }
- .adm-toast-wrap {
- transform: rotate(90deg) !important;
- }
- .ant-image-preview-wrap {
- transform: rotate(90deg) !important;
- }
- .ant-image-preview-footer {
- transform: scale(0.7) rotate(90deg) translate(-178%, -50%);
- transform-origin: left bottom;
- }
- #root .ant-tooltip {
- transform: rotate(0) !important;
- inset: 4.331px auto auto 417.25px !important;
- width: 410px !important;
- height: 150px !important;
- max-width: 440px !important;
- }
- .ant-tooltip-inner {
- background: url('../img/tooltipBg.png') no-repeat center center / 100% 100%;
- }
- #root .ant-tooltip .tooltip_MT {
- .top {
- width: 100%;
- height: 22px !important;
- .title {
- width: 80px !important;
- font-size: 15px !important;
- line-height: 30px !important;
- }
- .close {
- width: 40px;
- height: 100%;
- cursor: pointer;
- display: flex;
- justify-content: end;
- align-items: center;
- & > img {
- height: 90%;
- object-fit: contain;
- }
- }
- }
- .content {
- font-size: 14px !important;
- line-height: 20px !important;
- font-weight: 400 !important;
- height: calc(100% - 30px) !important;
- }
- }
- body #A7Back {
- transform: rotate(90deg);
- left: auto;
- top: 5%;
- right: 2%;
- width: 60px;
- height: 30px;
- position: absolute;
- z-index: 3;
- cursor: pointer;
- & > img {
- height: 100%;
- object-fit: contain;
- }
- }
- }
- // 嵌套unity
- #myIframe {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 99;
- width: 100vw;
- height: 100vh;
- z-index: 2;
- }
- // 热点图标闪动
- .HotIconBase {
- animation: yunShan 2s infinite linear;
- }
- @keyframes yunShan {
- 0% {
- opacity: 1;
- }
- 50% {
- scale: 0.9;
- opacity: 0.2;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes zhiti {
- 0% {
- opacity: 1;
- }
- 50% {
- scale: 0.98;
- opacity: 0.7;
- }
- 100% {
- opacity: 1;
- }
- }
- // 点赞的+1
- .likeImg2 {
- animation: likeImg2 1.5s linear forwards;
- }
- @keyframes likeImg2 {
- 0% {
- transform: scale(0.1);
- }
- 100% {
- transform: scale(1.5);
- }
- }
- /* 隐藏静音按钮 */
- // video::-webkit-media-controls-mute-button {
- // display: none !important;
- // }
- // /* 隐藏音量控制条 */
- // video::-webkit-media-controls-volume-control-container {
- // display: none !important;
- // }
- // /* 隐藏音量调节滑块 */
- // video::-webkit-media-controls-volume-slider {
- // display: none !important;
- // }
- #root .ant-tooltip {
- width: 220px;
- height: 92px;
- max-width: 200px;
- .ant-tooltip-content {
- width: 100% !important;
- height: 100% !important;
- }
- .ant-tooltip-inner {
- background: url(../img/tooltipBg.png) no-repeat;
- background-size: 100% 100%;
- box-shadow: none !important;
- width: 100% !important;
- height: 100% !important;
- }
- }
- #root .ant-tooltip .tooltip_MT {
- height: 100%;
- font-size: 16px;
- line-height: 24px;
- color: #000;
- display: flex;
- flex-direction: column;
- padding-bottom: 8px;
- gap: 4px;
- .top {
- width: 100%;
- height: 15px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .title {
- width: 30px;
- height: 100%;
- font-size: 10px;
- line-height: 15px;
- color: rgba(255, 233, 182, 1);
- }
- .close {
- width: 40px;
- height: 100%;
- cursor: pointer;
- display: flex;
- justify-content: end;
- align-items: center;
- & > img {
- height: 90%;
- object-fit: contain;
- }
- }
- }
- .content {
- width: 100%;
- height: calc(100% - 16px);
- font-size: 7px;
- line-height: 10px;
- color: #fff;
- font-weight: lighter;
- overflow: auto;
- &::-webkit-scrollbar {
- width: 0px;
- }
- &::-webkit-scrollbar-thumb {
- background: rgba(255, 233, 182, 1);
- }
- }
- }
- #root #modalIframe {
- width: 100%;
- height: 100%;
- position: fixed;
- border: none;
- position: fixed;
- top: 0;
- left: 0;
- }
- .myFont {
- font-family: 'SimSun' !important;
- font-weight: 700;
- }
- // 热点图标闪动
- .opacityChange {
- animation: opacityChange 2s infinite linear;
- }
- @keyframes opacityChange {
- 0% {
- opacity: 1;
- }
- 50% {
- opacity: 0.2;
- }
- 100% {
- opacity: 1;
- }
- }
|