diff options
author | Udo Walter | 2020-08-13 20:35:46 +0200 |
---|---|---|
committer | Udo Walter | 2020-08-13 20:35:46 +0200 |
commit | 01d3464725c583cac22dd33bbb6ee46980c29b75 (patch) | |
tree | 8d3a0de1809d22468a714ed4a13aedd3cbf86b25 /src/main/resources/styles/login.css | |
parent | Some UI changes: (diff) | |
download | bwlp-guacamole-ext-01d3464725c583cac22dd33bbb6ee46980c29b75.tar.gz bwlp-guacamole-ext-01d3464725c583cac22dd33bbb6ee46980c29b75.tar.xz bwlp-guacamole-ext-01d3464725c583cac22dd33bbb6ee46980c29b75.zip |
Move custom logo to the bottom left
With the property 'slx-logo-primary: true' in the guacamole.properties file the custom logo will be displayed as the primary logo in the center. (In this case the bwlehrpool logo will displayed in the bottom left instead)
Diffstat (limited to 'src/main/resources/styles/login.css')
-rw-r--r-- | src/main/resources/styles/login.css | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/main/resources/styles/login.css b/src/main/resources/styles/login.css index 8fe590b..a85c6a8 100644 --- a/src/main/resources/styles/login.css +++ b/src/main/resources/styles/login.css @@ -1,5 +1,16 @@ :root { - --logo: url('app/ext/de.bwlehrpool/images/Logo_bwLehrpool.svg'); + --primary-logo: url('app/ext/de.bwlehrpool/images/Logo_bwLehrpool.svg'); + --secondary-logo: url('app/ext/de.bwlehrpool/images/Logo_bwLehrpool.svg'); + --secondary-logo-display: none; +} + +.secondary-logo { + display: var(--secondary-logo-display); + position: absolute; + left: 20px; + bottom: 20px; + width: 215px; + content: var(--secondary-logo); } .login-ui .login-logo, .login-ui .selection-logo { @@ -7,7 +18,7 @@ display: block; margin-left: auto; margin-right: auto; - content: var(--logo); + content: var(--primary-logo); } .login-ui .selection-logo { |