Elastic: Moved some code for .watermark element from core

This commit is contained in:
Aleksander Machniak 2018-07-13 18:40:23 +00:00
parent 392ba7657c
commit 5f594c46d4

View file

@ -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 {