From 3537e0840cb8fcba637c67b8ca1bf3b87fc5ada2 Mon Sep 17 00:00:00 2001 From: chateau Date: Tue, 12 Mar 2019 20:00:28 +0100 Subject: [PATCH] modifed clouds theme to have good login page --- portal/assets/themes/clouds/custom.css | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/portal/assets/themes/clouds/custom.css b/portal/assets/themes/clouds/custom.css index a86203f..574fd7f 100644 --- a/portal/assets/themes/clouds/custom.css +++ b/portal/assets/themes/clouds/custom.css @@ -10,13 +10,23 @@ a.app-tile, } /* The layout is slightly different, the apps are scollable but not the headers and footers */ -.overlay { +html { + height:100%; + } +body { background-image: url("background.jpg"); + background-repeat: no-repeat; + background-size: cover; width: 100%; height: 100%; + overflow: hidden; +} + +.overlay { position: absolute; - background-size: cover; - background-position: center; + width: 100%; + height: 100%; + z-index: 10; } .overlay #apps { @@ -48,6 +58,7 @@ a.app-tile, /* Use custom ynh logo white (there's a white one in assets, but let's not depend on it) */ #logo { + margin-top: 0px; z-index: 10; background-image: url("/ynhtheme/ynhlogo.svg"); }