@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.
@@ -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
  /**