Files
lanecarford_front/src/assets/css/style.less
X1627315083 74aa41d26c 服装生成
2025-10-28 13:57:48 +08:00

80 lines
1.6 KiB
Plaintext

button.sandblasted-blurred {
box-sizing: content-box;
border: 0.4rem solid #fff;
font-family: satoshiMedium;
font-weight: 500;
font-size: 5.5rem;
color: #fff;
background-color: transparent;
position: relative;
overflow: hidden;
&::before,
&::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
&::before {
backdrop-filter: blur(9.5rem);
}
&::after {
opacity: 0.1;
background: url('@/assets/images/customer_form_bg.png');
}
&:active {
opacity: 0.7;
}
}
//只使用浅色模式
@media (prefers-color-scheme: dark) {
:root, body {
background: white !important;
color: black !important;
}
}
// vant dialog
html:root {
--van-overlay-background: rgba(0, 0, 0, 0.4);
--van-dialog-width: 45rem;
--van-dialog-font-size: 2.83rem;
--van-dialog-header-font-weight: 600;
--van-dialog-header-line-height: 95%;
--van-text-color: #000;
--van-dialog-header-padding-top: 3rem;
--van-dialog-message-font-size: 2rem;
--van-dialog-message-line-height: 130%;
--van-dialog-has-title-message-text-color: #000;
--van-button-default-font-size: 2.8rem;
--van-dialog-button-height: 6.8rem;
--van-dialog-message-padding: 3.5rem;
--van-dialog-has-title-message-padding-top: 2.5rem;
--van-button-default-color: #1B73E7;
--van-dialog-confirm-button-text-color: #1B73E7;
//消息提示
--van-notify-font-size: 3.5rem;
--van-notify-line-height: 10rem;
--van-toast-default-width: 88rem;
}
.van-toast{
min-height: fit-content;
max-width: none;
}
.van-toast__text {
font-size: 4rem;
height: 5rem;
line-height: 5rem;
padding: 0 2rem;
min-height: fit-content;
}