From 1689dabb70ed4bdcb0f9fbf960a59517b428e2ad Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Mon, 19 Jun 2023 13:03:43 +0200 Subject: [PATCH] fix style of id4me login form Signed-off-by: Julien Veyssier --- css/id4me-login.css | 13 +++++++++++++ lib/Controller/Id4meController.php | 1 + 2 files changed, 14 insertions(+) create mode 100644 css/id4me-login.css diff --git a/css/id4me-login.css b/css/id4me-login.css new file mode 100644 index 00000000..d1301e0b --- /dev/null +++ b/css/id4me-login.css @@ -0,0 +1,13 @@ +#id4me-submit { + position: relative; + right: -6px; + top: 5px; + border: 2px solid var(--color-border-maxcontrast); + border-bottom-right-radius: var(--border-radius-large); + border-top-right-radius: var(--border-radius-large); +} + +#domain { + border-bottom-left-radius: var(--border-radius-large); + border-top-left-radius: var(--border-radius-large); +} diff --git a/lib/Controller/Id4meController.php b/lib/Controller/Id4meController.php index 80ee5c58..dd6dc20c 100644 --- a/lib/Controller/Id4meController.php +++ b/lib/Controller/Id4meController.php @@ -129,6 +129,7 @@ public function __construct( * @UseSession */ public function showLogin() { + Util::addStyle(Application::APP_ID, 'id4me-login'); $response = new Http\TemplateResponse('user_oidc', 'id4me/login', [], 'guest'); $csp = new Http\ContentSecurityPolicy();