From 6f00e70ecc3a707954e8888810bca34d114758bc Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Sat, 8 Aug 2020 02:16:14 +0200 Subject: Some UI changes: - add double click to select location and continue - add a preselected location (first one in the list without a password) - add logo above the location selection - remove redundant text at the bottom - the logo is now customizable via the guacamole.properties file (property name: slx-logo-url) --- src/main/resources/styles/login.css | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'src/main/resources/styles/login.css') diff --git a/src/main/resources/styles/login.css b/src/main/resources/styles/login.css index ab3b04d..8fe590b 100644 --- a/src/main/resources/styles/login.css +++ b/src/main/resources/styles/login.css @@ -1,11 +1,27 @@ -.login-ui .login-dialog .logo { +:root { + --logo: url('app/ext/de.bwlehrpool/images/Logo_bwLehrpool.svg'); +} + +.login-ui .login-logo, .login-ui .selection-logo { width: 215px; - height: 50px; - background-image: url('app/ext/de.bwlehrpool/images/Logo_bwLehrpool.svg'); - background-size: cover; - background-position: center; + display: block; + margin-left: auto; + margin-right: auto; + content: var(--logo); +} + +.login-ui .selection-logo { + margin-bottom: 40px; +} + +.login-ui.initial .selection-logo, .login-ui.continuation .login-logo { + display: none; } .login-ui .login-dialog .app-name { display: none; } + +.login-ui.continuation .login-form p:first-of-type { + margin-top: 0; +} \ No newline at end of file -- cgit v1.2.3-55-g7522