Skip to content

Commit 3f561a8

Browse files
authored
Merge branch 'main' into patch-1
2 parents 6c4d17f + 483a5e8 commit 3f561a8

File tree

11 files changed

+46
-1
lines changed

11 files changed

+46
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ These are attributes that are defined to be added at the top of the SCSS file:
3131
- `Description`: A few sentences which describe the snippet for humans
3232
- `Creator`: The creator of the snippet which will be shown in the snippet list in Boost Union
3333
- `Tested on`: A short information on which Moodle version and with which browser the snippet was tested
34-
- `Usage note`: An (optional) usage note to be shown in the snippet list in Boost Union
34+
- `Tracker issue`: (Optional) The Moodle tracker issue number (MDL-xxxxx) where the bug / glitch / goal which is solved by the SCSS snippet was reported upstream
35+
- `Usage note`: (Optional) A usage note to be shown in the snippet list in Boost Union
3536

3637
#### List of scopes
3738

boilerplate/boilerplate.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Goal: <snippet goal>
55
* Description: <snippet description>
66
* Creator: <snippet creator>
7+
* Tracker issue: <snippet tracker issue>
78
* Tested on: <snippet tested on information>
89
* Usage note: <snippet usage note>
910
*

snippets/accessibility/.gitkeep

Whitespace-only changes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Snippet Title: Darken hover background color in secondary menu items
3+
* Scope: global
4+
* Goal: accessibility
5+
* Description: Darken the background color of the secondary menu items while hovering to show more contrast agains other unselected menu items.
6+
* Creator: Heba Amer
7+
* Tested on: Moodle 5.0, Firefox for Mac
8+
*
9+
* @copyright 2024 The American University in Cairo
10+
* @author Heba Amer <heba.amer@aucegypt.edu>
11+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
12+
*/
13+
14+
.secondary-navigation .moremenu .nav-link:hover,
15+
.secondary-navigation .moremenu .nav-link:focus {
16+
background-color: $gray-400 !important;
17+
}
Binary file not shown.

snippets/bugfix/.gitkeep

Whitespace-only changes.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* Snippet Title: Maintenance pages with proper edges
3+
* Scope: global
4+
* Goal: bugfix
5+
* Description: The Moodle maintenance page layout (which is particularly used to present the Moodle database upgrade wizard) suffers from a layout bug that the content area does not have proper edges. This becomes visible as soon as the Moodle site uses a background image. This snippet fixes the issue by adding rounded corners and some paddings.
6+
* Creator: Alexander Bias
7+
* Tracker issue: MDL-85915
8+
* Tested on: Moodle 5.0, Firefox for Mac
9+
*
10+
* @copyright 2025 Alexander Bias, ssystems GmbH
11+
* @author Alexander Bias <abias@ssystems.de>
12+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
13+
*/
14+
15+
.pagelayout-maintenance {
16+
.page-header-headings {
17+
@extend .rounded-top;
18+
@extend .px-4;
19+
}
20+
21+
#region-main {
22+
@extend .rounded-bottom;
23+
@extend .px-4;
24+
@extend .pb-4;
25+
}
26+
}
257 KB
Binary file not shown.

snippets/devsonly/.gitkeep

Whitespace-only changes.

snippets/easeofuse/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)