@internetarchive/bookreader 5.0.0-40 → 5.0.0-40-a1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1494,42 +1494,9 @@ i.BRicon {
1494
1494
  pointer-events: none;
1495
1495
  }
1496
1496
  .BookReader .searchHiliteLayer rect, .BookReader .ttsHiliteLayer rect, .BRmobileMenu .searchHiliteLayer rect, .BRmobileMenu .ttsHiliteLayer rect, .BRfloat .searchHiliteLayer rect, .BRfloat .ttsHiliteLayer rect {
1497
- fill: rgba(0, 0, 255, 0.2);
1498
- }
1499
- .BookReader .searchHiliteLayer rect, .BRmobileMenu .searchHiliteLayer rect, .BRfloat .searchHiliteLayer rect {
1500
- animation: highlightFocus 600ms 1 reverse;
1501
- stroke: blue;
1502
- stroke-width: 4px;
1503
- }
1504
- .BookReader .searchHiliteLayer rect:nth-child(1), .BRmobileMenu .searchHiliteLayer rect:nth-child(1), .BRfloat .searchHiliteLayer rect:nth-child(1) {
1505
- animation-delay: 0ms;
1506
- }
1507
- .BookReader .searchHiliteLayer rect:nth-child(2), .BRmobileMenu .searchHiliteLayer rect:nth-child(2), .BRfloat .searchHiliteLayer rect:nth-child(2) {
1508
- animation-delay: 50ms;
1509
- }
1510
- .BookReader .searchHiliteLayer rect:nth-child(3), .BRmobileMenu .searchHiliteLayer rect:nth-child(3), .BRfloat .searchHiliteLayer rect:nth-child(3) {
1511
- animation-delay: 100ms;
1512
- }
1513
- .BookReader .searchHiliteLayer rect:nth-child(4), .BRmobileMenu .searchHiliteLayer rect:nth-child(4), .BRfloat .searchHiliteLayer rect:nth-child(4) {
1514
- animation-delay: 150ms;
1515
- }
1516
- .BookReader .searchHiliteLayer rect:nth-child(5), .BRmobileMenu .searchHiliteLayer rect:nth-child(5), .BRfloat .searchHiliteLayer rect:nth-child(5) {
1517
- animation-delay: 200ms;
1518
- }
1519
- .BookReader .searchHiliteLayer rect:nth-child(6), .BRmobileMenu .searchHiliteLayer rect:nth-child(6), .BRfloat .searchHiliteLayer rect:nth-child(6) {
1520
- animation-delay: 250ms;
1521
- }
1522
- .BookReader .searchHiliteLayer rect:nth-child(7), .BRmobileMenu .searchHiliteLayer rect:nth-child(7), .BRfloat .searchHiliteLayer rect:nth-child(7) {
1523
- animation-delay: 300ms;
1524
- }
1525
- .BookReader .searchHiliteLayer rect:nth-child(8), .BRmobileMenu .searchHiliteLayer rect:nth-child(8), .BRfloat .searchHiliteLayer rect:nth-child(8) {
1526
- animation-delay: 350ms;
1527
- }
1528
- .BookReader .searchHiliteLayer rect:nth-child(9), .BRmobileMenu .searchHiliteLayer rect:nth-child(9), .BRfloat .searchHiliteLayer rect:nth-child(9) {
1529
- animation-delay: 400ms;
1530
- }
1531
- .BookReader .searchHiliteLayer rect:nth-child(10), .BRmobileMenu .searchHiliteLayer rect:nth-child(10), .BRfloat .searchHiliteLayer rect:nth-child(10) {
1532
- animation-delay: 450ms;
1497
+ fill: #0000ff;
1498
+ fill-opacity: 0.2;
1499
+ animation: hiliteFadeIn 0.2s;
1533
1500
  }
1534
1501
  .BookReader .BRchapter, .BookReader .BRsearch, .BRmobileMenu .BRchapter, .BRmobileMenu .BRsearch, .BRfloat .BRchapter, .BRfloat .BRsearch {
1535
1502
  position: absolute;
@@ -1681,9 +1648,9 @@ i.BRicon {
1681
1648
  display: none;
1682
1649
  }
1683
1650
 
1684
- @keyframes highlightFocus {
1685
- to {
1686
- stroke-width: 20px;
1651
+ @keyframes hiliteFadeIn {
1652
+ from {
1653
+ fill-opacity: 0;
1687
1654
  }
1688
1655
  }
1689
1656
  /* Mid size breakpoint */