Commit e469058b by Nattana Chaiyamat

แก้ไขหน้าจอ รายละเอียดสาขาและหน่วยธุรกิจ

parent aafdd4e1
<div class="head-title"> <div class="text-xxl font-bold pt-2rem pb-1rem text-primary">
รายละเอียดสาขาและหน่วยธุรกิจ รายละเอียดสาขาและหน่วยธุรกิจ
</div> </div>
<div class="body-content"> <div class="page">
<ul class="nav-tabs"> <div class="border-b border-gray-200 dark:border-white/10">
<li class="nav-item" *ngFor="let item of [{id:'tab1',text:'ทะเบียนฝ่าย'}, <nav class="flex space-x-2 rtl:space-x-reverse">
{id:'tab2',text:'ทะเบียนแผนก'}, <a class="w-28 justify-center rounded-t-sm hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border-2 text-gray-600 hover:text-gray-900 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300 active"
{id:'tab3',text:'ทะเบียนส่วน'}, href="javascript:void(0);" id="card-type-item-1" data-hs-tab="#card-type-1" aria-controls="card-type-1">
{id:'tab4',text:'ส่วนย่อย1'}, ทะเบียนฝ่าย
{id:'tab5',text:'ส่วนย่อย2'}, </a>
{id:'tab6',text:'ส่วนย่อย3'}, <a class="w-28 justify-center rounded-t-sm hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border-2 text-gray-600 hover:text-gray-900 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300"
{id:'tab7',text:'ส่วนย่อย4'}]" (click)="changeTab(item)"> href="javascript:void(0);" id="card-type-item-2" data-hs-tab="#card-type-2" aria-controls="card-type-2">
<a [class.active]="activeTab === item.id" class="nav-link">{{item.text}}</a> ทะเบียนแผนก
</li> </a>
</ul> <a class="w-28 justify-center rounded-t-sm hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border-2 text-gray-600 hover:text-gray-900 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300"
<div class="tab-content"> href="javascript:void(0);" id="card-type-item-3" data-hs-tab="#card-type-3" aria-controls="card-type-3">
<div *ngIf="activeTab === 'tab1'" class="tab-pane"> ทะเบียนส่วน
</a>
<a class="w-28 justify-center rounded-t-sm hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border-2 text-gray-600 hover:text-gray-900 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300"
href="javascript:void(0);" id="card-type-item-4" data-hs-tab="#card-type-4" aria-controls="card-type-4">
ส่วนย่อย1
</a>
<a class="w-28 justify-center rounded-t-sm hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border-2 text-gray-600 hover:text-gray-900 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300"
href="javascript:void(0);" id="card-type-item-5" data-hs-tab="#card-type-5" aria-controls="card-type-5">
ส่วนย่อย2
</a>
<a class="w-28 justify-center rounded-t-sm hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border-2 text-gray-600 hover:text-gray-900 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300"
href="javascript:void(0);" id="card-type-item-6" data-hs-tab="#card-type-6" aria-controls="card-type-6">
ส่วนย่อย3
</a>
<a class="w-28 justify-center rounded-t-sm hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border-2 text-gray-600 hover:text-gray-900 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300"
href="javascript:void(0);" id="card-type-item-7" data-hs-tab="#card-type-7" aria-controls="card-type-7">
ส่วนย่อย4
</a>
</nav>
</div>
<div class="">
<div id="card-type-1" role="tabpanel" aria-labelledby="card-type-item-1">
<app-department-register></app-department-register> <app-department-register></app-department-register>
</div> </div>
<div *ngIf="activeTab === 'tab2'" class="tab-pane"> <div id="card-type-2" class="hidden" role="tabpanel" aria-labelledby="card-type-item-2">
<app-department-list></app-department-list> <app-department-list></app-department-list>
</div> </div>
<div *ngIf="activeTab === 'tab3'" class="tab-pane"> <div id="card-type-3" class="hidden" role="tabpanel" aria-labelledby="card-type-item-3">
<app-section-registration></app-section-registration> <app-section-registration></app-section-registration>
</div> </div>
<div *ngIf="activeTab === 'tab4'" class="tab-pane"> <div id="card-type-4" class="hidden" role="tabpanel" aria-labelledby="card-type-item-4">
<app-sub-department-one></app-sub-department-one> <app-sub-department-one></app-sub-department-one>
</div> </div>
<div *ngIf="activeTab === 'tab5'" class="tab-pane"> <div id="card-type-5" class="hidden" role="tabpanel" aria-labelledby="card-type-item-5">
<app-sub-department-two></app-sub-department-two> <app-sub-department-two></app-sub-department-two>
</div> </div>
<div *ngIf="activeTab === 'tab6'" class="tab-pane"> <div id="card-type-6" class="hidden" role="tabpanel" aria-labelledby="card-type-item-6">
<app-sub-department-three></app-sub-department-three> <app-sub-department-three></app-sub-department-three>
</div> </div>
<div *ngIf="activeTab === 'tab7'" class="tab-pane"> <div id="card-type-7" class="hidden" role="tabpanel" aria-labelledby="card-type-item-7">
<app-sub-department-four></app-sub-department-four> <app-sub-department-four></app-sub-department-four>
</div> </div>
</div> </div>
......
/* สไตล์ของแถบเมนู */
.nav-tabs {
display: flex;
border-bottom: 2px solid #ccc; /* เส้นใต้ */
width: 100%;
cursor: pointer;
}
.nav-item {
list-style: none;
margin-right: 10px; /* ช่องว่างระหว่างเมนู */
}
.nav-link {
text-decoration: none;
padding: 10px 20px;
display: inline-block;
font-size: large;
border-width: 2px 2px 0px 2px;
border-style: solid;
border-color: #ccc;
border-radius: 5px 5px 0px 0px;
}
.nav-link:hover {
background-color: #f0f0f0; /* เปลี่ยนสีเมื่อ hover */
}
.nav-link.active {
color: #ffffff; /* สีตัวอักษรในสถานะ active */
font-size: large;
border-bottom: 3.5px solid rgb(var(--color-primary)); /* เส้นใต้ */
background-color: rgb(var(--color-primary));
border-width: 2px 2px 0px 2px;
border-style: solid;
border-color: rgb(var(--color-primary));
border-radius: 5px 5px 0px 0px;
}
.tab-content {
margin-top: 20px;
}
.tab-pane.active {
display: block;
}
<div class="flex justify-end"> <div class="flex justify-end pt-2rem">
<div class="px-1"> <div class="px-1">
<div class="relative"> <div class="relative shadow-md">
<input type="text" class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10" placeholder="Search by No. or Name" /> <input type="text" id="hs-leading-icon" name="hs-leading-icon"
<div class="absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"> class="ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 " placeholder="Search by No. or Name">
<i class="ri-search-line text-primary"></i> <div
</div> class="absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4">
<i class="ri-search-line text-gray"></i>
</div>
</div>
</div>
<div class="px-1">
<button type="button" class="ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
data-hs-overlay="#hs-scroll-inside-body-modal">
<i class="ri-add-line"></i>
Add
</button>
</div>
<div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-info h-45px m-0 shadow-md">
<i class="ri-printer-line"></i>
Print
</button>
</div>
<div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
Help
</button>
</div> </div>
</div>
<div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-secondary shadow-md" aria-label="View All"><i
class="ri-add-line"></i>Add</button>
</div>
<div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-info" aria-label="View All"><i
class="ri-printer-line"></i>Print</button>
<!-- <button type="button" class="button-purple-light"><i class="ri-printer-line"></i> Print</button> -->
</div>
<div class="px-1">
<button type="button" class="button-yellow-light">
<svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none" xmlns="http://www.w3.org/2000/svg"
stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#ffffff"
stroke-width="2.4">
<path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
<g id="SVGRepo_iconCarrier">
<path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
</svg>Help
</button>
</div>
</div> </div>
<div class="body-content"> <div class="page px-rem">
<ul class="nav-tabs"> <div class="border-b border-gray-200 dark:border-white/10">
<li class="nav-item"> <nav class="flex space-x-2 rtl:space-x-reverse">
<a [class.active]="true" class="nav-link active">นำเข้าข้อมูล</a> <a class="justify-center rounded-t-sm hs-tab-active:!bg-primary hs-tab-active:border-primary hs-tab-active:!text-white -mb-px py-2 px-3 inline-flex items-center gap-2 text-sm font-medium text-center border-2 text-gray-600 hover:text-gray-900 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300 active"
</li> href="javascript:void(0);" id="card-type-item-1" data-hs-tab="#card-type-1" aria-controls="card-type-1">
<li class="nav-item-text flex items-end"> นำเข้าข้อมูล
<a class="nav-link-text">ดาวโหลดตัวอย่างไฟล์</a> </a>
</li> <a class="justify-center -mb-px inline-flex items-center gap-2 text-sm font-medium text-center text-secondary border-secondary border-b-2 dark:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-gray-300 align-items-end"
</ul> href="javascript:void(0);">
<div *ngIf="true" class="tab-pane"> ดาวโหลดตัวอย่างไฟล์
<div class="overflow-auto shadow-gray-smoke"> </a>
<table class="ti-custom-table ti-custom-table-head"> </nav>
<thead class="bg-gray-50 dark:bg-black/20"> </div>
<tr> <div id="card-type-1" role="tabpanel" aria-labelledby="card-type-item-1">
<ng-container <div class="overflow-auto shadow-md">
*ngFor="let item of ['ลำดับ','รหัสฝ่าย','รายละเอียดฝ่าย (ไทย)','รายละเอียดฝ่าย (อังกฤษ)','การจัดการ']; let f = first; let l = last"> <table class="ti-custom-table ti-custom-table-head">
<th scope="col" class="relative head-table" [class.!text-center]="f||l"> <thead>
<span>{{ item }}</span> <tr>
<div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l"> <ng-container
<svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" *ngFor="let item of ['ลำดับ','รหัสฝ่าย','รายละเอียดฝ่าย (ไทย)','รายละเอียดฝ่าย (อังกฤษ)','การจัดการ']; let f = first; let l = last">
fill="currentColor" viewBox="0 0 16 16"> <th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary"
<path [class.!text-center]="f||l">
d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"> <span class="text-sm">{{ item }}</span>
</path> <div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l">
</svg> <i class="ti ti-dots-vertical fs-xl"></i>
</div> </div>
</th> </th>
</ng-container> </ng-container>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr *ngFor="let item of[ <tr *ngFor="let item of[
['80812', 'ลูกค้าสัมพันธ์', 'Customer Relations'], ['80812', 'ลูกค้าสัมพันธ์', 'Customer Relations'],
['30305', 'การตลาด', 'Marketing'], ['30305', 'การตลาด', 'Marketing'],
['310101', 'งานบัญชี', 'Accounting'], ['310101', 'งานบัญชี', 'Accounting'],
['70711', 'โลจิสติกส์', 'Logistics'], ['70711', 'โลจิสติกส์', 'Logistics'],
['40408', 'เทคโนโลยีสารสนเทศ', 'IT']];let i = index"> ['40408', 'เทคโนโลยีสารสนเทศ', 'IT']];let i = index">
<td class="body-table-center">{{0+""+(i+1)}}</td> <td class="flex justify-center">{{0+""+(i+1)}}</td>
<td>{{item[0]}}</td> <td>{{item[0]}}</td>
<td>{{item[1]}}</td> <td>{{item[1]}}</td>
<td>{{item[2]}}</td> <td>{{item[2]}}</td>
<td class="body-table-center"> <td class="flex justify-center">
<div class="px-1"> <i class="ti ti-edit cursor-pointer i-gray fs-l px-1" data-hs-overlay="#hs-scroll-inside-body-modal2"></i>
<svg width="16" height="16" viewBox="0 0 24 24" id="Layer_1" data-name="Layer 1" <i class="ti ti-trash cursor-pointer i-gray fs-l px-1"></i>
xmlns="http://www.w3.org/2000/svg" fill="#64748b" stroke="#64748b" class="cursor-pointer" </td>
(click)="openModal('edit','m',false)"> </tr>
<g id="SVGRepo_bgCarrier" stroke-width="0"></g> </tbody>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g> </table>
<g id="SVGRepo_iconCarrier"> </div>
<defs>
<style>
.cls-1 {
fill: none;
stroke: #64748b;
stroke-miterlimit: 10;
stroke-width: 1.91px;
}
</style>
</defs>
<polyline class="cls-1" points="20.59 12 20.59 22.5 1.5 22.5 1.5 3.41 12.96 3.41">
</polyline>
<path class="cls-1"
d="M12,15.82l-4.77.95L8.18,12l9.71-9.71A2.69,2.69,0,0,1,19.8,1.5h0a2.7,2.7,0,0,1,2.7,2.7h0a2.69,2.69,0,0,1-.79,1.91Z">
</path>
</g>
</svg>
</div>
<div class="px-1">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"
stroke="#64748b" class="cursor-pointer">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
<g id="SVGRepo_iconCarrier">
<path
d="M1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25V3.75ZM22.5 5.25C22.9142 5.25 23.25 4.91421 23.25 4.5C23.25 4.08579 22.9142 3.75 22.5 3.75V5.25ZM1.5 5.25H22.5V3.75H1.5V5.25Z"
fill="#64748b"></path>
<path
d="M9.75 1.5V0.75V1.5ZM8.25 3H7.5H8.25ZM7.5 4.5C7.5 4.91421 7.83579 5.25 8.25 5.25C8.66421 5.25 9 4.91421 9 4.5H7.5ZM15 4.5C15 4.91421 15.3358 5.25 15.75 5.25C16.1642 5.25 16.5 4.91421 16.5 4.5H15ZM15.75 3H16.5H15.75ZM14.25 0.75H9.75V2.25H14.25V0.75ZM9.75 0.75C9.15326 0.75 8.58097 0.987053 8.15901 1.40901L9.21967 2.46967C9.36032 2.32902 9.55109 2.25 9.75 2.25V0.75ZM8.15901 1.40901C7.73705 1.83097 7.5 2.40326 7.5 3H9C9 2.80109 9.07902 2.61032 9.21967 2.46967L8.15901 1.40901ZM7.5 3V4.5H9V3H7.5ZM16.5 4.5V3H15V4.5H16.5ZM16.5 3C16.5 2.40326 16.2629 1.83097 15.841 1.40901L14.7803 2.46967C14.921 2.61032 15 2.80109 15 3H16.5ZM15.841 1.40901C15.419 0.987053 14.8467 0.75 14.25 0.75V2.25C14.4489 2.25 14.6397 2.32902 14.7803 2.46967L15.841 1.40901Z"
fill="#64748b"></path>
<path
d="M9 17.25C9 17.6642 9.33579 18 9.75 18C10.1642 18 10.5 17.6642 10.5 17.25H9ZM10.5 9.75C10.5 9.33579 10.1642 9 9.75 9C9.33579 9 9 9.33579 9 9.75H10.5ZM10.5 17.25V9.75H9V17.25H10.5Z"
fill="#64748b"></path>
<path
d="M13.5 17.25C13.5 17.6642 13.8358 18 14.25 18C14.6642 18 15 17.6642 15 17.25H13.5ZM15 9.75C15 9.33579 14.6642 9 14.25 9C13.8358 9 13.5 9.33579 13.5 9.75H15ZM15 17.25V9.75H13.5V17.25H15Z"
fill="#64748b"></path>
<path
d="M18.865 21.124L18.1176 21.0617L18.1176 21.062L18.865 21.124ZM17.37 22.5L17.3701 21.75H17.37V22.5ZM6.631 22.5V21.75H6.63093L6.631 22.5ZM5.136 21.124L5.88343 21.062L5.88341 21.0617L5.136 21.124ZM4.49741 4.43769C4.46299 4.0249 4.10047 3.71818 3.68769 3.75259C3.2749 3.78701 2.96818 4.14953 3.00259 4.56231L4.49741 4.43769ZM20.9974 4.56227C21.0318 4.14949 20.7251 3.78698 20.3123 3.75259C19.8995 3.7182 19.537 4.02495 19.5026 4.43773L20.9974 4.56227ZM18.1176 21.062C18.102 21.2495 18.0165 21.4244 17.878 21.5518L18.8939 22.6555C19.3093 22.2732 19.5658 21.7486 19.6124 21.186L18.1176 21.062ZM17.878 21.5518C17.7396 21.6793 17.5583 21.75 17.3701 21.75L17.3699 23.25C17.9345 23.25 18.4785 23.0379 18.8939 22.6555L17.878 21.5518ZM17.37 21.75H6.631V23.25H17.37V21.75ZM6.63093 21.75C6.44274 21.75 6.26142 21.6793 6.12295 21.5518L5.10713 22.6555C5.52253 23.0379 6.06649 23.25 6.63107 23.25L6.63093 21.75ZM6.12295 21.5518C5.98449 21.4244 5.89899 21.2495 5.88343 21.062L4.38857 21.186C4.43524 21.7486 4.69172 22.2732 5.10713 22.6555L6.12295 21.5518ZM5.88341 21.0617L4.49741 4.43769L3.00259 4.56231L4.38859 21.1863L5.88341 21.0617ZM19.5026 4.43773L18.1176 21.0617L19.6124 21.1863L20.9974 4.56227L19.5026 4.43773Z"
fill="#64748b"></path>
</g>
</svg>
</div>
</td>
</tr>
</tbody>
</table>
</div> </div>
</div>
</div>
</div>
<!-- Backdrop add --> <div id="hs-scroll-inside-body-modal" class="hs-overlay hidden ti-modal">
<div class="modal-backdrop" *ngIf="modalOptions['add'].isModalOpen" <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]">
[ngClass]="{ 'no-close': !modalOptions['add'].backdropClose }" <div class="max-h-full overflow-hidden ti-modal-content">
(click)="modalOptions['add'].backdropClose && closeModal('add')"></div> <div class="ti-modal-header">
<!-- Modal add --> <h3 class="text-xxl font-bold text-primary">
<div class="modal" [ngClass]="modalOptions['add'].modalSize" *ngIf="modalOptions['add'].isModalOpen"> เพิ่มข้อมูลทะเบียนฝ่าย
<div class="modal-content"> </h3>
<!-- Header --> <div class="flex justify-end">
<div class="modal-header"> <div class="button-clear">
<div class="modal-head-title">เพิ่มข้อมูลทะเบียนฝ่าย</div> <button type="button" class="ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md">
<button (click)="closeModal('add')"> <svg class="svg-indigo" width="16" height="16" viewBox="0 0 64.00 64.00"
<svg width="20" height="20" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#595BEA" stroke-width="3.84"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" transform="rotate(45)matrix(-1, 0, 0, 1, 0, 0)">
fill="#f23354" stroke="#f23354"> <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g id="SVGRepo_bgCarrier" stroke-width="0"></g> <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g> <g id="SVGRepo_iconCarrier">
<g id="SVGRepo_iconCarrier"> <path d="M15 49A24 24 0 0 1 32 8"></path>
<title>cross-circle</title> <path d="M49 15a24 24 0 0 1-17 41"></path>
<desc>Created with Sketch Beta.</desc> <polyline points="15.03 40 15.03 48.97 8 48.97"></polyline>
<defs> </defs> <polyline points="48.97 24 48.97 15.03 56 15.03"></polyline>
<g id="Page-1" stroke-width="0.41600000000000004" fill="none" fill-rule="evenodd" sketch:type="MSPage"> </g>
<g id="Icon-Set" sketch:type="MSLayerGroup" transform="translate(-568.000000, -1087.000000)" </svg>
fill="#f23354"> Clear
<path </button>
d="M584,1117 C576.268,1117 570,1110.73 570,1103 C570,1095.27 576.268,1089 584,1089 C591.732,1089 598,1095.27 598,1103 C598,1110.73 591.732,1117 584,1117 L584,1117 Z M584,1087 C575.163,1087 568,1094.16 568,1103 C568,1111.84 575.163,1119 584,1119 C592.837,1119 600,1111.84 600,1103 C600,1094.16 592.837,1087 584,1087 L584,1087 Z M589.717,1097.28 C589.323,1096.89 588.686,1096.89 588.292,1097.28 L583.994,1101.58 L579.758,1097.34 C579.367,1096.95 578.733,1096.95 578.344,1097.34 C577.953,1097.73 577.953,1098.37 578.344,1098.76 L582.58,1102.99 L578.314,1107.26 C577.921,1107.65 577.921,1108.29 578.314,1108.69 C578.708,1109.08 579.346,1109.08 579.74,1108.69 L584.006,1104.42 L588.242,1108.66 C588.633,1109.05 589.267,1109.05 589.657,1108.66 C590.048,1108.27 590.048,1107.63 589.657,1107.24 L585.42,1103.01 L589.717,1098.71 C590.11,1098.31 590.11,1097.68 589.717,1097.28 L589.717,1097.28 Z" </div>
id="cross-circle" sketch:type="MSShapeGroup"> </path> <div class="button-help">
</g> <button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
</g> <i class="ti ti-book fs-l"></i>
</g> Help
</svg> </button>
</button> </div>
<div class="button-clear"> <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
<button type="button" class="button-indigo-light modal-button"> data-hs-overlay="#hs-scroll-inside-body-modal">
<svg width="16" height="16" viewBox="0 0 64.00 64.00" xmlns="http://www.w3.org/2000/svg" fill="none" <span class="sr-only">Close</span>
stroke="#595BEA" stroke-width="3.84" transform="rotate(45)matrix(-1, 0, 0, 1, 0, 0)"> <i class="ti ti-circle-x fs-xxl"></i>
<g id="SVGRepo_bgCarrier" stroke-width="0"></g> </button>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g> </div>
<g id="SVGRepo_iconCarrier"> </div>
<path d="M15 49A24 24 0 0 1 32 8"></path> <div class="ti-modal-body ">
<path d="M49 15a24 24 0 0 1-17 41"></path> <label for="input-label" class="ti-form-label mt-2rem">ฝ่าย</label>
<polyline points="15.03 40 15.03 48.97 8 48.97"></polyline> <input type="text" id="input-label" class="ti-form-input w-1/2" placeholder="">
<polyline points="48.97 24 48.97 15.03 56 15.03"></polyline> <label for="detail_th" class="ti-form-label mt-2rem">รายละเอียดฝ่าย (ไทย)</label>
</g> <input type="text" id="detail_th" class="ti-form-input" placeholder="">
</svg> <label for="detail_eng" class="ti-form-label mt-2rem">รายละเอียดฝ่าย (อังกฤษ)</label>
Clear <input type="text" id="detail_eng" class="ti-form-input" placeholder="">
</button> <div class="flex justify-end mt-2rem mb-1rem">
</div> <button type="button"
<div class="button-help"> class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
<button type="button" class="button-yellow-light modal-button"> data-hs-overlay="#hs-scroll-inside-body-modal">
<svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none" xmlns="http://www.w3.org/2000/svg" ย้อนกลับ
stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)"> </button>
<g id="SVGRepo_bgCarrier" stroke-width="0"></g> <a class="ti-btn ti-btn-success" href="javascript:void(0);">
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#ffffff" บันทึกข้อมูล
stroke-width="2.4"> </a>
<path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path> </div>
<path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path> </div>
<path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
<g id="SVGRepo_iconCarrier">
<path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
</svg>Help
</button>
</div>
</div>
<!-- Body -->
<div class="modal-body">
<label for="department" class="block text-sm mb-2 dark:text-white">ฝ่าย</label>
<div class="flex mb-5">
<div class="relative w-full">
<input type="text" id="department" name="department"
class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-small">
</div>
</div>
<label for="detail_th" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (ไทย)</label>
<div class="flex mb-5">
<div class="relative w-full">
<input type="text" id="detail_th" name="detailth"
class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-full">
</div>
</div>
<label for="detail_eng" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (อังกฤษ)</label>
<div class="flex mb-5">
<div class="relative w-full">
<input type="text" id="detail_eng" name="detail_eng"
class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-full">
</div> </div>
</div>
<div class="flex justify-end">
<button type="button" class="modal-button-white mr-1" (click)="closeModal('add')">
ย้อนกลับ
</button>
<button type="button" class="modal-button-green ml-1" (click)="closeModal('add')">
บันทึกข้อมูล
</button>
</div>
</div> </div>
</div>
</div> </div>
<div id="hs-scroll-inside-body-modal2" class="hs-overlay hidden ti-modal">
<!-- Backdrop edit --> <div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)]">
<div class="modal-backdrop" *ngIf="modalOptions['edit'].isModalOpen" <div class="max-h-full overflow-hidden ti-modal-content">
[ngClass]="{ 'no-close': !modalOptions['edit'].backdropClose }" <div class="ti-modal-header">
(click)="modalOptions['edit'].backdropClose && closeModal('edit')"></div> <h3 class="text-xxl font-bold text-primary">
<!-- Modal edit --> แก้ไขข้อมูลทะเบียนฝ่าย
<div class="modal" [ngClass]="modalOptions['edit'].modalSize" *ngIf="modalOptions['edit'].isModalOpen"> </h3>
<div class="modal-content"> <div class="flex justify-end">
<!-- Header --> <div class="button-clear">
<div class="modal-header"> <button type="button" class="ti-btn ti-btn-soft-indigo h-45px m-0 shadow-md">
<div class="modal-head-title">แก้ไขข้อมูลทะเบียนฝ่าย</div> <svg class="svg-indigo" width="16" height="16" viewBox="0 0 64.00 64.00"
<button (click)="closeModal('edit')"> xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#595BEA" stroke-width="3.84"
<svg width="20" height="20" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" transform="rotate(45)matrix(-1, 0, 0, 1, 0, 0)">
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
fill="#f23354" stroke="#f23354"> <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
<g id="SVGRepo_bgCarrier" stroke-width="0"></g> <g id="SVGRepo_iconCarrier">
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g> <path d="M15 49A24 24 0 0 1 32 8"></path>W
<g id="SVGRepo_iconCarrier"> <path d="M49 15a24 24 0 0 1-17 41"></path>
<title>cross-circle</title> <polyline points="15.03 40 15.03 48.97 8 48.97"></polyline>
<desc>Created with Sketch Beta.</desc> <polyline points="48.97 24 48.97 15.03 56 15.03"></polyline>
<defs> </defs> </g>
<g id="Page-1" stroke-width="0.41600000000000004" fill="none" fill-rule="evenodd" sketch:type="MSPage"> </svg>
<g id="Icon-Set" sketch:type="MSLayerGroup" transform="translate(-568.000000, -1087.000000)" Clear
fill="#f23354"> </button>
<path </div>
d="M584,1117 C576.268,1117 570,1110.73 570,1103 C570,1095.27 576.268,1089 584,1089 C591.732,1089 598,1095.27 598,1103 C598,1110.73 591.732,1117 584,1117 L584,1117 Z M584,1087 C575.163,1087 568,1094.16 568,1103 C568,1111.84 575.163,1119 584,1119 C592.837,1119 600,1111.84 600,1103 C600,1094.16 592.837,1087 584,1087 L584,1087 Z M589.717,1097.28 C589.323,1096.89 588.686,1096.89 588.292,1097.28 L583.994,1101.58 L579.758,1097.34 C579.367,1096.95 578.733,1096.95 578.344,1097.34 C577.953,1097.73 577.953,1098.37 578.344,1098.76 L582.58,1102.99 L578.314,1107.26 C577.921,1107.65 577.921,1108.29 578.314,1108.69 C578.708,1109.08 579.346,1109.08 579.74,1108.69 L584.006,1104.42 L588.242,1108.66 C588.633,1109.05 589.267,1109.05 589.657,1108.66 C590.048,1108.27 590.048,1107.63 589.657,1107.24 L585.42,1103.01 L589.717,1098.71 C590.11,1098.31 590.11,1097.68 589.717,1097.28 L589.717,1097.28 Z" <div class="button-help">
id="cross-circle" sketch:type="MSShapeGroup"> </path> <button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
</g> <i class="ti ti-book fs-l"></i>
</g> Help
</g> </button>
</svg> </div>
</button> <button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
<div class="button-clear"> data-hs-overlay="#hs-scroll-inside-body-modal2">
<button type="button" class="button-indigo-light modal-button"> <span class="sr-only">Close</span>
<svg width="16" height="16" viewBox="0 0 64.00 64.00" xmlns="http://www.w3.org/2000/svg" fill="none" <i class="ti ti-circle-x fs-xxl"></i>
stroke="#595BEA" stroke-width="3.84" transform="rotate(45)matrix(-1, 0, 0, 1, 0, 0)"> </button>
<g id="SVGRepo_bgCarrier" stroke-width="0"></g> </div>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g> </div>
<g id="SVGRepo_iconCarrier"> <div class="ti-modal-body ">
<path d="M15 49A24 24 0 0 1 32 8"></path> <label for="input-label" class="ti-form-label mt-2rem">ฝ่าย</label>
<path d="M49 15a24 24 0 0 1-17 41"></path> <input type="text" id="input-label" class="ti-form-input w-1/2 bg-input-readonly" placeholder="" readonly>
<polyline points="15.03 40 15.03 48.97 8 48.97"></polyline> <label for="detail_th" class="ti-form-label mt-2rem">รายละเอียดฝ่าย (ไทย)</label>
<polyline points="48.97 24 48.97 15.03 56 15.03"></polyline> <input type="text" id="detail_th" class="ti-form-input" placeholder="">
</g> <label for="detail_eng" class="ti-form-label mt-2rem">รายละเอียดฝ่าย (อังกฤษ)</label>
</svg> <input type="text" id="detail_eng" class="ti-form-input" placeholder="">
Clear <div class="flex justify-end mt-2rem mb-1rem">
</button> <button type="button"
</div> class="hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
<div class="button-help"> data-hs-overlay="#hs-scroll-inside-body-modal2">
<button type="button" class="button-yellow-light modal-button"> ย้อนกลับ
<svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none" xmlns="http://www.w3.org/2000/svg" </button>
stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)"> <a class="ti-btn ti-btn-success" href="javascript:void(0);">
<g id="SVGRepo_bgCarrier" stroke-width="0"></g> บันทึกข้อมูล
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#ffffff" </a>
stroke-width="2.4"> </div>
<path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path> </div>
<path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
<g id="SVGRepo_iconCarrier">
<path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
<path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
stroke-linecap="round"></path>
<path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927" stroke-linecap="round">
</path>
</g>
</svg>Help
</button>
</div>
</div>
<!-- Body -->
<div class="modal-body">
<label for="department" class="block text-sm mb-2 dark:text-white">ฝ่าย</label>
<div class="flex mb-5">
<div class="relative w-full">
<input type="text" id="department" name="department"
class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-small input-disabled" disabled value="01">
</div>
</div>
<label for="detail_th" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (ไทย)</label>
<div class="flex mb-5">
<div class="relative w-full">
<input type="text" id="detail_th" name="detailth"
class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-full" value="ฝ่าย 1">
</div>
</div>
<label for="detail_eng" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (อังกฤษ)</label>
<div class="flex mb-5">
<div class="relative w-full">
<input type="text" id="detail_eng" name="detail_eng"
class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-full" value="department 1">
</div> </div>
</div>
<div class="flex justify-end">
<button type="button" class="modal-button-white mr-1" (click)="closeModal('edit')">
ย้อนกลับ
</button>
<button type="button" class="modal-button-green ml-1" (click)="closeModal('edit')">
บันทึกข้อมูล
</button>
</div>
</div> </div>
</div> </div>
</div> \ No newline at end of file
/* สไตล์ของแถบเมนู */ .button-clear {
.nav-tabs { position: absolute;
display: flex; top: 96px;
border-bottom: 2px solid #ccc; /* เส้นใต้ */ z-index: 1;
width: 100%; right: 41vw;
cursor: pointer; }
} .button-help {
position: absolute;
.nav-item { top: 96px;
list-style: none; z-index: 1;
margin-right: 10px; /* ช่องว่างระหว่างเมนู */ right: 35vw;
}
.nav-link {
text-decoration: none;
padding: 10px 20px;
display: inline-block;
font-size: large;
border-width: 2px 2px 0px 2px;
border-style: solid;
border-color: #ccc;
border-radius: 5px 5px 0px 0px;
}
.nav-link:hover {
background-color: #f0f0f0; /* เปลี่ยนสีเมื่อ hover */
}
.nav-link.active {
color: #ffffff; /* สีตัวอักษรในสถานะ active */
font-size: large;
border-bottom: 3.5px solid rgb(var(--color-primary)); /* เส้นใต้ */
background-color: rgb(var(--color-primary));
border-width: 2px 2px 0px 2px;
border-style: solid;
border-color: rgb(var(--color-primary));
border-radius: 5px 5px 0px 0px;
}
.tab-content {
margin-top: 20px;
}
.tab-pane.active {
display: block;
}
.nav-item-text {
list-style: none;
margin-right: 10px; /* ช่องว่างระหว่างเมนู */
}
.nav-link-text {
text-decoration: none;
display: inline-block;
font-size: large;
color: #569bf5;
border-bottom: 3.5px solid #569bf5;
}
//modal
$modal-padding: 20px;
$header-footer-color: #f4f4f400;
$border-color: #ddd;
$header-footer-height: 60px; // กำหนดความสูงของ header + footer รวมกัน
$modal-sizes: (
s: 300px,
m: 500px,
l: 800px,
vw10: 10vw,
vw20: 20vw,
vw30: 30vw,
vw40: 40vw,
vw50: 50vw,
vw60: 60vw,
vw70: 70vw,
vw80: 80vw,
vw90: 90vw,
vw100: 100vw
);
.modal-backdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
z-index: 1000;
display: flex;
flex-direction: column;
max-height: 80vh; // จำกัดความสูงของ Modal ทั้งหมด
@each $size, $width in $modal-sizes {
&.#{$size} {
width: $width;
}
}
.modal-content {
display: flex;
flex-direction: column;
height: 100%;
}
.modal-header {
background-color: $header-footer-color;
padding: $modal-padding;
border-bottom: 1px solid $border-color;
display: flex;
justify-content: space-between;
align-items: center;
height: $header-footer-height; // กำหนดความสูงของ Header
.modal-head-title {
color: rgb(var(--color-primary));
font-weight: 700;
font-size: large;
}
}
.modal-body {
flex: 1;
overflow-y: auto; // ทำให้สามารถ scroll ได้
padding: $modal-padding;
max-height: calc(80vh - #{$header-footer-height * 2}); // คำนวณความสูงของ Body หลังจากหัก Header และ Footer
}
.modal-footer {
background-color: $header-footer-color;
padding: $modal-padding;
border-top: 1px solid $border-color;
display: flex;
justify-content: flex-end;
height: $header-footer-height; // กำหนดความสูงของ Footer
}
.button-clear {
position: absolute;
right: 105px;
top: 60px;
z-index: 1;
.modal-button {
border-radius: 7px !important;
}
}
.button-help {
position: absolute;
right: 15px;
top: 60px;
z-index: 1;
.modal-button {
border-radius: 7px !important;
}
}
.modal-input-small {
width: 50%;
}
.modal-input-full {
width: 100%;
}
.modal-button-green {
min-width: 5rem;
background-color: #1dbe5a;
--tw-text-opacity: 1;
color: #ffffff;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.25rem;
border-width: 1px;
border-color: transparent;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 400;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.modal-button-white {
min-width: 5rem;
background-color: #ffffff;
--tw-text-opacity: 1;
color: #475569;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.25rem;
border-width: 1px;
border-color: transparent;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 400;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
--tw-border-opacity: 1;
border-color: rgb(226 232 240 / var(--tw-border-opacity));
}
} }
...@@ -2,25 +2,33 @@ ...@@ -2,25 +2,33 @@
<div class="bg-card-white"> <div class="bg-card-white">
</div> </div>
<div class="block-main-content"> <div class="block-main-content">
<div class="head-title"> <div class="text-xxl font-bold py-2 px-4 text-primary">
ทะเบียนบริษัท ทะเบียนบริษัท
</div> </div>
<div class="body-content"> <div class="page">
<ul class="nav-tabs"> <div class="border-b border-gray-200 dark:border-white/10">
<li class="nav-item" *ngFor="let item of [{id:'tab1',text:'ทะเบียนบริษัท'}, <nav class="-mb-0.5 flex space-x-6 rtl:space-x-reverse">
{id:'tab2',text:'สาขาและหน่วยธุรกิจ'}]" (click)="changeTab(item)"> <a class="pl-8 text-xxl font-bold hs-tab-active:border-secondary hs-tab-active:text-secondary pb-3 px-1 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500 dark:text-white/70 hover:text-secondary active"
<a [class.active]="activeTab === item.id" class="nav-link">{{item.text}}</a> href="javascript:void(0);" id="underline-item-1" data-hs-tab="#underline-1"
</li> aria-controls="underline-1"
</ul> (click)="pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท','ทะเบียนบริษัท']">
<div class="tab-content"> ทะเบียนบริษัท
<div *ngIf="activeTab === 'tab1'" class="tab-pane"> </a>
<p>ทะเบียนบริษัท</p> <a class="text-xxl font-bold hs-tab-active:border-secondary hs-tab-active:text-secondary pb-3 px-1 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500 dark:text-white/70 hover:text-secondary"
href="javascript:void(0);" id="underline-item-2" data-hs-tab="#underline-2"
aria-controls="underline-2"
(click)="pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท','สาขาและหน่วยธุรกิจ' ,'ทะเบียนฝ่าย']">
สาขาและหน่วยธุรกิจ
</a>
</nav>
</div>
<div class="mt-3 px-3rem">
<div id="underline-1" role="tabpanel" aria-labelledby="underline-item-1">
รายละเอียดทะเบียนบริษัท
</div> </div>
<div *ngIf="activeTab === 'tab2'" class="tab-pane"> <div id="underline-2" class="hidden" role="tabpanel" aria-labelledby="underline-item-2">
<div class="mt-5"></div>
<app-branch-business-unit [pathTitle]="pathTitle" <app-branch-business-unit [pathTitle]="pathTitle"
(sendPathTitle)="pathTitle=$event"></app-branch-business-unit> (sendPathTitle)="pathTitle=$event"></app-branch-business-unit>
</div> </div>
</div> </div>
</div> </div>
</div> \ No newline at end of file
\ No newline at end of file
/* สไตล์ของแถบเมนู */
.nav-tabs {
display: flex;
border-bottom: 2px solid #ccc; /* เส้นใต้ */
width: 100%;
cursor: pointer;
}
.nav-item {
list-style: none;
margin-right: 10px; /* ช่องว่างระหว่างเมนู */
}
.nav-link {
text-decoration: none;
padding: 10px 20px;
display: inline-block;
font-size: large;
}
.nav-link:hover {
background-color: #f0f0f0; /* เปลี่ยนสีเมื่อ hover */
}
.nav-link.active {
color: #569bf5; /* สีตัวอักษรในสถานะ active */
font-size: large;
border-bottom: 3.5px solid #569bf5; /* เส้นใต้ */
}
.tab-content {
margin-top: 20px;
}
.tab-pane.active {
display: block;
}
...@@ -7,11 +7,4 @@ import { Component } from '@angular/core'; ...@@ -7,11 +7,4 @@ import { Component } from '@angular/core';
}) })
export class CompanyRegistrationComponent { export class CompanyRegistrationComponent {
pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท', 'ทะเบียนบริษัท'] pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท', 'ทะเบียนบริษัท']
activeTab: string = 'tab1';
// ฟังก์ชันในการเปลี่ยนแท็บ
changeTab(tab: { id: string, text: string }) {
this.pathTitle = ['การจัดการข้อมูลองค์กร', 'ทะเบียนบริษัท', tab.text]
this.activeTab = tab.id
}
} }
...@@ -5,12 +5,16 @@ ...@@ -5,12 +5,16 @@
<!-- Page Header New --> <!-- Page Header New -->
<div class="block justify-between page-header sm:flex"> <div class="block justify-between page-header sm:flex">
<ol class="flex items-center whitespace-nowrap min-w-0"> <ol class="flex items-center whitespace-nowrap min-w-0">
<li class="text-sm text-gray-500 hover:text-primary dark:text-white/70 " aria-current="page" <li class="text-sm" *ngFor="let item of pathTitle;let l = last">
*ngFor="let item of pathTitle;let l = last"> <a class="flex items-center text-gray-500 hover:text-primary dark:text-white" href="javascript:void(0);">
<span class="flex items-center">
{{item}} {{item}}
<i *ngIf="!l" class="ri-arrow-right-s-line mx-3 text-gray-500"></i> <svg *ngIf="!l"
</span> class="flex-shrink-0 mx-3 overflow-visible h-2.5 w-2.5 text-gray-300 dark:text-white/10 rtl:rotate-180"
width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14" stroke="currentColor"
stroke-width="2" stroke-linecap="round" />
</svg>
</a>
</li> </li>
</ol> </ol>
</div> </div>
......
...@@ -3897,6 +3897,9 @@ select option:active, ...@@ -3897,6 +3897,9 @@ select option:active,
.ms-1{ .ms-1{
margin-inline-start: 0.25rem; margin-inline-start: 0.25rem;
} }
.m-auto{
margin: auto;
}
.mt-0{ .mt-0{
margin-top: 0px; margin-top: 0px;
} }
...@@ -4095,6 +4098,9 @@ select option:active, ...@@ -4095,6 +4098,9 @@ select option:active,
.h-\[500px\]{ .h-\[500px\]{
height: 500px; height: 500px;
} }
.h-45px{
height: 45px;
}
.h-\[calc\(100\%-3\.5rem\)\]{ .h-\[calc\(100\%-3\.5rem\)\]{
height: calc(100% - 3.5rem); height: calc(100% - 3.5rem);
} }
...@@ -5481,6 +5487,9 @@ select option:active, ...@@ -5481,6 +5487,9 @@ select option:active,
.bg-pink-800\/20{ .bg-pink-800\/20{
background-color: rgb(157 23 77 / 0.2); background-color: rgb(157 23 77 / 0.2);
} }
.bg-soft-secondary{
background-color: rgb(var(--color-secondary) / 0.1) !important;
}
.bg-primary{ .bg-primary{
background-color: rgb(var(--color-primary)); background-color: rgb(var(--color-primary));
} }
...@@ -5957,6 +5966,12 @@ select option:active, ...@@ -5957,6 +5966,12 @@ select option:active,
.pl-3{ .pl-3{
padding-left: 0.75rem; padding-left: 0.75rem;
} }
.pl-8{
padding-left: 2rem;
}
.pr-8{
padding-right: 2rem;
}
.pr-3{ .pr-3{
padding-right: 0.75rem; padding-right: 0.75rem;
} }
...@@ -5975,6 +5990,206 @@ select option:active, ...@@ -5975,6 +5990,206 @@ select option:active,
.pt-3{ .pt-3{
padding-top: 0.75rem; padding-top: 0.75rem;
} }
.pt-1rem{
padding-top: 1rem;
}
.pt-2rem{
padding-top: 2rem;
}
.pt-3rem{
padding-top: 3rem;
}
.pt-4rem{
padding-top: 4rem;
}
.pt-5rem{
padding-top: 5rem;
}
.pb-1rem{
padding-bottom: 1rem;
}
.pb-2rem{
padding-bottom: 2rem;
}
.pb-3rem{
padding-bottom: 3rem;
}
.pb-4rem{
padding-bottom: 4rem;
}
.pb-5rem{
padding-bottom: 5rem;
}
.pl-1rem{
padding-left: 1rem;
}
.pl-2rem{
padding-left: 2rem;
}
.pl-3rem{
padding-left: 3rem;
}
.pl-4rem{
padding-left: 4rem;
}
.pl-5rem{
padding-left: 5rem;
}
.pr-1rem{
padding-right: 1rem;
}
.pr-2rem{
padding-right: 2rem;
}
.pr-3rem{
padding-right: 3rem;
}
.pr-4rem{
padding-right: 4rem;
}
.pr-5rem{
padding-right: 5rem;
}
.px-1rem{
padding-left: 1rem;
padding-right: 1rem;
}
.px-2rem{
padding-left: 2rem;
padding-right: 2rem;
}
.px-3rem{
padding-left: 3rem;
padding-right: 3rem;
}
.px-4rem{
padding-left: 4rem;
padding-right: 4rem;
}
.px-5rem{
padding-left: 5rem;
padding-right: 5rem;
}
.py-1rem{
padding-top: 1rem;
padding-bottom: 1rem;
}
.py-2rem{
padding-top: 2rem;
padding-bottom: 2rem;
}
.py-3rem{
padding-top: 3rem;
padding-bottom: 3rem;
}
.py-4rem{
padding-top: 4rem;
padding-bottom: 4rem;
}
.py-5rem{
padding-top: 5rem;
padding-bottom: 5rem;
}
.pt-10px{
padding-top: 10px;
}
.pt-20px{
padding-top: 20px;
}
.pt-30px{
padding-top: 30px;
}
.pt-40px{
padding-top: 40px;
}
.pt-50px{
padding-top: 50px;
}
.pb-10px{
padding-bottom: 10px;
}
.pb-20px{
padding-bottom: 20px;
}
.pb-30px{
padding-bottom: 30px;
}
.pb-40px{
padding-bottom: 40px;
}
.pb-50px{
padding-bottom: 50px;
}
.pl-10px{
padding-left: 10px;
}
.pl-20px{
padding-left: 20px;
}
.pl-30px{
padding-left: 30px;
}
.pl-40px{
padding-left: 40px;
}
.pl-50px{
padding-left: 50px;
}
.pr-10px{
padding-right: 10px;
}
.pr-20px{
padding-right: 20px;
}
.pr-30px{
padding-right: 30px;
}
.pr-40px{
padding-right: 40px;
}
.pr-50px{
padding-right: 50px;
}
.px-10px{
padding-left: 10px;
padding-right: 10px;
}
.px-20px{
padding-left: 20px;
padding-right: 20px;
}
.px-30px{
padding-left: 30px;
padding-right: 30px;
}
.px-40px{
padding-left: 40px;
padding-right: 40px;
}
.px-50px{
padding-left: 50px;
padding-right: 50px;
}
.py-10px{
padding-top: 10px;
padding-bottom: 10px;
}
.py-20px{
padding-top: 20px;
padding-bottom: 20px;
}
.py-30px{
padding-top: 30px;
padding-bottom: 30px;
}
.py-40px{
padding-top: 40px;
padding-bottom: 40px;
}
.py-50px{
padding-top: 50px;
padding-bottom: 50px;
}
.text-left{ .text-left{
text-align: left; text-align: left;
} }
...@@ -6056,6 +6271,10 @@ select option:active, ...@@ -6056,6 +6271,10 @@ select option:active,
font-size: 0.875rem; font-size: 0.875rem;
line-height: 1.25rem; line-height: 1.25rem;
} }
.text-xxl{
font-size: 1.5rem;
line-height: 1.75rem;
}
.text-xl{ .text-xl{
font-size: 1.25rem; font-size: 1.25rem;
line-height: 1.75rem; line-height: 1.75rem;
...@@ -6636,10 +6855,10 @@ select option:active, ...@@ -6636,10 +6855,10 @@ select option:active,
--color-primary: 21 76 156; --color-primary: 21 76 156;
--color-primary-rgb: 21,76,156; --color-primary-rgb: 21,76,156;
--color-secondary: 96 165 250; --color-secondary: 96 165 250;
--color-success: 34 197 94; --color-success: 29 190 90;
--color-info: 76 117 207; --color-info: 159 73 241;
--color-warning: 234 179 8; --color-warning: 231 169 39;
--color-danger: 244 63 94; --color-danger: 242 51 84;
--body-bg: 242 246 249; --body-bg: 242 246 249;
--default-text-color: 71 85 105; --default-text-color: 71 85 105;
--default-border: 243 243 243; --default-border: 243 243 243;
...@@ -6653,6 +6872,7 @@ select option:active, ...@@ -6653,6 +6872,7 @@ select option:active,
--header-border-color: 243 243 243; --header-border-color: 243 243 243;
--dark-bg: 30 41 59; --dark-bg: 30 41 59;
--dark-bg2: 249 250 251; --dark-bg2: 249 250 251;
--color-indigo : 89 91 234;
} }
.dark { .dark {
--body-bg: 41 53 73; --body-bg: 41 53 73;
...@@ -21207,3 +21427,287 @@ div:where(.swal2-container) div:where(.swal2-validation-message){ ...@@ -21207,3 +21427,287 @@ div:where(.swal2-container) div:where(.swal2-validation-message){
} }
} }
/*# sourceMappingURL=style.css.map */ /*# sourceMappingURL=style.css.map */
.ti-btn-soft-warning .svg-warning{
stroke: #E7A927;
}
.ti-btn-soft-warning:hover .svg-warning path {
stroke: white;
}
.svg-primary{
stroke: #194C9C;
}
.align-items-end{
align-items: end;
}
.fs-l{
font-size: large;
}
.fs-xl{
font-size: x-large;
}
.fs-xxl{
font-size: xx-large;
}
.fw-b{
font-weight: bolder;
}
.mt-1rem{
margin-top: 1rem;
}
.mt-2rem{
margin-top: 2rem;
}
.mt-3rem{
margin-top: 3rem;
}
.mt-4rem{
margin-top: 4rem;
}
.mt-5rem{
margin-top: 5rem;
}
.mb-1rem{
margin-bottom: 1rem;
}
.mb-2rem{
margin-bottom: 2rem;
}
.mb-3rem{
margin-bottom: 3rem;
}
.mb-4rem{
margin-bottom: 4rem;
}
.mb-5rem{
margin-bottom: 5rem;
}
.ml-1rem{
margin-left: 1rem;
}
.ml-2rem{
margin-left: 2rem;
}
.ml-3rem{
margin-left: 3rem;
}
.ml-4rem{
margin-left: 4rem;
}
.ml-5rem{
margin-left: 5rem;
}
.mr-1rem{
margin-right: 1rem;
}
.mr-2rem{
margin-right: 2rem;
}
.mr-3rem{
margin-right: 3rem;
}
.mr-4rem{
margin-right: 4rem;
}
.mr-5rem{
margin-right: 5rem;
}
.mx-1rem{
margin-left: 1rem;
margin-right: 1rem;
}
.mx-2rem{
margin-left: 2rem;
margin-right: 2rem;
}
.mx-3rem{
margin-left: 3rem;
margin-right: 3rem;
}
.mx-4rem{
margin-left: 4rem;
margin-right: 4rem;
}
.mx-5rem{
margin-left: 5rem;
margin-right: 5rem;
}
.my-1rem{
margin-top: 1rem;
margin-bottom: 1rem;
}
.my-2rem{
margin-top: 2rem;
margin-bottom: 2rem;
}
.my-3rem{
margin-top: 3rem;
margin-bottom: 3rem;
}
.my-4rem{
margin-top: 4rem;
margin-bottom: 4rem;
}
.my-5rem{
margin-top: 5rem;
margin-bottom: 5rem;
}
.mt-10px{
margin-top: 10px;
}
.mt-20px{
margin-top: 20px;
}
.mt-30px{
margin-top: 30px;
}
.mt-40px{
margin-top: 40px;
}
.mt-50px{
margin-top: 50px;
}
.mb-10px{
margin-bottom: 10px;
}
.mb-20px{
margin-bottom: 20px;
}
.mb-30px{
margin-bottom: 30px;
}
.mb-40px{
margin-bottom: 40px;
}
.mb-50px{
margin-bottom: 50px;
}
.ml-10px{
margin-left: 10px;
}
.ml-20px{
margin-left: 20px;
}
.ml-30px{
margin-left: 30px;
}
.ml-40px{
margin-left: 40px;
}
.ml-50px{
margin-left: 50px;
}
.mr-10px{
margin-right: 10px;
}
.mr-20px{
margin-right: 20px;
}
.mr-30px{
margin-right: 30px;
}
.mr-40px{
margin-right: 40px;
}
.mr-50px{
margin-right: 50px;
}
.mx-10px{
margin-left: 10px;
margin-right: 10px;
}
.mx-20px{
margin-left: 20px;
margin-right: 20px;
}
.mx-30px{
margin-left: 30px;
margin-right: 30px;
}
.mx-40px{
margin-left: 40px;
margin-right: 40px;
}
.mx-50px{
margin-left: 50px;
margin-right: 50px;
}
.my-10px{
margin-top: 10px;
margin-bottom: 10px;
}
.my-20px{
margin-top: 20px;
margin-bottom: 20px;
}
.my-30px{
margin-top: 30px;
margin-bottom: 30px;
}
.my-40px{
margin-top: 40px;
margin-bottom: 40px;
}
.my-50px{
margin-top: 50px;
margin-bottom: 50px;
}
.i-gray{
--tw-text-opacity: 1 !important;
color: rgb(100 116 139 / var(--tw-text-opacity)) !important;
}
.i-gray:hover{
--tw-text-opacity: 1;
color: rgb(15 23 42 / var(--tw-text-opacity)) !important;
}
.ti-btn-soft-indigo{
background-color: rgb(var(--color-indigo) / 0.1);
color: rgb(var(--color-indigo));
--tw-ring-offset-color: #fff;
}
.ti-btn-soft-indigo:hover{
background-color: rgb(var(--color-indigo));
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.ti-btn-soft-indigo:focus{
--tw-ring-color: rgb(var(--color-indigo));
}
.ti-btn-indigo{
background-color: rgb(var(--color-indigo));
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.ti-btn-indigo:hover{
background-color: rgb(var(--color-indigo));
}
.ti-btn-indigo:focus{
--tw-ring-color: rgb(var(--color-indigo));
}
.ti-btn-soft-indigo .svg-indigo{
stroke: #595bea;
}
.ti-btn-soft-indigo:hover .svg-indigo path {
stroke: white;
}
.ti-modal .ti-modal-header-button{
display: flex;
align-items: center;
justify-content: space-between;
border-bottom-width: 1px;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
padding-left: 1rem;
padding-right: 1rem;
}
.bg-input-readonly{
background-color: rgb(241 245 249 / var(--tw-bg-opacity));
}
\ No newline at end of file
...@@ -346,18 +346,7 @@ ngx-dropzone { ...@@ -346,18 +346,7 @@ ngx-dropzone {
} }
/* colorpicker */ /* colorpicker */
.body-content {
display: flex;
flex-direction: column;
padding: 0.5rem 1rem 1rem 1rem;
}
.head-title {
color: rgb(var(--color-primary));
font-weight: 700;
display: flex;
padding: 1rem 1rem 0.5rem 1rem;
font-size: x-large;
}
.bg-card-white { .bg-card-white {
background-color: #ffffff; background-color: #ffffff;
height: 100vh; height: 100vh;
...@@ -383,169 +372,4 @@ ngx-dropzone { ...@@ -383,169 +372,4 @@ ngx-dropzone {
background: white; background: white;
margin-left: -1.75rem; margin-left: -1.75rem;
} }
} }
\ No newline at end of file
.input-wrapper {
position: relative;
max-width: 20rem;
box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 24px;
display: flex;
align-items: center; // จัดให้อยู่กลางในแนวตั้ง
justify-content: space-between; // จัดไอคอนให้ไปอยู่ข้างขวา
}
.input-wrapper input {
font-family: Montserrat !important;
padding: 0.5rem;
padding-left: 2.5rem; // เพิ่มพื้นที่สำหรับไอคอน
}
.input-wrapper .icon {
position: absolute;
left: 1rem; // ตำแหน่งไอคอนที่ซ้าย
pointer-events: none; // ไอคอนไม่ทำให้การคลิกใน input หยุด
}
.button-blue-light {
min-width: 5rem;
background-color: #e6f0ff;
--tw-text-opacity: 1;
color: #569bf5;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.25rem;
border-width: 1px;
border-color: transparent;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 400;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 24px;
}
.button-purple-light {
min-width: 5rem;
background-color: #f1e4fe;
--tw-text-opacity: 1;
color: #9f49f1;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.25rem;
border-width: 1px;
border-color: transparent;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 400;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 24px;
}
.button-yellow-light {
min-width: 5rem;
background-color: #fef8bf;
--tw-text-opacity: 1;
color: #e7a927;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.25rem;
border-width: 1px;
border-color: transparent;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 400;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 24px;
}
.button-red-light {
min-width: 5rem;
background-color: #feddde;
--tw-text-opacity: 1;
color: #f23354;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.25rem;
border-width: 1px;
border-color: transparent;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 400;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 24px;
}
.button-indigo-light {
min-width: 5rem;
background-color: #dce3fe;
--tw-text-opacity: 1;
color: #595bea;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.25rem;
border-width: 1px;
border-color: transparent;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
padding-right: 0.75rem;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 400;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 24px;
}
.shadow-gray-smoke {
box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 24px;
}
.head-table {
padding: 10px 20px; /* เพิ่มระยะขอบ */
font-weight: bold !important;
font-size: large !important;
background-color: #e6f0ff !important; /* พื้นหลังสำหรับ header */
color: rgb(var(--color-primary));
}
.head-table-icon {
fill: rgb(var(--color-primary)); /* สีไอคอน */
margin: auto;
}
.body-table-center {
display: flex;
justify-content: center;
}
.body-table-left {
display: flex;
margin-left: 20px;
}
.input-disabled {
background-color: #aaaaaa !important;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment