File tree Expand file tree Collapse file tree 6 files changed +16
-15
lines changed
app/modules/layout/components Expand file tree Collapse file tree 6 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1212 <!-- Dropdown -->
1313 < div
1414 [@openClose] ="isOpen ? 'open' : 'closed' "
15- class ="bg-background shadow-custom absolute right-0 z-20 mt-2 w-60 origin-top-right transform rounded-md py-4 ring-1 ring-transparent ring-opacity-5 transition focus:outline-hidden ">
15+ class ="bg-background shadow-custom absolute ltr: right-0 rtl:left -0 z-20 mt-2 w-60 origin-top-right transform rounded-md py-4 ring-1 ring-transparent ring-opacity-5 transition focus:outline-hidden ">
1616 < div class ="flext-row flex items-center px-4 pb-4 ">
1717 < div class ="w-10 shrink-0 ">
1818 < img class ="rounded-md " src ="https://avatars.githubusercontent.com/u/12519008?v=4 " alt ="" />
4848 class ="focus-visible:ring-ring border-border bg-background text-muted-foreground hover:bg-card hover:text-foreground shadow-xs inline-flex h-8 cursor-pointer items-center justify-start whitespace-nowrap rounded-md border px-3 text-xs font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50 ">
4949 < span
5050 [style.backgroundColor] ="item.code "
51- class ="mr-1 flex h-5 w-5 shrink-0 -translate-x-1 items-center justify-center rounded-full bg-rose-500 "> </ span >
51+ class ="me-1.5 flex h-5 w-5 shrink-0 -translate-x-1 items-center justify-center rounded-full bg-rose-500 "> </ span >
5252 < p class ="capitalize "> {{ item.name }}</ p >
5353 </ div >
5454 }
Original file line number Diff line number Diff line change 2929 class ="text-muted-foreground hover:bg-card hover:text-foreground flex h-9 cursor-pointer items-center justify-start rounded-sm ">
3030 < a
3131 routerLinkActive ="text-primary "
32- class ="ml -10 truncate text-xs font-semibold tracking-wide focus:outline-hidden ">
32+ class ="ms -10 truncate text-xs font-semibold tracking-wide focus:outline-hidden ">
3333 {{ item.label }}
3434 </ a >
3535 </ div >
3636 </ ng-template >
3737
3838 <!-- Workaround:: Disable routerLink -->
3939 < ng-template #childMenu let-item ="item ">
40- < div class ="hover:bg-card flex h-9 cursor-pointer items-center justify-start rounded-sm ">
40+ < div class ="hover:bg-card flex h-9 cursor-pointer items-center justify-start rounded-sm
41+ ">
4142 < a
42- class ="text-muted-foreground group-hover:text-foreground ml -10 truncate text-xs font-semibold tracking-wide focus:outline-hidden ">
43+ class ="text-muted-foreground group-hover:text-foreground ms -10 truncate text-xs font-semibold tracking-wide focus:outline-hidden ">
4344 {{ item.label }}
4445 </ a >
4546 </ div >
4849 <!-- Arrow Icon -->
4950 < button
5051 *ngIf ="item.children "
51- [ngClass] ="{ hidden: !menuService.showSideBar, 'rotate-90': item.expanded } "
52- class ="text-muted-foreground/50 pointer-events-none absolute top-1 right-0 flex items-center p-1 transition-all duration-500 ">
53- < svg-icon src ="assets/icons/heroicons/solid/chevron-right.svg " [svgClass] ="'h-5 w-5' "> </ svg-icon >
52+ [ngClass] ="{ hidden: !menuService.showSideBar, 'ltr: rotate-90 rtl:rotate-[-90deg] ': item.expanded } "
53+ class ="text-muted-foreground/50 pointer-events-none absolute top-1 ltr: right-0 rtl:left-0 flex items-center p-1 transition-all duration-500 ">
54+ < svg-icon src ="assets/icons/heroicons/solid/chevron-right.svg " [svgClass] ="'h-5 w-5 rtl:rotate-180 ' "> </ svg-icon >
5455 </ button >
5556
5657 <!-- Tooltip -->
Original file line number Diff line number Diff line change 11< div
2- class ="max-h-0 overflow-hidden pt-1 pl -4 transition-all duration-500 "
2+ class ="max-h-0 overflow-hidden pt-1 ps -4 transition-all duration-500 "
33 [ngClass] ="{ hidden: !menuService.showSideBar, 'max-h-screen': submenu.expanded } ">
4- < ul class ="border-border text-muted-foreground flex flex-col border-l border-dashed pl -2 ">
4+ < ul class ="border-border text-muted-foreground flex flex-col ltr: border-l rtl: border-r border- dashed ps -2 ">
55 < li *ngFor ="let sub of submenu.children ">
66 < div class ="text-muted-foreground hover:bg-card hover:text-foreground flex rounded-sm " (click) ="toggleMenu(sub) ">
77 <!-- Condition -->
Original file line number Diff line number Diff line change 1010 class ="bg-primary flex cursor-pointer items-center justify-center rounded-sm p-2 focus:outline-hidden focus:ring-1 ">
1111 < svg-icon src ="assets/icons/logo.svg "> </ svg-icon >
1212 </ a >
13- < b class ="text-foreground ml-1 pl -2 text-sm font-bold ">
13+ < b class ="text-foreground ml-1 ps -2 text-sm font-bold ">
1414 {{ appJson.displayName }}
1515 </ b >
1616 </ div >
1717 < button
1818 (click) ="toggleSidebar() "
19- class ="text-muted-foreground/50 hover:text-muted-foreground absolute top-2 right-2 flex h-5 w-5 items-center justify-center rounded-sm transition-all duration-200 focus:outline-hidden "
19+ class ="text-muted-foreground/50 hover:text-muted-foreground absolute top-2 rtl:left-2 ltr: right-2 flex h-5 w-5 items-center justify-center rounded-sm transition-all duration-200 focus:outline-hidden "
2020 [ngClass] ="{ 'rotate-180': !menuService.showSideBar } ">
2121 < svg-icon src ="assets/icons/heroicons/solid/chevron-double-left.svg "> </ svg-icon >
2222 </ button >
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2- < html lang ="en " data-theme ="base ">
2+ < html lang ="en " data-theme ="base " dir =" rtl " >
33 < head >
44 < meta charset ="utf-8 " />
55 < title > Angular Tailwind</ title >
You can’t perform that action at this time.
0 commit comments