diff --git a/CHANGES.md b/CHANGES.md index 90695b496056acb58588caf97302332bb7768401..2f53531ff9765cdbe7b3d4f9475a9283c898f3c6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2020-08-07 - Added rule to show description border for all users for restricted activities. * 2020-08-07 - Added check for empty string to regular expression for time controlled info banner settings. * 2020-08-05 - Added settings to be able to show a banner with information on selected pages. PLEASE NOTE: For all scenarios to pass, the Moodle version 3.8.4+ (Build: 2019111804) is needed. diff --git a/scss/post.scss b/scss/post.scss index 46491a23bc97ed350e7a076e6c98dee1819e800f..b8d58f694f445f8f92b97eb81dda1ea71473ce50 100644 --- a/scss/post.scss +++ b/scss/post.scss @@ -476,6 +476,19 @@ body.loginbackgroundimage #page { padding-left: 10px; font-size: .9rem; } + /* Add border to description text for restricted activities and show it also to students. + This is needed because the classes for teachers and students differ. */ + .section .contentwithoutlink { + border-left: 2px solid $gray-light; + padding-left: 10px; + font-size: .9rem; + display: block; + margin-left: 30px; + margin-top: .5em; + p { + margin: .5em 0; + } + } /* Place meta information in a new line. */ .resourcelinkdetails { display: block;