This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch SLING-7858
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git


The following commit(s) were added to refs/heads/SLING-7858 by this push:
     new a954d42  Adding the gradient in
a954d42 is described below

commit a954d429abf474b9ed09d73e247688a2e471ae4d
Author: Dan Klco <[email protected]>
AuthorDate: Fri Aug 31 13:43:43 2018 -0400

    Adding the gradient in
---
 ui/src/main/frontend/src/img/gradient.jpg | Bin 24313 -> 9562 bytes
 ui/src/main/frontend/src/scss/cms.scss    |  14 ++++++--------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/ui/src/main/frontend/src/img/gradient.jpg 
b/ui/src/main/frontend/src/img/gradient.jpg
index 5ca3d76..33b1280 100755
Binary files a/ui/src/main/frontend/src/img/gradient.jpg and 
b/ui/src/main/frontend/src/img/gradient.jpg differ
diff --git a/ui/src/main/frontend/src/scss/cms.scss 
b/ui/src/main/frontend/src/scss/cms.scss
index 42143e4..8ee6241 100644
--- a/ui/src/main/frontend/src/scss/cms.scss
+++ b/ui/src/main/frontend/src/scss/cms.scss
@@ -18,6 +18,12 @@
  */
 
 @import 'fonts';
+body.cms {
+       background: url(../img/gradient.jpg) no-repeat;
+       background-attachment: fixed;
+       height: 100%;
+}
+
 h1 {
        font-size: 200%;
 }
@@ -38,14 +44,6 @@ h5 {
        font-size: 120%;
 }
 
-.gradient {
-       flex: 0 0 100%;
-       height: 16px;
-       background: url(../img/gradient.jpg) no-repeat;
-       background-size: auto auto;
-       background-size: cover;
-}
-
 .is-draggable {
        position: relative;
 }

Reply via email to