Edit staticfiles/css/custom.css via Editor
This commit is contained in:
parent
c7ee7d1049
commit
11a04e252d
@ -1,21 +1,196 @@
|
|||||||
|
/* ===============================
|
||||||
|
Kingdom Trade Group – Inquiry Form
|
||||||
|
Figma-aligned UI
|
||||||
|
=============================== */
|
||||||
|
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
||||||
|
|
||||||
|
/* ---------- Design Tokens ---------- */
|
||||||
:root {
|
:root {
|
||||||
--bg-color-start: #6a11cb;
|
--ktg-navy: #0f172a;
|
||||||
--bg-color-end: #2575fc;
|
--ktg-blue: #2563eb;
|
||||||
--text-color: #ffffff;
|
--ktg-blue-soft: #dbeafe;
|
||||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
|
||||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
--bg-page: #f8fafc;
|
||||||
|
--bg-card: #ffffff;
|
||||||
|
|
||||||
|
--text-primary: #020617;
|
||||||
|
--text-secondary: #475569;
|
||||||
|
--text-muted: #64748b;
|
||||||
|
|
||||||
|
--border-color: #e2e8f0;
|
||||||
|
|
||||||
|
--radius-card: 12px;
|
||||||
|
--radius-input: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ---------- Base ---------- */
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
|
||||||
font-family: 'Inter', sans-serif;
|
background-color: var(--bg-page);
|
||||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
color: var(--text-primary);
|
||||||
color: var(--text-color);
|
margin: 0;
|
||||||
display: flex;
|
padding: 2rem;
|
||||||
justify-content: center;
|
}
|
||||||
align-items: center;
|
|
||||||
min-height: 100vh;
|
/* ---------- Card Container ---------- */
|
||||||
text-align: center;
|
.form-container {
|
||||||
overflow: hidden;
|
max-width: 760px;
|
||||||
position: relative;
|
margin: 0 auto;
|
||||||
|
background-color: var(--bg-card);
|
||||||
|
border-radius: var(--radius-card);
|
||||||
|
box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Header ---------- */
|
||||||
|
.form-header {
|
||||||
|
background: linear-gradient(135deg, #020617, #0f172a);
|
||||||
|
padding: 1.75rem 2rem;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-header h1 {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
font-weight: 600;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-header p {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: #cbd5f5;
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Body Padding ---------- */
|
||||||
|
.form-body {
|
||||||
|
padding: 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Sections ---------- */
|
||||||
|
.form-section {
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
color: var(--text-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Step number */
|
||||||
|
.section-title::before {
|
||||||
|
content: attr(data-step);
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 26px;
|
||||||
|
height: 26px;
|
||||||
|
margin-right: 0.75rem;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: var(--ktg-blue);
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Grid ---------- */
|
||||||
|
.form-row {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
gap: 1.25rem 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group.full-width {
|
||||||
|
grid-column: 1 / -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Labels ---------- */
|
||||||
|
.form-group label {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 0.35rem;
|
||||||
|
color: var(--text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Inputs ---------- */
|
||||||
|
.form-control,
|
||||||
|
.form-select,
|
||||||
|
input,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
height: 44px;
|
||||||
|
padding: 0.6rem 0.75rem;
|
||||||
|
border-radius: var(--radius-input);
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
background-color: #ffffff;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: var(--text-primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
min-height: 110px;
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focus */
|
||||||
|
.form-control:focus,
|
||||||
|
.form-select:focus,
|
||||||
|
input:focus,
|
||||||
|
select:focus,
|
||||||
|
textarea:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--ktg-blue);
|
||||||
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Placeholder */
|
||||||
|
::placeholder {
|
||||||
|
color: #94a3b8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Button ---------- */
|
||||||
|
.submit-button {
|
||||||
|
width: 100%;
|
||||||
|
height: 48px;
|
||||||
|
margin-top: 2rem;
|
||||||
|
background-color: var(--ktg-blue);
|
||||||
|
color: #ffffff;
|
||||||
|
border: none;
|
||||||
|
border-radius: 10px;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
font-weight: 600;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submit-button:hover {
|
||||||
|
background-color: #1d4ed8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Hidden ---------- */
|
||||||
|
.hidden-row {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- Mobile ---------- */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
body {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-body {
|
||||||
|
padding: 1.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-row {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user