Skip to content

Commit

Permalink
Merge pull request #1291 from qdraw/feature/202311_a11y_focus_prev_next
Browse files Browse the repository at this point in the history
fix focus prev next
  • Loading branch information
qdraw authored Nov 30, 2023
2 parents 6644372 + 6cc0ca9 commit df6d22c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 0 additions & 7 deletions starsky/compose-build-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@ for ((i = 1; i <= $#; i++ )); do
fi
done

AIRPLAY=$(curl -sI "http://localhost:5000" | grep -Fi server)
if [[ $AIRPLAY == *AirTunes* ]]; then
printf '%s%s%s\n' $COLOR_RED 'You should disable Airplay receiver in Config' $COLOR_REST
echo "...."
exit 1
fi

if (! docker stats --no-stream &> /dev/null); then
if [[ "$(uname)" == "Darwin" ]]; then
# On Mac OS this would be the terminal command to launch Docker
Expand Down
10 changes: 10 additions & 0 deletions starsky/starsky/clientapp/src/style/css/24-detailview.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@
rotate(270deg);
}

.detailview .main .nextprev:active,
.detailview .main .nextprev:focus {
box-shadow: 0px 0px 0px #fff;
outline: 0;
outline-color: transparent;
outline-style: none;
}

.detailview .main .nextprev {
Expand Down Expand Up @@ -125,6 +129,7 @@
background-image: linear-gradient(90deg, transparent, rgba(54, 56, 57, 0.4));
}

.detailview .main .nextprev:focus .icon,
.detailview .main .nextprev:hover .icon {
position: absolute;
width: 48px;
Expand All @@ -138,12 +143,17 @@
background-position: 30% center;
}

.detailview .main .nextprev.nextprev--next:focus .icon,
.detailview .main .nextprev.nextprev--next:hover .icon {
left: calc(100% - 73px);
background-image: url("../images/m-next-arrow.svg");
background-position: 60% center;
}

.detailview .main .nextprev:focus .icon {
box-shadow: 0px 0px 5px #5c6bc0;
}

.detailview .main.main--gpx {
cursor: not-allowed;
}
Expand Down

1 comment on commit df6d22c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.