diff --git a/frontend/css/style.css b/frontend/css/style.css index 17e2d78..6d6e4dc 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -748,11 +748,13 @@ td { cursor: pointer; position: relative; vertical-align: middle; - height: inherit; /* Ensure td takes full height of tr */ + height: inherit; + /* Ensure td takes full height of tr */ } #customerTable td { - display: table-cell; /* Force correct display mode */ + display: table-cell; + /* Force correct display mode */ } tr:hover td { @@ -1546,6 +1548,38 @@ td.overflow-cell { font-size: 0.75rem; } +.product-badge { + display: inline-flex; + align-items: center; + padding: 2px 10px; + border-radius: 4px; + font-size: 0.8rem; + font-weight: 500; + background-color: #e6f7ed; + color: #23a059; + border: 1px solid #b7ebc6; + margin: 2px; + line-height: 1.6; +} + +.product-badge-blue { + background-color: #e6f7ff; + color: #1890ff; + border-color: #91d5ff; +} + +.product-badge-purple { + background-color: #f9f0ff; + color: #722ed1; + border-color: #d3adf7; +} + +.product-badge-orange { + background-color: #fff7e6; + color: #fa8c16; + border-color: #ffd591; +} + .status-active { background-color: #d4edda; color: #155724; @@ -2872,11 +2906,21 @@ tr:hover .action-cell { } @keyframes fadeIn { - from { opacity: 0; } - to { opacity: 1; } + from { + opacity: 0; + } + + to { + opacity: 1; + } } @keyframes zoomIn { - from { transform: scale(0.9); } - to { transform: scale(1); } + from { + transform: scale(0.9); + } + + to { + transform: scale(1); + } } \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html index dd6dcef..3ebe1fe 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -317,8 +317,8 @@