From 710c6ac6ab11410000e4720989f8da08e7e77254 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 14 Mar 2019 19:05:12 +0100 Subject: [PATCH] We cannot change body's CSS as this piece of CSS is loaded in all apps... --- portal/assets/themes/clouds/custom.css | 5 +++-- portal/assets/themes/vapor/custom.css | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/portal/assets/themes/clouds/custom.css b/portal/assets/themes/clouds/custom.css index e9fb9bc..1dc7964 100644 --- a/portal/assets/themes/clouds/custom.css +++ b/portal/assets/themes/clouds/custom.css @@ -12,8 +12,9 @@ a.app-tile, /* The layout is slightly different, the apps are scollable but not the headers and footers */ html { height:100%; - } -body { +} + +.ynh-user-portal { background-image: url("background.jpg"); background-repeat: no-repeat; background-size: cover; diff --git a/portal/assets/themes/vapor/custom.css b/portal/assets/themes/vapor/custom.css index 8478ab4..dba5e05 100644 --- a/portal/assets/themes/vapor/custom.css +++ b/portal/assets/themes/vapor/custom.css @@ -1,7 +1,7 @@ /* ========================================================================== Vaporwave theme ========================================================================== */ -body { +.ynh-user-portal { min-height: 100vh; background: rgb(205, 118, 255) !important; background: -moz-linear-gradient(45deg, rgb(205, 118, 255) 0%, rgb(93, 150, 168) 100%) !important;