Files
lanecarford_front/src/assets/css/style.less

84 lines
1.7 KiB
Plaintext
Raw Normal View History

2025-10-16 11:55:04 +08:00
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 {
2025-10-16 13:57:00 +08:00
backdrop-filter: blur(9.5rem);
-webkit-backdrop-filter: blur(9.5rem);
-moz-backdrop-filter: blur(9.5rem);
-ms-backdrop-filter: blur(9.5rem);
-o-backdrop-filter: blur(9.5rem);
2025-10-16 13:57:00 +08:00
}
2025-10-20 15:45:42 +08:00
2025-10-16 13:57:00 +08:00
&::after {
2025-10-16 11:55:04 +08:00
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;
}
}
2025-10-16 11:55:04 +08:00
// vant dialog
html:root {
2025-10-20 15:45:42 +08:00
--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;
2025-10-16 11:55:04 +08:00
--van-dialog-has-title-message-padding-top: 2.5rem;
2025-10-20 15:45:42 +08:00
--van-button-default-color: #1B73E7;
--van-dialog-confirm-button-text-color: #1B73E7;
2025-10-24 11:48:15 +08:00
//消息提示
--van-notify-font-size: 3.5rem;
2025-10-28 13:57:48 +08:00
--van-notify-line-height: 10rem;
--van-toast-default-width: 88rem;
2025-10-16 14:05:21 +08:00
}
2025-10-27 15:01:36 +08:00
.van-toast{
min-height: fit-content;
max-width: none;
}
2025-10-16 14:05:21 +08:00
.van-toast__text {
2025-10-20 15:45:42 +08:00
font-size: 4rem;
height: 5rem;
line-height: 5rem;
padding: 0 2rem;
2025-10-27 15:01:36 +08:00
min-height: fit-content;
2025-10-16 11:55:04 +08:00
}