diff --git a/assets/pasted-20260407-211847-03cf9cef.png b/assets/pasted-20260407-211847-03cf9cef.png new file mode 100644 index 0000000..61c9ce6 Binary files /dev/null and b/assets/pasted-20260407-211847-03cf9cef.png differ diff --git a/scitems.php b/scitems.php index 90b4be7..923b68a 100644 --- a/scitems.php +++ b/scitems.php @@ -147,6 +147,13 @@ if ($edit_id > 0) { --border-glow: rgba(162, 155, 120, 0.25); --danger: #ff4d4d; --success: #00ff88; + + /* Rarity Colors */ + --rarity-L: #ff8000; /* Legendary - Orange */ + --rarity-E: #a335ee; /* Epic - Purple */ + --rarity-R: #0070dd; /* Rare - Blue */ + --rarity-U: #1eff00; /* Uncommon - Green */ + --rarity-C: #ffffff; /* Common - White */ } @font-face { @@ -288,7 +295,7 @@ if ($edit_id > 0) { .modern-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; } .modern-table th { text-align: left; padding: 1rem; font-size: 0.8rem; text-transform: uppercase; color: var(--primary); opacity: 0.7; } - .modern-table td { padding: 1rem; background: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); } + .modern-table td { padding: 1rem; background: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; } .modern-table td:first-child { border-left: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px 0 0 8px; } .modern-table td:last-child { border-right: 1px solid rgba(255, 255, 255, 0.05); border-radius: 0 8px 8px 0; } .modern-table tr:hover td { background: rgba(162, 155, 120, 0.05); } @@ -314,9 +321,17 @@ if ($edit_id > 0) { .badge { padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.7rem; text-transform: uppercase; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); } - .item-name { color: var(--primary); font-weight: bold; display: block; } - .item-meta { font-size: 0.75rem; color: #888; } - .item-about { font-size: 0.8rem; color: #ccc; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } + .item-name { color: var(--primary); font-weight: bold; display: block; font-size: 1rem; margin-bottom: 4px; } + .item-meta { font-size: 0.75rem; color: #888; display: block; } + .item-uuid { font-size: 0.8rem; color: #aaa; font-family: monospace; word-break: break-all; } + .item-about-cell { font-size: 0.85rem; color: #ccc; line-height: 1.4; } + + /* Rarity Classes */ + .rarity-L { color: var(--rarity-L) !important; text-shadow: 0 0 10px rgba(255, 128, 0, 0.3); } + .rarity-E { color: var(--rarity-E) !important; text-shadow: 0 0 10px rgba(163, 53, 238, 0.3); } + .rarity-R { color: var(--rarity-R) !important; text-shadow: 0 0 10px rgba(0, 112, 221, 0.3); } + .rarity-U { color: var(--rarity-U) !important; text-shadow: 0 0 10px rgba(30, 255, 0, 0.3); } + .rarity-C { color: var(--rarity-C) !important; } .nav-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border-glow); padding-bottom: 1rem; } .nav-tabs a { text-decoration: none; color: #888; text-transform: uppercase; font-size: 0.9rem; transition: color 0.3s; } @@ -424,31 +439,36 @@ if ($edit_id > 0) {
| Détails | -Rareté | -Actions | +Nom | +UUID | +About | +Actions |
|---|---|---|---|---|---|---|
| Aucun objet trouvé. | ||||||
| Aucun objet trouvé. | ||||||
| - + - | - - - - N/A - + + | ++ | Editer | |||