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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
0d5790b9
Commit
0d5790b9
authored
5 years ago
by
Kathrin Osswald
Browse files
Options
Downloads
Patches
Plain Diff
Adjusted post.scss due to upstream changes in theme Boost.
parent
67be21ac
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
scss/post.scss
+4
-12
4 additions, 12 deletions
scss/post.scss
tests/behat/theme_boost_campus_course_layout_settings.feature
+1
-1
1 addition, 1 deletion
...s/behat/theme_boost_campus_course_layout_settings.feature
with
6 additions
and
13 deletions
CHANGES.md
+
1
−
0
View file @
0d5790b9
...
...
@@ -6,6 +6,7 @@ Changes
### Unreleased
*
2020-06-08 - Adjusted post.scss due to upstream changes in theme Boost.
*
2020-06-08 - Fixed functionality bug for back to top button.
*
2020-06-05 - Fixing broken behat step.
*
2020-06-04 - Adjusted columns2.mustache template due to upstream changes in theme Boost.
...
...
This diff is collapsed.
Click to expand it.
scss/post.scss
+
4
−
12
View file @
0d5790b9
...
...
@@ -457,27 +457,20 @@ body.loginbackgroundimage #page {
li
#section-0
{
padding-top
:
0
;
}
/* Remove padding => section move button is center-aligned in front of section title and sections are aligned equal to
section elements. */
li
.section
.left
{
padding
:
0
;
padding-right
:
5px
;
/* Align section title equal to beginning of icons within section. */
}
/* Remove spacer from regular sections. */
img
.icon.spacer
{
display
:
none
;
}
/* Increase space from section title (edit mode off) to left border. */
h3
.sectionname
{
padding-left
:
15px
;
padding-bottom
:
10px
;
/* Make the summary aligned the same way as with option all section on one page. */
.summarytext
{
margin-left
:
25px
;
}
/* Display icon of hidden activity or resource in grayscale.*/
.activity
.contentwithoutlink
.dimmed
.activityicon
,
.activity
.activityinstance
.dimmed
.activityicon
{
filter
:
grayscale
(
100%
);
}
/* Add border to descripion text to differ it from module content. */
/* Add border to descrip
t
ion text to differ it from module content. */
.section
.contentafterlink
{
border-left
:
2px
solid
$gray-light
;
padding-left
:
10px
;
...
...
@@ -498,7 +491,6 @@ body.loginbackgroundimage #page {
/* Align section title in single view left. */
h3
.sectionname
{
text-align
:
left
;
padding-left
:
40px
;
padding-top
:
1
.5rem
;
}
/* Reduce padding top of first and only section in this view. */
...
...
This diff is collapsed.
Click to expand it.
tests/behat/theme_boost_campus_course_layout_settings.feature
+
1
−
1
View file @
0d5790b9
...
...
@@ -46,7 +46,7 @@ Feature: Configuring the theme_boost_campus plugin for the "Course Layout settin
|
section0title
|
no
|
theme_boost_campus
|
When
I log in as
"teacher1"
And
I am on
"Course 1"
course homepage with editing mode on
Then
I should not see
"General"
in the
"li#section-0"
"css_element"
Then
"General"
"text"
in the
"li#section-0"
"css_element"
should not be visible
When I edit the section "0" and I fill the form with
:
|
Custom
|
1
|
|
New
value
for
Section
name
|
This
is
the
general
section
|
...
...
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