From 3bfdab27a0c5df06a66c0f683bd30d126a605d9a Mon Sep 17 00:00:00 2001 From: 728 Date: Sun, 28 Aug 2022 13:27:27 +0800 Subject: [PATCH] bar --- ismism.ts/ui/index.html | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/ismism.ts/ui/index.html b/ismism.ts/ui/index.html index 1f9391e..2d9b9a6 100644 --- a/ismism.ts/ui/index.html +++ b/ismism.ts/ui/index.html @@ -296,7 +296,12 @@ color: var(--cl-amber); } - .stat>.progress { + .stat>.bar { + margin: 5px 0; + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) + } + + .stat>.bar>.progress { position: relative; width: 100%; color: var(--cl-black); @@ -304,7 +309,7 @@ font-family: monospace; } - .stat>.progress>span { + .stat>.bar>.progress>span { display: inline-block; position: absolute; padding: 0.25em 8px; @@ -312,18 +317,18 @@ width: 100%; } - .stat>.progress>span:nth-child(1) { + .stat>.bar>.progress>span:nth-child(1) { position: relative; min-width: 1em; background-color: var(--cl-gray); } - .stat>.progress>span:nth-child(2) { + .stat>.bar>.progress>span:nth-child(2) { text-align: center; background: none; } - .stat>.progress>span:nth-child(3) { + .stat>.bar>.progress>span:nth-child(3) { text-align: right; background: none; } @@ -416,14 +421,16 @@ 收到支持 预算(元) -
- 123456 - 50% - 123456 -
-
- 12345 - 25% +
+
+ 123456 + 50% + 123456 +
+
+ 12345 + 25% +
当前支出