Commit Graph

148 Commits

Author SHA1 Message Date
Sara Arjona 022e9bb53c MDL-86488 core: Fix to remove whitespaces 2025-09-26 13:19:36 +02:00
Jun Pataleta 55968b2e35 MDL-86488 componentlibrary: Improved documentation for the action menu 2025-09-18 19:27:37 +08:00
Jun Pataleta 91d2fa1ecb MDL-85147 versions: Bump all versions and requires near release 2025-04-09 17:46:57 +08:00
Paul Holden 9ebb932bf3 Merge branch 'MDL-84951-main' of https://github.com/laurentdavid/moodle into main 2025-04-03 15:59:18 +01:00
Mikel Martín afc113f33c MDL-84951 theme_boost: Fix deprecated Bootstrap class usages 2025-04-03 10:46:27 +02:00
Huong Nguyen 0c014c7095 Merge branch 'MDL-84980-main' of https://github.com/sarjona/moodle 2025-04-02 14:24:59 +07:00
Andrew Nicols c8e4bbe938 Merge branch 'MDL-84555-main' of https://github.com/ferranrecio/moodle 2025-03-25 10:41:50 +08:00
ferran 9b5018b4a3 MDL-84555 core_course: new activity_icon output class 2025-03-24 16:49:53 +01:00
Sara Arjona 52e4933d84 MDL-84980 pix: Replace insert_page_break icon
To provide a visually clearer and more user-friendly quiz experience,
the 'add new page' icon has been standardized to 'fa-plus'.
2025-03-24 12:52:12 +01:00
Mark Johnson 69afa8a3ac MDL-81714 grades: Display "Run now" button for admins in task indicator 2025-03-14 16:01:05 +00:00
Mark Johnson 10de329397 MDL-81714 grades: Add regrading progress indicator to grade reports 2025-03-14 16:01:05 +00:00
Jun Pataleta d057b12be1 MDL-84163 componentlibrary: Update fontawesomeicons.json 2025-03-06 10:53:17 +08:00
Jun Pataleta b56de54faa Merge branch 'MDL-84163-main' of https://github.com/meirzamoodle/moodle 2025-03-06 10:49:39 +08:00
Sara Arjona 01a5feb9b5 Merge branch 'MDL-83888-main-v02' of https://github.com/ferranrecio/moodle 2025-03-05 08:31:28 +01:00
Mikel Martín 11657fe082 MDL-84692 theme_boost: Update .btn-icon class
- Update and improve styles for .btn-icon helper class for consistency.
- Added new $btn-icon-border-radius SCSS variable to cuztomize the btn-icon
border radius.
- Fix and simplify current .btn-icon usages
2025-03-04 10:23:00 +01:00
meirzamoodle 6ca5ff4d79 MDL-84163 theme: Adjust Moodle files after the Font Awesome upgrade 2025-03-04 13:09:04 +07:00
ferran 9b2f727a3e MDL-83888 core: notice badge renderer method 2025-03-03 13:15:13 +01:00
Huong Nguyen ba03cfbb1a Merge branch 'MDL-84346-main' of https://github.com/roland04/moodle 2025-02-27 11:16:32 +07:00
Mikel Martín 89dd407bcf MDL-84381 tool_componentlibrary: Remove Bootstrap 4 documentation
After Bootstrap 5 upgrade in MDL-75669, Bootstrap 4 docs included are not
applicable anymore.
2025-02-25 15:06:26 +01:00
Mikel Martín 0e8dd50d91 MDL-84346 theme_boost: Add new '.btn-subtle-' helper class
- Add new .btn-subtle helper class that accept different colour themes
(.btn-subtle-success, .btn-subtle-warning, ...) and also .btn-subtle-body
for basic styling
- Remove specific styles in course.scss that are not needed anymore
- Adjust some styles in course.scss that were affected by this change
2025-02-24 12:49:17 +01:00
Mikel Martín 0c586b41c1 MDL-75669 theme_boost: Fix BS5 related JS
- Migrate Boostrap components related JS from JQuery to vanilla JS.
- Migrate Boostrap components related Events from JQuery to vanilla JS.
2025-02-17 08:13:11 +01:00
Mikel Martín 5416483611 MDL-75669 theme_boost: Refactor BS5 data attributes
Data attributes for all Bootstrap5 JavaScript plugins are now namespaced
to help distinguish Bootstrap functionality from third parties and your own code.
For example, data-bs-toggle instead of data-toggle.
This commit refactor all old Bootstrap data-attributes to the new syntax.

Co-authored-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-02-14 09:10:33 +01:00
Mikel Martín 59bc788992 MDL-75669 theme_boost: Upgrade Boostrap to v5.3
- Follow upgrade steps
- Fix some SCSS to avoid CSS compilation errors.
2025-02-14 09:10:32 +01:00
ferran 53886acba6 MDL-83869 tool_componentlibrary: collapsable section page 2025-01-22 11:36:27 +01:00
Sara Arjona 6ab62a98cd MDL-83933 pix: Switch import/export icons 2025-01-09 17:15:51 +01:00
ferran 41acfca9a8 MDL-83725 theme: dynamic activity icons colors
Now themes can change the activity purpose colors using only the
$activity-icon-XXXX-bg scss variables. The filter is not computed using
a sass mixin intead of a custom filter.
2025-01-08 11:02:42 +01:00
Huong Nguyen ca55996c42 MDL-83639 pix: Re-generate icons 2025-01-02 10:00:42 +07:00
Sara Arjona 314d41f427 MDL-83639 pix: Update custom icons
Sabina Abellán from the UX team has created the following custom icons:

- ai*:sparkles
- core:e/insert_col_after
- core:e/insert_col_before
- core:e/split_cells
- core:e/text_color
- core:i/bulk_edit
- core:i/export
- core:i/grade_partiallycorrect
- core:i/item
- core:t/completion_incomplete
- core:t/locktime
- mod_scorm:browsed
- tool_policy:level

In addition to updating these SVG files, the entries in the icon_map() have
been removed to ensure that the customized version is always used.
2024-12-20 07:40:23 +01:00
Jun Pataleta 1ff50ac088 NOBUG: Bump versions for main to the current date 2024-12-18 23:53:12 +08:00
Huong Nguyen 7e497dedc4 Merge branch 'MDL-81825-main' of https://github.com/roland04/moodle 2024-12-11 09:52:51 +07:00
Mikel Martín f9abc562f5 MDL-81825 theme_boost: Refactor .sr-only usages for BS5
- Add .visually-hidden to the Boostratp 5 bridge SCSS file
- Replace .sr-only occurrences with .visually-hidden
- Replace .dropzone-sr-only-focusable  with .dropzone-visually-hidden-focusable
  for consistency
2024-12-10 14:02:32 +01:00
Mikel Martín 55a9c190c0 MDL-83456 mod_scorm: Revert FA6 updated status icons 2024-12-05 14:27:56 +01:00
Mikel Martín 636ab0fba9 MDL-81821 theme_boost: Refactor font utility classes for BS5 2024-11-26 15:17:30 +01:00
Sara Arjona d7f28e0c93 Merge branch 'MDL-83309-main' of https://github.com/junpataleta/moodle 2024-10-03 08:22:26 +02:00
Amaia Anabitarte 76f84a929d MDL-83318 pix: Recover previous and next icons 2024-10-02 15:14:36 +02:00
Jun Pataleta f24e0ecf53 MDL-83309 versions: Bump all versions and requires near release 2024-10-02 17:04:53 +08:00
Sara Arjona 39fbaf37a5 MDL-83162 theme: Review graded icons colors to improve accessiblity 2024-09-23 07:02:16 +02:00
Huong Nguyen 9f2e45a719 MDL-83124 theme: Regenerate fontawesomeicons.json 2024-09-17 08:46:15 +07:00
Jun Pataleta 17cb8ba522 MDL-83109 tool_componentlibrary: Regenerate fontawesomeicons.json 2024-09-16 15:55:39 +08:00
Sara Arjona 086757bd8c MDL-83109 theme: Update core:t/completion_fail icon and resize it
This commit:
- Updates core:t/completion_fail from fa-times to fa-xmark
- Reduces the font size of course index completion icons from 12px to 10px.
2024-09-13 16:14:55 +02:00
Huong Nguyen ace5d7d56b MDL-83084 theme: Regenerate fontawesomeicons.json 2024-09-13 09:59:27 +07:00
Jun Pataleta f416dc4c6a Merge branch 'MDL-83068-main' of https://github.com/sarjona/moodle 2024-09-12 16:22:04 +08:00
Sara Arjona a9cdd7384f MDL-83083 theme: Revert preview icon
In MDL-82211, the preview icon was updated to use the "fa-regular fa-eye" icon.
However, this icon is also used elsewhere to represent hide/show functionality,
leading to potential confusion.
To address this, the UX team has requested that the change be reverted, and the
preview icon should now be replaced with "fa-magnifying-glass-plus".
2024-09-10 15:55:41 +02:00
Sara Arjona 64b0c39c88 MDL-83068 theme: Update grade icons
The fa-check-double icon for correct/incorrect/partial grades were updated
in MDL-82497. However, the UX team has decided to replace these icons with
the following:

 - core:i/grade_correct : fa-check-double --> fa-regular fa-circle-check
 - core:i/grade_incorrect : fa-xmark --> fa-regular fa-circle-xmark
 - core:i/grade_partiallycorrect : fa-check --> fa-circle-half-stroke

These changes should be consistent with the Navigation quiz block too.
2024-09-10 15:18:46 +02:00
Mikel Martín c4470cc7f9 MDL-81767 mod_subsection: Add hook for activitychooserbutton
- Add the new 'FEATURE_QUICKCREATE' to mod_subsection.
- Implement the 'before_activitychooserbutton_exported' hook callback that adds
  an extra action_link to add subsections in a course section.
- Add a new permission class.
2024-09-03 13:35:04 +02:00
Laurent David 29b2bfe51f MDL-82297 core: Improve core notification message
* Improve the notification message so it can have a
title and titleicon.
2024-08-26 14:49:02 +02:00
Huong Nguyen 31e1fa1f1b Merge branch 'MDL-82211-main' of https://github.com/sarjona/moodle 2024-08-13 15:37:02 +07:00
Sara Arjona ab0d18eb00 Merge branch 'MDL-75671-main' of https://github.com/roland04/moodle 2024-08-13 09:20:47 +02:00
Sara Arjona f485e3fd8d MDL-82211 componentlibrary: Update fontawesomeicons.json 2024-08-13 07:23:39 +02:00
Mikel Martín 6a5cb2e2a2 MDL-75671 theme_boost: Refactor border direction classes for BS5
- Add SCSS code for border direction utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (border-left > border-start, border-right-0 > border-end-0, ...)
2024-08-09 07:40:18 +02:00