Elastic: Moved some code for .watermark element from core
This commit is contained in:
parent
392ba7657c
commit
5f594c46d4
1 changed files with 16 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue