diff --git a/WebContent/dashboard-modern/css/components.css b/WebContent/dashboard-modern/css/components.css index 4bbc33f8..90eb7588 100644 --- a/WebContent/dashboard-modern/css/components.css +++ b/WebContent/dashboard-modern/css/components.css @@ -1,6 +1,6 @@ -/* components.css - 공통 ì»´í�¬ë„ŒíЏ 스타ì�¼ ì •ì�˜ */ +/* components.css - °øÅë ÄÄÆ÷³ÍÆ® ½ºÅ¸ÀÏ Á¤ÀÇ */ -/* 카드 ì»´í�¬ë„ŒíЏ */ +/* Ä«µå ÄÄÆ÷³ÍÆ® */ .card { background-color: white; border-radius: var(--rounded-md); @@ -51,7 +51,7 @@ height: 100%; } -/* 버튼 ì»´í�¬ë„ŒíЏ */ +/* ¹öư ÄÄÆ÷³ÍÆ® */ .btn { display: inline-flex; align-items: center; @@ -129,7 +129,7 @@ color: white; } -/* í•„í„° ë°� 탭 ì»´í�¬ë„ŒíЏ */ +/* ÇÊÅÍ ¹× ÅÇ ÄÄÆ÷³ÍÆ® */ .filter-group { display: flex; gap: 0.5rem; @@ -223,7 +223,7 @@ display: block; } -/* ìƒ�태 표시 ì»´í�¬ë„ŒíЏ */ +/* »óÅ ǥ½Ã ÄÄÆ÷³ÍÆ® */ .server-status-badge, .status-badge { display: inline-flex; @@ -258,7 +258,7 @@ margin-right: 0.25rem; } -/* ìƒ�태 ì�¸ë””ì¼€ì�´í„° */ +/* »óÅ ÀεðÄÉÀÌÅÍ */ .instance-status { display: inline-block; width: 0.625rem; @@ -283,7 +283,7 @@ background-color: var(--color-gray-400); } -/* í…Œì�´ë¸” ì»´í�¬ë„ŒíЏ */ +/* Å×À̺í ÄÄÆ÷³ÍÆ® */ .instance-table, .transaction-table, .adapter-table { @@ -335,14 +335,14 @@ color: var(--color-gray-800); } -/* 검색 ì»´í�¬ë„ŒíЏ */ +/* °Ë»ö ÄÄÆ÷³ÍÆ® */ .search-container { position: relative; width: 100%; max-width: 300px; } -/* 검색 ì»´í�¬ë„ŒíЏ */ +/* °Ë»ö ÄÄÆ÷³ÍÆ® */ .search-container { position: relative; width: 250px; @@ -371,7 +371,7 @@ box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2); } -/* 차트 컨테ì�´ë„ˆ */ +/* Â÷Æ® ÄÁÅ×ÀÌ³Ê */ .chart-container { height: 184px; width: 100%; @@ -391,7 +391,7 @@ font-weight: 500; } -/* 로딩 애니메ì�´ì…˜ */ +/* ·Îµù ¾Ö´Ï¸ÞÀÌ¼Ç */ .loading { position: relative; } @@ -427,7 +427,7 @@ z-index: 11; } -/* 메트릭 ì»´í�¬ë„ŒíЏ */ +/* ¸ÞÆ®¸¯ ÄÄÆ÷³ÍÆ® */ .metric-group { display: flex; align-items: center; @@ -483,7 +483,7 @@ text-decoration: underline; } -/* 토글 버튼 */ +/* Åä±Û ¹öư */ .toggle-details { background: none; border: none; @@ -507,7 +507,7 @@ transform: rotate(180deg); } -/* í…Œì�´ë¸” ì»´í�¬ë„ŒíЏ */ +/* Å×À̺í ÄÄÆ÷³ÍÆ® */ .table-container { overflow-x: auto; margin-bottom: 0.75rem; @@ -540,7 +540,7 @@ table tr:hover td { background-color: var(--color-gray-50); } -/* 알림 ì»´í�¬ë„ŒíЏ */ +/* ¾Ë¸² ÄÄÆ÷³ÍÆ® */ .alert { padding: 0.75rem; border-radius: var(--rounded); @@ -589,7 +589,7 @@ table tr:hover td { color: var(--color-danger-dark); } -/* 로딩 스피너 */ +/* ·Îµù ½ºÇÇ³Ê */ .spinner { display: inline-block; width: 1.5rem; @@ -606,7 +606,7 @@ table tr:hover td { } } -/* 페ì�´ì§€ë„¤ì�´ì…˜ */ +/* ÆäÀÌÁö³×ÀÌ¼Ç */ .pagination { display: flex; justify-content: center; @@ -644,7 +644,7 @@ table tr:hover td { pointer-events: none; } -/* 툴íŒ� */ +/* ÅøÆÁ */ .tooltip { position: relative; display: inline-block; @@ -685,7 +685,7 @@ table tr:hover td { opacity: 1; } -/* 애니메ì�´ì…˜ */ +/* ¾Ö´Ï¸ÞÀÌ¼Ç */ @keyframes pulse { 0% { opacity: 1; @@ -698,12 +698,12 @@ table tr:hover td { } } -/* 새로고침 버튼 애니메ì�´ì…˜ */ +/* »õ·Î°íħ ¹öư ¾Ö´Ï¸ÞÀÌ¼Ç */ .refresh-btn-spin { animation: spin 1s linear infinite; } -/* 컴팩트 모드 추가 스타ì�¼ */ +/* ÄÄÆÑÆ® ¸ðµå Ãß°¡ ½ºÅ¸ÀÏ */ .compact-mode .card { padding: 0.5rem; } @@ -728,7 +728,7 @@ table tr:hover td { padding-bottom: 0.4rem; } -/* peak í•„í„° 스타ì�¼ */ +/* peak ÇÊÅÍ ½ºÅ¸ÀÏ */ .peak-filter-group { display: flex; gap: 0.5rem; diff --git a/WebContent/dashboard-modern/css/layout.css b/WebContent/dashboard-modern/css/layout.css index 7a4f9e05..7f92d7e3 100644 --- a/WebContent/dashboard-modern/css/layout.css +++ b/WebContent/dashboard-modern/css/layout.css @@ -1,9 +1,9 @@ -/* layout.css - ë ˆì�´ì•„웃 ë°� 구조 스타ì�¼ */ +/* layout.css - ·¹À̾ƿô ¹× ±¸Á¶ ½ºÅ¸ÀÏ */ -/* 대시보드 ë©”ì�¸ 그리드 ë ˆì�´ì•„웃 */ +/* ´ë½Ãº¸µå ¸ÞÀÎ ±×¸®µå ·¹À̾ƿô */ .dashboard-grid { display: grid; - grid-template-columns: 2fr 1fr; /* ë©”ì�¸ 콘í…�츠(2/3), 사ì�´ë“œë°”(1/3) 비율 */ + grid-template-columns: 2fr 1fr; /* ¸ÞÀÎ ÄÜÅÙÃ÷(2/3), »çÀ̵å¹Ù(1/3) ºñÀ² */ gap: 1.5rem; margin-bottom: 1rem; } @@ -19,7 +19,7 @@ gap: 1.5rem; } -/* 기본 그리드 ë ˆì�´ì•„웃 */ +/* ±âº» ±×¸®µå ·¹À̾ƿô */ .dashboard-row { display: grid; grid-template-columns: 1fr 1fr; @@ -27,14 +27,14 @@ margin-bottom: 0.2rem; } -/* 특별한 그리드 ë ˆì�´ì•„웃 - 배치/피í�¬ 섹션용 */ +/* Ưº°ÇÑ ±×¸®µå ·¹À̾ƿô - ¹èÄ¡/ÇÇÅ© ¼½¼Ç¿ë */ .dashboard-row.batch-peak-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } -/* 특별한 그리드 ë ˆì�´ì•„웃 - 배치/피í�¬ 섹션용ì—�서 중첩 ë°©ì§€ */ +/* Ưº°ÇÑ ±×¸®µå ·¹À̾ƿô - ¹èÄ¡/ÇÇÅ© ¼½¼Ç¿ë¿¡¼­ Áßø ¹æÁö */ .dashboard-row.batch-peak-row > .dashboard-batch, .dashboard-row.batch-peak-row > .dashboard-peak, .dashboard-row.batch-peak-row > .batch-container, @@ -43,23 +43,23 @@ margin-bottom: 0; } -/* 요약 섹션 (1:2 비율) */ +/* ¿ä¾à ¼½¼Ç (1:2 ºñÀ²) */ .dashboard-transactions { - margin-bottom: 0; /* 사ì�´ë“œë°” ë‚´ì—�서 하단 마진 제거 */ + margin-bottom: 0; /* »çÀ̵å¹Ù ³»¿¡¼­ ÇÏ´Ü ¸¶Áø Á¦°Å */ } -/* 어댑터 섹션 */ +/* ¾î´ðÅÍ ¼½¼Ç */ .dashboard-adapters { - margin-bottom: 0; /* 사ì�´ë“œë°” ë‚´ì—�서 하단 마진 제거 */ + margin-bottom: 0; /* »çÀ̵å¹Ù ³»¿¡¼­ ÇÏ´Ü ¸¶Áø Á¦°Å */ } -/* 트랜잭션 섹션 */ +/* Æ®·£Àè¼Ç ¼½¼Ç */ .dashboard-transactions { - margin-bottom: 0; /* 사ì�´ë“œë°” ë‚´ì—�서 하단 마진 제거 */ + margin-bottom: 0; /* »çÀ̵å¹Ù ³»¿¡¼­ ÇÏ´Ü ¸¶Áø Á¦°Å */ } -/* í—¤ë�” */ +/* Çì´õ */ header { background-color: white; padding: 0.8rem 1.5rem; @@ -104,7 +104,7 @@ header { color: var(--color-gray-700); } -/* ìž�ë�™ 새로고침 컨트롤 */ +/* ÀÚµ¿ »õ·Î°íħ ÄÁÆ®·Ñ */ .refresh-controls { display: flex; align-items: center; @@ -134,7 +134,7 @@ header { background-color: var(--color-gray-400); } -/* 푸터 */ +/* ǪÅÍ */ footer { margin-top: 1.5rem; padding: 1rem 1.5rem 0.5rem 1.5rem; @@ -169,7 +169,7 @@ footer { text-decoration: underline; } -/* 서버-트랜잭션 í–‰ (한 줄ì—� 나오ë�„ë¡�) */ +/* ¼­¹ö-Æ®·£Àè¼Ç Çà (ÇÑ ÁÙ¿¡ ³ª¿Àµµ·Ï) */ .dashboard-row.server-transaction-row { display: grid; grid-template-columns: 1fr 1fr; @@ -180,28 +180,28 @@ footer { width: 100%; } -/* 어댑터 섹션 컨테ì�´ë„ˆ */ +/* ¾î´ðÅÍ ¼½¼Ç ÄÁÅ×ÀÌ³Ê */ .dashboard-adapters-container { width: 100%; margin-bottom: 1rem; } -/* 기존 대시보드 그리드 스타ì�¼ì�€ 비활성화 */ +/* ±âÁ¸ ´ë½Ãº¸µå ±×¸®µå ½ºÅ¸ÀÏÀº ºñȰ¼ºÈ­ */ .dashboard-grid { display: none; } -/* ë°˜ì�‘형 ë””ìž�ì�¸ */ +/* ¹ÝÀÀÇü µðÀÚÀÎ */ @media (max-width: 1200px) { .dashboard-row.server-transaction-row { grid-template-columns: 1fr; } } -/* ë°˜ì�‘형 ë””ìž�ì�¸ */ +/* ¹ÝÀÀÇü µðÀÚÀÎ */ @media (max-width: 1200px) { .dashboard-grid { - grid-template-columns: 1fr; /* ì¢�ì�€ 화면ì—�서는 세로로 배치 */ + grid-template-columns: 1fr; /* Á¼Àº È­¸é¿¡¼­´Â ¼¼·Î·Î ¹èÄ¡ */ } .dashboard-summary { diff --git a/WebContent/dashboard-modern/css/main.css b/WebContent/dashboard-modern/css/main.css index d9e97395..5fbbb897 100644 --- a/WebContent/dashboard-modern/css/main.css +++ b/WebContent/dashboard-modern/css/main.css @@ -1,16 +1,16 @@ -/* main.css - ë©”ì�¸ CSS 파ì�¼ë¡œ 모든 모듈ì�„ 가져옵니다 */ +/* main.css - ¸ÞÀÎ CSS ÆÄÀÏ·Î ¸ðµç ¸ðµâÀ» °¡Á®¿É´Ï´Ù */ -/* 기본 변수 ë°� 리셋 */ +/* ±âº» º¯¼ö ¹× ¸®¼Â */ @import 'variables.css'; -/* 공통 ì»´í�¬ë„ŒíЏ */ +/* °øÅë ÄÄÆ÷³ÍÆ® */ @import 'components.css'; -/* ë ˆì�´ì•„웃 ë°� 구조 */ +/* ·¹À̾ƿô ¹× ±¸Á¶ */ @import 'layout.css'; -/* 대시보드 섹션별 스타ì�¼ */ +/* ´ë½Ãº¸µå ¼½¼Çº° ½ºÅ¸ÀÏ */ @import 'sections.css'; -/* 유틸리티 ë°� ë°˜ì�‘형 */ +/* À¯Æ¿¸®Æ¼ ¹× ¹ÝÀÀÇü */ @import 'utils.css'; \ No newline at end of file diff --git a/WebContent/dashboard-modern/css/sections.css b/WebContent/dashboard-modern/css/sections.css index 97976b1c..6fda2af6 100644 --- a/WebContent/dashboard-modern/css/sections.css +++ b/WebContent/dashboard-modern/css/sections.css @@ -1,6 +1,6 @@ -/* sections.css - 대시보드 섹션별 스타ì�¼ */ +/* sections.css - ´ë½Ãº¸µå ¼½¼Çº° ½ºÅ¸ÀÏ */ -/* 공통 섹션 스타ì�¼ */ +/* °øÅë ¼½¼Ç ½ºÅ¸ÀÏ */ .dashboard-servers, .dashboard-transactions, .dashboard-adapters, @@ -19,34 +19,34 @@ border-bottom: 1px solid var(--color-gray-200); } -/* 대시보드 í—¤ë�” 스타ì�¼ - 서버 JSP로 ì�´ë�™ë�¨ */ +/* ´ë½Ãº¸µå Çì´õ ½ºÅ¸ÀÏ - ¼­¹ö JSP·Î À̵¿µÊ */ -/* 서버 ìƒ�태 섹션 - 서버 JSP로 ì�´ë�™ë�¨ */ +/* ¼­¹ö »óÅ ¼½¼Ç - ¼­¹ö JSP·Î À̵¿µÊ */ -/* 스파í�¬ë�¼ì�¸ 스타ì�¼ - 서버 JSP로 ì�´ë�™ë�¨ */ +/* ½ºÆÄÅ©¶óÀÎ ½ºÅ¸ÀÏ - ¼­¹ö JSP·Î À̵¿µÊ */ -/* 요약 섹션 - 서버 JSP로 ì�´ë�™ë�¨ */ +/* ¿ä¾à ¼½¼Ç - ¼­¹ö JSP·Î À̵¿µÊ */ -/* 카드 ë‚´ë¶€ 여백 줄임 */ +/* Ä«µå ³»ºÎ ¿©¹é ÁÙÀÓ */ .card { padding: 0.6rem; } -/* 카드 í—¤ë�” 여백 줄임 */ +/* Ä«µå Çì´õ ¿©¹é ÁÙÀÓ */ .card-header { margin-bottom: 0.5rem; padding-bottom: 0.4rem; } -/* í…Œì�´ë¸” 여백 줄임 */ +/* Å×ÀÌºí ¿©¹é ÁÙÀÓ */ table th, table td { padding: 0.3rem 0.4rem; } -/* 트랜잭션 현황 섹션 스타ì�¼ ì¡°ì • */ +/* Æ®·£Àè¼Ç ÇöȲ ¼½¼Ç ½ºÅ¸ÀÏ Á¶Á¤ */ .transaction-overview-container .card { - height: 100%; + height: 285px; /* °­Á¦·Î ¿· Ä«µå¿Í ³ôÀÌ ¸ÂÃã */ } -/* SMS 섹션 스타ì�¼ - 개별 JSP 파ì�¼ë¡œ ì�´ë�™ë�¨ */ +/* SMS ¼½¼Ç ½ºÅ¸ÀÏ - °³º° JSP ÆÄÀÏ·Î À̵¿µÊ */ \ No newline at end of file diff --git a/WebContent/dashboard-modern/css/utils.css b/WebContent/dashboard-modern/css/utils.css index 22fecd14..0b36d632 100644 --- a/WebContent/dashboard-modern/css/utils.css +++ b/WebContent/dashboard-modern/css/utils.css @@ -1,6 +1,6 @@ -/* utils.css - 유틸리티 í�´ëž˜ìФ ë°� ë°˜ì�‘형 ë””ìž�ì�¸ */ +/* utils.css - À¯Æ¿¸®Æ¼ Ŭ·¡½º ¹× ¹ÝÀÀÇü µðÀÚÀÎ */ -/* í…�스트 ì •ë ¬ */ +/* ÅØ½ºÆ® Á¤·Ä */ .text-left { text-align: left; } @@ -13,7 +13,7 @@ text-align: right; } -/* ë°˜ì�‘형 ë””ìž�ì�¸ */ +/* ¹ÝÀÀÇü µðÀÚÀÎ */ @media (max-width: 1200px) { .dashboard-row { grid-template-columns: 1fr; diff --git a/WebContent/dashboard-modern/css/variables.css b/WebContent/dashboard-modern/css/variables.css index 0a898880..9321840d 100644 --- a/WebContent/dashboard-modern/css/variables.css +++ b/WebContent/dashboard-modern/css/variables.css @@ -1,8 +1,8 @@ -/* variables.css - 모든 CSS 변수와 기본 리셋 스타ì�¼ ì •ì�˜ */ +/* variables.css - ¸ðµç CSS º¯¼ö¿Í ±âº» ¸®¼Â ½ºÅ¸ÀÏ Á¤ÀÇ */ -/* 변수 ì •ì�˜ */ +/* º¯¼ö Á¤ÀÇ */ :root { - /* 기본 색ìƒ� */ + /* ±âº» »ö»ó */ --color-primary: #4f46e5; --color-primary-light: #eef2ff; --color-success: #22c55e; @@ -12,7 +12,7 @@ --color-danger: #ef4444; --color-danger-light: #fee2e2; - /* ë°°ê²½ ë°� í…�스트 색ìƒ� */ + /* ¹è°æ ¹× ÅØ½ºÆ® »ö»ó */ --color-gray-50: #f9fafb; --color-gray-100: #f3f4f6; --color-gray-200: #e5e7eb; @@ -24,7 +24,7 @@ --color-gray-800: #1f2937; --color-gray-900: #111827; - /* í…Œë‘�리 ë°� 그림ìž� */ + /* Å׵θ® ¹× ±×¸²ÀÚ */ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); @@ -35,7 +35,7 @@ --rounded-full: 9999px; } -/* 기본 리셋 ë°� 공통 스타ì�¼ */ +/* ±âº» ¸®¼Â ¹× °øÅë ½ºÅ¸ÀÏ */ * { margin: 0; padding: 0; @@ -72,7 +72,7 @@ p { margin: 0 auto; } -/* 애니메ì�´ì…˜ */ +/* ¾Ö´Ï¸ÞÀÌ¼Ç */ @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } diff --git a/WebContent/jsp/dashboard-modern/components/dashboard-adapter.jsp b/WebContent/jsp/dashboard-modern/components/dashboard-adapter.jsp index 7f7f86f7..bc3761d5 100644 --- a/WebContent/jsp/dashboard-modern/components/dashboard-adapter.jsp +++ b/WebContent/jsp/dashboard-modern/components/dashboard-adapter.jsp @@ -105,7 +105,7 @@ /* 어댑터 섹션 스타ì�¼ ì¡°ì • */ .adapters-container .card { height: 100%; - min-height: 249px; + min-height: 293px; } .dashboard-adapter-summary { @@ -115,10 +115,15 @@ .adapter-summary-card { padding: 0; overflow: hidden; + display: flex; + flex-direction: column; } .adapter-summary-container { padding: 0.5rem 1rem; + flex-grow: 1; + display: flex; + flex-direction: column; } .adapter-summary-header { @@ -130,8 +135,10 @@ } .adapter-summary-body { - max-height: 300px; - overflow-y: auto; + flex-grow: 1; + display: flex; + flex-direction: column; + justify-content: space-around; /* ë‚´ìš©ì�„ 수ì§�으로 균등 ë°°ë¶„ */ } .adapter-summary-row { diff --git a/WebContent/jsp/dashboard-modern/components/dashboard-servers.jsp b/WebContent/jsp/dashboard-modern/components/dashboard-servers.jsp index 7edb4710..f7d704ee 100644 --- a/WebContent/jsp/dashboard-modern/components/dashboard-servers.jsp +++ b/WebContent/jsp/dashboard-modern/components/dashboard-servers.jsp @@ -481,10 +481,10 @@ border-top: 2px solid #fd7e14; } - /* 서버 그리드 - 한 줄ì—� 3개씩 표시 */ + /* 서버 그리드 - 한 줄ì—� 2개씩 표시 */ .server-grid { display: grid; - grid-template-columns: repeat(3, 1fr); + grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } @@ -521,83 +521,130 @@ /* 메트릭 스타ì�¼ ì¡°ì • */ .server-metrics { - padding: 0.3rem 0; + padding: 0.5rem 0; display: flex; flex-direction: column; gap: 0.0rem; + border-top: 1px solid var(--color-gray-200); + border-bottom: 1px solid var(--color-gray-200); } - .metrics-row { + .metrics-row, + .sparklines-row { display: flex; - justify-content: space-between; - gap: 0.5rem; + justify-content: space-around; + gap: 0; } .sparklines-row { - display: flex; - justify-content: space-between; - gap: 0.5rem; + padding-top: 0.5rem; } .server-metric { flex: 1; min-width: 0; /* 오버플로우 ë°©ì§€ */ + text-align: center; + padding: 0 0.5rem; + border-right: 1px solid var(--color-gray-200); + } + + .server-metric:last-child { + border-right: none; } .metric-header { margin-bottom: 0.2rem; display: flex; - justify-content: flex-start; - align-items: center; + flex-direction: column; /* ì•„ì�´ì½˜ê³¼ ê°’ì�„ 수ì§�으로 ì •ë ¬ */ + justify-content: center; /* 수ì§� 중앙 ì •ë ¬ */ + align-items: center; /* 수í�‰ 중앙 ì •ë ¬ */ white-space: nowrap; overflow: hidden; } .sparkline { flex: 1; - min-width: 0; /* 오버플로우 ë°©ì§€ */ + min-width: 0; + padding: 0.25rem 0.5rem; + border-right: 1px solid var(--color-gray-200); + } + + .sparkline:last-child { + border-right: none; } .metric-name { display: flex; align-items: center; + margin-bottom: 0.2rem; /* ì•„ì�´ì½˜ê³¼ ê°’ 사ì�´ 간격 ì¡°ì • */ } .metric-value { - margin-left: 0.5rem; + margin-left: 0; /* ì�´ì „ margin-left 제거 */ + font-size: 1.1rem; /* ê°’ í�°íЏ í�¬ê¸° 약간 키움 */ + font-weight: 600; /* ê°’ í�°íЏ 굵기 */ } /* ì�¸ìŠ¤í„´ìŠ¤ í…Œì�´ë¸” 스타ì�¼ */ .server-instances { - padding: 0.3rem 0; + padding: 0.5rem 0.5rem 0.5rem 0.5rem; /* 패딩 ì¡°ì • */ max-height: 120px; } .instance-table { - font-size: 0.8rem; + width: 100%; /* í…Œì�´ë¸” ì „ì²´ 너비 */ + font-size: 0.85rem; /* í�°íЏ í�¬ê¸° 약간 키움 */ + border-collapse: collapse; + table-layout: fixed; + } + + .instance-table th { + background-color: var(--color-gray-100); /* í—¤ë�” 배경색 */ + font-weight: 600; /* í—¤ë�” í�°íЏ 굵기 */ + padding: 0.4rem 0.5rem; /* í—¤ë�” 패딩 ì¡°ì • */ + border-bottom: 1px solid var(--color-gray-200); /* í—¤ë�” 아래 ë³´ë�” */ + text-align: center; /* 모든 í—¤ë�” 가운ë�° ì •ë ¬ */ + + width: 33.3333%; /* ì�¸ìŠ¤í„´ìŠ¤ th ê°� ì˜�ì—­ 균등하게, 위쪽 요소와 맞춤 */ + box-sizing: border-box; } - .instance-table th, .instance-table td { - padding: 0.2rem 0.3rem; + padding: 0.4rem 0.5rem; /* ì…€ 패딩 ì¡°ì • */ white-space: nowrap; + border-bottom: 1px solid var(--color-gray-100); /* ì…€ 아래 ë³´ë�” */ + vertical-align: middle; + text-align: center; /* 모든 ì…€ ë‚´ìš© 가운ë�° ì •ë ¬ */ + white-space: nowrap; /* 줄바꿈 ë°©ì§€ */ + overflow: hidden; /* 칸ì�„ 넘어가는 글ìž� 숨김 */ + text-overflow: ellipsis; /* 넘어가는 글ìž�를 ...으로 표시 */ + } + + .instance-table tbody tr:nth-child(odd) { + background-color: var(--color-gray-50); /* 홀수 í–‰ 배경색 */ + } + + .instance-table tbody tr:hover { + background-color: var(--color-gray-100); /* 호버 효과 */ } /* ì�¸ìŠ¤í„´ìŠ¤ ìƒ�태 ì � 스타ì�¼ */ .instance-status { display: inline-block; - width: 8px; - height: 8px; + width: 10px; /* í�¬ê¸° 키움 */ + height: 10px; /* í�¬ê¸° 키움 */ border-radius: 50%; - margin-right: 4px; + margin-right: 6px; /* 간격 ì¡°ì • */ + vertical-align: middle; /* í…�스트와 세로 ì •ë ¬ */ } - /* 오류 ìƒ�태ì�¼ 때 ì�¸ìŠ¤í„´ìŠ¤ ID 색ìƒ� 변경 */ + /* 오류 ìƒ�태ì�¼ 때 ì�¸ìŠ¤í„´ìŠ¤ ID 색ìƒ� 변경 - :has()는 구형 브ë�¼ìš°ì €ì—�서 문제를 ì�¼ìœ¼í‚¬ 수 있어 주ì„� 처리 tr:has(.status-error) .instance-id, tr:has(.status-inactive) .instance-id { color: #dc3545; font-weight: 600; } + */