Skip to content

Commit c1916fa

Browse files
author
terrill
committed
Change transcript highlight styles to eliminate color dependency
1 parent 7a56720 commit c1916fa

4 files changed

Lines changed: 17 additions & 6 deletions

File tree

‎build/ableplayer.min.css‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎build/ableplayer.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ableplayer",
3-
"version": "4.4.60",
3+
"version": "4.4.61",
44
"description": "Accessible HTML5 media player",
55
"homepage": "http://ableplayer.github.io/ableplayer",
66
"bugs": "https://github.com/ableplayer/ableplayer/issues",

‎styles/ableplayer.css‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,8 +1024,15 @@ ul.able-popup {
10241024
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
10251025
clip: rect(1px, 1px, 1px, 1px);
10261026
}
1027-
.able-highlight {
1028-
background: #FF6; /* light yellow */
1027+
.able-highlight,
1028+
.able-highlight span:hover,
1029+
.able-highlight span:focus,
1030+
.able-highlight span:active {
1031+
background-color: #000 !important;
1032+
color: #FFF !important;
1033+
padding: 0.25em 0.10em;
1034+
border: none;
1035+
outline: none;
10291036
}
10301037
.able-previous {
10311038
background: black !important;
@@ -1034,7 +1041,11 @@ ul.able-popup {
10341041
.able-transcript span:hover,
10351042
.able-transcript span:focus,
10361043
.able-transcript span:active {
1037-
background: #CF6; /* light green */
1044+
background: #FFC; /* light yellow */
1045+
color: #000;
1046+
border: none;
1047+
outline: none;
1048+
border-bottom: 1px solid #000 ;
10381049
cursor: pointer;
10391050
}
10401051
.able-window-toolbar label {

0 commit comments

Comments
 (0)