From 4d60c501cf1c3d8139ffed213f1d3908a16b2d12 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 9 Jun 2026 12:39:57 +0200 Subject: [PATCH 1/2] fix fonts & css --- .../EgwCoreLib.BlazorTest.csproj | 48 ++++++++++++++++++ EgwCoreLib.BlazorTest/wwwroot/css/font.css | 36 +++++++++++++ EgwCoreLib.BlazorTest/wwwroot/css/site.css | 7 ++- .../lato-v17-latin-regular.eot | Bin .../lato-v17-latin-regular.svg | 0 .../lato-v17-latin-regular.ttf | Bin .../lato-v17-latin-regular.woff | Bin .../lato-v17-latin-regular.woff2 | Bin .../roboto-condensed-v19-latin-regular.eot | Bin .../roboto-condensed-v19-latin-regular.svg | 0 .../roboto-condensed-v19-latin-regular.ttf | Bin .../roboto-condensed-v19-latin-regular.woff | Bin .../roboto-condensed-v19-latin-regular.woff2 | Bin .../roboto-v27-latin-regular.eot | Bin .../roboto-v27-latin-regular.svg | 0 .../roboto-v27-latin-regular.ttf | Bin .../roboto-v27-latin-regular.woff | Bin .../roboto-v27-latin-regular.woff2 | Bin 18 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 EgwCoreLib.BlazorTest/wwwroot/css/font.css rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.eot (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.svg (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.ttf (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.woff (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/lato-v17-latin-regular.woff2 (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.eot (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.svg (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.ttf (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.woff (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-condensed-v19-latin-regular.woff2 (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.eot (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.svg (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.ttf (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.woff (100%) rename EgwCoreLib.BlazorTest/wwwroot/{font => fonts}/roboto-v27-latin-regular.woff2 (100%) diff --git a/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj b/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj index 73eda87..3f8e3ed 100644 --- a/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj +++ b/EgwCoreLib.BlazorTest/EgwCoreLib.BlazorTest.csproj @@ -31,4 +31,52 @@ + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + diff --git a/EgwCoreLib.BlazorTest/wwwroot/css/font.css b/EgwCoreLib.BlazorTest/wwwroot/css/font.css new file mode 100644 index 0000000..354cb21 --- /dev/null +++ b/EgwCoreLib.BlazorTest/wwwroot/css/font.css @@ -0,0 +1,36 @@ +/* lato-regular - latin */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: url('../fonts/lato-v17-latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), url('../fonts/lato-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/lato-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/lato-v17-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/lato-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/lato-v17-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */ +} +/* roboto-regular - latin */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + src: url('../fonts/roboto-v27-latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), url('../fonts/roboto-v27-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-v27-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-v27-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-v27-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ +} +/* roboto-condensed-regular - latin */ +@font-face { + font-family: 'Roboto Condensed'; + font-style: normal; + font-weight: 400; + src: url('../fonts/roboto-condensed-v19-latin-regular.eot'); /* IE9 Compat Modes */ + src: local(''), url('../fonts/roboto-condensed-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/roboto-condensed-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/roboto-condensed-v19-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/roboto-condensed-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/roboto-condensed-v19-latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */ +} diff --git a/EgwCoreLib.BlazorTest/wwwroot/css/site.css b/EgwCoreLib.BlazorTest/wwwroot/css/site.css index 1f4b8cf..4b47b44 100644 --- a/EgwCoreLib.BlazorTest/wwwroot/css/site.css +++ b/EgwCoreLib.BlazorTest/wwwroot/css/site.css @@ -1,7 +1,12 @@ @import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); +@import url('font.css'); html, body { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-family: Roboto,sans-serif; +} + +.condensed { + font-family: 'Roboto Condensed', sans-serif; } h1:focus { diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.eot b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.eot similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.eot rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.eot diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.svg b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.svg similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.svg rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.svg diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.ttf b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.ttf similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.ttf rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.ttf diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.woff b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.woff similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.woff rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.woff diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.woff2 b/EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.woff2 similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/lato-v17-latin-regular.woff2 rename to EgwCoreLib.BlazorTest/wwwroot/fonts/lato-v17-latin-regular.woff2 diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.eot b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.eot similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.eot rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.eot diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.svg b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.svg similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.svg rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.svg diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.ttf b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.ttf similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.ttf rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.ttf diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.woff b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.woff similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.woff rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.woff diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.woff2 b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.woff2 similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-condensed-v19-latin-regular.woff2 rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-condensed-v19-latin-regular.woff2 diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.eot b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.eot similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.eot rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.eot diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.svg b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.svg similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.svg rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.svg diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.ttf b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.ttf similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.ttf rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.ttf diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.woff b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.woff similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.woff rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.woff diff --git a/EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.woff2 b/EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.woff2 similarity index 100% rename from EgwCoreLib.BlazorTest/wwwroot/font/roboto-v27-latin-regular.woff2 rename to EgwCoreLib.BlazorTest/wwwroot/fonts/roboto-v27-latin-regular.woff2 From e6d2c4ce66ced74388dce1d473f67a5f5bb576a3 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 9 Jun 2026 12:40:10 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Fix=20periodo=20x=20grafica=20pi=C3=B9=20re?= =?UTF-8?q?sponsive=20e=20possibilit=C3=A0=20traduzione=20labels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Pages/TestComponenti.razor | 36 ++++++++++ EgwCoreLib.Razor/PeriodoSel.razor | 10 +-- EgwCoreLib.Razor/PeriodoSel.razor.cs | 71 ++++++++++++------- 3 files changed, 85 insertions(+), 32 deletions(-) diff --git a/EgwCoreLib.BlazorTest/Pages/TestComponenti.razor b/EgwCoreLib.BlazorTest/Pages/TestComponenti.razor index 3445cf6..1b46dcd 100644 --- a/EgwCoreLib.BlazorTest/Pages/TestComponenti.razor +++ b/EgwCoreLib.BlazorTest/Pages/TestComponenti.razor @@ -1,4 +1,5 @@ @page "/TestComponenti" +@using EgwCoreLib.Utils @using static EgwCoreLib.Razor.Sorter @inject NavigationManager NavMan @@ -196,6 +197,20 @@ +
+
+

Test Periodo

+
+
standard
+ +
custom
+ +
+ +
+
+
+