Commit graph

803 commits

Author SHA1 Message Date
Bas Brands
d1b9f7d1f1 MDL-71965 theme_boost: move footer content in popover 2021-10-06 11:32:08 +02:00
Andrew Nicols
b7687bfef8 Merge branch 'MDL-72463-master' of git://github.com/ferranrecio/moodle 2021-10-05 23:20:41 +02:00
Ilya Tregubov
a4a59a4a74 Merge branch 'MDL-72455-master' of git://github.com/bmbrands/moodle 2021-10-05 23:18:51 +02:00
Jun Pataleta
7ceb0f1de6 MDL-72674 core: Add indicator that feedback link opens in new window
* New pix icon i/externallink
* New lang string opensinnewwindow
* Use the external link pix icon with "Opens in new window" lang string
 as its alt text and add it to the "Give feedback about this software"
 link.
* Update cta template to indicate whether the link opens in new window.
2021-10-04 20:32:18 +08:00
Bas Brands
61bacfb935 MDL-72455 theme_boost: enable roundness for bootstrap components 2021-09-30 15:53:44 +02:00
Ferran Recio
639a99014d MDL-71834 course: lock elements
Now components has a new property lock to disable all user interactions.
This is applied directly into the course index and course content to
freeze an element if some action is performed over it. To set this
locked value there are 2 new mutations cmLock and sectionLock.
2021-09-29 11:34:43 +02:00
Ferran Recio
96c6dc53cd MDL-72463 courseformat: course index highlight section badge 2021-09-29 11:32:03 +02:00
Bas Brands
646109ec3b MDL-72305 theme_boost: user initials as profile picture placeholder 2021-09-27 14:02:45 +02:00
Paul Holden
876df13ea1 MDL-69682 theme_boost: remove minimum height of tables.
The change that introduced this property (a3124b15) is no longer
required, and it caused visual glitches on tables containing a
single row.
2021-09-24 08:21:49 +01:00
Jun Pataleta
959a562aa0 Merge branch 'MDL-72426-master' of git://github.com/lameze/moodle 2021-09-23 12:23:46 +08:00
Jun Pataleta
ed0d7efa2f Merge branch 'MDL-71664-master-v04' of git://github.com/ferranrecio/moodle 2021-09-22 21:17:32 +08:00
Ferran Recio
23499e6447 MDL-71664 course: add browser native drag and drop 2021-09-22 11:08:06 +02:00
Jun Pataleta
99cb8a7303 Merge branch 'MDL-71037-master-8' of git://github.com/ilyatregubov/moodle 2021-09-22 14:44:17 +08:00
Bas Brands
c08ee9169c MDL-71037 theme_boost: section collapse styling 2021-09-21 18:41:59 +02:00
Luca Bösch
1f7fbed812 MDL-71352 gradereport_grader: Add icons for pass/fail. 2021-09-17 13:54:41 +02:00
Jake Dallimore
b27c7ae319 Merge branch 'MDL-71550-master' of git://github.com/bmbrands/moodle 2021-09-15 10:49:26 +08:00
Jun Pataleta
355e30cfec Merge branch 'MDL-71228-master-v02' of git://github.com/ferranrecio/moodle 2021-09-13 22:10:19 +08:00
Eloy Lafuente (stronk7)
8f4b2ca945 Merge branch 'MDL-71385-master-3' of git://github.com/junpataleta/moodle 2021-09-09 12:58:17 +02:00
Ferran Recio
7f750dc01c MDL-71228 course: course index drag and drop 2021-09-09 11:16:10 +02:00
Jun Pataleta
71cf8ee1f4 MDL-71385 theme: Fix contrast for dimmed text against striped table rows
In order to achieve good colour contrast between dimmed text and striped
table rows, the background colour of the striped rows are being
lightened to 0.03 alpha. While $gray-600 is being adjusted to a bit
darker shade of #6a737b. This gives a colour contrast ratio of 4.5:1
between the dimmed text colour and the striped table row background
which meets WCAG 2.1 Level AA requirements.

Comparing the normal font colour (#212529) with the adjusted dimmed text
colour gives a contrast ratio of 3.20:1 which meets WCAG 2.1 Level AA
requirements and still makes them distinguishable from one another.
2021-09-09 15:59:23 +08:00
Jun Pataleta
fec5a40ddb Merge branch 'MDL-71671-master' of git://github.com/rezaies/moodle 2021-09-07 14:55:13 +08:00
Shamim Rezaie
1e47c534a7 MDL-71671 editor_atto: Insert html of button menus after the button 2021-09-07 13:53:50 +10:00
Simey Lameze
cf7539ecb8 MDL-72426 theme: fix message and notification count colour contrast 2021-09-03 12:25:33 +08:00
Eloy Lafuente (stronk7)
f6fbe3bac8 Merge branch 'MDL-72225' of git://github.com/paulholden/moodle 2021-09-01 00:00:23 +02:00
Eloy Lafuente (stronk7)
bb8510fdba Merge branch 'MDL-72267-master' of git://github.com/bmbrands/moodle 2021-08-31 23:58:19 +02:00
Paul Holden
0bcb4f862a MDL-72225 question: better specificity targetting form labels.
Since e2150f7d added `sr-only` text to announce Atto editors on
the page, that content appeared visible on question editing forms.

We only want this content to be visible for form labels.
2021-08-31 11:19:54 +01:00
Andrew Nicols
aa241e8047 Merge branch 'MDL-72361-master' of git://github.com/bmbrands/moodle 2021-08-26 12:20:47 +08:00
Jun Pataleta
4e75e73cb5 Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
Sara Arjona
d91e9ccee8 Merge branch 'MDL-71603-master' of git://github.com/rezaies/moodle 2021-08-23 17:04:26 +02:00
abgreeve
42e191cc4d MDL-72005 navigation: Change context header to switch breadcrumbs
- Part of: MDL-69588
This changes the context header to switch the breadcrumbs to the
top in boost. It also changes the context header in the modules
to have the activity name instead of the course name, and adds
an icon for the activity.
2021-08-23 17:46:40 +08:00
Mihail Geshoski
68237ac761 MDL-71683 navigation: Implement the lang menu in the main navigation
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Mihail Geshoski
7318b68b77 MDL-71683 navigation: Enable submenus within the user menu
- Part of: MDL-69588
Adds support for creating collapsible submenus within the user
menu dropdown.
2021-08-23 17:46:40 +08:00
Bas Brands
00239bccad MDL-70202 theme_boost: remove accessibility changes for moremenu tabs
- Part of: MDL-69588
- the more menu will be responsive and does not need changed tab styles on small devices
2021-08-23 17:46:39 +08:00
Bas Brands
527562d12f MDL-70202 theme_boost: frontend for secondary navigation
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Bas Brands
da67b468fa MDL-70208 theme_boost: frontend for primary navigation
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Ferran Recio
830c3eb907 MDL-71209 courseformat: add course index modules
The course index is the first UI component that implements the new
drawers and the reactive components. The course index uses the course
state to present the current course structure and changes whenever
that structure change.
2021-08-20 16:49:06 +02:00
Bas Brands
2092500f8a MDL-72361 theme_boost: page scroll issue on drawer close 2021-08-19 09:27:23 +02:00
Bas Brands
626af1a5f0 MDL-71550 theme_boost: improve dropdown hover styles 2021-08-19 09:15:20 +02:00
Eloy Lafuente (stronk7)
4275de7315 Merge branch 'MDL-72206-master' of git://github.com/junpataleta/moodle 2021-08-19 09:10:17 +02:00
Thong Bui
6ed50590bd MDL-72064 Questions: response selection area enough 2021-08-19 13:45:59 +07:00
Sara Arjona
24fcc7ebea MDL-71937 badges: simplify badges page
Apart from reorganising the information displayed in the badges page,
this information has been moved to a template in order to make it
easier to modify and maintain.
2021-08-10 15:59:06 +02:00
Víctor Déniz
4bd6f3938e Merge branch 'MDL-71152-master' of git://github.com/roland04/moodle 2021-08-04 20:37:33 +01:00
Bas Brands
25cec83cd6 MDL-72267 theme_boost: prevent dropdowns to overflow drawer 2021-08-03 12:04:48 +02:00
Mikel Martín
7edcf3615d MDL-70794 theme_boost: SCSS for Report builder filters dropdown. 2021-07-28 16:40:50 +01:00
Shamim Rezaie
7029fa056c MDL-71603 editor_atto: Focus on the toggled row
quoted from
https://www.accessibility-developer-guide.com/examples/sensible-aria-usage/expanded/

As a general rule, the toggled element should be right below the toggle
button, so screen readers will find it easily. If that is not the case,
then the focus should be placed inside the element upon toggling it
visible, and back to the initial element upon toggling it invisible.
2021-07-28 15:43:59 +10:00
Ilya Tregubov
3a55ff2c55 Merge branch 'MDL-71672-master-2' of git://github.com/rezaies/moodle 2021-07-27 11:59:15 +02:00
Jun Pataleta
210e6faf65 MDL-72206 theme_boost: Have env check classes extend alert classes
To achieve good colour contrast and consistency with other parts of
Moodle, the environment check classes need to extend the alert-*
classes.
2021-07-23 15:05:25 +08:00
Simey Lameze
2e11059734 MDL-71817 calendar: make calendar block look like full calendar
This commit does few things:

1) Removes .path-calendar specificity styles from full view can
work on the Dashboard.

2) The new event button colour has been changed to btn-primary.

3) CSS fix to make the calendar controls inline on small block.
2021-07-22 08:46:01 +08:00
Shamim Rezaie
d970bf0a1e MDL-71672 javascript: Fix the markup in the header of YUI dialogs
Move the close button out of the element that is set as the
aria-labelledby for the dialog.
Also used h5 for the dialog titles so they are consistent with
AMD modals.
2021-07-19 16:40:10 +10:00
Mikel Martín
f874652ad2 MDL-71152 theme_boost: Use 'scroll-margin-top' for anchor links
Current anchor link offset fix is not working with 'display:flex' elements
2021-07-16 11:56:31 +02:00