Amélioration ; ajout de photo de console et ajout de checkbox physique, demat ou ROM
This commit is contained in:
1 parent
df11d023f0
commit
3235bc50c7
22 files changed
+710
-62
No files matched your search
+150
-3
@@ -378,6 +378,79 @@ a:hover
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.game-card-badges
|
||||
{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.badge-format
|
||||
{
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.15rem 0.55rem;
|
||||
border-radius: 999px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.03em;
|
||||
border: 1px solid var(--line);
|
||||
color: var(--text);
|
||||
background: rgba(0, 229, 255, 0.08);
|
||||
}
|
||||
|
||||
.format-physique
|
||||
{
|
||||
border-color: rgba(124, 255, 107, 0.45);
|
||||
color: var(--accent-hot);
|
||||
}
|
||||
|
||||
.format-dematerialise
|
||||
{
|
||||
border-color: rgba(0, 229, 255, 0.45);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.format-rom
|
||||
{
|
||||
border-color: rgba(255, 200, 87, 0.45);
|
||||
color: var(--warning);
|
||||
}
|
||||
|
||||
.format-checks
|
||||
{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.format-check
|
||||
{
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
padding: 0.55rem 0.85rem;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
background: rgba(4, 12, 22, 0.55);
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.format-check:has(input:checked)
|
||||
{
|
||||
border-color: rgba(0, 229, 255, 0.55);
|
||||
box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2);
|
||||
}
|
||||
|
||||
.format-check input
|
||||
{
|
||||
accent-color: var(--accent);
|
||||
width: 1.05rem;
|
||||
height: 1.05rem;
|
||||
}
|
||||
|
||||
.etat-possede
|
||||
{
|
||||
color: #041018;
|
||||
@@ -441,6 +514,77 @@ a:hover
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.console-photo
|
||||
{
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 10;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--line);
|
||||
margin-bottom: 0.85rem;
|
||||
background: var(--bg-elevated);
|
||||
}
|
||||
|
||||
.console-photo img,
|
||||
.console-photo-preview img,
|
||||
.console-cover img
|
||||
{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.console-photo-preview,
|
||||
.console-cover
|
||||
{
|
||||
border-radius: var(--radius);
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--line);
|
||||
box-shadow: var(--shadow);
|
||||
background: var(--bg-elevated);
|
||||
aspect-ratio: 16 / 10;
|
||||
}
|
||||
|
||||
.console-detail-hero
|
||||
{
|
||||
grid-template-columns: minmax(220px, 340px) 1fr;
|
||||
}
|
||||
|
||||
.photo-upload-bar
|
||||
{
|
||||
padding: 1rem;
|
||||
border: 1px dashed var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: rgba(4, 12, 22, 0.45);
|
||||
}
|
||||
|
||||
.photo-upload-bar .form-label
|
||||
{
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.photo-upload-row
|
||||
{
|
||||
display: flex;
|
||||
gap: 0.65rem;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.photo-upload-row .form-control
|
||||
{
|
||||
flex: 1 1 220px;
|
||||
}
|
||||
|
||||
.photo-upload-row .btn
|
||||
{
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.console-card h2
|
||||
{
|
||||
font-size: 1.25rem;
|
||||
@@ -760,15 +904,18 @@ a:hover
|
||||
{
|
||||
.auth-shell,
|
||||
.detail-hero,
|
||||
.detail-grid
|
||||
.detail-grid,
|
||||
.console-detail-hero
|
||||
{
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.detail-cover,
|
||||
.cover-preview
|
||||
.cover-preview,
|
||||
.console-cover,
|
||||
.console-photo-preview
|
||||
{
|
||||
max-width: 220px;
|
||||
max-width: 340px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="320" viewBox="0 0 480 320" role="img" aria-label="Photo de console manquante">
|
||||
<defs>
|
||||
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stop-color="#122338"/>
|
||||
<stop offset="100%" stop-color="#07101c"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="480" height="320" fill="url(#bg)"/>
|
||||
<rect x="18" y="18" width="444" height="284" rx="12" fill="none" stroke="#00e5ff" stroke-opacity="0.35" stroke-width="2"/>
|
||||
<rect x="160" y="110" width="160" height="90" rx="14" fill="none" stroke="#7cff6b" stroke-opacity="0.6" stroke-width="3"/>
|
||||
<circle cx="190" cy="155" r="10" fill="#00e5ff" fill-opacity="0.7"/>
|
||||
<circle cx="290" cy="155" r="10" fill="#00e5ff" fill-opacity="0.7"/>
|
||||
<text x="240" y="250" text-anchor="middle" fill="#8aa0b8" font-family="Arial, sans-serif" font-size="18">Pas de photo</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 910 B |