aboutsummaryrefslogtreecommitdiffstats
path: root/web/vendor/html5sortable.min.js
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2020-05-13 12:19:06 +0100
committerZarino Zappia <mail@zarino.co.uk>2020-05-15 09:57:05 +0100
commit5bf3d1b8784a025c3fa19a66f7d85d0fe0202c75 (patch)
tree86de8a8c9f6c4068bd1e64fd08b0fe77bf057225 /web/vendor/html5sortable.min.js
parent4b5c27c8aeb904c3f89dc375d418a1e07d381e38 (diff)
Sass variables for customising links in #front-main
The colour and text decoration of links inside `#front-main` can now be customised via `$primary_link_*` Sass variables. Text decoration is set in _base.scss (like global link text decoration) while colour is handled in _layout.scss (which is where `#front-main` is given its background colour, so likely also the time you’ll want to set a contrasting colour for links inside it). The colour variables are set to `null` by default, meaning that no colour or rules for those links will be compiled, enabling the links to inherit the global link colour style, which previously wasn’t possible. The decoration variables are set to `underline` by default, because most cobrands set their #front-main links to be the same colour as the surrounding text, so adding an underline is a sensible default. You can disable the underlines by setting `$primary_link_decoration: none` in your cobrand’s _colours.scss file, as cheshireeast and oxfordshire do. Fixes #3007.
Diffstat (limited to 'web/vendor/html5sortable.min.js')
0 files changed, 0 insertions, 0 deletions