Commit graph

19 commits

Author SHA1 Message Date
Bas Brands
e6b274a542 MDL-69390 theme_boost: dropdown menu accessibility
- display a dot before the active element
- use the active colour for the hover colour
2020-10-28 14:10:45 +01:00
Jun Pataleta
105e40d377 MDL-69392 theme_classic: Darken red, blue and green colours
The current red, blue, and green colours achieve the minimum colour
contrast against a white background. However, when they're against
coloured background, text with these colours will easily fail the
4.5:1 contrast ratio requirement for Level AA.
The updated colours now have the following contrast ratio against a
white background:
* Blue  - #0f6fc5 (5.12:1, from 4.58:1)
* Green - #357a32 (5.27:1, from 4.63:1)
* Red   - #ca3120 (5.29:1, from 4.59:1)
2020-10-21 14:57:57 +08:00
Eloy Lafuente (stronk7)
3ae39301b9 Merge branch 'MDL-69395_39' of github.com:stronk7/moodle into MOODLE_39_STABLE 2020-09-17 17:03:10 +02:00
Eloy Lafuente (stronk7)
422fcb70ca MDL-69395 theme_classic: remove superfluous selector already in boost 2020-09-17 13:06:06 +02:00
Eloy Lafuente (stronk7)
6f35d6536d Merge branch 'MDL-69395-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE 2020-09-17 08:58:46 +02:00
Bas Brands
6c39b7890e MDL-69395 theme_boost: improve colour contrast for form input fields
- for this issue the atto styles.css was moved into theme boost so
we can use our preset variable for $gray-500
2020-09-03 11:09:02 +02:00
Andrew Nicols
b676817a64 Merge branch 'MDL-69391-39' of git://github.com/junpataleta/moodle into MOODLE_39_STABLE 2020-09-03 11:48:49 +08:00
Sara Arjona
3584cd786a Merge branch 'MDL-69389-39' of git://github.com/junpataleta/moodle into MOODLE_39_STABLE 2020-08-26 18:03:06 +02:00
Jun Pataleta
1257e39d92 MDL-69389 theme_classic: Make default body font colour darker
Links and normal text should have at least a colour contrast ratio
of 3:1. To achieve this, $body-color will be using the darker
shade of gray $gray-900 (#212529).
2020-08-26 11:08:28 +08:00
Jun Pataleta
2d450e9a3b MDL-69391 theme: Darken navbar-light colour
Increase the opacity for the sass variable $navbar-light-color a
little bit in order to achieve an acceptable colour contrast against
the white background.
2020-08-25 14:40:34 +08:00
Bas Brands
f51dcd3c96 MDL-69114 theme_boost: improve the color contrast for .*-info classes 2020-08-03 11:36:48 +02:00
Bas Brands
91de0ed823 MDL-67874 theme_boost: make focus outline accessible 2020-05-26 09:54:12 +02:00
Víctor Déniz Falcón
676b8b8217 Merge branch 'MDL-68299-master' of git://github.com/bmbrands/moodle 2020-05-19 20:43:46 +01:00
Bas Brands
92bc86e429 MDL-68299 theme_boost: theme updates for accessible zoom
The Moodle UI should be functional in a viewport of 320px by 256px to
meet WCAG 1.4.10

this patch contains improvements to:
-prevent horizontal scrolling
-better wrapping of page header
-message drawer funtional on tiny screens
-remove indenting on courses
-prevent elements overlapping on quiz editing
-better navigation tabs
-fix colour picker
-quiz editing
2020-05-19 10:13:20 +02:00
Bas Brands
d6cd1d87cf MDL-68497 theme_boost: font smoothing for Firefox on Mac 2020-04-23 10:29:07 +02:00
Bas Brands
1a17df089d MDL-64494 theme_boost: accessible theme colours 2020-03-31 18:51:38 +02:00
Bas Brands
db91972458 MDL-65417 themes : small visual fixes
* region main border radius if sass var $enable-rounded is true (in
classic)
* white background for dashboard on classic where blocks are gray
* frontpage sitetopic margin and padding left removed to align with
courses content
2019-05-06 11:46:52 +02:00
David Balch
da37a3add1 MDL-65299 theme_classic: Allow default.scss theme-colors override. 2019-04-10 09:27:25 +01:00
Bas Brands
de213bf079 MDL-64505 theme_classic: Created the classic theme
The Classic theme is being introduced as a Bootstrap 4 replacement
for the older themes based on Bootstrap 2, such as Bootstrapbase,
Clean and More. It is a child theme of Boost, with a navigation
structure similar to the Clean theme.

Co-authored-by: Bas Brands <bmbrands@gmail.com>
Co-authored-by: Michael Hawkins <michaelh@moodle.com>
2019-03-18 18:59:23 +08:00