dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit a37046b243dc77c1dd3abd59681bb05e5e64ba38
parent 6fdf2432ac70d9a5ae0b12cf4651b792cfbcdb10
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun,  4 Dec 2022 05:45:16 -0500

improve ui

Diffstat:
Mpkg/web/public/css/style.css | 11+++++------
Mpkg/web/public/views/pages/forgot-password.gohtml | 2+-
Mpkg/web/public/views/pages/login.gohtml | 4++--
Mpkg/web/public/views/pages/signup.gohtml | 2+-
4 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/pkg/web/public/css/style.css b/pkg/web/public/css/style.css @@ -56,12 +56,11 @@ input.transparent-input::placeholder { color: #aaa !important; } -.bg-label-link { - background-color: rgba(50, 50, 50, 0.6) !important; - padding: 3px 5px; - color: #7abaff; -} .bg-label { - background-color: rgba(50, 50, 50, 0.6) !important; + border-radius: 3px; + background-color: rgba(50, 50, 50, 0.7) !important; padding: 3px 5px; +} +.bg-label.link { + color: #7abaff; } \ No newline at end of file diff --git a/pkg/web/public/views/pages/forgot-password.gohtml b/pkg/web/public/views/pages/forgot-password.gohtml @@ -106,7 +106,7 @@ <input type="submit" class="transparent-input btn btn-lg btn-primary btn-block" value="{{ t "Recover password" . }}" /> </div> <div class="form-group"> - <a href="/" class="bg-label-link">{{ t "Login" . }}</a> + <a href="/" class="bg-label link">{{ t "Login" . }}</a> </div> </div> </div> diff --git a/pkg/web/public/views/pages/login.gohtml b/pkg/web/public/views/pages/login.gohtml @@ -100,8 +100,8 @@ <input type="submit" class="transparent-input btn btn-lg btn-primary btn-block" value="{{ t "Sign in" . }}" /> </div> <div class="form-group"> - <a href="/signup" class="bg-label-link">{{ t "Register" . }}</a> - <a href="/forgot-password" class="bg-label-link">{{ t "I forgot my password" . }}</a> + <a href="/signup" class="bg-label link">{{ t "Register" . }}</a> + <a href="/forgot-password" class="bg-label link ml-2">{{ t "I forgot my password" . }}</a> </div> {{ if .Data.HomeUsersList }} <div class="form-group"> diff --git a/pkg/web/public/views/pages/signup.gohtml b/pkg/web/public/views/pages/signup.gohtml @@ -111,7 +111,7 @@ <input type="submit" class="transparent-input btn btn-lg btn-primary btn-block" value="{{ t "Sign up" . }}" /> </div> <div class="form-group"> - <a href="/" class="bg-label-link">{{ t "Login" . }}</a> + <a href="/" class="bg-label link">{{ t "Login" . }}</a> </div> </div> </div>