@internetarchive/bookreader 5.0.0-113 → 5.0.0-114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BookReader/BookReader.css +7 -0
- package/BookReader/BookReader.js +1 -1
- package/BookReader/BookReader.js.map +1 -1
- package/BookReader/ia-bookreader-bundle.js +1 -1
- package/BookReader/ia-bookreader-bundle.js.map +1 -1
- package/BookReader/plugins/plugin.chapters.js +1 -1
- package/BookReader/plugins/plugin.chapters.js.map +1 -1
- package/BookReader/plugins/plugin.experiments.js +1 -1
- package/BookReader/plugins/plugin.experiments.js.map +1 -1
- package/BookReader/plugins/plugin.search.js +1 -1
- package/BookReader/plugins/plugin.search.js.map +1 -1
- package/BookReader/plugins/plugin.text_selection.js +1 -1
- package/BookReader/plugins/plugin.text_selection.js.map +1 -1
- package/BookReader/plugins/plugin.translate.js +1 -1
- package/BookReader/plugins/plugin.translate.js.map +1 -1
- package/BookReader/plugins/plugin.tts.js +1 -1
- package/BookReader/plugins/plugin.tts.js.map +1 -1
- package/package.json +1 -1
- package/src/css/_TextSelection.scss +7 -1
- package/src/ia-bookreader/ia-bookreader.js +13 -2
- package/src/plugins/plugin.experiments.js +13 -3
- package/src/plugins/plugin.text_selection.js +8 -1
- package/src/plugins/tts/plugin.tts.js +3 -3
- package/src/plugins/tts/utils.js +0 -10
- package/src/util/TextSelectionManager.js +198 -83
- package/src/util/strings.js +10 -0
|
@@ -2286,6 +2286,7 @@ ia-bookreader .BRtoolbar {
|
|
|
2286
2286
|
display: none;
|
|
2287
2287
|
border-radius: 20px;
|
|
2288
2288
|
background-color: #333;
|
|
2289
|
+
color: white;
|
|
2289
2290
|
color-scheme: dark;
|
|
2290
2291
|
padding: 2px;
|
|
2291
2292
|
overflow: hidden;
|
|
@@ -2347,9 +2348,15 @@ ia-bookreader .BRtoolbar {
|
|
|
2347
2348
|
color: transparent;
|
|
2348
2349
|
}
|
|
2349
2350
|
|
|
2351
|
+
@keyframes highlightTargetFlash {
|
|
2352
|
+
to {
|
|
2353
|
+
background-color: hsl(45, 80%, 66%);
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2350
2356
|
.BRtextLayer .BRhighlight--target-text, .BRtextLayer ::target-text {
|
|
2351
2357
|
background-color: hsla(45, 80%, 66%, 0.6);
|
|
2352
2358
|
color: transparent;
|
|
2359
|
+
animation: highlightTargetFlash 600ms 1 reverse;
|
|
2353
2360
|
}
|
|
2354
2361
|
|
|
2355
2362
|
/**
|