Open david-fong-bc opened 1 month ago
This seems like such a simple task -- and it would have been for Openplus, as this is the system they set up. But for me:
@danhgov I found something closer to the source in https://github.com/bcgov/bcbb-theme/blob/1.0.x/scss/overrides/_bootstrap.scss#L4, which refers to a variable, colorInputBorder
defined in https://github.com/bcgov/bcbb-theme/blob/a8ee8013eb2ffc8b34d9ead2ecb4d5be1bc084b0/scss/_variables.scss#L38. Since it's a colour variable, it might be better to just change border-width
and keep using the standard input border colour.
This is resolved now, and visible at https://dev.cat.data.fin.gov.bc.ca/search
I darkened them a little further-- to 75% grey, aka rgb(192,192,192)
aka #c0c0c0
.
Made the change locally in MFIN DC, compiled the SCSS, rsynced it to a separate project for bcbb_theme, committed it there, then had to update composer.lock
in MFIN DC to pull in the new version of bcbb_theme, and made a commit in this project for that change.
@lkmorlan, do you mind sharing your workflow for changes to bcbb_theme? As I mentioned above, I just made a small CSS change, and it was very convoluted:
rsync -av ~/MFIN-datacatalogue/html/themes/custom/bcbb_theme/ ~/bcbb_theme
composer update bcbb/bcbb_theme
in MFIN DataCatalogueI'm sure there are much easier ways to do this next time, like maybe using 'git subtree'.
How did you have your system set up for committing changes to this dependent project?
@danhgov thanks - looks good.
User story
As a first-time user of FDC with average or poor eyesight, I'd like to be able to see the outlines of (unchecked) checkboxes for items in the search results page clearly enough to notice their presence. They don't need to be attention-drawing- just more more noticeable so a first-time user won't miss them, and users with poor-eyesight can probably see them if they can see regular text on the page.
The current radio buttons are fine. The visibility of checked checkboxes is also fine. This issue ticket is really just about checkboxes in their unchecked state.
This feature supports the following requirements
Additional context
The styling for this comes from bcbb's _boostrap.scss file, which sets
Proposed solution
#c7c7c7
is enough for me, but going even darker than that might not be a bad thing.Estimated level of effort
Definition of done (DoD)
#c7c7c7
, or unchanged border colour and border width set to 2px.Testing
This feature requires manual testing
Other musings
I wonder if the maintainers of bcbb would agree that this styling rule (
.bcbb-theme input[type=checkbox]
) has detrimentally low visibility.