From c3c1e02271508059042a468795feefb623b3c390 Mon Sep 17 00:00:00 2001 From: Sean O'Connor Date: Fri, 14 Feb 2025 09:51:35 -0500 Subject: [PATCH] Add SVG icons and enhance card design with visual hierarchy --- assets/style.css | 63 ++++++++++++++++----- index.html | 140 ++++++++++++++++++++++++++++++++++++----------- 2 files changed, 157 insertions(+), 46 deletions(-) diff --git a/assets/style.css b/assets/style.css index 2a26726..24fdbd3 100644 --- a/assets/style.css +++ b/assets/style.css @@ -99,7 +99,7 @@ body::after { .grid { display: grid; - gap: 1.5rem; + gap: 2rem; } .grid-cols-2 { @@ -107,7 +107,7 @@ body::after { } .space-y-6 > * + * { - margin-top: 1.5rem; + margin-top: 2rem; } @media (max-width: 768px) { @@ -131,11 +131,11 @@ body::after { flex-direction: column; gap: 0.375rem; padding: 1.5rem; + border-bottom: 1px solid hsl(var(--border)); } .card-content { padding: 1.5rem; - padding-top: 0; } .card-title { @@ -151,6 +151,18 @@ body::after { color: hsl(var(--muted-foreground)); } +/* Sub Card */ +.sub-card { + border-radius: calc(var(--radius) - 0.25rem); + border: 1px solid hsl(var(--border)); + background: hsl(var(--secondary)); + color: hsl(var(--secondary-foreground)); +} + +.sub-card-content { + padding: 1rem; +} + /* Header Card */ .header-card { margin-bottom: 1.5rem; @@ -160,6 +172,7 @@ body::after { flex-direction: row; align-items: center; gap: 1rem; + border-bottom: none; } .header-card img { @@ -192,7 +205,7 @@ body::after { .stat-item { display: flex; flex-direction: column; - gap: 0.5rem; + gap: 0.75rem; padding: 1rem; background: hsl(var(--secondary)); border-radius: var(--radius); @@ -222,19 +235,32 @@ body::after { gap: 1rem; } -.info-title { - font-size: 0.875rem; - font-weight: 600; - color: hsl(var(--card-foreground)); +.info-section-header { + display: flex; + align-items: center; + gap: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid hsl(var(--border)); } +.info-title { + font-size: 0.875rem; + font-weight: 600; + color: hsl(var(--card-foreground)); + line-height: 1; +} + .info-item { display: grid; gap: 0.5rem; } +.info-header { + display: flex; + align-items: center; + gap: 0.5rem; +} + .info-label { font-size: 0.875rem; color: hsl(var(--muted-foreground)); @@ -255,6 +281,14 @@ body::after { text-decoration: underline; } +/* Icons */ +.icon { + width: 1rem; + height: 1rem; + color: hsl(var(--muted-foreground)); + flex-shrink: 0; +} + /* Badge List */ .badge-list { display: flex; @@ -278,8 +312,9 @@ body::after { } .badge.secondary { - background: hsl(var(--secondary)); - color: hsl(var(--secondary-foreground)); + background: hsl(var(--card)); + color: hsl(var(--card-foreground)); + border: 1px solid hsl(var(--border)); } .tag { @@ -290,17 +325,19 @@ body::after { border-radius: 9999px; font-size: 0.875rem; line-height: 1; - background: hsl(var(--secondary)); - color: hsl(var(--secondary-foreground)); + background: hsl(var(--card)); + color: hsl(var(--card-foreground)); + border: 1px solid hsl(var(--border)); } /* Code */ code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; - background: hsl(var(--secondary)); + background: hsl(var(--card)); padding: 0.25rem 0.5rem; border-radius: calc(var(--radius) - 0.25rem); font-size: 0.875rem; + border: 1px solid hsl(var(--border)); } /* Utilities */ diff --git a/index.html b/index.html index 80e9f3b..e64f9e4 100644 --- a/index.html +++ b/index.html @@ -32,6 +32,10 @@
+ + + + Available Plugins
@@ -49,17 +53,39 @@
-
- Name - -
- -
@@ -73,26 +99,71 @@
-
-

HRIStudio

-
- Min Version - -
- -
-
-
+
+
+
+
+
@@ -199,5 +274,4 @@ loadRepositoryData(); - \ No newline at end of file