Files
PartsInquiry/frontend/unpackage/dist/dev/app-plus/pages/auth/register.css
2025-09-29 21:38:32 +08:00

292 lines
7.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
/* 表单控件尺寸(统一配置,避免页面内硬编码) */
.register-container {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 1.25rem 0.625rem;
overflow: hidden;
}
.background-decoration {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;
}
.background-decoration .circle {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
}
.background-decoration .circle.circle-1 {
width: 6.875rem;
height: 6.875rem;
top: 8%;
left: 12%;
animation: float 7s ease-in-out infinite;
}
.background-decoration .circle.circle-2 {
width: 5.625rem;
height: 5.625rem;
top: 65%;
right: 10%;
animation: float 9s ease-in-out infinite reverse;
}
.background-decoration .circle.circle-3 {
width: 3.75rem;
height: 3.75rem;
bottom: 15%;
left: 25%;
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-25px) rotate(5deg);
}
}
.register-card {
position: relative;
z-index: 1;
width: 90%;
max-width: 21.25rem;
background: rgba(255, 255, 255, 0.95);
-webkit-backdrop-filter: blur(0.625rem);
backdrop-filter: blur(0.625rem);
border-radius: 1rem;
padding: 1.5625rem 1.25rem 1.40625rem;
box-shadow: 0 0.78125rem 2.1875rem rgba(0, 0, 0, 0.12);
border: 0.03125rem solid rgba(255, 255, 255, 0.3);
}
.header-section {
text-align: center;
margin-bottom: 1.40625rem;
}
.header-section .logo-container {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
margin-bottom: 0.625rem;
}
.header-section .logo-container .logo-icon {
width: 1.875rem;
height: 1.875rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
}
.header-section .logo-container .logo-icon .icon {
width: 1.125rem;
height: 1.125rem;
fill: white;
}
.header-section .logo-container .app-name {
font-size: 1.125rem;
font-weight: 700;
color: #2d3748;
letter-spacing: 0.03125rem;
}
.header-section .welcome-text {
display: block;
font-size: 1.5rem;
font-weight: 700;
color: #2d3748;
margin-bottom: 0.25rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.header-section .subtitle {
display: block;
font-size: 0.875rem;
color: #718096;
font-weight: 400;
}
.form-section {
margin-bottom: 1.25rem;
}
.form-section .input-group {
margin-bottom: 0.75rem;
}
.form-section .input-group .input-container {
position: relative;
background: #f7fafc;
border: 0.0625rem solid #e2e8f0;
border-radius: 0.5rem;
display: flex;
align-items: center;
transition: all 0.3s ease;
}
.form-section .input-group .input-container.focused {
border-color: #667eea;
background: #ffffff;
box-shadow: 0 0 0 0.1875rem rgba(102, 126, 234, 0.1);
transform: translateY(-0.0625rem);
}
.form-section .input-group .input-container.filled {
background: #ffffff;
border-color: #cbd5e0;
}
.form-section .input-group .input-container .input-icon {
display: flex;
align-items: center;
justify-content: center;
width: 1.5625rem;
margin-left: 0.625rem;
}
.form-section .input-group .input-container .input-icon .icon {
width: 1rem;
height: 1rem;
fill: #a0aec0;
transition: fill 0.3s ease;
}
.form-section .input-group .input-container.focused .input-icon .icon {
fill: #667eea;
}
.form-section .input-group .input-container .input-field {
flex: 1;
background: transparent;
border: none;
padding: 0.75rem 0.625rem 0.75rem 0.375rem;
font-size: 1rem;
color: #2d3748;
}
.form-section .input-group .input-container .input-field::-webkit-input-placeholder {
color: #a0aec0;
font-size: 0.875rem;
}
.form-section .input-group .input-container .input-field::placeholder {
color: #a0aec0;
font-size: 0.875rem;
}
.actions-section {
margin-bottom: 0.9375rem;
}
.actions-section .register-button {
width: 100%;
height: 3rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
border-radius: 0.5rem;
margin-bottom: 0.625rem;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0.25rem 0.75rem rgba(102, 126, 234, 0.3);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.actions-section .register-button:active {
transform: translateY(0.0625rem);
box-shadow: 0 0.125rem 0.5rem rgba(102, 126, 234, 0.3);
}
.actions-section .register-button::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
opacity: 0;
transition: opacity 0.3s ease;
}
.actions-section .register-button:active::before {
opacity: 1;
}
.actions-section .register-button .button-text {
font-size: 1rem;
font-weight: 600;
color: white;
letter-spacing: 0.03125rem;
}
.actions-section .login-button {
width: 100%;
height: 2.6875rem;
background: transparent;
border: 0.0625rem solid #e2e8f0;
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.actions-section .login-button:active {
background: #f7fafc;
border-color: #cbd5e0;
transform: translateY(0.03125rem);
}
.actions-section .login-button .button-text {
font-size: 0.875rem;
font-weight: 500;
color: #718096;
}
.footer-section {
text-align: center;
}
.footer-section .hint-text {
display: block;
font-size: 0.75rem;
color: #a0aec0;
line-height: 1.6;
margin-bottom: 0.375rem;
}
.footer-section .static-hint {
display: block;
font-size: 0.6875rem;
color: #a0aec0;
line-height: 1.5;
background: rgba(160, 174, 192, 0.1);
padding: 0.375rem 0.5rem;
border-radius: 0.3125rem;
border: 0.03125rem solid rgba(160, 174, 192, 0.2);
}
@media (max-width: 750rpx) {
.register-card {
margin: 0.625rem;
padding: 1.25rem 0.9375rem 1.09375rem;
}
.header-section .welcome-text {
font-size: 1.3125rem;
}
.form-section .input-group {
margin-bottom: 0.625rem;
}
}