@internetarchive/bookreader 5.0.0-98 → 5.0.0-99

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.
@@ -521,15 +521,7 @@ body.BRfullscreenActive .mm-menu {
521
521
  background-image: none;
522
522
  }
523
523
 
524
- svg.BRPageLayer {
525
- position: absolute;
526
- top: 0;
527
- left: 0;
528
- right: 0;
529
- bottom: 0;
530
- }
531
-
532
- .BRpageFlipping .BRPageLayer {
524
+ .BRpageFlipping .BRtextLayer {
533
525
  display: none;
534
526
  }
535
527
 
@@ -2137,6 +2129,19 @@ ia-bookreader .BRtoolbar {
2137
2129
  color: transparent;
2138
2130
  }
2139
2131
 
2132
+ .BRtextLayer ::target-text {
2133
+ background-color: hsla(45, 80%, 66%, 0.6);
2134
+ color: transparent;
2135
+ }
2136
+
2137
+ .BRtranslateLayer ::selection {
2138
+ background: hsla(210, 74%, 62%, 0.4);
2139
+ }
2140
+
2141
+ .BRtranslateLayer ::-moz-selection {
2142
+ background: hsla(210, 74%, 62%, 0.4);
2143
+ }
2144
+
2140
2145
  .BRparagraphElement br {
2141
2146
  visibility: hidden;
2142
2147
  }
@@ -2199,8 +2204,7 @@ ia-bookreader .BRtoolbar {
2199
2204
  }
2200
2205
 
2201
2206
  .BRtextLayer.showingTranslation {
2202
- visibility: hidden;
2203
- pointer-events: none;
2207
+ display: none;
2204
2208
  }
2205
2209
 
2206
2210
  .BRtranslateLayer .BRparagraphElement.BRtranslateHidden {