Commit graph

39 commits

Author SHA1 Message Date
Amaia Anabitarte
a58ea07a41 MDL-76357 theme: Make sticky footer more prominent 2023-01-26 13:11:18 +01:00
Sara Arjona
71947fb012 MDL-75490 theme_classic: Update footer to pass accessibility tests 2022-11-15 11:12:29 +01:00
Jun Pataleta
492662a333 Merge branch 'MDL-75157-master-1' of https://github.com/mihailges/moodle 2022-10-21 09:07:58 +03:00
Ferran Recio
3d483ac2ef MDL-75401 core: sticky footer component 2022-10-19 13:06:54 +02:00
Mihail Geshoski
c9af6ad02f MDL-75157 theme: Divider and custom bottom border in tertiary navigation 2022-10-18 00:42:45 +08:00
Bas Brands
a74c715627 MDL-73612 gradereport_grader: drawer layout issues 2022-01-31 10:09:33 +01:00
Bas Brands
6047a11147 MDL-72457 theme_boost: remove main container border 2021-12-16 08:58:41 +01:00
Bas Brands
946fd915e2 MDL-72095 theme_boost: max width for activity pages 2021-12-08 17:29:49 +01:00
Simey Lameze
fa080070a1 MDL-72667 notifications: improve colour contrast 2021-11-04 21:01:55 +08:00
Mathew May
dba47e8641 MDL-72091 Navigation: Update navigation to match designs 2021-10-11 12:20:34 +08: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
Dongsheng Cai
4357b7ef16 MDL-70846 accessibility: update color to increase contrast 2021-06-03 13:52:05 +10:00
Mikel Martín
e7fa11471e MDL-71089 theme_boost: Add styles for different toast types 2021-04-13 16:28:35 +02:00
Bas Brands
451bd40752 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:01:17 +01:00
Jun Pataleta
73126a6767 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:11:07 +08:00
Eloy Lafuente (stronk7)
8948440944 Merge branch 'MDL-69395' of github.com:stronk7/moodle into master 2020-09-17 17:00:49 +02:00
Eloy Lafuente (stronk7)
75f0ebd3fe MDL-69395 theme_classic: remove superfluous selector already in boost 2020-09-17 13:07:10 +02:00
Bas Brands
609d8b380e 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-09 09:59:08 +02:00
Jun Pataleta
338fd44c28 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-09-03 11:04:03 +08:00
Sara Arjona
6d898a7cfa Merge branch 'MDL-69389-master' of git://github.com/junpataleta/moodle into master 2020-08-26 18:02:50 +02:00
Sara Arjona
97c980c319 Merge branch 'MDL-69114-master' of git://github.com/bmbrands/moodle into master 2020-08-26 16:26:52 +02:00
Jun Pataleta
8fcc063acd 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:04:57 +08:00
Bas Brands
4394f9e358 MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css 2020-08-17 08:16:42 +00:00
Bas Brands
d17a85c7d2 MDL-69114 theme_boost: improve the color contrast for .*-info classes 2020-08-03 11:33:53 +02:00
Mihail Geshoski
159500d444 MDL-68899 theme_classic: Fix dashboard course cards rendering
Co-authored-by: Bas Brands <bas@moodle.com>
2020-06-08 09:14:21 +08:00
Adrian Greeve
823a01ad13 Merge branch 'MDL-68828-master' of git://github.com/bmbrands/moodle 2020-06-02 09:36:37 +08:00
Bas Brands
f7a3f554b7 MDL-68828 theme_classic: fix for mobile
- setting a max width so the page does not overflow its container on
mobile
- fixing dashboard cards to be 100% wide on mobile
2020-05-26 14:08:05 +02:00
Bas Brands
91de0ed823 MDL-67874 theme_boost: make focus outline accessible 2020-05-26 09:54:12 +02:00
Andrew Nicols
b5b9166831 Merge branch 'MDL-68103-master' of git://github.com/bmbrands/moodle 2020-05-25 19:55:11 +08:00
Bas Brands
9d2d2c2beb MDL-68103 theme_classic: show content full width when printing 2020-05-25 13:48:42 +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
Ryan Wyllie
a5f88ccca2 MDL-64821 theme_classic: disable some boost general page styling
Disable the reset and fixed width content styling from the Boost
theme for the classic theme because it doesn't work well with
blocks.
2019-09-25 15:36:51 +08:00
Bas Brands
987c70f544 MDL-65105 theme_classic: use $dark variable for navbar-dark 2019-06-24 11:42:58 +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