[st] - 입력 반려,승인 / 검토 승인

This commit is contained in:
2026-05-14 00:18:30 +09:00
parent c1cab1455f
commit 1cde3b0998
20 changed files with 1241 additions and 174 deletions
+175 -72
View File
@@ -1,21 +1,6 @@
@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 {
@apply !bg-[#5987bf] !text-[#fff];
}
/* 상태바·체크바 헤더 */
.rg-grid .rg-head .rg-table tr:first-child td:first-child,
.rg-grid .rg-head .rg-table tr:first-child td:nth-child(2),
.rg-grid .rg-header .rg-table tr:first-child td:first-child,
.rg-grid .rg-header .rg-table tr:first-child td:nth-child(2) {
@apply !bg-[#5987bf] !text-[#fff];
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell {
@apply !bg-white;
}
@@ -36,14 +21,67 @@
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-ok {
@apply !font-semibold !text-[#3372cf];
}
/* 개별 반려: 높이/레이아웃은 RealGrid 행에 그대로 두고, 색·테두리·정렬만 버튼 느낌 */
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-reject-mini-btn {
text-align: center !important;
vertical-align: middle !important;
box-sizing: border-box !important;
padding-left: 8px !important;
padding-right: 8px !important;
border-radius: 0.25rem !important;
border: 1px solid rgb(248 113 113 / 0.55) !important;
background-color: rgb(254 242 242) !important;
color: rgb(185 28 28) !important;
font-size: 1.2rem !important;
font-weight: 600 !important;
white-space: nowrap !important;
cursor: pointer !important;
text-decoration: none !important;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-reject-mini-btn:hover {
background-color: rgb(254 226 226) !important;
border-color: rgb(239 68 68 / 0.85) !important;
color: rgb(153 27 27) !important;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-reject-mini-btn:active {
background-color: rgb(254 202 202) !important;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-outline-action-btn {
text-align: center !important;
vertical-align: middle !important;
box-sizing: border-box !important;
padding-left: 8px !important;
padding-right: 8px !important;
border-radius: 0.25rem !important;
border: 1px solid rgb(148 163 184 / 0.7) !important;
background-color: rgb(248 250 252) !important;
color: rgb(51 65 85) !important;
font-size: 1.2rem !important;
font-weight: 600 !important;
white-space: nowrap !important;
cursor: pointer !important;
text-decoration: none !important;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-outline-action-btn:hover {
background-color: rgb(241 245 249) !important;
border-color: rgb(100 116 139 / 0.85) !important;
color: rgb(30 41 59) !important;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-outline-action-btn:active {
background-color: rgb(226 232 240) !important;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-action-link {
@apply !font-semibold !text-[#2563eb] underline;
cursor: pointer !important;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-stats-status-pending {
@apply !text-gray-500;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-stats-status-submitted {
@apply !font-semibold
@apply !font-semibold;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-stats-status-approved {
@apply !font-semibold
@apply !font-semibold;
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-stats-status-rejected {
@apply !font-semibold !text-[#ff6c64];
@@ -117,60 +155,6 @@
.data-grid-status-bubble > span + span {
@apply ml-4 border-l border-slate-200/70 pl-4;
}
[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-head .rg-table tr:first-child td:first-child,
.rg-grid .rg-head .rg-table tr:first-child td:nth-child(2),
.rg-grid .rg-header .rg-table tr:first-child td:first-child,
.rg-grid .rg-header .rg-table tr:first-child td:nth-child(2) {
@apply !bg-[#62686d] !text-[#fff];
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell {
@apply !bg-[#545556] !text-[#fff];
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-bad {
@apply !text-[#f87171];
}
.rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-ok {
@apply !text-[#3372cf];
}
}
[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];
}
.rg-grid .rg-head .rg-table tr:first-child td:first-child,
.rg-grid .rg-head .rg-table tr:first-child td:nth-child(2),
.rg-grid .rg-header .rg-table tr:first-child td:first-child,
.rg-grid .rg-header .rg-table tr:first-child td:nth-child(2) {
@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];
}
.rg-grid .rg-head .rg-table tr:first-child td:first-child,
.rg-grid .rg-head .rg-table tr:first-child td:nth-child(2),
.rg-grid .rg-header .rg-table tr:first-child td:first-child,
.rg-grid .rg-header .rg-table tr:first-child td:nth-child(2) {
@apply !bg-[#6bafae] !text-[#fff];
}
}
}
@keyframes rg-cell-stats-status-dot-ping {
@@ -203,4 +187,123 @@
.rg-grid .rg-head .rg-table tr td {
border: none;
border-bottom: 1px solid #e5e7eb;
}
}
/*
* ST 통계 그리드 헤더 색 — @layer 밖(일반 규칙).
* packages/rsone/components/grid/css/DataGrid.css 등 @layer 밖 !important와 동일 층에서
* .rg-grid … 특이도로 덮어씀.
*/
.rg-grid .rg-header .rg-table .rg-header-group-cell {
background-color: #466995 !important;
color: #ffffff !important;
}
.rg-grid .rg-header .rg-table {
background-color: #5987bf !important;
color: #ffffff !important;
}
.rg-grid .rg-head .rg-table tr:first-child td:first-child,
.rg-grid .rg-head .rg-table tr:first-child td:nth-child(2),
.rg-grid .rg-header .rg-table tr:first-child td:first-child,
.rg-grid .rg-header .rg-table tr:first-child td:nth-child(2) {
background-color: #5987bf !important;
color: #ffffff !important;
}
.rg-grid .rg-header .rg-cell,
.rg-grid .rg-head .rg-cell {
background-color: #5987bf !important;
color: #ffffff !important;
}
[data-theme="black"] .rg-grid .rg-header .rg-table .rg-header-group-cell {
background-color: #3c4043 !important;
color: #ffffff !important;
}
[data-theme="black"] .rg-grid .rg-header .rg-table .rg-header-cell {
background-color: #62686d !important;
color: #ffffff !important;
}
[data-theme="black"] .rg-grid .rg-head .rg-table tr:first-child td:first-child,
[data-theme="black"] .rg-grid .rg-head .rg-table tr:first-child td:nth-child(2),
[data-theme="black"] .rg-grid .rg-header .rg-table tr:first-child td:first-child,
[data-theme="black"] .rg-grid .rg-header .rg-table tr:first-child td:nth-child(2) {
background-color: #62686d !important;
color: #ffffff !important;
}
[data-theme="black"] .rg-grid .rg-header .rg-cell,
[data-theme="black"] .rg-grid .rg-head .rg-cell {
background-color: #62686d !important;
color: #ffffff !important;
}
[data-theme="black"] .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell {
background-color: #545556 !important;
color: #ffffff !important;
}
[data-theme="black"] .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-bad {
color: #f87171 !important;
}
[data-theme="black"] .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-ok {
color: #3372cf !important;
}
[data-theme="black"] .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-reject-mini-btn {
background-color: rgb(127 29 29 / 0.42) !important;
border-color: rgb(248 113 113 / 0.5) !important;
color: #fecaca !important;
}
[data-theme="black"] .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-reject-mini-btn:hover {
background-color: rgb(153 27 27 / 0.55) !important;
border-color: rgb(252 165 165 / 0.75) !important;
color: #fee2e2 !important;
}
[data-theme="black"] .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-outline-action-btn {
background-color: rgb(71 85 105 / 0.35) !important;
border-color: rgb(148 163 184 / 0.55) !important;
color: #e2e8f0 !important;
}
[data-theme="black"] .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-outline-action-btn:hover {
background-color: rgb(71 85 105 / 0.5) !important;
border-color: rgb(203 213 225 / 0.65) !important;
color: #f8fafc !important;
}
[data-theme="red"] .rg-grid .rg-header .rg-table .rg-header-group-cell {
background-color: #646469 !important;
color: #ffffff !important;
}
[data-theme="red"] .rg-grid .rg-header .rg-table .rg-header-cell {
background-color: #8d8d94 !important;
color: #ffffff !important;
}
[data-theme="red"] .rg-grid .rg-head .rg-table tr:first-child td:first-child,
[data-theme="red"] .rg-grid .rg-head .rg-table tr:first-child td:nth-child(2),
[data-theme="red"] .rg-grid .rg-header .rg-table tr:first-child td:first-child,
[data-theme="red"] .rg-grid .rg-header .rg-table tr:first-child td:nth-child(2) {
background-color: #8d8d94 !important;
color: #ffffff !important;
}
[data-theme="red"] .rg-grid .rg-header .rg-cell,
[data-theme="red"] .rg-grid .rg-head .rg-cell {
background-color: #8d8d94 !important;
color: #ffffff !important;
}
[data-theme="green"] .rg-grid .rg-header .rg-table .rg-header-group-cell {
background-color: #518585 !important;
color: #ffffff !important;
}
[data-theme="green"] .rg-grid .rg-header .rg-table .rg-header-cell {
background-color: #6bafae !important;
color: #ffffff !important;
}
[data-theme="green"] .rg-grid .rg-head .rg-table tr:first-child td:first-child,
[data-theme="green"] .rg-grid .rg-head .rg-table tr:first-child td:nth-child(2),
[data-theme="green"] .rg-grid .rg-header .rg-table tr:first-child td:first-child,
[data-theme="green"] .rg-grid .rg-header .rg-table tr:first-child td:nth-child(2) {
background-color: #6bafae !important;
color: #ffffff !important;
}
[data-theme="green"] .rg-grid .rg-header .rg-cell,
[data-theme="green"] .rg-grid .rg-head .rg-cell {
background-color: #6bafae !important;
color: #ffffff !important;
}