From 3059b3954b19be620bf108955b8b578728f095cc Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Mon, 16 Oct 2023 22:46:52 +0800 Subject: [PATCH] * Modify login by demo account css. --- module/user/css/login.ui.css | 3 +++ module/user/ui/login.html.php | 1 + 2 files changed, 4 insertions(+) diff --git a/module/user/css/login.ui.css b/module/user/css/login.ui.css index 4b09e887ee..9856310c06 100644 --- a/module/user/css/login.ui.css +++ b/module/user/css/login.ui.css @@ -5,6 +5,9 @@ body {background: #1183fb linear-gradient(-90deg, #0a48d1 0%, #1183fb 100%); bac #loginPanel > .header {padding: 20px; border-bottom: 1px #eee solid; position: relative;} #loginPanel > .header > h2 {font-size: 16px; margin: 0; line-height: 32px; max-width: 83%;} #loginPanel > .header > .actions {position: absolute; right: 20px; top: 20px;} +#loginPanel > .footer {background: #eee; padding: 20px; color: #838a9d;} +#loginPanel > .footer a {display: inline-block; margin-left: 5px; color: var(--color-slate-900);} +#loginPanel > .footer a:hover {color: var(--color-primary-500);} #loginPanel > .loginBody {margin: 20px 0;} #loginPanel > .loginBody .loginExpired {margin-bottom: 8px;} #loginPanel form {margin-right: 40px;} diff --git a/module/user/ui/login.html.php b/module/user/ui/login.html.php index 746f4574e7..ab65057798 100644 --- a/module/user/ui/login.html.php +++ b/module/user/ui/login.html.php @@ -159,6 +159,7 @@ div ) : null, empty($demoUsers) ? null : div ( + setClass('footer'), span($lang->user->loginWithDemoUser), $demoUserItems, ),