|
|
| Zeile 1: |
Zeile 1: |
| /* Container */
| | #ados-scan-preview img { |
| #ados-labelscan { max-width: 960px; margin: 0 auto; } | | max-width: 100%; |
| | | display: block; |
| /* Uploader */
| | margin-top: 10px; |
| .ados-scan__uploader{display:flex;justify-content:center}
| |
| .ados-scan__btn{
| |
| display:flex;align-items:center;justify-content:center;gap:.35rem; | |
| padding:16px 18px;border:2px dashed #cfcfcf;border-radius:16px; | |
| background:#fafafa;cursor:pointer;width:100%;max-width:540px;text-align:center
| |
| } | | } |
| .ados-scan__btn:hover{background:#f2f2f2}
| | #ados-scan-results div { |
| | | padding: 6px 0; |
| /* Fortschritt */
| | border-bottom: 1px solid #ddd; |
| .ados-scan__progress{margin:.5rem 0;color:#555}
| |
| #ados-scan-progress{width:100%;height:10px} | |
| | |
| /* Vorschau */
| |
| .ados-scan__preview img{max-width:100%;height:auto;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.06);margin:.4rem 0}
| |
| | |
| /* Ergebnisse */
| |
| .ados-scan__results{display:grid;grid-template-columns:1fr;gap:8px}
| |
| @media(min-width:700px){.ados-scan__results{grid-template-columns:1fr 1fr}}
| |
| .ados-hit{border:1px solid #eee;border-radius:10px;padding:10px;background:#fafafa}
| |
| .ados-hit .meta{color:#666;font-size:.95em;margin-top:.15rem}
| |
| | |
| /* --- Layout */
| |
| #ados-labelscan { max-width: 920px; margin: 0 auto; }
| |
| .ados-scan__header h2 { margin: .2rem 0 .4rem; font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
| |
| .ados-scan__sub { color: #666; margin: 0 0 .6rem; }
| |
| | |
| /* --- Dropzone */
| |
| .ados-scan__drop {
| |
| display: grid; place-items: center; gap: .35rem;
| |
| border: 2px dashed #cfcfcf; border-radius: 14px; background: #fafafa; | |
| padding: 18px; text-align: center; cursor: pointer;
| |
| } | | } |
| .ados-scan__drop:hover { background: #f3f3f3; }
| |
| .ados-scan__drop:focus-within { outline: 2px solid #2d6ca2; outline-offset: 2px; }
| |
| .ados-scan__drop-icon { font-size: 1.6rem; }
| |
| .ados-scan__drop-text { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; justify-content: center; }
| |
|
| |
| /* --- Status + Progress */
| |
| .ados-scan__statusrow { display: flex; align-items: center; gap: .6rem; margin: .6rem 0 .3rem; }
| |
| .ados-scan__status { color: #444; }
| |
| .ados-scan__progress { width: 220px; height: 10px; }
| |
|
| |
| /* --- Preview */
| |
| .ados-scan__preview img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin: .35rem 0; }
| |
|
| |
| /* --- Buttons (Utility) */
| |
| .btn {
| |
| display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
| |
| padding: .6rem .9rem; border-radius: 999px; border: 1px solid #ddd;
| |
| background: #fff; color: #111; text-decoration: none; cursor: pointer;
| |
| }
| |
| .btn:hover { background: #f5f5f5; }
| |
| .btn-primary { background: #2d6ca2; color: #fff; border-color: #2d6ca2; }
| |
| .btn-primary:hover { background: #1f527e; }
| |
| .btn-secondary { background: #ffffff; }
| |
| .btn-ghost { background: transparent; }
| |
|
| |
| /* --- Actions & Results */
| |
| .ados-scan__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
| |
| .ados-scan__resultswrap h3 { margin: .8rem 0 .4rem; }
| |
| .ados-scan__results { display: grid; grid-template-columns: 1fr; gap: 8px; }
| |
| @media (min-width: 700px) { .ados-scan__results { grid-template-columns: 1fr 1fr; } }
| |
| .ados-hit { border: 1px solid #eee; border-radius: 12px; padding: 10px; background: #fafafa; }
| |
| .ados-hit .meta { color: #666; font-size: .95em; margin-top: .15rem; }
| |
|
| |
| /* --- Kleines Footer-Note */
| |
| .ados-scan__note { color: #777; font-size: .9em; margin-top: .6rem; }
| |
|
| |
| /* --- Dark Mode freundlich */
| |
| @media (prefers-color-scheme: dark) {
| |
| .ados-scan__drop { background: #1f1f1f; border-color: #343434; }
| |
| .ados-scan__drop:hover { background: #232323; }
| |
| .ados-hit { background: #1d1d1d; border-color: #333; }
| |
| .btn { border-color: #3a3a3a; background: #262626; color: #eee; }
| |
| .btn:hover { background: #2d2d2d; }
| |
| .btn-primary { background: #3a79b1; border-color: #3a79b1; }
| |
| }
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| .ados-scan { max-width: 820px; margin: 0 auto; padding: 12px; }
| |
| .ados-scan__drop { display:block; border:2px dashed #ddd; border-radius:12px; padding:16px; text-align:center; background:#fafafa; }
| |
| .ados-scan__drop:hover { background:#f3f4f6; }
| |
| .ados-scan__statusrow { display:flex; gap:10px; align-items:center; margin:8px 0; }
| |
| .ados-scan__preview img { max-width: 100%; height:auto; border-radius:8px; box-shadow:0 2px 10px rgba(0,0,0,.08); }
| |
| .ados-scan__actions { display:flex; gap:8px; margin:8px 0 12px; }
| |
| .btn { padding:.55rem .9rem; border-radius:10px; border:1px solid #ddd; background:#fff; cursor:pointer; }
| |
| .btn-primary { background:#2563eb; color:#fff; border-color:#1d4ed8; }
| |
| .btn-secondary { background:#e5e7eb; }
| |
| .btn-ghost { background:#fff; }
| |
| .ados-scan__results .ados-hit { padding:.4rem .2rem; border-bottom:1px dashed #eee; }
| |