Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-theme_boost_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
2f691aad
Commit
2f691aad
authored
8 years ago
by
Kathrin Osswald
Browse files
Options
Downloads
Patches
Plain Diff
Added some section separator lines to the footer.
parent
3e116ff9
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
lib.php
+1
-0
1 addition, 0 deletions
lib.php
scss/post.scss
+34
-0
34 additions, 0 deletions
scss/post.scss
with
36 additions
and
0 deletions
CHANGES.md
+
1
−
0
View file @
2f691aad
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
lib.php
+
1
−
0
View file @
2f691aad
...
...
@@ -87,6 +87,7 @@ function theme_boost_campus_get_pre_scss($theme) {
'brandwarningcolor'
=>
[
'brand-warning'
],
'branddangercolor'
=>
[
'brand-danger'
],
'darknavbar'
=>
[
'darknavbar'
],
'footerblocks'
=>
[
'footerblocks'
],
/* MODIFICATION END */
];
...
...
This diff is collapsed.
Click to expand it.
scss/post.scss
+
34
−
0
View file @
2f691aad
...
...
@@ -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
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment