update 4page

This commit is contained in:
2026-07-02 18:15:06 +08:00
parent 4d30803b60
commit 296db4a164
53 changed files with 5271 additions and 60 deletions
+463
View File
@@ -0,0 +1,463 @@
/**
* ADL register form styles (from aifo theme adl-register.css).
* Used by pages/modules/adl-register.section.html
*/
.adl-register {
--adl-primary: #F98715;
--adl-white: #FFFFFF;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: var(--adl-white);
}
.adl-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 22px;
border-radius: 12px;
font-size: 13px;
line-height: 24px;
font-weight: 700;
text-decoration: none;
transition: .18s;
cursor: pointer;
}
.adl-btn-primary {
background: var(--adl-primary);
color: #fff;
border: 1px solid rgba(255, 255, 255, .18);
}
.adl-btn-primary:hover {
color: #fff;
background: #ffa12f;
box-shadow: 0 0 16px rgba(249, 135, 21, .45);
transform: translateY(-1px);
}
.adl-btn-primary:disabled {
opacity: 0.65;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.adl-btn-ghost {
background: rgba(255, 255, 255, .08);
color: #fff;
border: 1px solid rgba(255, 255, 255, .25);
}
.adl-btn-ghost:hover {
color: #fff;
background: rgba(255, 255, 255, .16);
transform: translateY(-1px);
}
.adl-register {
padding: 86px 0;
background: linear-gradient(180deg, #090909, #050505);
}
.adl-register-top {
padding: 18px 0 74px;
background: transparent;
}
.adl-register-top .adl-register-box {
max-width: 900px;
box-shadow: 0 20px 55px rgba(0, 0, 0, .42);
}
.adl-register .container {
width: 100%;
max-width: 1140px;
margin: 0 auto;
padding: 0 15px;
}
.adl-register-box {
max-width: 860px;
margin: 0 auto;
text-align: center;
padding: 40px 30px;
border-radius: 24px;
border: 1px solid rgba(249, 135, 21, .46);
background: radial-gradient(circle at 50% 0, rgba(249, 135, 21, .24), rgba(0, 0, 0, .28) 52%);
backdrop-filter: blur(3px);
}
.adl-register-box h2 {
font-size: 56px;
line-height: 64px;
color: #fff;
margin: 0 0 12px;
font-weight: 700;
}
.adl-register-box > p {
font-size: 20px;
line-height: 30px;
color: #fff;
margin: 0 0 28px;
opacity: .95;
font-weight: 400;
}
.adl-register-form {
max-width: 800px;
margin: 0 auto;
text-align: left;
background: rgba(255, 255, 255, .03);
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 20px;
padding: 20px 18px 16px;
}
.adl-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.adl-field label {
display: block;
font-size: 16px;
line-height: 24px;
margin: 0 0 8px;
color: #fff;
font-weight: 700;
letter-spacing: .01em;
}
.adl-field input,
.adl-country-wrap select {
width: 100%;
height: 54px;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, .24);
background: rgba(0, 0, 0, .55);
color: #fff;
padding: 0 14px;
font-size: 16px;
transition: border-color .18s, box-shadow .18s, background .18s;
box-sizing: border-box;
}
.adl-field input:focus,
.adl-country-wrap select:focus {
outline: none;
border-color: rgba(249, 135, 21, .7);
box-shadow: 0 0 0 3px rgba(249, 135, 21, .16);
}
.adl-phone-row {
display: block;
}
.adl-phone-wrapper {
display: flex;
align-items: center;
background: #111;
border: 1px solid #2a2a2a;
border-radius: 14px;
padding: 2px 10px;
position: relative;
height: 54px;
}
.adl-phone-wrapper:focus-within {
border-color: #F98715;
box-shadow: 0 0 0 3px rgba(249, 135, 21, .16);
}
.adl-country-select {
display: flex;
align-items: center;
gap: 8px;
border: 0;
background: transparent;
color: #fff;
font-size: 14px;
min-width: 92px;
padding: 0;
cursor: pointer;
}
.adl-country-flag {
font-size: 18px;
line-height: 1;
}
.adl-country-code {
font-size: 14px;
}
.adl-country-arrow {
font-size: 12px;
opacity: .7;
}
.adl-phone-input {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
flex: 1;
height: 44px !important;
padding: 8px 10px !important;
}
.adl-country-menu {
display: none;
position: absolute;
left: 0;
top: 56px;
width: 100%;
background: #1B1B1B;
border: 1px solid #333;
border-radius: 10px;
padding: 8px;
z-index: 30;
max-height: 260px;
overflow: hidden;
}
.adl-country-menu.open {
display: block;
}
.adl-country-search {
width: 100%;
height: 36px;
border: 1px solid #3a3a3a;
border-radius: 6px;
background: #3a3a3a;
color: #fff;
padding: 0 10px;
font-size: 14px;
margin-bottom: 8px;
box-sizing: border-box;
}
.adl-country-list {
max-height: 190px;
overflow: auto;
}
.adl-country-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px;
border-radius: 6px;
color: #fff;
font-size: 14px;
cursor: pointer;
}
.adl-country-item:hover {
background: #2a2a2a;
}
.adl-pass-wrap {
position: relative;
}
.adl-pass-wrap input {
padding-right: 50px;
}
.adl-eye-toggle {
position: absolute;
right: 14px;
top: 9px;
width: 36px;
height: 36px;
border: 0;
background: none;
color: rgba(249, 249, 249, .55);
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: color .2s ease;
}
.adl-eye-icon {
width: 20px;
height: 20px;
stroke-width: 2;
}
.adl-eye-toggle:hover {
color: rgba(249, 249, 249, .85);
}
.adl-eye-toggle.is-visible {
color: var(--adl-primary);
}
.adl-code-row {
display: flex;
gap: 10px;
}
.adl-code-row input {
flex: 1;
}
.adl-code-row button {
white-space: nowrap;
font-size: 14px;
height: 50px;
padding: 0 18px;
}
.adl-check {
display: flex;
gap: 8px;
align-items: flex-start;
font-size: 14px;
line-height: 22px;
color: #fff;
margin: 10px 0 0;
cursor: pointer;
}
.adl-check input {
margin-top: 4px;
width: auto;
height: auto;
}
.adl-register-error {
display: none;
background: rgba(255, 92, 92, .12);
border: 1px solid rgba(255, 92, 92, .35);
border-radius: 10px;
padding: 10px 12px;
color: #fff;
font-size: 13px;
line-height: 20px;
margin: 8px 0 12px;
}
.adl-register-error.show {
display: block;
}
.adl-submit {
width: 300px !important;
max-width: 100% !important;
height: auto !important;
background: var(--adl-primary) !important;
color: #fff !important;
border: none !important;
border-radius: 12px !important;
padding: 12px 22px !important;
font-size: 16px !important;
font-weight: 700 !important;
line-height: 24px !important;
letter-spacing: 0 !important;
margin: 15px auto 0 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: none !important;
}
.adl-login-hint {
margin: 10px 0 0;
text-align: center;
font-size: 14px !important;
line-height: 22.4px !important;
color: rgba(249, 249, 249, .75) !important;
font-weight: 400 !important;
}
.adl-login-hint a {
color: var(--adl-primary);
font-size: 14px !important;
font-weight: 400 !important;
text-decoration: none;
margin-left: 4px;
}
.adl-login-hint a:hover {
text-decoration: underline;
}
.adl-register-actions {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
margin-top: 16px;
}
.adl-register-actions .adl-btn {
width: 300px;
max-width: 100%;
justify-content: center;
}
.adl-disclaimer {
margin-top: 14px !important;
font-size: 12px !important;
line-height: 20px !important;
opacity: .82;
}
/* Embedded in leading-v2 hero */
#leading-v2 .lv2-hero .adl-register-top {
padding: 0;
width: 100%;
}
#leading-v2 .lv2-hero .adl-register .container {
padding: 0;
max-width: none;
}
@media (max-width: 768px) {
.adl-register-box h2 {
font-size: 36px;
line-height: 44px;
}
.adl-register-box > p {
font-size: 16px;
line-height: 24px;
}
.adl-form-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.adl-code-row {
flex-direction: column;
}
.adl-register-top {
padding-top: 20px;
}
.adl-register-top .adl-register-box {
padding: 24px 16px;
}
.adl-register-form {
padding: 14px 12px;
}
.adl-code-row input {
flex: unset;
}
#leading-v2 .lv2-hero .adl-register-top {
padding-top: 0;
}
}