()
| 689 | } |
| 690 | |
| 691 | function initflashm() { |
| 692 | api.storage.addStyle( |
| 693 | `.flashinfo{ |
| 694 | transition: max-height 2s, opacity 2s 2s; |
| 695 | } |
| 696 | .mini-stealth .flashinfo{ |
| 697 | opacity: 0; |
| 698 | } |
| 699 | #flashinfo-div.hover.mini-stealth .flashinfo.type-update{ |
| 700 | opacity: 0.7; |
| 701 | } |
| 702 | #flashinfo-div.hover .flashinfo{ |
| 703 | opacity: 1; |
| 704 | } |
| 705 | .flashinfo:hover, .flashinfo.open{ |
| 706 | max-height:5000px !important; |
| 707 | z-index: 2147483647; |
| 708 | opacity: 1; |
| 709 | transition: max-height 2s; |
| 710 | } |
| 711 | .flashinfo .synopsis{ |
| 712 | transition: max-height 2s, max-width 2s ease 2s; |
| 713 | } |
| 714 | .flashinfo:hover .synopsis, .flashinfo.open .synopsis{ |
| 715 | max-height:9999px !important; |
| 716 | max-width: 500px !important; |
| 717 | transition: max-height 2s; |
| 718 | } |
| 719 | #flashinfo-div{ |
| 720 | z-index: 2; |
| 721 | transition: 2s; |
| 722 | } |
| 723 | #flashinfo-div:hover, #flashinfo-div.hover{ |
| 724 | z-index: 2147483647; |
| 725 | } |
| 726 | |
| 727 | #flash-div-top, #flash-div-bottom, #flashinfo-div{ |
| 728 | font-family: "Helvetica","Arial",sans-serif; |
| 729 | color: white; |
| 730 | font-size: 14px; |
| 731 | font-weight: 400; |
| 732 | line-height: 17px; |
| 733 | } |
| 734 | #flash-div-top h2, #flash-div-bottom h2, #flashinfo-div h2{ |
| 735 | font-family: "Helvetica","Arial",sans-serif; |
| 736 | color: white; |
| 737 | font-size: 14px; |
| 738 | font-weight: 700; |
| 739 | line-height: 17px; |
| 740 | padding: 0; |
| 741 | margin: 0; |
| 742 | } |
| 743 | #flash-div-top a, #flash-div-bottom a, #flashinfo-div a{ |
| 744 | color: #DF6300; |
| 745 | }`, |
| 746 | ); |
| 747 | |
| 748 | let extraClass = ''; |
no test coverage detected