Commit 14345401 by Giulio Gratta

Removed default background image for home and courses pages

parent ca37dffd
...@@ -302,7 +302,7 @@ $homepage__header--background: lighten($blue, 15%); ...@@ -302,7 +302,7 @@ $homepage__header--background: lighten($blue, 15%);
// ==================== // ====================
// IMAGES: backgrounds // IMAGES: backgrounds
$homepage-bg-image: '../images/homepage-bg.jpg'; $homepage-bg-image: none;
$login-banner-image: url(../images/bg-banner-account.png); $login-banner-image: url(../images/bg-banner-account.png);
$register-banner-image: url(../images/bg-banner-account.png); $register-banner-image: url(../images/bg-banner-account.png);
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
header.course-profile { header.course-profile {
background: $course-profile-bg; background: $course-profile-bg;
@include background-image(url($homepage-bg-image)); background-image: $homepage-bg-image;
background-size: cover; background-size: cover;
box-shadow: 0 1px 80px 0 rgba(0,0,0, 0.5); box-shadow: 0 1px 80px 0 rgba(0,0,0, 0.5);
border-bottom: 1px solid $border-color-3; border-bottom: 1px solid $border-color-3;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
header.search { header.search {
background: $course-profile-bg; background: $course-profile-bg;
background-size: cover; background-size: cover;
@include background-image(url($homepage-bg-image)); background-image: $homepage-bg-image;
background-position: center top !important; background-position: center top !important;
border-bottom: 1px solid $border-color-3; border-bottom: 1px solid $border-color-3;
box-shadow: inset 0 -1px 8px 0 rgba(0,0,0, 0.2), inset 0 1px 12px 0 rgba(0,0,0, 0.3); box-shadow: inset 0 -1px 8px 0 rgba(0,0,0, 0.2), inset 0 1px 12px 0 rgba(0,0,0, 0.3);
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
> header { > header {
@include linear-gradient($homepage__header--gradient__color--alpha, $homepage__header--gradient__color--bravo); @include linear-gradient($homepage__header--gradient__color--alpha, $homepage__header--gradient__color--bravo);
background-size: cover; background-size: cover;
background-image: $homepage-bg-image;
border-bottom: 1px solid $border-color-3; border-bottom: 1px solid $border-color-3;
box-shadow: 0 1px 0 0 $course-header-bg, inset 0 -1px 5px 0 rgba(0,0,0, 0.1); box-shadow: 0 1px 0 0 $course-header-bg, inset 0 -1px 5px 0 rgba(0,0,0, 0.1);
@include clearfix; @include clearfix;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment