Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Improve accessibility of the interests select box #750

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
eslint:
enabled: true
config_file: assets/.eslintrc.json
ignore_file: assets/.eslintignore
version: 5.16.0
scss:
enabled: false
stylelint:
config_file: assets/.stylelintrc.json
ignore_file: assets/.stylelintignore
enabled: true
2 changes: 2 additions & 0 deletions assets/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
js/vendor
assets/js/vendor
1 change: 1 addition & 0 deletions assets/.stylelintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
css/vendor
assets/css/vendor
2 changes: 1 addition & 1 deletion assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@import "objects/container";

@import "~highlight.js/styles/github.css";
@import "vendor/selectize";
@import "vendor/select2";

@import "components/announcement";
@import "components/announcement-create";
Expand Down
19 changes: 18 additions & 1 deletion assets/css/components/_announcement-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,27 @@
border: $base-border;
border-radius: $base-border-radius;
box-shadow: 0 0 16px rgba($light-gray, 0.6);
display: none;
display: block;
WilHall marked this conversation as resolved.
Show resolved Hide resolved
font-size: $small-font-size;
opacity: 0;
padding: $small-spacing;
transition: opacity 150ms, visibility 150ms;
WilHall marked this conversation as resolved.
Show resolved Hide resolved
visibility: hidden;
width: 600px;
z-index: $ceiling-z-index;
}

.interested-user-count {
text-decoration: underline;

&:hover,
&:focus {
color: $tbds-brand-red;

+ .interested-user-names {
opacity: 1;
visibility: visible;
}
}
}
}
Loading