Skip to content

Commit

Permalink
Fix inkwell colors for a11y.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Jan 18, 2023
1 parent 3141774 commit fb87ed9
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 7 deletions.
2 changes: 1 addition & 1 deletion asset/css/default.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion asset/css/inkwell.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion asset/css/revolution.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion asset/css/seafoam.css

Large diffs are not rendered by default.

25 changes: 22 additions & 3 deletions asset/scss/inkwell.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ body {

header {
border-top: $global-padding solid $primary-color;

@include breakpoint(medium down) {
border-top: 0;
}
}

header .menu a {
Expand All @@ -43,15 +47,20 @@ header .input-group-field {

a,
.breadcrumbs a {
color: darken($primary-color, 30%);
color: #000;
text-decoration: underline;

&:hover {
color: darken($primary-color, 30%);
&:hover,
&:focus {
color: #000;
background-color: lighten($primary-color, 40%);
}
}

a.resource-link:hover .resource-name {
background-color: lighten($primary-color, 40%);
}

body.vertical-menu header a {
color: #000;
text-decoration: underline;
Expand All @@ -66,4 +75,14 @@ label,
.media-list img.lg-image {
border: 0;
margin-right: 0;
}

@include breakpoint(medium down) {
header .menu-toggle[type="button"] {
border: 0;
}

body.vertical-menu header .title-bar button.menu-toggle {
color: #000;
}
}

0 comments on commit fb87ed9

Please sign in to comment.