-
-
- @if (PersRif?.Count > 0)
- {
-
- @foreach (var person in PersRif)
- {
-
- @if (person != PersRif.Last())
+
+
+
+ @if (PersRif?.Count > 0)
+ {
+
+ @foreach (var person in PersRif)
{
-
+
+ @if (person != PersRif.Last())
+ {
+
+ }
}
- }
-
- }
+
+ }
-
+
+
+
+ @if (IsLoadingCommesse)
+ {
+
+ }
+ else if (Commesse?.Count == 0)
+ {
+
+ }
+ else if (Commesse != null)
+ {
+
+
+
+
+
+
+ @if (IsLoadingSteps)
+ {
+
+ }
+
+ @foreach (var commessa in CurrentPageCommesse)
+ {
+
+ @if (Steps.TryGetValue(commessa.CodJcom, out var steps))
+ {
+
+ }
+ else
+ {
+
+ @if (IsLoadingStep(commessa.CodJcom))
+ {
+
+ }
+ }
+
+ }
+
+ @if (TotalPagesCommesse > 1)
+ {
+
+
+
+
+ 5
+ 10
+ 15
+
+
+ }
+
+ }
+
+
+
+
+ @if (ActivityIsLoading)
+ {
+
+ }
+ else if (ActivityList?.Count == 0)
+ {
+
+ }
+ else if (ActivityList != null)
+ {
+
+
+
+
+
+
+ @foreach (var activity in CurrentPageActivity)
+ {
+
+ }
+
+ @if (TotalPagesActivity > 1)
+ {
+
+
+
+
+ 5
+ 15
+ 30
+
+
+ }
+
+ }
-
-
- @if (IsLoadingCommesse)
- {
-
- }
- else if (Commesse?.Count == 0)
- {
-
- }
- else if (Commesse != null)
- {
-
-
-
-
-
-
- @if (IsLoadingSteps)
- {
-
- }
-
- @foreach (var commessa in CurrentPageCommesse)
- {
-
- @if (Steps.TryGetValue(commessa.CodJcom, out var steps))
- {
-
- }
- else
- {
-
- @if (IsLoadingStep(commessa.CodJcom))
- {
-
- }
- }
-
- }
-
- @if (TotalPagesCommesse > 1)
- {
-
-
-
-
- 5
- 10
- 15
-
-
- }
-
- }
-
-
-
-
- @if (ActivityIsLoading)
- {
-
- }
- else if (ActivityList?.Count == 0)
- {
-
- }
- else if (ActivityList != null)
- {
-
-
-
-
-
-
- @foreach (var activity in CurrentPageActivity)
- {
-
- }
-
- @if (TotalPagesActivity > 1)
- {
-
-
-
-
- 5
- 15
- 30
-
-
- }
-
- }
-
+
+
+
-
-
-
-
}
diff --git a/salesbook.Shared/Components/Pages/User.razor.css b/salesbook.Shared/Components/Pages/User.razor.css
index 829a93a..c1cc567 100644
--- a/salesbook.Shared/Components/Pages/User.razor.css
+++ b/salesbook.Shared/Components/Pages/User.razor.css
@@ -1,5 +1,11 @@
+.tab-section {
+ width: 100%;
+ border-radius: var(--mud-default-borderradius);
+ background: var(--light-card-background);
+}
+
.container-primary-info {
- box-shadow: var(--custom-box-shadow);
+ background: var(--light-card-background);
width: 100%;
margin-bottom: 2rem;
border-radius: 16px;
@@ -85,8 +91,9 @@
.container-button {
width: 100%;
- box-shadow: var(--custom-box-shadow);
- padding: .25rem 0;
+ background: var(--light-card-background);
+ padding: 0 !important;
+ padding-bottom: .5rem !;
border-radius: 16px;
margin-bottom: 0 !important;
}
@@ -138,8 +145,7 @@
display: flex;
flex-direction: column;
gap: 1rem;
- margin-bottom: 1rem;
- box-shadow: var(--custom-box-shadow);
+ background: var(--light-card-background);
border-radius: 16px;
max-height: 32vh;
overflow: auto;
@@ -147,7 +153,12 @@
padding: 1rem 0;
}
-.container-pers-rif::-webkit-scrollbar { display: none; }
+.container-pers-rif::-webkit-scrollbar { width: 3px; }
+
+.container-pers-rif::-webkit-scrollbar-thumb {
+ background: #bbb;
+ border-radius: 2px;
+}
.container-pers-rif .divider {
margin: 0 0 0 3.5rem;
@@ -176,12 +187,14 @@
/*--------------
TabPanel
----------------*/
+
.box {
display: flex;
flex-direction: column;
width: -webkit-fill-available;
- box-shadow: var(--custom-box-shadow);
- border-radius: 16px;
+ background: var(--light-card-background);
+ border-radius: 20px 20px 0 0;
+ border-bottom: .1rem solid var(--card-border-color);
overflow: clip;
margin-bottom: 1rem;
}
@@ -197,7 +210,6 @@
display: flex;
position: relative;
z-index: 1;
- background: var(--mud-palette-surface);
}
/* la lineetta */
@@ -268,9 +280,7 @@
#tab1:checked ~ .tab-container .tab-content:nth-child(1),
#tab2:checked ~ .tab-container .tab-content:nth-child(2),
-#tab3:checked ~ .tab-container .tab-content:nth-child(3) {
- display: block;
-}
+#tab3:checked ~ .tab-container .tab-content:nth-child(3) { display: block; }
@keyframes fade {
from {
@@ -286,10 +296,6 @@
.custom-pagination ::deep ul { padding-left: 0 !important; }
-.SelectedPageSize {
- width: 100%;
-}
+.SelectedPageSize { width: 100%; }
-.FilterSection {
- display: flex;
-}
\ No newline at end of file
+.FilterSection { display: flex; }
\ No newline at end of file
diff --git a/salesbook.Shared/Components/SingleElements/Card/ActivityCard.razor.css b/salesbook.Shared/Components/SingleElements/Card/ActivityCard.razor.css
index 947044b..7e5a74e 100644
--- a/salesbook.Shared/Components/SingleElements/Card/ActivityCard.razor.css
+++ b/salesbook.Shared/Components/SingleElements/Card/ActivityCard.razor.css
@@ -5,14 +5,23 @@
padding: .5rem .5rem;
border-radius: 12px;
line-height: normal;
- box-shadow: var(--custom-box-shadow);
+ /*box-shadow: var(--custom-box-shadow);*/
}
-.activity-card.memo { border-left: 5px solid var(--mud-palette-info-darken); }
+.activity-card.memo {
+ border-left: 5px solid var(--mud-palette-info-darken);
+ background-color: hsl(from var(--mud-palette-info-darken) h s 98%);
+}
-.activity-card.interna { border-left: 5px solid var(--mud-palette-success-darken); }
+.activity-card.interna {
+ border-left: 5px solid var(--mud-palette-success-darken);
+ background-color: hsl(from var(--mud-palette-success-darken) h s 98%);
+}
-.activity-card.commessa { border-left: 5px solid var(--mud-palette-warning); }
+.activity-card.commessa {
+ border-left: 5px solid var(--mud-palette-warning);
+ background-color: hsl(from var(--mud-palette-warning) h s 98%);
+}
.activity-left-section {
display: flex;
diff --git a/salesbook.Shared/Components/SingleElements/Card/AttachCard.razor.css b/salesbook.Shared/Components/SingleElements/Card/AttachCard.razor.css
index 0e0c335..f09ce33 100644
--- a/salesbook.Shared/Components/SingleElements/Card/AttachCard.razor.css
+++ b/salesbook.Shared/Components/SingleElements/Card/AttachCard.razor.css
@@ -5,7 +5,7 @@
padding: .5rem .5rem;
border-radius: 12px;
line-height: normal;
- box-shadow: var(--custom-box-shadow);
+ background: var(--light-card-background);
}
.activity-card.memo { border-left: 5px solid var(--mud-palette-info-darken); }
diff --git a/salesbook.Shared/Components/SingleElements/Card/CommessaCard.razor.css b/salesbook.Shared/Components/SingleElements/Card/CommessaCard.razor.css
index 40a538d..12ff7a8 100644
--- a/salesbook.Shared/Components/SingleElements/Card/CommessaCard.razor.css
+++ b/salesbook.Shared/Components/SingleElements/Card/CommessaCard.razor.css
@@ -5,15 +5,11 @@
padding: .5rem .5rem;
border-radius: 12px;
line-height: normal;
- box-shadow: var(--custom-box-shadow);
+
+ border-left: 5px solid var(--card-border-color);
+ background-color: hsl(from var(--card-border-color) h s 98%);
}
-.activity-card.memo { border-left: 5px solid var(--mud-palette-info-darken); }
-
-.activity-card.interna { border-left: 5px solid var(--mud-palette-success-darken); }
-
-.activity-card.commessa { border-left: 5px solid var(--mud-palette-warning); }
-
.activity-left-section {
display: flex;
align-items: center;
diff --git a/salesbook.Shared/Components/SingleElements/Card/ContactCard.razor.css b/salesbook.Shared/Components/SingleElements/Card/ContactCard.razor.css
index 3db2239..6596dd8 100644
--- a/salesbook.Shared/Components/SingleElements/Card/ContactCard.razor.css
+++ b/salesbook.Shared/Components/SingleElements/Card/ContactCard.razor.css
@@ -2,8 +2,7 @@
width: 100%;
display: flex;
flex-direction: row;
- padding: 0 .75rem;
- border-radius: 16px;
+ padding: 0 .5rem;
line-height: normal;
justify-content: space-between;
align-items: center;
diff --git a/salesbook.Shared/Components/SingleElements/Card/NotificationCard.razor.css b/salesbook.Shared/Components/SingleElements/Card/NotificationCard.razor.css
index d62834a..f3efd98 100644
--- a/salesbook.Shared/Components/SingleElements/Card/NotificationCard.razor.css
+++ b/salesbook.Shared/Components/SingleElements/Card/NotificationCard.razor.css
@@ -2,7 +2,6 @@
position: relative;
overflow: hidden;
border-radius: var(--mud-default-borderradius);
- box-shadow: var(--custom-box-shadow);
width: 100%;
}
@@ -39,7 +38,7 @@
align-items: center;
padding: 12px;
gap: 12px;
- background: var(--mud-palette-background);
+ background: var(--light-card-background);
transition: transform .2s ease;
touch-action: pan-y;
will-change: transform;
diff --git a/salesbook.Shared/wwwroot/css/default-theme.css b/salesbook.Shared/wwwroot/css/default-theme.css
index 42bfacf..e202162 100644
--- a/salesbook.Shared/wwwroot/css/default-theme.css
+++ b/salesbook.Shared/wwwroot/css/default-theme.css
@@ -8,4 +8,6 @@
--mud-default-borderradius: 20px !important;
--m-page-x: 1rem;
--mh-header: 4rem;
+
+ --light-card-background: hsl(from var(--mud-palette-background-gray) h s 97%);
}
diff --git a/salesbook.Shared/wwwroot/css/form.css b/salesbook.Shared/wwwroot/css/form.css
index 57bdbb5..8d13e3a 100644
--- a/salesbook.Shared/wwwroot/css/form.css
+++ b/salesbook.Shared/wwwroot/css/form.css
@@ -5,13 +5,9 @@
margin-bottom: 1rem;
}
-.customDialog-form.disable-safe-area .mud-dialog-content {
- margin-top: unset !important;
-}
+.customDialog-form.disable-safe-area .mud-dialog-content { margin-top: unset !important; }
-.customDialog-form.disable-safe-area .content {
- height: 100% !important;
-}
+.customDialog-form.disable-safe-area .content { height: 100% !important; }
.customDialog-form .content {
height: calc(100vh - (.6rem + 40px));
@@ -21,17 +17,11 @@
}
@supports (-webkit-touch-callout: none) {
- .customDialog-form .content {
- height: calc(100vh - (.6rem + 40px) - env(safe-area-inset-top)) !important;
- }
+ .customDialog-form .content { height: calc(100vh - (.6rem + 40px) - env(safe-area-inset-top)) !important; }
- .customDialog-form.disable-safe-area .content {
- height: 100% !important;
- }
+ .customDialog-form.disable-safe-area .content { height: 100% !important; }
- .customDialog-form.disable-safe-area .mud-dialog-content {
- margin-top: unset !important;
- }
+ .customDialog-form.disable-safe-area .mud-dialog-content { margin-top: unset !important; }
}
.customDialog-form .header { padding: 0 !important; }
@@ -53,6 +43,8 @@
padding: .4rem 1rem !important;
}
+.input-card.clearButton.custom-border-bottom { border-bottom: .1rem solid var(--card-border-color); }
+
.input-card > .divider { margin: 0 !important; }
.form-container {
@@ -114,7 +106,7 @@
.container-button {
width: 100%;
- box-shadow: var(--custom-box-shadow);
+ background: var(--light-card-background);
padding: .5rem 0;
border-radius: 12px;
margin-bottom: 2rem;