Skip to content
Snippets Groups Projects
Commit 2f691aad authored by Kathrin Osswald's avatar Kathrin Osswald
Browse files

Added some section separator lines to the footer.

parent 3e116ff9
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2017-05-22 - Added some section separator lines to the footer.
* 2017-05-22 - Adding the possibility to give additional classes to the list group items of the flat navigation.
* 2017-05-16 - Changed naming and reference of mustache template that renders the login form.
* 2017-05-05 - Improve README.md
......
......@@ -87,6 +87,7 @@ function theme_boost_campus_get_pre_scss($theme) {
'brandwarningcolor' => ['brand-warning'],
'branddangercolor' => ['brand-danger'],
'darknavbar' => ['darknavbar'],
'footerblocks' => ['footerblocks'],
/* MODIFICATION END */
];
......
......@@ -583,6 +583,12 @@ blockquote::before {
color: $gray-dark;
}
/* Add bottom padding to the Moodle default footer links. */
.helplink, .logininfo, .homelink {
padding-bottom: 1rem;
}
/* If the setting footerhidehelplink is enabled, then hide the helplink. */
@if variable-exists(footerhidehelplink){
@if $footerhidehelplink == 'yes' {
.helplink {
......@@ -591,6 +597,7 @@ blockquote::before {
}
}
/* If the setting footerhidelogininfo is enabled, then hide the logininfo. */
@if variable-exists(footerhidelogininfo){
@if $footerhidelogininfo == 'yes' {
.logininfo {
......@@ -599,6 +606,7 @@ blockquote::before {
}
}
/* If the setting footerhidehomelink is enabled, then hide the homelink. */
@if variable-exists(footerhidehomelink){
@if $footerhidehomelink == 'yes' {
.homelink {
......@@ -606,6 +614,32 @@ blockquote::before {
}
}
}
/* Insert some separator lines for different contents in the footer. */
.performanceinfo, .purgecaches, .nav.navbar-nav {
border-top: 1px solid #fff;
padding-top: 1rem;
padding-bottom: 1rem;
}
/* We need a top border only if there are footer block columns. */
@if variable-exists(footerblocks) {
@if $footerblocks != '0columns' {
.container-fluid:nth-of-type(2) > .row-fluid {
border-top: 1px solid #fff;
padding-top:1rem;
}
}
}
/* If all Moodle links are hidden in the footer, we don't need a top line for the performance info.*/
@if variable-exists(footerhidehelplink) and variable-exists(footerhidelogininfo) and variable-exists(footerhidehomelink) {
@if $footerhidehelplink == 'yes' and $footerhidelogininfo == 'yes' and $footerhidehomelink == 'yes' {
.performanceinfo {
border-top: none;
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment