Login remake with font

This commit is contained in:
2026-05-20 16:53:43 +02:00
parent c48180e1b8
commit 2157925746
3 changed files with 83 additions and 43 deletions
+48
View File
@@ -1,3 +1,7 @@
/* ==========================================
STILI ORIGINALI PREESISTENTI
========================================== */
.card-list {
-fx-background-color: rgba(255,255,255,0.35);
-fx-background-radius: 15;
@@ -48,6 +52,7 @@
-fx-background-radius: 15, 12, 8, 4;
-fx-padding: 15 15 15 15;
}
.action-button {
-fx-background-color: #9d0208;
-fx-text-fill: white;
@@ -61,4 +66,47 @@
.action-button:hover {
-fx-background-color: #b42224;
}
/* Registrazione Font */
@font-face {
font-family: 'Inknut Antiqua';
src: url('../Fonts/InknutAntiqua-Regular.ttf');
}
@font-face {
font-family: 'Inknut Antiqua';
font-weight: bold;
src: url('../Fonts/InknutAntiqua-Bold.ttf');
}
.font-inknut-title {
-fx-font-family: 'Inknut Antiqua';
-fx-font-weight: bold;
-fx-font-size: 24;
}
.font-inknut-normal {
-fx-font-family: 'Inknut Antiqua';
}
.button:hover {
-fx-effect: dropshadow(gaussian, rgba(244,192,90,0.45), 18, 0, 0, 0);
}
/* ==========================================
NUOVI STILI AGGIUNTI PER IL TOGGLE
========================================== */
/* Struttura base fissa dei label RMI e TCP per evitare modifiche di layout */
.toggle-label {
-fx-font-family: 'Inknut Antiqua';
-fx-font-size: 11px;
-fx-font-weight: bold;
-fx-text-fill: rgba(244,192,90,0.55); /* Colore non attivo (dorato trasparente) */
}
/* Stato attivo del protocollo selezionato */
.toggle-label:active-protocol {
-fx-text-fill: #0c0601; /* Grigio scurissimo/nero sul cursore luminoso */
}