[st] design: 디자인 수정

This commit is contained in:
2026-02-12 10:22:35 +09:00
parent 3b23113955
commit 78e3e8e20e
7 changed files with 105 additions and 45 deletions
+43
View File
@@ -0,0 +1,43 @@
@tailwind components;
@layer components {
.rg-grid .rg-header .rg-table .rg-header-group-cell {
@apply !bg-[#466995] !text-[#fff];
}
.rg-grid .rg-header .rg-table .rg-header-cell {
@apply !bg-[#5987bf] !text-[#fff];
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell {
@apply !bg-white;
}
[data-theme="black"] {
.rg-grid .rg-header .rg-table .rg-header-group-cell {
@apply !bg-[#3C4043] !text-[#fff];
}
.rg-grid .rg-header .rg-table .rg-header-cell {
@apply !bg-[#62686d] !text-[#fff];
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell {
@apply !bg-[#545556] !text-[#fff];
}
}
[data-theme="red"] {
.rg-grid .rg-header .rg-table .rg-header-group-cell {
@apply !bg-[#646469] !text-[#fff];
}
.rg-grid .rg-header .rg-table .rg-header-cell {
@apply !bg-[#8d8d94] !text-[#fff];
}
}
[data-theme="green"] {
.rg-grid .rg-header .rg-table .rg-header-group-cell {
@apply !bg-[#518585] !text-[#fff];
}
.rg-grid .rg-header .rg-table .rg-header-cell {
@apply !bg-[#6bafae] !text-[#fff];
}
}
}
@@ -102,7 +102,7 @@ const HbStatisticsVerification = () => {
<div className="p-2">
{/* 통계 검증 섹션 */}
<div className="mb-6">
<h3 className="px-2 text-[1.5rem] font-semibold">
<h3 className="px-2 text-[1.5rem] font-semibold text-title">
통계 검증
</h3>
@@ -461,8 +461,8 @@ const HbStatisticsVerification = () => {
</div>
{/* 검증 이력 섹션 */}
<div className="mt-8 border-t pt-6">
<h3 className="mb-4 px-2 text-[1.5rem] font-semibold">
<div className="mt-8 border-t border-border pt-6">
<h3 className="mb-4 px-2 text-[1.5rem] font-semibold text-title">
검증 이력
</h3>
<DataGrid
+1 -1
View File
@@ -1 +1 @@
export { default as statisticsPage } from "./ui/statistics-page";
export { default as StatisticsPage } from "./ui/statistics-page";
@@ -7,12 +7,10 @@ function StatisticsPageLayout({ children }: { children: React.ReactNode }) {
const pageTitle = tabs.find((t) => t.menuItem.menuEngNm === activeTabId);
const menuPaths = pageTitle?.path
?.split(">")
.map((path) => path.trim());
const menuPaths = pageTitle?.path?.split(">").map((path) => path.trim());
return (
<div className="h-auto min-h-full pb-2">
<div className="h-auto min-h-full bg-container pb-2">
<TabBar />
<PageTitle
title={pageTitle?.label ?? ""}
+9 -7
View File
@@ -10,7 +10,10 @@ const TabBar = () => {
return null;
}
const handleCloseTab = (e: React.MouseEvent | React.KeyboardEvent, tabId: string) => {
const handleCloseTab = (
e: React.MouseEvent | React.KeyboardEvent,
tabId: string,
) => {
e.stopPropagation();
removeTab(tabId);
};
@@ -22,22 +25,22 @@ const TabBar = () => {
className="w-full"
variant="outline"
>
<TabsList>
<TabsList className="w-full !justify-start !p-4 !pb-0">
{tabs.map((tab) => (
<TabsTrigger
key={tab.id}
value={tab.id}
className="!px-4 !flex !items-center !justify-start !gap-2 !w-[140px]"
className="!flex !w-[140px] !items-center !justify-start !gap-2 !px-4"
title={tab.label}
>
<span className="text-xl flex-1 leading-none truncate">
<span className="flex-1 truncate text-xl leading-none">
{tab.label}
</span>
<span
role="button"
onClick={(e) => handleCloseTab(e, tab.id)}
aria-label={`${tab.label} 탭 닫기`}
className="flex items-center justify-center flex-shrink-0 leading-none hover:text-[#2094fa]"
className="flex flex-shrink-0 items-center justify-center leading-none hover:text-[#2094fa]"
>
<i className="ri-close-line" />
</span>
@@ -46,7 +49,6 @@ const TabBar = () => {
</TabsList>
</Tabs>
);
}
};
export { TabBar };