MCPcopy Index your code
hub / github.com/MALSync/MALSync / initflashm

Function initflashm

src/utils/general.ts:691–758  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

689}
690
691function 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 = '';

Callers 1

flashmFunction · 0.85

Calls 3

addStyleMethod · 0.80
langDirectionMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected