Add contact modal, success messages, form reset on open
This commit is contained in:
@@ -1523,3 +1523,72 @@ button {
|
||||
box-shadow: 0 0 0 3px rgba(220, 70, 70, 0.15) !important;
|
||||
background: rgba(220, 70, 70, 0.05) !important;
|
||||
}
|
||||
|
||||
/* Access modal success state */
|
||||
.am-success-msg {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 1.5rem 0.5rem 0.5rem;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
.am-success-icon {
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, #1e7dc8, #1360a0);
|
||||
color: #fff;
|
||||
font-size: 1.6rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0 4px 18px rgba(20, 96, 160, 0.4);
|
||||
}
|
||||
.am-success-title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
color: #e0f0ff;
|
||||
}
|
||||
.am-success-sub {
|
||||
font-size: 0.88rem;
|
||||
color: rgba(160, 205, 238, 0.75);
|
||||
line-height: 1.5;
|
||||
}
|
||||
.am-success-sub strong {
|
||||
color: rgba(200, 230, 255, 0.9);
|
||||
}
|
||||
|
||||
/* Textarea in access modal */
|
||||
.access-textarea {
|
||||
background: rgba(255,255,255,0.05);
|
||||
border: 1px solid rgba(255,255,255,0.12);
|
||||
border-radius: 8px;
|
||||
padding: 0.6rem 0.85rem;
|
||||
color: #daeeff;
|
||||
font-size: 0.92rem;
|
||||
font-family: inherit;
|
||||
outline: none;
|
||||
resize: vertical;
|
||||
min-height: 90px;
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
.access-textarea::placeholder {
|
||||
color: rgba(120,170,210,0.35);
|
||||
}
|
||||
.access-textarea:focus {
|
||||
border-color: rgba(42,130,210,0.55);
|
||||
box-shadow: 0 0 0 3px rgba(42,130,210,0.12);
|
||||
}
|
||||
.access-textarea.am-invalid {
|
||||
border-color: rgba(220, 70, 70, 0.7) !important;
|
||||
box-shadow: 0 0 0 3px rgba(220, 70, 70, 0.15) !important;
|
||||
background: rgba(220, 70, 70, 0.05) !important;
|
||||
}
|
||||
|
||||
/* Footer link as button */
|
||||
.login-footer-link {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user