diff --git a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/employee-cost-center-entry/employee-cost-center-entry.component.css b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/employee-cost-center-entry/employee-cost-center-entry.component.css index 967a183..b520973 100644 --- a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/employee-cost-center-entry/employee-cost-center-entry.component.css +++ b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/employee-cost-center-entry/employee-cost-center-entry.component.css @@ -1,3 +1,55 @@ -:host ::ng-deep .ng-invalid:not(form) { +/* Required-field marker on the fields themselves. Not on wrapper
s (inside the + employee / cost-center pickers): they turn ng-invalid whenever any field is, which drew a second red line. */ +:host ::ng-deep .ng-invalid:not(form):not(div) { border-left: 2px solid var(--gh-dn); -} \ No newline at end of file +} + +/* Header: Employee, Effect Date, Cost Center, Involvement and Add on one row (layout only, palette colours) */ +.ccc-head { + display: grid; + grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(120px, auto); + align-items: end; + gap: 14px 16px; + margin-bottom: 12px; + padding: 16px !important; + background: var(--gh-pb); + border: 1px solid var(--gh-bo); + border-left: 4px solid var(--gh-btn); + border-radius: 10px; +} + +.ccc-field { + display: flex; + flex-direction: column; + gap: 6px; + min-width: 0; +} + +.ccc-field > label { + margin: 0; + font-size: 12px; + font-weight: 600; + letter-spacing: 0.04em; + text-transform: uppercase; + color: var(--gh-muted); +} + +@media (max-width: 1200px) { + .ccc-head { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + .ccc-field--action { + grid-column: 1 / -1; + justify-self: end; + min-width: 140px; + } +} + +@media (max-width: 640px) { + .ccc-head { + grid-template-columns: minmax(0, 1fr); + } + .ccc-field--action { + justify-self: stretch; + } +} diff --git a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/employee-cost-center-entry/employee-cost-center-entry.component.html b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/employee-cost-center-entry/employee-cost-center-entry.component.html index b29717f..c9ad940 100644 --- a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/employee-cost-center-entry/employee-cost-center-entry.component.html +++ b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/employee-cost-center-entry/employee-cost-center-entry.component.html @@ -8,53 +8,37 @@ -
- -
-
- -
-
- -
- - - - - - - - -
- -
-
- -
-
- -
-
- - -
- - -
-
- + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+
+ +
diff --git a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-entry/life-cycle-event-entry.component.css b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-entry/life-cycle-event-entry.component.css index e69de29..57404ec 100644 --- a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-entry/life-cycle-event-entry.component.css +++ b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-entry/life-cycle-event-entry.component.css @@ -0,0 +1,33 @@ +/* Status + Name header of the Life Cycle Event dialog (layout only, palette colours) */ +.lce-head { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 16px 20px; + padding: 14px 16px !important; + background: var(--gh-pb); + border: 1px solid var(--gh-bo) !important; + border-left: 4px solid var(--gh-btn) !important; + border-radius: 10px !important; +} + +.lce-head__field { + display: flex; + flex-direction: column; + gap: 6px; + min-width: 0; +} + +.lce-head__field label { + margin: 0; + font-size: 12px; + font-weight: 600; + letter-spacing: 0.04em; + text-transform: uppercase; + color: var(--gh-muted); +} + +@media (max-width: 640px) { + .lce-head { + grid-template-columns: minmax(0, 1fr); + } +} diff --git a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-entry/life-cycle-event-entry.component.html b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-entry/life-cycle-event-entry.component.html index ffd11fb..de8dc10 100644 --- a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-entry/life-cycle-event-entry.component.html +++ b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-entry/life-cycle-event-entry.component.html @@ -1,23 +1,17 @@ -
-
-
- -
-
- - -
-
- -
-
- -
+
+
+ + + +
+
+ +
diff --git a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-list/life-cycle-event-list.component.css b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-list/life-cycle-event-list.component.css index c7354b1..e1b6243 100644 --- a/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-list/life-cycle-event-list.component.css +++ b/HRM.UI/ClientApp/src/app/payroll/career-and-profile/life-cycle-event/life-cycle-event-list/life-cycle-event-list.component.css @@ -1,5 +1,4 @@ .custom-grid { - min-height: 450px; /* Set your minimum height here */ max-height: 550px; /* Optional: Set maximum height if needed */ overflow-y: auto; /* Enables vertical scrollbar when content exceeds max height */ } diff --git a/HRM.UI/ClientApp/src/app/payroll/emp-confirmation-duration/emp-confirmation-duration.component.css b/HRM.UI/ClientApp/src/app/payroll/emp-confirmation-duration/emp-confirmation-duration.component.css index b4a034a..3fcbf1b 100644 --- a/HRM.UI/ClientApp/src/app/payroll/emp-confirmation-duration/emp-confirmation-duration.component.css +++ b/HRM.UI/ClientApp/src/app/payroll/emp-confirmation-duration/emp-confirmation-duration.component.css @@ -15,4 +15,71 @@ .window-viewer { width: 70%; max-height: 100%; -} \ No newline at end of file +} + +/* Page header: title + month on the left, Upcoming Confirmation on the right (palette colours) */ +.ecd-head { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + gap: 12px 16px; + padding: 14px 16px !important; + background: var(--gh-tb); + border: 1px solid var(--gh-bo) !important; + border-left: 4px solid var(--gh-btn) !important; + border-radius: 10px !important; +} + +.ecd-head__info { + display: flex; + align-items: center; + gap: 12px; + min-width: 0; +} + +.ecd-head__icon { + display: inline-flex; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; + flex-shrink: 0; + border-radius: 10px; + background: var(--gh-th); + color: var(--gh-btn); +} + +.ecd-head__icon i { + font-size: 18px; +} + +.ecd-head__text { + display: flex; + flex-direction: column; + gap: 4px; + min-width: 0; +} + +.ecd-head__title { + font-size: 15px; + font-weight: 700; + color: var(--gh-ht); +} + +.ecd-head__month { + display: inline-flex; + align-items: center; + align-self: flex-start; + gap: 6px; + padding: 2px 10px; + border-radius: 999px; + font-size: 12px; + font-weight: 600; + color: var(--gh-lk); + background: var(--gh-th); +} + +.ecd-head__month i { + font-size: 11px; +} diff --git a/HRM.UI/ClientApp/src/app/payroll/emp-confirmation-duration/emp-confirmation-duration.component.html b/HRM.UI/ClientApp/src/app/payroll/emp-confirmation-duration/emp-confirmation-duration.component.html index c8d4ecd..848b80e 100644 --- a/HRM.UI/ClientApp/src/app/payroll/emp-confirmation-duration/emp-confirmation-duration.component.html +++ b/HRM.UI/ClientApp/src/app/payroll/emp-confirmation-duration/emp-confirmation-duration.component.html @@ -1,25 +1,17 @@
-
-
-
-
- -
- -
-
- -
-
-
-
- +
+
+ +
+ Upcoming confirming employees + Month: {{$safeNavigationMigration(this.payrolltype?.nextPayProcessDate) | date: "MMMM-yyyy"}}
+
diff --git a/HRM.UI/ClientApp/src/app/profile-update-admin/profile-update-admin.component.html b/HRM.UI/ClientApp/src/app/profile-update-admin/profile-update-admin.component.html index 9355ddf..7ec98f7 100644 --- a/HRM.UI/ClientApp/src/app/profile-update-admin/profile-update-admin.component.html +++ b/HRM.UI/ClientApp/src/app/profile-update-admin/profile-update-admin.component.html @@ -21,10 +21,9 @@
-
-
- +
+ @@ -56,7 +55,6 @@ -
@if (mySelection.length > 0) {
diff --git a/HRM.UI/ClientApp/src/assets/layout/css/layout-indigo.css b/HRM.UI/ClientApp/src/assets/layout/css/layout-indigo.css index fe2b56a..8a44f81 100644 --- a/HRM.UI/ClientApp/src/assets/layout/css/layout-indigo.css +++ b/HRM.UI/ClientApp/src/assets/layout/css/layout-indigo.css @@ -1572,7 +1572,7 @@ margin-right: 0.5rem; border-radius: 3px; background: #ffffff; padding: 5px; - margin-bottom: 16px; + margin-bottom: 4px; border: 1px solid #EEEEEE; -moz-border-radius: 3px; -webkit-border-radius: 3px;