From 5f594c46d46ae1a62b273e33fe789b6c5944e04c Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 13 Jul 2018 18:40:23 +0000 Subject: [PATCH] Elastic: Moved some code for .watermark element from core --- plugins/libkolab/skins/elastic/libkolab.less | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/plugins/libkolab/skins/elastic/libkolab.less b/plugins/libkolab/skins/elastic/libkolab.less index 050fad85..7cbd94e2 100644 --- a/plugins/libkolab/skins/elastic/libkolab.less +++ b/plugins/libkolab/skins/elastic/libkolab.less @@ -319,6 +319,11 @@ a.history { // E.g. notes preview frame .watermark { + background: url("@{skin-path}/images/logo.svg") center no-repeat; + background-size: 30% auto; + width: 100%; + height: 100%; + & > * { display: none; } @@ -334,6 +339,17 @@ a.history { display: initial; } } + + // this is to blend the watermark image + &:before { + content: ""; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: rgba(255, 255, 255, .85); + } } .form-group > .datetime {