Alignment
This commit is contained in:
parent
b7520c33c8
commit
7bccb32bf0
|
|
@ -1,9 +0,0 @@
|
|||
/* Bonus Parameterization: a single card around the grid (layout only, palette colours) */
|
||||
.bpl-card {
|
||||
margin: 0 0 12px;
|
||||
padding: 16px;
|
||||
background: var(--gh-tb);
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 1px 3px color-mix(in srgb, var(--gh-sb) 8%, transparent);
|
||||
}
|
||||
|
|
@ -1,12 +1,13 @@
|
|||
<app-loading-panel></app-loading-panel>
|
||||
<!-- One clean card around the grid (was card inside card); the grid and all its bindings are unchanged. -->
|
||||
<div class="bpl-card">
|
||||
<!-- Same single card as Overtime Basic Entry (card card-w-title > col-12); the grid and its bindings are unchanged. -->
|
||||
<div class="card card-w-title">
|
||||
<div class="col-12">
|
||||
<kendo-grid [data]="_termParams"
|
||||
(edit)="editHandler($event)"
|
||||
(remove)="removeHandler($event)"
|
||||
(add)="addHandler()">
|
||||
<ng-template kendoGridToolbarTemplate>
|
||||
<button class="gh-add" themeColor="primary" kendoGridAddCommand>Add New</button>
|
||||
<button class="gh-add" themeColor="primary" kendoGridAddCommand [svgIcon]="apiService.KendoSVGIcon['plus']">Add New</button>
|
||||
</ng-template>
|
||||
<kendo-grid-column field="bonusName" title="Bonus Name" [width]="14"></kendo-grid-column>
|
||||
<kendo-grid-column field="applicableGrades" title="Applicable Grades" [width]="68"></kendo-grid-column>
|
||||
|
|
@ -24,6 +25,7 @@
|
|||
</ng-template>
|
||||
</kendo-grid-command-column> -->
|
||||
</kendo-grid>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,17 +1,13 @@
|
|||
<app-loading-panel></app-loading-panel>
|
||||
<div class="col-12">
|
||||
<div class="col-12">
|
||||
<div class="card card-w-title">
|
||||
<div class="col-12">
|
||||
<div class="grid">
|
||||
<!-- Same single card as Overtime Basic Entry (card card-w-title > col-12); the grid and its bindings are unchanged. -->
|
||||
<div class="card card-w-title">
|
||||
<div class="col-12">
|
||||
<!--<div class="col-12">
|
||||
<button (click)="new()" class="p-button-outlined" label="New" pButton
|
||||
style="width: 250px; margin-right: 10px" type="button"></button>
|
||||
<button (click)="setCurrentYear()" class="p-button-outlined" label="Set Current Year Parameter" pButton
|
||||
style="width: 250px" type="button"></button>
|
||||
</div>-->
|
||||
<fieldset>
|
||||
<div class="col-12 p-shadow-7">
|
||||
<div class="box">
|
||||
<kendo-grid [data]="_taxParameters"
|
||||
(edit)="editHandler($event)"
|
||||
|
|
@ -20,7 +16,7 @@
|
|||
<ng-template kendoGridToolbarTemplate>
|
||||
<div class="grid">
|
||||
<div class="col-3">
|
||||
<button class="gh-add" themeColor="primary" kendoGridAddCommand (click)="new()">Add New</button>
|
||||
<button class="gh-add" themeColor="primary" kendoGridAddCommand [svgIcon]="apiService.KendoSVGIcon['plus']" (click)="new()">Add New</button>
|
||||
</div>
|
||||
<div class="col-1">
|
||||
|
||||
|
|
@ -61,10 +57,6 @@
|
|||
</ng-template>
|
||||
</kendo-grid-command-column>-->
|
||||
</kendo-grid>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
<!-- <div class="col-2" >
|
||||
<div class="grid">
|
||||
<div class="col-12">
|
||||
|
|
@ -89,11 +81,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--<form class="container" [formGroup]="incomeTaxParameterEditGroup" (ngSubmit)="onSubmit()">
|
||||
|
|
|
|||
|
|
@ -1,2 +1,29 @@
|
|||
/* .loan-grid (font-size, flex column layout) now centralized in
|
||||
src/styles/vendors/kendo/grid/_rows.scss — shared with loan-settlement. */
|
||||
|
||||
|
||||
/* Header: employee picker in a labelled panel (layout only, palette colours) */
|
||||
.la-head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding: 14px 16px;
|
||||
background: var(--gh-tb);
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-left: 4px solid var(--gh-btn);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.la-head__label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
.la-head__label i {
|
||||
color: var(--gh-lk);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,11 @@
|
|||
<div class="grid">
|
||||
|
||||
<div class="col-12">
|
||||
<app-employee-picker (ItemSelected)="GetSelectedEmployee($event)"></app-employee-picker>
|
||||
<!-- Header: employee picker in a labelled panel (same picker and event as before) -->
|
||||
<div class="la-head">
|
||||
<label class="la-head__label"><i class="pi pi-user"></i>Employee</label>
|
||||
<app-employee-picker (ItemSelected)="GetSelectedEmployee($event)"></app-employee-picker>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<fieldset>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user