com
This commit is contained in:
@@ -553,3 +553,189 @@ body {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Auth / Forms / Account */
|
||||
|
||||
.auth-page {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.auth-layout {
|
||||
max-width: 480px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
background: #fff;
|
||||
border-radius: 18px;
|
||||
padding: 1.6rem 1.8rem;
|
||||
box-shadow: var(--shadow-soft);
|
||||
border: 1px solid rgba(200, 203, 208, 0.5);
|
||||
}
|
||||
|
||||
.auth-title {
|
||||
font-family: 'Montserrat', system-ui, sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 1.5rem;
|
||||
margin: 0 0 0.35rem;
|
||||
color: var(--deep-gray);
|
||||
}
|
||||
|
||||
.auth-subtitle {
|
||||
font-size: 0.95rem;
|
||||
color: #555;
|
||||
margin: 0 0 1.5rem;
|
||||
}
|
||||
|
||||
.auth-flash-success,
|
||||
.auth-flash-error {
|
||||
border-radius: 12px;
|
||||
padding: 0.75rem 0.9rem;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.auth-flash-success {
|
||||
background: #e6f9ef;
|
||||
border: 1px solid rgba(3, 193, 96, 0.4);
|
||||
color: #145c32;
|
||||
}
|
||||
|
||||
.auth-flash-error {
|
||||
background: #fde7ea;
|
||||
border: 1px solid rgba(230, 57, 70, 0.4);
|
||||
color: #7f1d1d;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.form-label {
|
||||
display: block;
|
||||
font-size: 0.85rem;
|
||||
color: #555;
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
.form-input,
|
||||
.form-select,
|
||||
.form-textarea {
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--silver);
|
||||
padding: 0.55rem 0.7rem;
|
||||
font-size: 0.95rem;
|
||||
font-family: inherit;
|
||||
transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.form-input:focus,
|
||||
.form-select:focus,
|
||||
.form-textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--brand-blue);
|
||||
box-shadow: 0 0 0 1px rgba(0, 81, 255, 0.15);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.form-input[readonly],
|
||||
.form-select[readonly] {
|
||||
background: #f3f4f6;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.form-error {
|
||||
margin-top: 0.3rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--error-red);
|
||||
}
|
||||
|
||||
.form-help {
|
||||
margin-top: 0.3rem;
|
||||
font-size: 0.8rem;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.form-actions {
|
||||
margin-top: 1.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.auth-link {
|
||||
font-size: 0.9rem;
|
||||
color: var(--brand-blue);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.auth-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Account page */
|
||||
|
||||
.account-page {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.account-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.account-card {
|
||||
background: #fff;
|
||||
border-radius: 18px;
|
||||
padding: 1.6rem 1.8rem;
|
||||
box-shadow: var(--shadow-soft);
|
||||
border: 1px solid rgba(200, 203, 208, 0.5);
|
||||
}
|
||||
|
||||
.account-title {
|
||||
font-family: 'Montserrat', system-ui, sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 1.4rem;
|
||||
margin: 0 0 0.4rem;
|
||||
color: var(--deep-gray);
|
||||
}
|
||||
|
||||
.account-subtitle {
|
||||
margin: 0 0 1.4rem;
|
||||
font-size: 0.95rem;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.account-meta {
|
||||
font-size: 0.85rem;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.account-avatar-preview {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.account-avatar-preview .user-avatar {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.account-avatar-note {
|
||||
font-size: 0.85rem;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.account-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,18 @@
|
||||
(function () {
|
||||
const translations = {
|
||||
de: {
|
||||
|
||||
header_slogan: "USB-Sticks testen",
|
||||
btn_login: "Login",
|
||||
|
||||
nav_how: "Ablauf",
|
||||
nav_problem: "Problem",
|
||||
nav_features: "Funktionen",
|
||||
nav_security: "Sicherheit",
|
||||
nav_faq: "FAQ",
|
||||
|
||||
footer_imprint: "Impressum",
|
||||
footer_privacy: "Datenschutz",
|
||||
brand_wordmark: "usbcheck.it",
|
||||
brand_subtitle: "USB-Sticks auf Fakes testen",
|
||||
btn_login: "Login",
|
||||
@@ -118,6 +130,17 @@
|
||||
},
|
||||
|
||||
en: {
|
||||
header_slogan: "Test USB drives",
|
||||
btn_login: "Login",
|
||||
|
||||
nav_how: "How it works",
|
||||
nav_problem: "Why it matters",
|
||||
nav_features: "Features",
|
||||
nav_security: "Security",
|
||||
nav_faq: "FAQ",
|
||||
|
||||
footer_imprint: "Imprint",
|
||||
footer_privacy: "Privacy policy",
|
||||
brand_wordmark: "usbcheck.it",
|
||||
brand_subtitle: "Test USB drives for fakes",
|
||||
btn_login: "Login",
|
||||
@@ -234,6 +257,17 @@
|
||||
|
||||
// Italienisch (kurz, sachlich)
|
||||
it: {
|
||||
header_slogan: "Test delle chiavette USB",
|
||||
btn_login: "Accesso",
|
||||
|
||||
nav_how: "Come funziona",
|
||||
nav_problem: "Perché è importante",
|
||||
nav_features: "Funzioni",
|
||||
nav_security: "Sicurezza",
|
||||
nav_faq: "FAQ",
|
||||
|
||||
footer_imprint: "Imprint",
|
||||
footer_privacy: "Privacy",
|
||||
brand_wordmark: "usbcheck.it",
|
||||
brand_subtitle: "Controlla le chiavette USB contraffatte",
|
||||
btn_login: "Login",
|
||||
@@ -351,6 +385,17 @@
|
||||
|
||||
// Französisch (kurz, sachlich)
|
||||
fr: {
|
||||
header_slogan: "Tester vos clés USB",
|
||||
btn_login: "Connexion",
|
||||
|
||||
nav_how: "Fonctionnement",
|
||||
nav_problem: "Problème",
|
||||
nav_features: "Fonctionnalités",
|
||||
nav_security: "Sécurité",
|
||||
nav_faq: "FAQ",
|
||||
|
||||
footer_imprint: "Mentions légales",
|
||||
footer_privacy: "Confidentialité",
|
||||
brand_wordmark: "usbcheck.it",
|
||||
brand_subtitle: "Tester les clés USB contrefaites",
|
||||
btn_login: "Connexion",
|
||||
|
||||
Reference in New Issue
Block a user