summaryrefslogtreecommitdiffstats
path: root/src/main/resources/styles/login.css
diff options
context:
space:
mode:
authorUdo Walter2020-08-08 02:16:14 +0200
committerUdo Walter2020-08-08 02:16:14 +0200
commit6f00e70ecc3a707954e8888810bca34d114758bc (patch)
tree3a3f0b4a951544357d4a86d6aed84948261d81cb /src/main/resources/styles/login.css
parentReduce SPAM by using .debug() not .info() (diff)
downloadbwlp-guacamole-ext-6f00e70ecc3a707954e8888810bca34d114758bc.tar.gz
bwlp-guacamole-ext-6f00e70ecc3a707954e8888810bca34d114758bc.tar.xz
bwlp-guacamole-ext-6f00e70ecc3a707954e8888810bca34d114758bc.zip
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)
Diffstat (limited to 'src/main/resources/styles/login.css')
-rw-r--r--src/main/resources/styles/login.css26
1 files changed, 21 insertions, 5 deletions
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