diff --git a/js/text_l2expl.js b/js/text_l2expl.js index 0e132b1df..043eb9f03 100644 --- a/js/text_l2expl.js +++ b/js/text_l2expl.js @@ -114,18 +114,18 @@ textGeneratorL2ExplDiv.append("div") .on("mouseover", () => { d3.select(`#text-vector-generator-l2-text-encoder-container`) .style("background-color", "var(--text1)") - .style("animation", "None") + // .style("animation", "None") }) .on("mouseout", () => { if (window.textEncoderClicked){ d3.select(`#text-vector-generator-l2-text-encoder-container`) .style("background-color", "var(--text0)") - .style("animation", "None") + // .style("animation", "None") } else { d3.select(`#text-vector-generator-l2-text-encoder-container`) .style("background-color", "var(--text0)") - .style("animation", "text-encoder-animation 1.0s infinite") + // .style("animation", "text-encoder-animation 1.0s infinite") } }) .on("click", (e) => { diff --git a/style.css b/style.css index a605e369a..9ff2feb0e 100644 --- a/style.css +++ b/style.css @@ -1126,7 +1126,7 @@ input:checked + .slider:before { position: absolute; left: 240px; background-color: var(--text0); - animation: text-encoder-animation 1.0s infinite; + animation: text-encoder-animation 1.3s infinite; animation-timing-function: linear; color: var(--text4); border-radius: 5px;