Closes #5 Reviewed-on: phoenix/textsender#15 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
160 lines
2.5 KiB
CSS
160 lines
2.5 KiB
CSS
/* Contact Modal Styles */
|
|
.contact-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
padding: 20px;
|
|
}
|
|
|
|
.contact-modal {
|
|
background: transparent;
|
|
width: 100%;
|
|
max-width: 500px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.contact-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.contact-title {
|
|
color: white;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
.close-btn {
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
font-size: 32px;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
padding: 0;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.close-btn:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.contact-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
padding: 40px;
|
|
width: 100%;
|
|
}
|
|
|
|
.contact-form {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.required {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.cancel-btn {
|
|
flex: 1;
|
|
background: #f3f4f6;
|
|
color: #4b5563;
|
|
border: 2px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
padding: 14px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.cancel-btn:hover:not(:disabled) {
|
|
background: #e5e7eb;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.cancel-btn:active:not(:disabled) {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.cancel-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.submit-btn {
|
|
flex: 1;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
padding: 14px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.submit-btn:hover:not(:disabled) {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.submit-btn:active:not(:disabled) {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.submit-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 480px) {
|
|
.contact-card {
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.contact-title {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.form-actions {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.submit-error {
|
|
background-color: #fee;
|
|
border: 1px solid #fcc;
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
color: #ef4444;
|
|
font-size: 14px;
|
|
}
|