@seta-labs/nuxt-foundation 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/app/apps.ts +33 -0
  2. package/app/assets/shell.css +190 -0
  3. package/app/components/FoundationBarra.vue +42 -0
  4. package/app/components/FoundationLauncher.vue +54 -0
  5. package/app/components/FoundationMenu.vue +30 -0
  6. package/app/components/FoundationStato.vue +16 -0
  7. package/app/components/FoundationUtente.vue +48 -0
  8. package/app/composables/useFoundation.ts +66 -0
  9. package/app/composables/usePopover.ts +50 -0
  10. package/app/layouts/default.vue +43 -0
  11. package/app/utils/app-link.ts +6 -0
  12. package/app.config.ts +22 -0
  13. package/design-system/README.md +77 -0
  14. package/design-system/assets/App/README.md +4 -0
  15. package/design-system/assets/Icone/README.md +6 -0
  16. package/design-system/assets/Icone/i-aggiungi.svg +1 -0
  17. package/design-system/assets/Icone/i-altro.svg +1 -0
  18. package/design-system/assets/Icone/i-app-agency.svg +1 -0
  19. package/design-system/assets/Icone/i-app-geo.svg +1 -0
  20. package/design-system/assets/Icone/i-app-immo.svg +1 -0
  21. package/design-system/assets/Icone/i-app-infra.svg +1 -0
  22. package/design-system/assets/Icone/i-app-proxy.svg +1 -0
  23. package/design-system/assets/Icone/i-app-spid.svg +1 -0
  24. package/design-system/assets/Icone/i-app.svg +1 -0
  25. package/design-system/assets/Icone/i-attenzione.svg +1 -0
  26. package/design-system/assets/Icone/i-automazione.svg +1 -0
  27. package/design-system/assets/Icone/i-cerca.svg +1 -0
  28. package/design-system/assets/Icone/i-check.svg +1 -0
  29. package/design-system/assets/Icone/i-chiudi.svg +1 -0
  30. package/design-system/assets/Icone/i-crescita.svg +1 -0
  31. package/design-system/assets/Icone/i-direzione.svg +1 -0
  32. package/design-system/assets/Icone/i-documento.svg +1 -0
  33. package/design-system/assets/Icone/i-filtro.svg +1 -0
  34. package/design-system/assets/Icone/i-freccia.svg +1 -0
  35. package/design-system/assets/Icone/i-guida.svg +1 -0
  36. package/design-system/assets/Icone/i-ia.svg +1 -0
  37. package/design-system/assets/Icone/i-impostazioni.svg +1 -0
  38. package/design-system/assets/Icone/i-info.svg +1 -0
  39. package/design-system/assets/Icone/i-mail.svg +1 -0
  40. package/design-system/assets/Icone/i-notifiche.svg +1 -0
  41. package/design-system/assets/Icone/i-sito.svg +1 -0
  42. package/design-system/assets/Icone/i-sviluppo.svg +1 -0
  43. package/design-system/assets/Marchio/README.md +8 -0
  44. package/design-system/assets/Marchio/favicon.svg +5 -0
  45. package/design-system/assets/Marchio/logo-dark-stretto.png +0 -0
  46. package/design-system/assets/Marchio/logo-light-stretto.png +0 -0
  47. package/design-system/components/Avviso/README.md +8 -0
  48. package/design-system/components/Avviso/preview.html +17 -0
  49. package/design-system/components/Barra/README.md +8 -0
  50. package/design-system/components/Barra/preview.html +24 -0
  51. package/design-system/components/BarraStato/README.md +7 -0
  52. package/design-system/components/BarraStato/preview.html +12 -0
  53. package/design-system/components/Bottone/README.md +12 -0
  54. package/design-system/components/Bottone/preview.html +15 -0
  55. package/design-system/components/Campo/README.md +9 -0
  56. package/design-system/components/Campo/preview.html +20 -0
  57. package/design-system/components/Card/README.md +9 -0
  58. package/design-system/components/Card/preview.html +13 -0
  59. package/design-system/components/Cover/preview.html +50 -0
  60. package/design-system/components/Dialog/README.md +8 -0
  61. package/design-system/components/Dialog/preview.html +12 -0
  62. package/design-system/components/Etichetta/README.md +8 -0
  63. package/design-system/components/Etichetta/preview.html +12 -0
  64. package/design-system/components/Launcher/README.md +9 -0
  65. package/design-system/components/Launcher/preview.html +12 -0
  66. package/design-system/components/Lettura/README.md +8 -0
  67. package/design-system/components/Lettura/preview.html +12 -0
  68. package/design-system/components/Menu/README.md +9 -0
  69. package/design-system/components/Menu/preview.html +17 -0
  70. package/design-system/components/Tabella/README.md +9 -0
  71. package/design-system/components/Tabella/preview.html +16 -0
  72. package/design-system/components/Targa/README.md +7 -0
  73. package/design-system/components/Targa/preview.html +12 -0
  74. package/design-system/components/Tessera/README.md +9 -0
  75. package/design-system/components/Tessera/preview.html +12 -0
  76. package/design-system/components/Toast/README.md +7 -0
  77. package/design-system/components/Toast/preview.html +12 -0
  78. package/design-system/components/Vuoto/README.md +7 -0
  79. package/design-system/components/Vuoto/preview.html +12 -0
  80. package/design-system/components/bundle.css +238 -0
  81. package/design-system/design-system.json +361 -0
  82. package/design-system/tokens.css +102 -0
  83. package/design-system/tokens.json +111 -0
  84. package/design-system/vue/SfIcona.vue +17 -0
  85. package/design-system/vue/SfTessera.vue +20 -0
  86. package/design-system/vue/icons.ts +32 -0
  87. package/nuxt.config.ts +36 -0
  88. package/package.json +45 -0
@@ -0,0 +1,17 @@
1
+ <!-- @dsCard group="Shell" height=420 subtitle="Menu laterale dichiarato dall'app" -->
2
+ <!doctype html>
3
+ <html lang="it">
4
+ <head><meta charset="utf-8"><title>Menu</title>
5
+ <style>html,body{margin:0} body{background:var(--bg)} .pv{padding:20px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start} .col{display:flex;flex-direction:column;gap:12px}</style>
6
+ </head>
7
+ <body>
8
+ <div class="sf pv">
9
+ <nav class="sf-menu" aria-label="Proxy" style="height:380px">
10
+ <div class="sf-menu__gruppo"><a class="sf-menu__voce" href="#" aria-current="page"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="4" height="4"/><rect x="10" y="4" width="4" height="4"/><rect x="16" y="4" width="4" height="4"/><rect x="4" y="10" width="4" height="4"/><rect x="10" y="10" width="4" height="4"/><rect x="16" y="10" width="4" height="4"/><rect x="4" y="16" width="4" height="4"/><rect x="10" y="16" width="4" height="4"/><rect x="16" y="16" width="4" height="4"/></svg>Panoramica</a><a class="sf-menu__voce" href="#"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 12h6M15 12h6M12 3v6M12 15v6"/><path d="m18 9 3 3-3 3"/><rect x="9" y="9" width="6" height="6"/></svg>Gateway<span class="sf-menu__conteggio">[N]</span></a><a class="sf-menu__voce" href="#"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="6"/><rect x="4" y="14" width="16" height="6"/><path d="M7 7h2M7 17h2M15 7h2M15 17h2M12 10v4"/></svg>Upstream<span class="sf-menu__conteggio">[N]</span></a></div>
11
+ <div class="sf-menu__gruppo"><div class="sf-menu__titolo">Accesso</div><a class="sf-menu__voce" href="#"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 3h8l4 4v14H6z"/><path d="M14 3v4h4"/><path d="M9 12h6M9 15h6M9 18h3"/></svg>Consumatori</a><a class="sf-menu__voce" href="#"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="6" width="18" height="12"/><circle cx="8.5" cy="11" r="2"/><path d="M5.5 16c.6-1.5 1.7-2.2 3-2.2s2.4.7 3 2.2"/><path d="M14 10h4M14 13h4"/></svg>Credenziali</a></div>
12
+ <div style="flex:1"></div>
13
+ <div class="sf-menu__gruppo"><a class="sf-menu__voce" href="#"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h10M18 7h2M4 17h4M12 17h8"/><rect x="14" y="5" width="4" height="4"/><rect x="8" y="15" width="4" height="4"/></svg>Impostazioni</a></div>
14
+ </nav>
15
+ </div>
16
+ </body>
17
+ </html>
@@ -0,0 +1,9 @@
1
+ # Tabella
2
+
3
+ La tabella dei pannelli operativi: barra degli strumenti, righe da 44px, stato come etichetta, paginazione.
4
+
5
+ - Contenitore `sf-tabella-box` (surface, bordo, r-lg). Barra `sf-strumenti`: ricerca, filtri (`sf-filtro`, tratteggiato; `--attivo` pieno con il valore scelto), a destra le azioni: al massimo un primario compatto.
6
+ - `table.sf-tabella`: intestazioni in stile `targa`, righe `td` 44px, bordo `border` fra le righe, hover `surface-2`, selezione `aria-selected` in `accent-soft`.
7
+ - Colonne numeriche con classe `num` (allineate a destra, cifre tabellari); testo secondario con `secondario`.
8
+ - La prima colonna è il link al dettaglio (`accent`); azioni di riga nel menu `altro` a fine riga.
9
+ - Paginazione `sf-paginazione` sotto; senza risultati usa lo Stato vuoto al posto del corpo.
@@ -0,0 +1,16 @@
1
+ <!-- @dsCard group="Dati" height=380 subtitle="Tabella con filtri, stato e paginazione" -->
2
+ <!doctype html>
3
+ <html lang="it">
4
+ <head><meta charset="utf-8"><title>Tabella</title>
5
+ <style>html,body{margin:0} body{background:var(--bg)} .pv{padding:20px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start} .col{display:flex;flex-direction:column;gap:12px}</style>
6
+ </head>
7
+ <body>
8
+ <div class="sf pv">
9
+ <div class="sf-tabella-box" style="width:900px">
10
+ <div class="sf-strumenti"><label class="sf-cerca" style="width:260px"><svg class="sf-icona sf-icona--16" viewBox="0 0 24 24" aria-hidden="true"><circle cx="10.5" cy="10.5" r="6"/><path d="m15 15 5 5"/></svg><input type="search" placeholder="Cerca gateway" aria-label="Cerca gateway"></label><button class="sf-filtro sf-filtro--attivo" type="button"><svg class="sf-icona sf-icona--16" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 7.5V19l-4 1.5v-8z"/></svg>Stato: attivo</button><button class="sf-filtro" type="button"><svg class="sf-icona sf-icona--16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>Provider</button><span style="flex:1"></span><button class="sf-btn sf-btn--compatto" type="button">Esporta</button><button class="sf-btn sf-btn--primario sf-btn--compatto" type="button"><svg class="sf-icona sf-icona--16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>Nuovo gateway</button></div>
11
+ <table class="sf-tabella"><thead><tr><th scope="col">Gateway</th><th scope="col">Rotazione</th><th scope="col">Stato</th><th scope="col" class="num">Upstream</th><th scope="col"><span style="position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)">Azioni</span></th></tr></thead><tbody><tr><td><a href="#">nplife-ingest</a></td><td class="secondario">Per connessione</td><td><span class="sf-etichetta sf-etichetta--ok">Attivo</span></td><td class="num">[N]</td><td style="width:40px"><button class="sf-btn sf-btn--icona sf-btn--compatto" type="button" aria-label="Azioni su nplife-ingest" style="width:32px"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11.4" width="1.6" height="1.6"/><rect x="11.2" y="11.4" width="1.6" height="1.6"/><rect x="17.4" y="11.4" width="1.6" height="1.6"/></svg></button></td></tr><tr aria-selected="true"><td><a href="#">seta-immo</a></td><td class="secondario">Ogni 10 minuti</td><td><span class="sf-etichetta sf-etichetta--ok">Attivo</span></td><td class="num">[N]</td><td style="width:40px"><button class="sf-btn sf-btn--icona sf-btn--compatto" type="button" aria-label="Azioni su seta-immo" style="width:32px"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11.4" width="1.6" height="1.6"/><rect x="11.2" y="11.4" width="1.6" height="1.6"/><rect x="17.4" y="11.4" width="1.6" height="1.6"/></svg></button></td></tr><tr><td><a href="#">edifica-scraper</a></td><td class="secondario">Per connessione</td><td><span class="sf-etichetta sf-etichetta--attesa">In coda</span></td><td class="num">[N]</td><td style="width:40px"><button class="sf-btn sf-btn--icona sf-btn--compatto" type="button" aria-label="Azioni su edifica-scraper" style="width:32px"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11.4" width="1.6" height="1.6"/><rect x="11.2" y="11.4" width="1.6" height="1.6"/><rect x="17.4" y="11.4" width="1.6" height="1.6"/></svg></button></td></tr><tr><td><a href="#">test-legacy</a></td><td class="secondario">Statico</td><td><span class="sf-etichetta sf-etichetta--spento">Disattivato</span></td><td class="num">0</td><td style="width:40px"><button class="sf-btn sf-btn--icona sf-btn--compatto" type="button" aria-label="Azioni su test-legacy" style="width:32px"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11.4" width="1.6" height="1.6"/><rect x="11.2" y="11.4" width="1.6" height="1.6"/><rect x="17.4" y="11.4" width="1.6" height="1.6"/></svg></button></td></tr></tbody></table>
12
+ <div class="sf-paginazione"><span>Righe 1–4 di [N]</span><span style="display:flex;gap:8px"><button class="sf-btn sf-btn--compatto" type="button" disabled>Precedente</button><button class="sf-btn sf-btn--compatto" type="button">Successiva</button></span></div>
13
+ </div>
14
+ </div>
15
+ </body>
16
+ </html>
@@ -0,0 +1,7 @@
1
+ # Targa
2
+
3
+ L'intestazione di una pagina o di un grande blocco: filetto `hud` in alto, riga di targa, titolo in Archivo espanso.
4
+
5
+ - Riga `sf-targa__riga` in stile `targa` (10.5px, 0.2em, maiuscolo): indice in `ornato` quando la pagina è davvero una sequenza, nome del canale in `muted`, filetto `hud-tenue`, sigla a destra.
6
+ - Titolo `sf-targa__titolo` = stile `titolo-pagina` (28px, wdth 118, 600, maiuscolo).
7
+ - La numerazione deve essere vera: mai due targhe con lo stesso numero, mai numeri decorativi.
@@ -0,0 +1,12 @@
1
+ <!-- @dsCard group="Strumentazione" height=120 subtitle="Intestazione di pagina o di sezione" -->
2
+ <!doctype html>
3
+ <html lang="it">
4
+ <head><meta charset="utf-8"><title>Targa</title>
5
+ <style>html,body{margin:0} body{background:var(--bg)} .pv{padding:20px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start} .col{display:flex;flex-direction:column;gap:12px}</style>
6
+ </head>
7
+ <body>
8
+ <div class="sf pv">
9
+ <div class="sf-targa" style="width:720px"><div class="sf-targa__riga"><b>01 / 04</b><span>Gateway</span><span class="sf-targa__filetto"></span><span>SF·PRX</span></div><h1 class="sf-targa__titolo">Gateway</h1></div>
10
+ </div>
11
+ </body>
12
+ </html>
@@ -0,0 +1,9 @@
1
+ # Tessera
2
+
3
+ L'icona di un'app della suite: glifo al tratto dentro una tessera tinta del colore dell'app, con la linea di base sotto (la fondamenta comune).
4
+
5
+ - `span.sf-tessera.sf-tessera--<app>` con dentro l'`<svg>` del glifo (viewBox 24, dagli asset `Icone`). App: `agency`, `proxy`, `geo`, `immo`, `spid`, `infra`.
6
+ - Taglie: 96 (`--96`, pagine di presentazione), 56 (predefinita, launcher), 32 (`--32`, barra della shell), 24 (`--24`, favicon e liste; senza linea di base).
7
+ - Colori: token `app-*`. Il colore dell'app è una firma: sta nella tessera e nell'intestazione, mai su bottoni, link o stati.
8
+ - Raggio `r-tessera` (22% del lato). Fondo = colore app al 12% su `bg`, bordo al 45%.
9
+ - Una nuova app aggiunge un token `app-<nome>` e un glifo con le stesse regole delle icone.
@@ -0,0 +1,12 @@
1
+ <!-- @dsCard group="Shell" height=170 subtitle="Icone delle app in 4 taglie" -->
2
+ <!doctype html>
3
+ <html lang="it">
4
+ <head><meta charset="utf-8"><title>Tessera</title>
5
+ <style>html,body{margin:0} body{background:var(--bg)} .pv{padding:20px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start} .col{display:flex;flex-direction:column;gap:12px}</style>
6
+ </head>
7
+ <body>
8
+ <div class="sf pv">
9
+ <div class="col" style="align-items:center;width:104px"><span class="sf-tessera sf-tessera--agency sf-tessera--96"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="5" width="18" height="14"/><path d="M3 9h18"/><circle cx="12" cy="14" r="3"/><path d="M9 14h6"/></svg></span><div style="display:flex;gap:8px;align-items:center"><span class="sf-tessera sf-tessera--agency"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="5" width="18" height="14"/><path d="M3 9h18"/><circle cx="12" cy="14" r="3"/><path d="M9 14h6"/></svg></span><span class="sf-tessera sf-tessera--agency sf-tessera--32"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="5" width="18" height="14"/><path d="M3 9h18"/><circle cx="12" cy="14" r="3"/><path d="M9 14h6"/></svg></span><span class="sf-tessera sf-tessera--agency sf-tessera--24"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="5" width="18" height="14"/><path d="M3 9h18"/><circle cx="12" cy="14" r="3"/><path d="M9 14h6"/></svg></span></div><span style="font-size:13px;font-weight:500">Agency</span></div><div class="col" style="align-items:center;width:104px"><span class="sf-tessera sf-tessera--proxy sf-tessera--96"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 12h6M15 12h6M12 3v6M12 15v6"/><path d="m18 9 3 3-3 3"/><rect x="9" y="9" width="6" height="6"/></svg></span><div style="display:flex;gap:8px;align-items:center"><span class="sf-tessera sf-tessera--proxy"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 12h6M15 12h6M12 3v6M12 15v6"/><path d="m18 9 3 3-3 3"/><rect x="9" y="9" width="6" height="6"/></svg></span><span class="sf-tessera sf-tessera--proxy sf-tessera--32"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 12h6M15 12h6M12 3v6M12 15v6"/><path d="m18 9 3 3-3 3"/><rect x="9" y="9" width="6" height="6"/></svg></span><span class="sf-tessera sf-tessera--proxy sf-tessera--24"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 12h6M15 12h6M12 3v6M12 15v6"/><path d="m18 9 3 3-3 3"/><rect x="9" y="9" width="6" height="6"/></svg></span></div><span style="font-size:13px;font-weight:500">Proxy</span></div><div class="col" style="align-items:center;width:104px"><span class="sf-tessera sf-tessera--geo sf-tessera--96"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 21c-3.5-4-6-7.3-6-10.5a6 6 0 0 1 12 0C18 13.7 15.5 17 12 21z"/><rect x="10.5" y="9" width="3" height="3"/></svg></span><div style="display:flex;gap:8px;align-items:center"><span class="sf-tessera sf-tessera--geo"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 21c-3.5-4-6-7.3-6-10.5a6 6 0 0 1 12 0C18 13.7 15.5 17 12 21z"/><rect x="10.5" y="9" width="3" height="3"/></svg></span><span class="sf-tessera sf-tessera--geo sf-tessera--32"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 21c-3.5-4-6-7.3-6-10.5a6 6 0 0 1 12 0C18 13.7 15.5 17 12 21z"/><rect x="10.5" y="9" width="3" height="3"/></svg></span><span class="sf-tessera sf-tessera--geo sf-tessera--24"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 21c-3.5-4-6-7.3-6-10.5a6 6 0 0 1 12 0C18 13.7 15.5 17 12 21z"/><rect x="10.5" y="9" width="3" height="3"/></svg></span></div><span style="font-size:13px;font-weight:500">Geo</span></div><div class="col" style="align-items:center;width:104px"><span class="sf-tessera sf-tessera--immo sf-tessera--96"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7V3h4M17 3h4v4M21 17v4h-4M7 21H3v-4"/><path d="M7 12.5 12 8l5 4.5"/><path d="M8.5 11.2V17h7v-5.8"/></svg></span><div style="display:flex;gap:8px;align-items:center"><span class="sf-tessera sf-tessera--immo"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7V3h4M17 3h4v4M21 17v4h-4M7 21H3v-4"/><path d="M7 12.5 12 8l5 4.5"/><path d="M8.5 11.2V17h7v-5.8"/></svg></span><span class="sf-tessera sf-tessera--immo sf-tessera--32"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7V3h4M17 3h4v4M21 17v4h-4M7 21H3v-4"/><path d="M7 12.5 12 8l5 4.5"/><path d="M8.5 11.2V17h7v-5.8"/></svg></span><span class="sf-tessera sf-tessera--immo sf-tessera--24"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 7V3h4M17 3h4v4M21 17v4h-4M7 21H3v-4"/><path d="M7 12.5 12 8l5 4.5"/><path d="M8.5 11.2V17h7v-5.8"/></svg></span></div><span style="font-size:13px;font-weight:500">Immo</span></div><div class="col" style="align-items:center;width:104px"><span class="sf-tessera sf-tessera--spid sf-tessera--96"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="6" width="18" height="12"/><circle cx="8.5" cy="11" r="2"/><path d="M5.5 16c.6-1.5 1.7-2.2 3-2.2s2.4.7 3 2.2"/><path d="M14 10h4M14 13h4"/></svg></span><div style="display:flex;gap:8px;align-items:center"><span class="sf-tessera sf-tessera--spid"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="6" width="18" height="12"/><circle cx="8.5" cy="11" r="2"/><path d="M5.5 16c.6-1.5 1.7-2.2 3-2.2s2.4.7 3 2.2"/><path d="M14 10h4M14 13h4"/></svg></span><span class="sf-tessera sf-tessera--spid sf-tessera--32"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="6" width="18" height="12"/><circle cx="8.5" cy="11" r="2"/><path d="M5.5 16c.6-1.5 1.7-2.2 3-2.2s2.4.7 3 2.2"/><path d="M14 10h4M14 13h4"/></svg></span><span class="sf-tessera sf-tessera--spid sf-tessera--24"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="6" width="18" height="12"/><circle cx="8.5" cy="11" r="2"/><path d="M5.5 16c.6-1.5 1.7-2.2 3-2.2s2.4.7 3 2.2"/><path d="M14 10h4M14 13h4"/></svg></span></div><span style="font-size:13px;font-weight:500">SPID</span></div><div class="col" style="align-items:center;width:104px"><span class="sf-tessera sf-tessera--infra sf-tessera--96"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="6"/><rect x="4" y="14" width="16" height="6"/><path d="M7 7h2M7 17h2M15 7h2M15 17h2M12 10v4"/></svg></span><div style="display:flex;gap:8px;align-items:center"><span class="sf-tessera sf-tessera--infra"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="6"/><rect x="4" y="14" width="16" height="6"/><path d="M7 7h2M7 17h2M15 7h2M15 17h2M12 10v4"/></svg></span><span class="sf-tessera sf-tessera--infra sf-tessera--32"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="6"/><rect x="4" y="14" width="16" height="6"/><path d="M7 7h2M7 17h2M15 7h2M15 17h2M12 10v4"/></svg></span><span class="sf-tessera sf-tessera--infra sf-tessera--24"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="6"/><rect x="4" y="14" width="16" height="6"/><path d="M7 7h2M7 17h2M15 7h2M15 17h2M12 10v4"/></svg></span></div><span style="font-size:13px;font-weight:500">Infra</span></div>
10
+ </div>
11
+ </body>
12
+ </html>
@@ -0,0 +1,7 @@
1
+ # Toast
2
+
3
+ La conferma di un'azione appena fatta, in basso a destra, che sparisce da sola dopo 5 secondi (gli errori restano finché non li chiudi).
4
+
5
+ - `sf-toast` + `--ok` o `--errore`; testo al participio ("Gateway salvato") dopo un bottone che dice "Salva gateway".
6
+ - Un'azione al massimo (Annulla) o il pulsante Chiudi.
7
+ - Entra con `d-ampio`/`e-entrata`, esce con `d-rapido`/`e-uscita`. Per situazioni che durano usa l'Avviso.
@@ -0,0 +1,12 @@
1
+ <!-- @dsCard group="Feedback" height=140 subtitle="Conferma temporanea" -->
2
+ <!doctype html>
3
+ <html lang="it">
4
+ <head><meta charset="utf-8"><title>Toast</title>
5
+ <style>html,body{margin:0} body{background:var(--bg)} .pv{padding:20px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start} .col{display:flex;flex-direction:column;gap:12px}</style>
6
+ </head>
7
+ <body>
8
+ <div class="sf pv">
9
+ <div class="col"><div class="sf-toast sf-toast--ok" role="status"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="16"/><path d="m8 12 3 3 5-6"/></svg><span class="sf-toast__testo">Gateway salvato</span><button class="sf-btn sf-btn--testo sf-btn--compatto" type="button">Annulla</button></div><div class="sf-toast sf-toast--errore" role="alert"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3 22 20H2z"/><path d="M12 9v5"/><rect x="11.4" y="16.2" width="1.2" height="1.2"/></svg><span class="sf-toast__testo">Salvataggio non riuscito. Riprova.</span><button class="sf-btn sf-btn--icona sf-btn--compatto" type="button" aria-label="Chiudi" style="width:32px"><svg class="sf-icona" viewBox="0 0 24 24" aria-hidden="true"><path d="m6 6 12 12M18 6 6 18"/></svg></button></div></div>
10
+ </div>
11
+ </body>
12
+ </html>
@@ -0,0 +1,7 @@
1
+ # Vuoto
2
+
3
+ Cosa mostra una vista senza dati: la lente del marchio, un titolo, una frase che spiega a cosa serve la vista e l'azione per iniziare.
4
+
5
+ - `sf-vuoto` con bordo tratteggiato; la lente (`sf-vuoto__lente`) in `hud`, mai ruotata o deformata (rapporto 0,7181).
6
+ - Titolo in Archivo (stile `titolo-sezione`), testo in `muted` entro 44 caratteri per riga.
7
+ - Per una ricerca senza risultati: niente lente, titolo "Nessun risultato" e un bottone per azzerare i filtri.
@@ -0,0 +1,12 @@
1
+ <!-- @dsCard group="Feedback" height=280 subtitle="Nessun risultato o primo avvio" -->
2
+ <!doctype html>
3
+ <html lang="it">
4
+ <head><meta charset="utf-8"><title>Vuoto</title>
5
+ <style>html,body{margin:0} body{background:var(--bg)} .pv{padding:20px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start} .col{display:flex;flex-direction:column;gap:12px}</style>
6
+ </head>
7
+ <body>
8
+ <div class="sf pv">
9
+ <div class="sf-vuoto" style="width:620px"><svg class="sf-vuoto__lente" viewBox="0 0 100 139.3" aria-hidden="true"><path d="M50 0A73.48 73.48 0 0 1 50 139.3A73.48 73.48 0 0 1 50 0Z" fill="none" stroke="currentColor" stroke-width="1.5" vector-effect="non-scaling-stroke"/></svg><h3 class="sf-vuoto__titolo">Nessun gateway</h3><p class="sf-vuoto__testo">Un gateway raggruppa gli upstream e decide come ruotarli. Creane uno per dare un URL di proxy a un'applicazione.</p><button class="sf-btn sf-btn--primario" type="button"><svg class="sf-icona sf-icona--16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>Nuovo gateway</button></div>
10
+ </div>
11
+ </body>
12
+ </html>
@@ -0,0 +1,238 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,400..700&family=Schibsted+Grotesk:wght@400;500;600&display=swap");
2
+
3
+ /* =============================================================
4
+ SETA FOUNDATION — componenti CSS (prefisso sf-)
5
+ Legge solo le variabili di tokens.css. Nessun colore letterale
6
+ fuori dai token, salvo le firme delle app (--app-*).
7
+ ============================================================= */
8
+
9
+ .sf, .sf *, .sf *::before, .sf *::after { box-sizing: border-box; }
10
+ .sf {
11
+ font-family: var(--font-ui);
12
+ font-size: 14px;
13
+ line-height: 1.45;
14
+ color: var(--fg);
15
+ background: var(--bg);
16
+ font-variant-numeric: tabular-nums;
17
+ -webkit-font-smoothing: antialiased;
18
+ }
19
+ .sf :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
20
+ .sf-display-font { font-family: var(--font-display); font-variation-settings: 'wdth' 118; }
21
+ .sf-targa-testo { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
22
+ @media (prefers-reduced-motion: reduce) {
23
+ .sf *, .sf *::before, .sf *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
24
+ }
25
+
26
+ /* --- icone: sempre currentColor, tratto 1.25 ------------------ */
27
+ .sf-icona { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: butt; stroke-linejoin: miter; }
28
+ .sf-icona--16 { width: 16px; height: 16px; }
29
+ .sf-icona--24 { width: 24px; height: 24px; }
30
+
31
+ /* =============================================================
32
+ BOTTONI
33
+ ============================================================= */
34
+ .sf-btn {
35
+ display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
36
+ height: var(--controllo); padding: 0 16px;
37
+ border: 1px solid var(--border-forte); border-radius: var(--r-sm);
38
+ background: transparent; color: var(--fg);
39
+ font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
40
+ cursor: pointer; white-space: nowrap; text-decoration: none;
41
+ transition: background var(--d-medio) var(--e-standard), border-color var(--d-medio) var(--e-standard), color var(--d-medio) var(--e-standard);
42
+ }
43
+ .sf-btn:hover { background: var(--surface-2); border-color: var(--fg); }
44
+ .sf-btn--primario { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
45
+ .sf-btn--primario:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
46
+ .sf-btn--testo { border-color: transparent; padding: 0 8px; color: var(--accent); }
47
+ .sf-btn--testo:hover { background: var(--accent-soft); border-color: transparent; }
48
+ .sf-btn--pericolo { border-color: var(--errore); color: var(--errore); }
49
+ .sf-btn--pericolo:hover { background: var(--errore-soft); border-color: var(--errore); }
50
+ .sf-btn--grande { height: 46px; padding: 0 20px; font-size: 13.6px; }
51
+ .sf-btn--compatto { height: var(--controllo-compatto); padding: 0 12px; font-size: 11px; letter-spacing: 0.12em; }
52
+ .sf-btn--icona { width: var(--controllo); padding: 0; border-color: transparent; color: var(--muted); }
53
+ .sf-btn--icona:hover { color: var(--fg); background: var(--surface-2); border-color: transparent; }
54
+ .sf-btn[disabled], .sf-btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
55
+
56
+ /* =============================================================
57
+ FORM
58
+ ============================================================= */
59
+ .sf-campo { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
60
+ .sf-campo__etichetta { font-size: 14px; font-weight: 500; color: var(--fg); }
61
+ .sf-campo__etichetta small { font-weight: 400; color: var(--muted); font-size: 13px; }
62
+ .sf-campo__aiuto { font-size: 13px; color: var(--muted); }
63
+ .sf-campo__errore { font-size: 13px; color: var(--errore); display: flex; gap: 6px; align-items: center; }
64
+ .sf-input, .sf-select, .sf-textarea {
65
+ width: 100%; height: var(--controllo); padding: 0 12px;
66
+ background: var(--surface); color: var(--fg);
67
+ border: 1px solid var(--border-forte); border-radius: var(--r-sm);
68
+ font: inherit; font-size: 14px;
69
+ transition: border-color var(--d-medio) var(--e-standard), background var(--d-medio) var(--e-standard);
70
+ }
71
+ .sf-textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
72
+ .sf-input::placeholder, .sf-textarea::placeholder { color: var(--muted); }
73
+ .sf-input:hover, .sf-select:hover, .sf-textarea:hover { border-color: var(--muted); }
74
+ .sf-input:focus, .sf-select:focus, .sf-textarea:focus { outline: none; border-color: var(--accent); background: var(--surface-2); }
75
+ .sf-campo--errore .sf-input, .sf-campo--errore .sf-select, .sf-campo--errore .sf-textarea { border-color: var(--errore); }
76
+ .sf-input[disabled], .sf-select[disabled] { opacity: 0.45; cursor: not-allowed; }
77
+ .sf-select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
78
+ .sf-scelta { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; }
79
+ .sf-scelta input { appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--border-forte); border-radius: var(--r-sm); background: var(--surface); display: grid; place-content: center; cursor: pointer; }
80
+ .sf-scelta input[type="radio"] { border-radius: 50%; }
81
+ .sf-scelta input:checked { border-color: var(--accent); background: var(--accent-soft); }
82
+ .sf-scelta input:checked::after { content: ""; width: 8px; height: 8px; background: var(--accent); }
83
+ .sf-scelta input[type="radio"]:checked::after { border-radius: 50%; }
84
+
85
+ /* =============================================================
86
+ ETICHETTE — contorno + testo, niente campiture
87
+ ============================================================= */
88
+ .sf-etichetta {
89
+ display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
90
+ border: 1px solid var(--border-forte); border-radius: var(--r-pill);
91
+ font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
92
+ color: var(--muted);
93
+ }
94
+ .sf-etichetta::before { content: ""; width: 6px; height: 6px; background: currentColor; }
95
+ .sf-etichetta--semplice::before { display: none; }
96
+ .sf-etichetta--accent { color: var(--accent); border-color: var(--accent); }
97
+ .sf-etichetta--ok { color: var(--ok); border-color: var(--ok); }
98
+ .sf-etichetta--attesa { color: var(--attesa); border-color: var(--attesa); }
99
+ .sf-etichetta--errore { color: var(--errore); border-color: var(--errore); }
100
+ .sf-etichetta--spento::before { background: transparent; border: 1px solid currentColor; }
101
+
102
+ /* =============================================================
103
+ AVVISI
104
+ ============================================================= */
105
+ .sf-avviso { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); }
106
+ .sf-avviso__titolo { font-weight: 600; font-size: 14px; }
107
+ .sf-avviso__testo { font-size: 13px; color: var(--muted); margin-top: 2px; }
108
+ .sf-avviso .sf-icona { margin-top: 1px; }
109
+ .sf-avviso--info .sf-icona { color: var(--accent); }
110
+ .sf-avviso--ok { background: var(--ok-soft); border-color: var(--ok); } .sf-avviso--ok .sf-icona { color: var(--ok); }
111
+ .sf-avviso--attesa { background: var(--attesa-soft); border-color: var(--attesa); } .sf-avviso--attesa .sf-icona { color: var(--attesa); }
112
+ .sf-avviso--errore { background: var(--errore-soft); border-color: var(--errore); } .sf-avviso--errore .sf-icona { color: var(--errore); }
113
+
114
+ /* =============================================================
115
+ CARD e PARENTESI ANGOLARI
116
+ ============================================================= */
117
+ .sf-card { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
118
+ .sf-card__titolo { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
119
+ .sf-card__testo { color: var(--muted); }
120
+ .sf-card--link { color: inherit; text-decoration: none; transition: border-color var(--d-medio) var(--e-standard); }
121
+ .sf-card--link:hover { border-color: var(--accent); }
122
+ .sf-sigla { position: absolute; top: 10px; right: 12px; font-size: 9.5px; letter-spacing: 0.18em; color: var(--hud); text-transform: uppercase; }
123
+ /* parentesi: coppia diagonale, mai quattro angoli */
124
+ .sf-parentesi { position: relative; }
125
+ .sf-parentesi::before, .sf-parentesi::after { content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none; }
126
+ .sf-parentesi::before { top: -1px; left: -1px; border-top: 1px solid var(--hud); border-left: 1px solid var(--hud); }
127
+ .sf-parentesi::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--hud); border-right: 1px solid var(--hud); }
128
+
129
+ /* =============================================================
130
+ TARGA DI SEZIONE
131
+ ============================================================= */
132
+ .sf-targa { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; border-top: 1px solid var(--hud); }
133
+ .sf-targa__riga { display: flex; align-items: center; gap: 12px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
134
+ .sf-targa__riga b { color: var(--ornato); font-weight: 500; }
135
+ .sf-targa__filetto { flex: 1; height: 1px; background: var(--hud-tenue); min-width: 20px; }
136
+ .sf-targa__titolo { margin: 0; font-family: var(--font-display); font-variation-settings: 'wdth' 118; font-size: 28px; line-height: 1.04; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
137
+
138
+ /* =============================================================
139
+ LETTURA DI TELEMETRIA
140
+ ============================================================= */
141
+ .sf-lettura { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-left: 1px solid var(--hud-tenue); }
142
+ .sf-lettura__etichetta { font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
143
+ .sf-lettura__valore { font-family: var(--font-display); font-variation-settings: 'wdth' 118; font-size: 24px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
144
+ .sf-lettura__nota { font-size: 12px; color: var(--muted); }
145
+ .sf-lettura--vivo .sf-lettura__valore { color: var(--accent); }
146
+
147
+ /* =============================================================
148
+ TESSERA APP
149
+ ============================================================= */
150
+ .sf-tessera { --c: var(--app-agency); position: relative; width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--r-tessera); color: var(--c); background: color-mix(in oklab, var(--c) 12%, var(--bg)); border: 1px solid color-mix(in oklab, var(--c) 45%, transparent); }
151
+ .sf-tessera svg { width: 50%; height: 50%; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: butt; stroke-linejoin: miter; }
152
+ .sf-tessera::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 13%; height: 1px; background: currentColor; opacity: 0.6; }
153
+ .sf-tessera--24 { width: 24px; height: 24px; border-radius: 5px; } .sf-tessera--24 svg { width: 60%; height: 60%; stroke-width: 2.2; } .sf-tessera--24::after { display: none; }
154
+ .sf-tessera--32 { width: 32px; height: 32px; } .sf-tessera--32 svg { stroke-width: 1.6; } .sf-tessera--32::after { display: none; }
155
+ .sf-tessera--96 { width: 96px; height: 96px; } .sf-tessera--96 svg { stroke-width: 1.1; } .sf-tessera--96::after { height: 1.5px; }
156
+ .sf-tessera--agency { --c: var(--app-agency); } .sf-tessera--proxy { --c: var(--app-proxy); } .sf-tessera--geo { --c: var(--app-geo); }
157
+ .sf-tessera--immo { --c: var(--app-immo); } .sf-tessera--spid { --c: var(--app-spid); } .sf-tessera--infra { --c: var(--app-infra); }
158
+
159
+ /* =============================================================
160
+ SHELL — barra, launcher, menu, barra di stato
161
+ ============================================================= */
162
+ .sf-barra { height: var(--shell-barra); display: flex; align-items: center; gap: 12px; padding: 0 12px 0 4px; background: var(--bg); border-bottom: 1px solid var(--hud-tenue); }
163
+ .sf-barra__launcher { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: var(--r-sm); }
164
+ .sf-barra__launcher:hover { color: var(--fg); background: var(--surface-2); }
165
+ .sf-barra__launcher[aria-expanded="true"] { color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
166
+ .sf-barra__marchio { height: 22px; width: auto; display: block; }
167
+ .sf-barra__sep { width: 1px; height: 20px; background: var(--hud-tenue); }
168
+ .sf-barra__app { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--fg); text-decoration: none; }
169
+ .sf-barra__spazio { flex: 1; }
170
+ .sf-cerca { display: flex; align-items: center; gap: 10px; height: 34px; width: min(420px, 40vw); padding: 0 10px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: var(--r-sm); }
171
+ .sf-cerca input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 13px; outline: none; }
172
+ .sf-cerca kbd { font: inherit; font-size: 10px; letter-spacing: 0.12em; border: 1px solid var(--border); padding: 1px 5px; }
173
+ .sf-ambiente { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border: 1px solid var(--ok); color: var(--ok); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; border-radius: var(--r-sm); }
174
+ .sf-ambiente::before { content: ""; width: 6px; height: 6px; background: currentColor; }
175
+ .sf-ambiente--staging { color: var(--attesa); border-color: var(--attesa); }
176
+ .sf-avatar { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--hud); background: var(--ornato-soft); color: var(--fg); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; border-radius: var(--r-sm); }
177
+
178
+ .sf-launcher { width: 400px; padding: 20px; background: var(--surface); border: 1px solid var(--border-forte); border-radius: var(--r-lg); box-shadow: var(--ombra-sovrapposto); display: flex; flex-direction: column; gap: 16px; }
179
+ .sf-launcher__griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
180
+ .sf-launcher__app { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-radius: var(--r-md); color: var(--fg); text-decoration: none; font-size: 13px; font-weight: 500; }
181
+ .sf-launcher__app:hover { background: var(--surface-2); }
182
+ .sf-launcher__app[aria-current="page"] { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
183
+ .sf-launcher__piede { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
184
+
185
+ .sf-menu { width: var(--shell-menu); display: flex; flex-direction: column; gap: 20px; padding: 16px 12px; background: var(--bg); border-right: 1px solid var(--hud-tenue); }
186
+ .sf-menu__gruppo { display: flex; flex-direction: column; gap: 2px; }
187
+ .sf-menu__titolo { display: flex; align-items: center; gap: 10px; padding: 0 12px 8px; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ornato); }
188
+ .sf-menu__titolo::after { content: ""; flex: 1; height: 1px; background: var(--hud-tenue); }
189
+ .sf-menu__voce { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
190
+ .sf-menu__voce:hover { color: var(--fg); background: var(--surface-2); }
191
+ .sf-menu__voce[aria-current="page"] { color: var(--fg); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 40%, transparent); }
192
+ .sf-menu__voce[aria-current="page"] .sf-icona { color: var(--accent); }
193
+ .sf-menu__conteggio { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
194
+
195
+ .sf-stato { height: var(--shell-stato); display: flex; align-items: center; gap: 24px; padding: 0 16px; border-top: 1px solid var(--hud-tenue); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
196
+ .sf-stato b { color: var(--fg); font-weight: 500; }
197
+
198
+ /* =============================================================
199
+ TABELLA DATI
200
+ ============================================================= */
201
+ .sf-tabella-box { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
202
+ .sf-strumenti { display: flex; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
203
+ .sf-filtro { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px dashed var(--border-forte); border-radius: var(--r-sm); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
204
+ .sf-filtro--attivo { border-style: solid; border-color: var(--accent); color: var(--fg); background: var(--accent-soft); }
205
+ .sf-tabella { width: 100%; border-collapse: collapse; font-size: 14px; }
206
+ .sf-tabella th { height: 36px; padding: 0 12px; text-align: left; font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
207
+ .sf-tabella td { height: 44px; padding: 0 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
208
+ .sf-tabella tbody tr:hover { background: var(--surface-2); }
209
+ .sf-tabella tbody tr[aria-selected="true"] { background: var(--accent-soft); }
210
+ .sf-tabella .num { text-align: right; font-variant-numeric: tabular-nums; }
211
+ .sf-tabella .secondario { color: var(--muted); }
212
+ .sf-tabella a { color: var(--accent); text-decoration: none; }
213
+ .sf-tabella a:hover { text-decoration: underline; }
214
+ .sf-paginazione { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; font-size: 13px; color: var(--muted); }
215
+
216
+ /* =============================================================
217
+ DIALOG, TOAST, STATO VUOTO
218
+ ============================================================= */
219
+ .sf-dialog { width: 440px; max-width: 100%; background: var(--surface); border: 1px solid var(--border-forte); border-radius: var(--r-lg); box-shadow: var(--ombra-sovrapposto); }
220
+ .sf-dialog__testa { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 0; }
221
+ .sf-dialog__titolo { margin: 0; font-size: 17px; font-weight: 600; flex: 1; }
222
+ .sf-dialog__corpo { padding: 12px 20px 20px; color: var(--muted); }
223
+ .sf-dialog__piede { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--border); }
224
+ .sf-velo { background: rgba(10, 14, 20, 0.6); }
225
+
226
+ .sf-toast { display: flex; align-items: center; gap: 12px; min-width: 320px; padding: 12px 12px 12px 16px; background: var(--surface-2); border: 1px solid var(--border-forte); border-radius: var(--r-md); box-shadow: var(--ombra-sovrapposto); font-size: 14px; }
227
+ .sf-toast__testo { flex: 1; }
228
+ .sf-toast--ok .sf-icona { color: var(--ok); } .sf-toast--errore .sf-icona { color: var(--errore); }
229
+
230
+ .sf-vuoto { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 48px 24px; border: 1px dashed var(--border-forte); border-radius: var(--r-lg); }
231
+ .sf-vuoto__lente { width: 40px; height: 56px; color: var(--hud); }
232
+ .sf-vuoto__titolo { margin: 0; font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-size: 20px; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; }
233
+ .sf-vuoto__testo { max-width: 44ch; color: var(--muted); margin: 0; }
234
+
235
+ /* --- marchio per tema: i PNG hanno il fondo cotto dentro ------- */
236
+ html[data-theme="giorno"] .sf-solo-notte { display: none !important; }
237
+ html:not([data-theme="giorno"]) .sf-solo-giorno { display: none !important; }
238
+ .sf-marchio { width: 146px; height: auto; display: block; }