Files
Zefix_search/css/custom.css
T

305 lines
5.2 KiB
CSS

/* css/custom.css */
/* Keep Bootstrap in control. Only add gentle, modern enhancements. */
:root {
--silias-radius: 14px;
--silias-ink: #0b1236;
--silias-muted: #667085;
--silias-primary: #3b4cca;
--silias-primary-dark: #25339b;
--silias-surface: #ffffff;
--silias-soft: #f3f5ff;
--silias-border: #e4e8f2;
}
html, body {
min-height: 100%;
}
body {
/* Bootstrap uses system font stack, keep it */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--silias-ink);
background:
radial-gradient(circle at 8% 0%, rgba(90, 103, 216, .12), transparent 28rem),
#f7f8fc !important;
background-repeat: no-repeat !important;
background-size: 100% 720px !important;
}
/* Navbar */
.site-header {
background: rgba(255, 255, 255, .94);
backdrop-filter: blur(12px);
}
.navbar-brand {
letter-spacing: 0.2px;
}
.brand-lockup {
display: inline-flex;
align-items: center;
gap: .85rem;
color: var(--silias-ink);
text-decoration: none;
}
.brand-logo-crop {
position: relative;
width: 126px;
height: 45px;
overflow: hidden;
flex: 0 0 auto;
}
.brand-logo-crop img {
position: absolute;
left: -2%;
top: 50%;
width: 104%;
height: auto;
transform: translateY(-50%);
}
.brand-divider {
width: 1px;
height: 28px;
background: var(--silias-border);
}
.brand-product {
font-size: .9rem;
font-weight: 700;
line-height: 1.15;
}
.brand-product small {
display: block;
margin-top: .18rem;
color: var(--silias-muted);
font-size: .72rem;
font-weight: 500;
}
.hero-eyebrow {
color: var(--silias-primary);
font-size: .78rem;
font-weight: 800;
letter-spacing: .09em;
text-transform: uppercase;
}
.hero-title {
max-width: 760px;
letter-spacing: -.025em;
}
.hero-copy {
max-width: 720px;
color: var(--silias-muted);
}
/* Card polish */
.card {
border-radius: var(--silias-radius);
}
.card.shadow-sm {
box-shadow: 0 10px 25px rgba(0,0,0,.06) !important;
}
.export-shell {
border: 1px solid rgba(228, 232, 242, .9);
box-shadow: 0 18px 48px rgba(21, 31, 80, .09) !important;
}
.form-section {
padding: 1.25rem;
border: 1px solid var(--silias-border);
border-radius: 1rem;
background: var(--silias-surface);
}
.section-heading {
display: flex;
align-items: flex-start;
gap: .8rem;
margin-bottom: 1rem;
}
.section-number {
display: inline-grid;
width: 2rem;
height: 2rem;
place-items: center;
flex: 0 0 auto;
border-radius: .65rem;
background: var(--silias-soft);
color: var(--silias-primary-dark);
font-weight: 800;
}
.section-heading h2 {
margin: 0;
font-size: 1.05rem;
}
.section-heading p {
margin: .2rem 0 0;
color: var(--silias-muted);
font-size: .9rem;
}
.selection-meta {
color: var(--silias-muted);
font-size: .84rem;
font-weight: 600;
}
.privacy-note {
padding: .9rem 1rem;
border: 1px solid var(--silias-border);
border-radius: .85rem;
background: #fafbff;
}
/* Form */
.form-label {
font-weight: 600;
}
.form-text {
color: #6c757d;
}
.form-control,
.form-select {
border-radius: 0.75rem;
}
.form-control:focus,
.form-select:focus {
border-color: #7c89e8;
box-shadow: 0 0 0 .2rem rgba(59, 76, 202, .14);
}
/* Buttons: DO NOT globally style "button" tag */
.btn {
border-radius: 0.85rem;
}
.btn-lg {
padding-top: .85rem;
padding-bottom: .85rem;
}
.btn-primary {
border-color: var(--silias-primary);
background: var(--silias-primary);
}
.btn-primary:hover,
.btn-primary:focus {
border-color: var(--silias-primary-dark);
background: var(--silias-primary-dark);
}
/* Scroll panels (if you keep class from index.php) */
.scrollWindow {
border-radius: 1rem;
scrollbar-color: #b8bfdc transparent;
scrollbar-width: thin;
}
/* Checkbox rows */
.form-check {
padding: .3rem 0 .3rem 1.75rem;
}
.form-check-input {
cursor: pointer;
margin-left: -1.75rem;
}
.form-check-label {
cursor: pointer;
}
/* Alerts */
.alert {
border-radius: 0.9rem;
}
/* Footer */
footer {
margin-top: 0;
}
.site-footer {
color: var(--silias-muted);
background: #fff;
}
footer a {
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
/* Small badges look nicer */
.badge {
border-radius: 999px;
padding: .45rem .7rem;
}
/* Optional: make long checkbox lists easier to scan */
.scrollWindow .form-check + .form-check {
border-top: 1px solid rgba(0,0,0,.04);
}
.scrollWindow .form-check {
padding: .35rem .25rem;
}
/* Ensure links inside muted text are readable */
.text-muted a {
color: inherit;
}
.text-muted a:hover {
color: #0d6efd;
}
/* Mobile tweaks */
@media (max-width: 576px) {
.card-body {
padding: 1.25rem !important;
}
.brand-logo-crop {
width: 104px;
height: 38px;
}
.brand-divider,
.brand-product small {
display: none;
}
.form-section {
padding: 1rem;
}
}
/* Fix: checkboxes not clipped and never overlap text */
.scrollWindow .form-check {
padding: .6rem 1.1rem !important;
margin: 0 !important;
}
.scrollWindow .form-check-input {
margin-left: 0 !important; /* remove negative margin */
float: left; /* classic layout */
}
.scrollWindow .form-check-label {
display: block;
padding-left: 1.9rem;
line-height: 1.4;
}