diff --git a/CHANGES.md b/CHANGES.md index fe96dbd5bcffa9f30122fce1b47a3455d824e04a..1338df163378f82c5583761daeed5fae7317370d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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. diff --git a/scss/post.scss b/scss/post.scss index 6b5ab806d9e72017baf829d10fb89246fb2b006f..07e05c96fb110e1ca3735b4e56d993f8d00c6ab3 100644 --- a/scss/post.scss +++ b/scss/post.scss @@ -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 description 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. */ diff --git a/tests/behat/theme_boost_campus_course_layout_settings.feature b/tests/behat/theme_boost_campus_course_layout_settings.feature index cf169e954d6a041917ed50f11dd64d836c2cf9f1..2cbc9735ab1105add74d8fe5b127136e5d606833 100644 --- a/tests/behat/theme_boost_campus_course_layout_settings.feature +++ b/tests/behat/theme_boost_campus_course_layout_settings.feature @@ -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 |