forked from natuka/web.puabadge.com
59 lines
904 B
Plaintext
59 lines
904 B
Plaintext
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
/* cartoon 等业务页默认白底;勿用全局灰底覆盖 */
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
#app {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
[data-theme='dark'] {
|
|
&,
|
|
* {
|
|
color-scheme: dark !important;
|
|
}
|
|
}
|
|
|
|
[data-theme='light'] {
|
|
&,
|
|
* {
|
|
color-scheme: light !important;
|
|
}
|
|
|
|
body {
|
|
background-color: #ffffff;
|
|
}
|
|
}
|
|
|
|
:root{
|
|
--van-checkbox-checked-icon-color: #07c160;
|
|
--van-radio-checked-icon-color: #07c160;
|
|
}
|
|
.agree-dialog{
|
|
top: 50%!important;
|
|
max-width: 100vw!important;
|
|
// height: 100vh;
|
|
}
|
|
|
|
/* 仅 AR 全屏画布;勿用全局 canvas(会把点云 WebGL 拉成 100vw 导致偏左) */
|
|
.fullscreen-canvas {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
} |