Skip to content

Commit

Permalink
5.0.0-67
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrini committed Aug 28, 2023
1 parent 2499b08 commit 3620a98
Show file tree
Hide file tree
Showing 16 changed files with 160 additions and 156 deletions.
44 changes: 16 additions & 28 deletions BookReader/BookReader.css
Original file line number Diff line number Diff line change
Expand Up @@ -1069,8 +1069,13 @@ i.BRicon {
background: transparent;
outline: none;
}
.BRfooter button:hover .tooltip {
display: block;
@media (hover: hover) {
.BRfooter button {
/* styles to apply on devices that support hover */
}
.BRfooter button:hover .BRtooltip {
display: block;
}
}
.BRfooter button.hide {
display: none;
Expand Down Expand Up @@ -1605,6 +1610,10 @@ i.BRicon {
.BookReader .BRchapter.front, .BRmobileMenu .BRchapter.front, .BRfloat .BRchapter.front {
background-color: blue;
}
.BookReader .BRchapter .BRchapterPage, .BRmobileMenu .BRchapter .BRchapterPage, .BRfloat .BRchapter .BRchapterPage {
font-size: 0.85em;
opacity: 0.8;
}
.BookReader .BRsearch, .BRmobileMenu .BRsearch, .BRfloat .BRsearch {
width: 9px;
height: 6px;
Expand Down Expand Up @@ -1635,8 +1644,8 @@ i.BRicon {
}
.BookReader .BRquery footer, .BRmobileMenu .BRquery footer, .BRfloat .BRquery footer {
text-align: center;
font-weight: bold;
font-size: 0.9em;
font-size: 0.85em;
opacity: 0.8;
}
.BookReader .BRquery mark, .BRmobileMenu .BRquery mark, .BRfloat .BRquery mark {
color: #adaedc;
Expand Down Expand Up @@ -2555,28 +2564,6 @@ html.mm-background .BookReader {
display: block;
}
}
li.BRtable-contents-el {
line-height: 150%;
padding: 10px 10px 10px 20px;
overflow: hidden;
color: #fff;
}
li.BRtable-contents-el.chapter-clickable {
font-weight: normal;
}
li.BRtable-contents-el.current-chapter {
background-color: lightblue;
}
li.BRtable-contents-el > span {
display: inline;
padding: 0;
white-space: normal;
}
li.BRtable-contents-el .BRTOCElementPage {
font-size: 0.85em;
opacity: 0.8;
}

/****************** Excerpt from jquery-ui *********************/
.ui-helper-hidden {
display: none;
Expand Down Expand Up @@ -2733,7 +2720,7 @@ li.BRtable-contents-el .BRTOCElementPage {
width: 100%;
/* BookReader defaults overrides */
}
.BRcontrols .tooltip {
.BRcontrols .BRtooltip {
display: none;
position: absolute;
width: auto;
Expand All @@ -2746,8 +2733,9 @@ li.BRtable-contents-el .BRTOCElementPage {
color: #fff;
border-radius: 3px;
background: #333;
pointer-events: none;
}
.BRcontrols .full .tooltip {
.BRcontrols .full .BRtooltip {
left: auto;
right: 0;
transform: translateX(0);
Expand Down
2 changes: 1 addition & 1 deletion BookReader/BookReader.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/BookReader.js.map

Large diffs are not rendered by default.

216 changes: 102 additions & 114 deletions BookReader/ia-bookreader-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/ia-bookreader-bundle.js.map

Large diffs are not rendered by default.

25 changes: 24 additions & 1 deletion BookReader/plugins/plugin.chapters.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/plugins/plugin.chapters.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/plugins/plugin.search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/plugins/plugin.search.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/plugins/plugin.text_selection.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/plugins/plugin.text_selection.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/plugins/plugin.tts.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BookReader/plugins/plugin.tts.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 5.0.0-67
- Feature: Re-enable chapters plugin + migrate off mmenu @cdrini
- Fix: Disable tooltips on touchscreens + fix on IA @cdrini
- Dev: Remove core-js update block; issue resolved in core-js @cdrini

# 5.0.0-66
- Fix: Pinch zooming on iPad/iPhone, Samsung Internet @cdrini

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@internetarchive/bookreader",
"version": "5.0.0-66",
"version": "5.0.0-67",
"description": "The Internet Archive BookReader.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 3620a98

Please sign in to comment.