diff --git a/GPW.CORE.Comp/CalWeekColumn.razor b/GPW.CORE.Comp/CalWeekColumn.razor index 1306c51..3d3e1ca 100644 --- a/GPW.CORE.Comp/CalWeekColumn.razor +++ b/GPW.CORE.Comp/CalWeekColumn.razor @@ -20,7 +20,7 @@ else @foreach (var item in BoxItems()) { - +
@item.title
diff --git a/GPW.CORE.Comp/CalWeekColumn.razor.cs b/GPW.CORE.Comp/CalWeekColumn.razor.cs index f62c9d6..073621b 100644 --- a/GPW.CORE.Comp/CalWeekColumn.razor.cs +++ b/GPW.CORE.Comp/CalWeekColumn.razor.cs @@ -152,6 +152,7 @@ namespace GPW.CORE.Comp value = x.Description, start = x.Inizio, end = x.Fine, + cssClass = x.CssClass }) .ToList(); } @@ -185,6 +186,7 @@ namespace GPW.CORE.Comp public DateTime end { get; set; } = DateTime.Today; public string title { get; set; } = ""; public string value { get; set; } = ""; + public string cssClass { get; set; } = ""; #endregion Public Properties } diff --git a/GPW.CORE.Comp/CalWeekColumn.razor.css b/GPW.CORE.Comp/CalWeekColumn.razor.css index 47ed5b1..ae228de 100644 --- a/GPW.CORE.Comp/CalWeekColumn.razor.css +++ b/GPW.CORE.Comp/CalWeekColumn.razor.css @@ -24,19 +24,24 @@ .canv { fill: rgba(130, 130, 130, 0.4); } -.boxClass { - fill: rgba(45, 128, 189, 0.75); - stroke: rgba(45, 128, 189, 0.9); +.blue { + fill: rgba(3, 155, 229, 0.75); + stroke: rgba(3, 155, 229, 0.9); stroke-width: 0.75rem; } -.boxClass2 { - fill: rgba(130, 28, 189, 0.75); - stroke: rgba(130, 28, 189, 0.9); +.purple { + fill: rgba(153, 102, 222, 0.75); + stroke: rgba(153, 102, 222, 0.9); stroke-width: 1rem; } -.boxClass3 { - fill: rgba(245, 28, 89, 0.75); - stroke: rgba(245, 28, 89, 0.9); +.green { + fill: rgba(0, 255, 0, 0.75); + stroke: rgba(0, 255, 0, 0.9); + stroke-width: 1rem; +} +.pink { + fill: rgba(222, 0, 171, 0.75); + stroke: rgba(222, 0, 171, 0.9); stroke-width: 1rem; } .hour-label { diff --git a/GPW.CORE.Comp/CalWeekColumn.razor.less b/GPW.CORE.Comp/CalWeekColumn.razor.less index 6b067df..168494c 100644 --- a/GPW.CORE.Comp/CalWeekColumn.razor.less +++ b/GPW.CORE.Comp/CalWeekColumn.razor.less @@ -33,21 +33,27 @@ fill: rgba(130, 130, 130, 0.4); } -.boxClass { - fill: rgba(45, 128, 189, 0.75); - stroke: rgba(45, 128, 189, 0.9); +.blue { + fill: rgba(3, 155, 229, 0.75); + stroke: rgba(3, 155, 229, 0.9); stroke-width: 0.75rem; } -.boxClass2 { - fill: rgba(130, 28, 189, 0.75); - stroke: rgba(130, 28, 189, 0.9); +.purple { + fill: rgba(153, 102, 222, 0.75); + stroke: rgba(153, 102, 222, 0.9); stroke-width: 1rem; } -.boxClass3 { - fill: rgba(245, 28, 89, 0.75); - stroke: rgba(245, 28, 89, 0.9); +.green { + fill: rgba(0, 255, 0, 0.75); + stroke: rgba(0, 255, 0, 0.9); + stroke-width: 1rem; +} + +.pink { + fill: rgba(222, 0, 171, 0.75); + stroke: rgba(222, 0, 171, 0.9); stroke-width: 1rem; } diff --git a/GPW.CORE.Comp/CalWeekColumn.razor.min.css b/GPW.CORE.Comp/CalWeekColumn.razor.min.css index 1c243f1..7a3825b 100644 --- a/GPW.CORE.Comp/CalWeekColumn.razor.min.css +++ b/GPW.CORE.Comp/CalWeekColumn.razor.min.css @@ -1 +1 @@ -.lblText{font-size:.3rem;fill:white;}.lblBoxTitle{font-size:.25rem;fill:white;}.lblBoxText{font-size:.2rem;fill:white;word-wrap:break-word;}.heavy{font:bold 30px sans-serif;fill:white;}.Rrrrr{font:italic 40px serif;fill:red;}.canv{fill:rgba(130,130,130,.4);}.boxClass{fill:rgba(45,128,189,.75);stroke:rgba(45,128,189,.9);stroke-width:.75rem;}.boxClass2{fill:rgba(130,28,189,.75);stroke:rgba(130,28,189,.9);stroke-width:1rem;}.boxClass3{fill:rgba(245,28,89,.75);stroke:rgba(245,28,89,.9);stroke-width:1rem;}.hour-label{color:#abcdff;font-size:2rem;}.textTitle{color:#fff;font-size:2.5rem;}.textTime{color:#dedede;font-size:6rem;}.textBody{color:#abefff;font-size:1.5rem;word-break:break-word;}.textBody1{color:#c8dcff;font-size:1.9rem;word-break:break-word;}.textBody2{color:#fac8ff;font-size:1.5rem;word-break:break-word;}.textBody3{color:#ffdcd7;font-size:1.5rem;word-break:break-word;} \ No newline at end of file +.lblText{font-size:.3rem;fill:white;}.lblBoxTitle{font-size:.25rem;fill:white;}.lblBoxText{font-size:.2rem;fill:white;word-wrap:break-word;}.heavy{font:bold 30px sans-serif;fill:white;}.Rrrrr{font:italic 40px serif;fill:red;}.canv{fill:rgba(130,130,130,.4);}.blue{fill:rgba(3,155,229,.75);stroke:rgba(3,155,229,.9);stroke-width:.75rem;}.purple{fill:rgba(153,102,222,.75);stroke:rgba(153,102,222,.9);stroke-width:1rem;}.green{fill:rgba(0,255,0,.75);stroke:rgba(0,255,0,.9);stroke-width:1rem;}.pink{fill:rgba(222,0,171,.75);stroke:rgba(222,0,171,.9);stroke-width:1rem;}.hour-label{color:#abcdff;font-size:2rem;}.textTitle{color:#fff;font-size:2.5rem;}.textTime{color:#dedede;font-size:6rem;}.textBody{color:#abefff;font-size:1.5rem;word-break:break-word;}.textBody1{color:#c8dcff;font-size:1.9rem;word-break:break-word;}.textBody2{color:#fac8ff;font-size:1.5rem;word-break:break-word;}.textBody3{color:#ffdcd7;font-size:1.5rem;word-break:break-word;} \ No newline at end of file diff --git a/GPW.CORE.SMART/Components/NavBottom.razor b/GPW.CORE.SMART/Components/NavBottom.razor index c6d3161..db5fbbb 100644 --- a/GPW.CORE.SMART/Components/NavBottom.razor +++ b/GPW.CORE.SMART/Components/NavBottom.razor @@ -4,7 +4,7 @@
Accesso Rapido -