@internetarchive/bookreader 5.0.0-97 → 5.0.0-98

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.
@@ -1490,6 +1490,7 @@ ia-bookreader .BRtoolbar {
1490
1490
 
1491
1491
  .BookReader .searchHiliteLayer, .BookReader .ttsHiliteLayer, .BRfloat .searchHiliteLayer, .BRfloat .ttsHiliteLayer {
1492
1492
  pointer-events: none;
1493
+ z-index: 4;
1493
1494
  }
1494
1495
  .BookReader .searchHiliteLayer rect, .BookReader .ttsHiliteLayer rect, .BRfloat .searchHiliteLayer rect, .BRfloat .ttsHiliteLayer rect {
1495
1496
  fill: rgba(0, 0, 255, 0.2);
@@ -2158,19 +2159,18 @@ ia-bookreader .BRtoolbar {
2158
2159
  user-select: none;
2159
2160
  }
2160
2161
 
2162
+ .BRtextLayer:has([_istranslated="1"], msreadoutspan) {
2163
+ mix-blend-mode: normal;
2164
+ }
2165
+
2161
2166
  .BRwordElement[_istranslated="1"], .BRwordElement[_msttexthash], .BRspace[_istranslated="1"], .BRspace[_msttexthash] {
2162
- background-color: #e4dccd;
2163
2167
  color: black;
2164
2168
  letter-spacing: unset !important;
2165
- background: #ccbfa7;
2166
- }
2167
-
2168
- .BRlineElement font[_mstmutation="1"] {
2169
- background: #ccbfa7;
2170
2169
  }
2171
2170
 
2172
2171
  .BRlineElement:has([_istranslated="1"], [_msttexthash]) {
2173
- background-color: #e4dccd;
2172
+ background: rgba(248, 237, 192, 0.8);
2173
+ backdrop-filter: blur(8px);
2174
2174
  color: black;
2175
2175
  text-align: justify;
2176
2176
  width: inherit;
@@ -2180,14 +2180,13 @@ ia-bookreader .BRtoolbar {
2180
2180
  }
2181
2181
 
2182
2182
  .BRlineElement[_msttexthash] {
2183
- background: #ccbfa7;
2184
2183
  word-spacing: unset !important;
2185
2184
  }
2186
2185
 
2187
2186
  .BRtranslateLayer .BRparagraphElement {
2188
2187
  pointer-events: auto;
2189
2188
  overflow-y: auto;
2190
- background: rgba(248, 237, 192, 0.5);
2189
+ background: rgba(248, 237, 192, 0.8);
2191
2190
  backdrop-filter: blur(8px);
2192
2191
  color: black;
2193
2192
  line-height: 1em;