Files
2026-11-13 12:08:12 +03:00

81 lines
5.5 KiB
CSS

.admin-login { grid-template-columns: 1.1fr 1fr; gap: 5vw; padding: 6vw; background: #f0f6fb; }
.admin-login-story { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 60px; background: linear-gradient(0deg, #0b2439ed, #0b24399c), url('/images/projects/marota-s160-cover.webp') center / cover; color: #fff; min-height: 620px; }
.admin-login-story > span { font-size: 10px; letter-spacing: .15em; color: #a8e2fa; }
.admin-login-story h2 { color: #fff; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: clamp(32px, 3.4vw, 54px); line-height: 1.5; margin-block: 50px 18px; font-weight: 500; }
.admin-login-story p { color: #d3e5f1; line-height: 2; font-size: 15px; max-width: 32ch; }
.admin-login-story .admin-login-signature { margin-top: 70px; font-size: 9px; }
.admin-login form { width: min(100%, 460px); box-shadow: none; border: 0; background: transparent; padding: 28px; animation: studio-rise .6s ease both; }
.admin-login h1 { font-family: 'Segoe UI', Tahoma, sans-serif; line-height: 1.5; font-size: 38px; }
.admin-login input { min-height: 54px; }
.admin-shell header h1 { font-family: 'Segoe UI', Tahoma, sans-serif; line-height: 1.5; font-size: clamp(32px, 4vw, 46px); font-weight: 600; }
.admin-shell header { padding-block-end: 28px; border-bottom: 1px solid #087cae26; }
.admin-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 32px; background: #087cae; color: #ffffff; }
.admin-overview > div { padding: 26px; display: grid; gap: 5px; border-inline-end: 1px solid #ffffff20; }
.admin-overview > div:last-child { border: 0; }
.admin-overview span { font-size: 12px; color: #e1f4fc; }
.admin-overview strong { font: 48px Georgia, serif; }
.admin-overview small { font-size: 11px; color: #d3e5f1; }
.section-head h2 { font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 24px; line-height: 1.5; }
.project-admin-summary h3 { font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 19px; line-height: 1.5; }
.admin-section { animation: studio-rise .5s ease both; }
.project-editor { animation: studio-rise .3s ease both; }
.admin-shell button:focus-visible, .admin-login button:focus-visible { outline: 2px solid #29a9dc; outline-offset: 4px; }
.admin-shell input, .admin-shell textarea { transition: border-color .2s, box-shadow .2s; }
@media (max-width: 1100px) { .admin-login { padding: 32px; gap: 20px; } .admin-login-story { padding: 36px; } }
@media (max-width: 900px) { .admin-shell aside { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; } .admin-brand { border: 0; padding: 0; margin-inline-end: auto; } .view-site, .logout { margin: 0; } .admin-overview > div { padding: 22px 16px; } }
@media (max-width: 700px) { .admin-login { grid-template-columns: 1fr; padding: 24px; } .admin-login-story { min-height: 260px; padding: 28px; } .admin-login-story h2 { font-size: 30px; margin-block: 22px 0; } .admin-login-story p, .admin-login-signature { display: none; } .admin-login form { padding: 12px 0; } .admin-overview strong { font-size: 36px; } .admin-overview small { display: none; } .admin-overview span { font-size: 10px; } .admin-shell header .save-button { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .admin-section, .project-editor, .admin-login form { animation: none; } }
/* Shared Arabic typography, including login, loading and bilingual editors. */
.admin-shell, .admin-login, .admin-loading {
font-family: var(--font-arabic);
font-size: 1rem;
line-height: 1.85;
}
.admin-shell :is(h1, h2, h3), .admin-login :is(h1, h2) {
font-family: var(--font-arabic);
font-weight: 700;
letter-spacing: normal;
line-height: 1.5;
}
.admin-shell header h1 { font-family: var(--font-arabic); font-size: var(--type-section); letter-spacing: normal; }
.admin-login h1 { font-size: 1.625rem; }
.admin-login-story h2 { font-size: var(--type-section); line-height: 1.5; }
.admin-login-story p { font-size: 1rem; line-height: 1.8; }
.admin-login label, .admin-form-grid label { font-size: .9375rem; line-height: 1.8; font-weight: 500; }
.admin-login input, .admin-form-grid :is(input, textarea, select) {
min-width: 0;
font-family: var(--font-arabic);
font-size: 1rem;
font-weight: 400;
line-height: 1.8;
min-height: 50px;
text-align: start;
}
.admin-form-grid :is(input, textarea)[lang="en"] { font-family: "Segoe UI", Arial, sans-serif; }
.admin-form-grid textarea { min-height: 132px; }
.admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.admin-form-grid label { min-width: 0; }
.admin-login a, .admin-error { font-size: .9375rem; }
.admin-login p, .admin-shell header p, .section-head p { color: #526979; }
.admin-brand small, .admin-shell header small { font-size: .875rem; }
.admin-overview span { font-size: .9375rem; line-height: 1.7; }
.admin-overview small { font-size: .875rem; }
.section-head h2 { font-size: 1.25rem; }
.project-admin-summary h3 { font-size: 1.125rem; }
.project-admin-summary :is(p, small) { font-size: .9375rem; color: #526979; }
.project-admin-summary > div { min-width: 0; }
.image-field { min-width: 0; flex-wrap: wrap; }
.image-field p { font-size: .875rem; color: #526979; line-height: 1.8; }
.upload-button { font-size: .9375rem; line-height: 1.8; min-height: 44px; }
.save-button, .add-button { flex-shrink: 0; }
@media (max-width: 900px) {
.admin-form-grid { grid-template-columns: minmax(0, 1fr); }
.admin-section, .project-editor { padding: 20px 16px; }
}
@media (max-width: 700px) {
.admin-overview > div { padding: 18px 10px; }
.admin-overview span { font-size: .8125rem; }
}