From 3c8e0a3d9dbf67fc406fe6631064fb6b53d64783 Mon Sep 17 00:00:00 2001 From: Chandika Nurdiansyah Date: Wed, 18 Jan 2023 14:43:40 +0700 Subject: [PATCH] update --- luasrc/gaya/gaya.css | 17 +++++++++++++---- template/header.htm | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/luasrc/gaya/gaya.css b/luasrc/gaya/gaya.css index b913b73..fd6a4f2 100644 --- a/luasrc/gaya/gaya.css +++ b/luasrc/gaya/gaya.css @@ -1100,10 +1100,17 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child { .td.cbi-section-actions { text-align: right !important; vertical-align: middle; + display: flex; + justify-content: center; + flex-wrap: wrap; + gap: 5px; } .td.cbi-section-actions > * { display: inline-flex; } +.td.cbi-section-actions > button { + display: block; +} .td.cbi-section-actions > * > *, .td.cbi-section-actions > * > form > * { margin: 0 5px; @@ -1308,9 +1315,11 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child { width: auto; } .cbi-progressbar { + border-radius: 15px; + overflow: hidden; position: relative; min-width: 170px; - height: 20px; + height: 30px; border: thin solid #999; background: #eee; margin: 6px 0; @@ -1323,14 +1332,14 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child { } .cbi-progressbar::after { font-family: monospace; - font-size: 1.3em; + font-size: 1.2em; font-weight: 700; font-size-adjust: 0.38; line-height: normal; position: absolute; - top: 2px; + top: 50%; + transform: translateY(-50%); right: 0; - bottom: 2px; left: 0; overflow: hidden; content: attr(title); diff --git a/template/header.htm b/template/header.htm index 3b6e7fb..4bc214f 100644 --- a/template/header.htm +++ b/template/header.htm @@ -59,7 +59,7 @@ node-<%= path %><% else %>node-main-login<% end %>" data-page="<%= pcdata(path) %>">
-