130 lines
1.8 KiB
CSS
130 lines
1.8 KiB
CSS
@import "./fonts.css";
|
|
|
|
:root {
|
|
--bg: #f4f7f8;
|
|
--surface: #ffffff;
|
|
--ink: #0f172a;
|
|
--muted: #64748b;
|
|
--line: #e2e8f0;
|
|
--accent: #0d9488;
|
|
--accent-soft: #ccfbf1;
|
|
--danger: #b42318;
|
|
--shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
|
|
--radius: 18px;
|
|
--font: "IRANSans", Tahoma, sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#app {
|
|
min-height: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: var(--font);
|
|
color: var(--ink);
|
|
background: var(--bg);
|
|
overflow-x: clip;
|
|
}
|
|
|
|
img,
|
|
svg,
|
|
video,
|
|
canvas {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.btn {
|
|
border: 0;
|
|
border-radius: 12px;
|
|
padding: 0.75rem 1.1rem;
|
|
cursor: pointer;
|
|
background: var(--accent);
|
|
color: white;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--accent);
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: transparent;
|
|
color: var(--danger);
|
|
border: 1px solid color-mix(in srgb, var(--danger) 35%, white);
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.field label {
|
|
font-size: 0.9rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.field input,
|
|
.field select,
|
|
.field textarea {
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
padding: 0.8rem 0.95rem;
|
|
background: #fff;
|
|
width: 100%;
|
|
}
|
|
|
|
.field input:focus,
|
|
.field select:focus,
|
|
.field textarea:focus {
|
|
outline: 2px solid var(--accent-soft);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.error {
|
|
color: var(--danger);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
h1 {
|
|
font-size: clamp(1.35rem, 5vw, 1.75rem);
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.7rem 0.95rem;
|
|
}
|
|
}
|