From 2e467001aac5c9fbf78e26f9b5160e72a43ecd63 Mon Sep 17 00:00:00 2001 From: veselcraft Date: Fri, 8 Oct 2021 00:12:19 +0300 Subject: [PATCH] Rating: Added a golden progress bar (appears after 100%), redesigned rating bar --- Web/Presenters/templates/User/View.xml | 4 ++-- Web/static/css/style.css | 14 ++++++++++++-- locales | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml index 97b82f38..83ebfe87 100644 --- a/Web/Presenters/templates/User/View.xml +++ b/Web/Presenters/templates/User/View.xml @@ -122,8 +122,8 @@
{var completeness = $user->getProfileCompletenessReport()} -
-
+
+
{$completeness->total}%
diff --git a/Web/static/css/style.css b/Web/static/css/style.css index dae2fad0..d7904638 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -1056,8 +1056,9 @@ textarea { .completeness-gauge { position: relative; width: 95%; - height: 20px; + height: 16px; background-color: #e6e6e6; + border-top: 1px solid #bbb; } .completeness-gauge > div { @@ -1073,6 +1074,15 @@ textarea { transform: translate(-50%, -50%); } +.completeness-gauge-gold { + background-color: #f6ebbb; + border-top: 1px solid #b9b597; +} + +.completeness-gauge-gold > div { + background-color: #e1d7a2; +} + .toTop { position: fixed; padding: 20px; @@ -1345,4 +1355,4 @@ body.scrolled .toTop:hover { .gift_sel.disabled { opacity: .5; -} \ No newline at end of file +} diff --git a/locales b/locales index 0c50ecdd..e98c4241 160000 --- a/locales +++ b/locales @@ -1 +1 @@ -Subproject commit 0c50ecdd77ac6643c7e5a29dcfff8ad84706ec3f +Subproject commit e98c42410b89cd011c44a387b1a401e6634d0ac5