From ca6a6d6621afbd1cafc222043761d0a224dac8c3 Mon Sep 17 00:00:00 2001 From: letieu Date: Tue, 9 Dec 2025 01:22:07 +0700 Subject: [PATCH] update showcase, effect --- index.css | 30 ++++++++++++++++--- index.html | 81 +++++++++++++++++++++++++++++---------------------- showcase.html | 18 ++++++++---- 3 files changed, 84 insertions(+), 45 deletions(-) diff --git a/index.css b/index.css index 36dbe13..dc966e0 100644 --- a/index.css +++ b/index.css @@ -52,7 +52,12 @@ body { color: var(--terminal-black); } -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { margin: 0; font-weight: bold; line-height: 1.2; @@ -841,18 +846,34 @@ ol.content li::before { background: var(--primary); } +.progress.is-primary::-moz-progress-bar { + background: var(--primary); +} + .progress.is-danger::-webkit-progress-value { background: var(--danger); } +.progress.is-danger::-moz-progress-bar { + background: var(--danger); +} + .progress.is-success::-webkit-progress-value { background: var(--success); } +.progress.is-success::-moz-progress-bar { + background: var(--success); +} + .progress.is-warning::-webkit-progress-value { background: var(--warning); } +.progress.is-warning::-moz-progress-bar { + background: var(--warning); +} + /* Progress bar alternative (for divs) */ .progress-bar { height: 100%; @@ -1175,10 +1196,12 @@ ol.content li::before { } @keyframes cursor-blink { - 0%, 50% { + 0%, + 50% { opacity: 1; } - 51%, 100% { + 51%, + 100% { opacity: 0; } } @@ -1198,4 +1221,3 @@ kbd { padding: 2px 6px; white-space: nowrap; } - diff --git a/index.html b/index.html index 20f7d9f..1b37e22 100644 --- a/index.html +++ b/index.html @@ -25,9 +25,7 @@
dev@localhost:~/
-
- v0.0.1 -
+
v0.0.1
@@ -87,37 +85,27 @@ Monitoring and analytics for your terminal

-
-

Title with Colors

+

Colors

-

Primary Title

-

Danger Title

-

Success Title

-

Warning Title

-

Info Title

-

Muted Title

+

Primary Title

+

Danger Title

+

Success Title

+

Warning Title

+

Info Title

+

Muted Title

- +
-

Subtitle with Colors

-
-

- Primary description text -

-

- Danger description text -

-

- Success description text -

-

- Warning description text -

-

Info description text

+

Effects

+
+

Terminal glow effect

+

Blinking cursor

+
+

Divider separator

@@ -551,21 +539,44 @@ Download Progress 75%
-
-
-
+
CPU Usage 88%
-
-
+ +
+
+
+ Upload + 100%
+ +
+
+
+ Disk Usage + 30% +
+
diff --git a/showcase.html b/showcase.html index 7697dc4..70c391b 100644 --- a/showcase.html +++ b/showcase.html @@ -74,8 +74,8 @@ - - + + @@ -85,9 +85,11 @@
v0.0.1 Active + Error + Beta + New Error Beta - New
@@ -132,15 +134,19 @@

Progress

- - 75% - +
+ Disk Usage + 30% +
100% 30% + + 75% +