diff --git a/packages/frontend/src/components/MkButton.vue b/packages/frontend/src/components/MkButton.vue index 94eab89ba9..379b928477 100644 --- a/packages/frontend/src/components/MkButton.vue +++ b/packages/frontend/src/components/MkButton.vue @@ -293,26 +293,26 @@ function onMousedown(evt: MouseEvent): void { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; color: white !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; &:not(:disabled):hover { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; color: white !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &:not(:disabled):active { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; color: white !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite ; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite ; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite ; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite ; } } @@ -320,26 +320,26 @@ function onMousedown(evt: MouseEvent): void { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; color: black; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.45, 0.30, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.45, 0.30, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.45, 0.30, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite; &:not(:disabled):hover { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% ; color: black; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.45, 0.30, 1) infinite ; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.45, 0.30, 1) infinite; - animation: AnimationDark 45s cubic-bezier(0, 0.45, 0.30, 1) infinite ; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite ; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite ; } &:not(:disabled):active { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; color: black; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.45, 0.30, 1) infinite ; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.45, 0.30, 1) infinite; - animation: AnimationDark 45s cubic-bezier(0, 0.45, 0.30, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite ; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.45, 0.30, 1) infinite; } } diff --git a/packages/frontend/src/components/MkChannelFollowButton.vue b/packages/frontend/src/components/MkChannelFollowButton.vue index c95fad0789..888866be56 100644 --- a/packages/frontend/src/components/MkChannelFollowButton.vue +++ b/packages/frontend/src/components/MkChannelFollowButton.vue @@ -123,18 +123,18 @@ async function onClick() { color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingLight { color: #fff; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } @@ -188,27 +188,27 @@ async function onClick() { color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingDark:active { color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; border-color: white; } &.gamingLight:hover { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; border-color: white; } @@ -216,9 +216,9 @@ async function onClick() { color: white; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; border-color: white; } @@ -226,18 +226,18 @@ async function onClick() { color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingLight { color: white; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } diff --git a/packages/frontend/src/components/MkFollowButton.vue b/packages/frontend/src/components/MkFollowButton.vue index c68bf96a0f..97ea03c103 100644 --- a/packages/frontend/src/components/MkFollowButton.vue +++ b/packages/frontend/src/components/MkFollowButton.vue @@ -202,9 +202,9 @@ onBeforeUnmount(() => { color: black !important; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; border: solid 1px black; } @@ -212,9 +212,9 @@ onBeforeUnmount(() => { color: white !important; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; border: solid 1px white; } @@ -225,9 +225,9 @@ onBeforeUnmount(() => { color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } @@ -235,9 +235,9 @@ onBeforeUnmount(() => { color: white; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -291,9 +291,9 @@ onBeforeUnmount(() => { color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; border: solid 1px white; } @@ -301,18 +301,18 @@ onBeforeUnmount(() => { color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; border: solid 1px white; } &.gamingLight:hover { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; border: solid 1px white; } @@ -320,9 +320,9 @@ onBeforeUnmount(() => { color: white; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; border: solid 1px white; } @@ -332,9 +332,9 @@ onBeforeUnmount(() => { border: solid 1px white; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingLight { @@ -343,9 +343,9 @@ onBeforeUnmount(() => { border: solid 1px white; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } diff --git a/packages/frontend/src/components/MkLaunchPad.vue b/packages/frontend/src/components/MkLaunchPad.vue index c6684ccb87..75ccd06074 100644 --- a/packages/frontend/src/components/MkLaunchPad.vue +++ b/packages/frontend/src/components/MkLaunchPad.vue @@ -131,16 +131,16 @@ function close() { border-radius: 10px; &.gamingDark:hover{ background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; color: black; } &.gamingLight:hover{ background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; color: white; } &:hover { diff --git a/packages/frontend/src/components/MkMention.vue b/packages/frontend/src/components/MkMention.vue index d877565a33..ec8a30db69 100644 --- a/packages/frontend/src/components/MkMention.vue +++ b/packages/frontend/src/components/MkMention.vue @@ -82,17 +82,17 @@ const bgCss = (gaming.value === '') ? bg.toRgbString() : ""; color: white; opacity: 0.9; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } &.gamingDark{ opacity: 0.9; color: white; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.isMe { diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue index f227987975..73a9b55fef 100644 --- a/packages/frontend/src/components/MkMenu.vue +++ b/packages/frontend/src/components/MkMenu.vue @@ -340,17 +340,17 @@ onBeforeUnmount(() => { &.gamingDark:before{ color:black !important; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingLight:before{ color:white !important; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } @@ -392,17 +392,17 @@ onBeforeUnmount(() => { &.gamingDark:before{ color:black !important; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingLight:before{ color:white !important; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -452,17 +452,17 @@ onBeforeUnmount(() => { &.gamingDark:before{ color:black !important; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingLight:before{ color:white !important; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index f8ef7715f6..ce910220da 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -1067,17 +1067,17 @@ defineExpose({ &.gamingLight{ background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; } &.gamingDark{ color: white; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; } } diff --git a/packages/frontend/src/components/MkRadio.vue b/packages/frontend/src/components/MkRadio.vue index 18195a0067..b7344cffe4 100644 --- a/packages/frontend/src/components/MkRadio.vue +++ b/packages/frontend/src/components/MkRadio.vue @@ -111,17 +111,17 @@ function toggle(): void { border-color: black !important; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; } &.gamingLight{ color:white; border-color: white !important; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; } > .button { border-color: var(--accent); diff --git a/packages/frontend/src/components/MkRange.vue b/packages/frontend/src/components/MkRange.vue index 4322eb2dfb..2cf4b6c994 100644 --- a/packages/frontend/src/components/MkRange.vue +++ b/packages/frontend/src/components/MkRange.vue @@ -244,16 +244,16 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => { &.gamingLight{ background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingDark{ background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } } @@ -290,32 +290,32 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => { &.gamingDark{ background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } &.gamingLight{ background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &:hover { background: var(--accentLighten); &.gamingDark{ background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } &.gamingLight{ background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } } } diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue index 6da1404bb6..558e34504b 100644 --- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue +++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue @@ -194,17 +194,17 @@ useTooltip(buttonEl, async (showing) => { &.gamingDark{ color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; box-shadow: 0 0 0px 1px white inset; } &.gamingLight{ background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; box-shadow: 0 0 0px 1px white inset; color: white !important; } diff --git a/packages/frontend/src/components/MkSignupDialog.form.vue b/packages/frontend/src/components/MkSignupDialog.form.vue index 626804dcce..495b1a81ea 100644 --- a/packages/frontend/src/components/MkSignupDialog.form.vue +++ b/packages/frontend/src/components/MkSignupDialog.form.vue @@ -363,18 +363,18 @@ async function onSubmit(): Promise { &.gamingDark { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; color: var(--navFg); } &.gamingLight { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationLight cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationLight cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationLight cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; color: var(--navFg); } diff --git a/packages/frontend/src/components/MkSignupDialog.rules.vue b/packages/frontend/src/components/MkSignupDialog.rules.vue index 86a8bdc4e8..8b0db57773 100644 --- a/packages/frontend/src/components/MkSignupDialog.rules.vue +++ b/packages/frontend/src/components/MkSignupDialog.rules.vue @@ -171,18 +171,18 @@ async function updateAgreeNote(v: boolean) { &.gamingDark { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; color: var(--navFg); } &.gamingLight { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationLight cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationLight cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationLight cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; color: var(--navFg); } diff --git a/packages/frontend/src/components/MkSuperMenu.vue b/packages/frontend/src/components/MkSuperMenu.vue index c4903419fc..ea7488bd88 100644 --- a/packages/frontend/src/components/MkSuperMenu.vue +++ b/packages/frontend/src/components/MkSuperMenu.vue @@ -105,17 +105,17 @@ defineProps<{ &.gamingDark{ color: black !important; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingLight{ color: white; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } diff --git a/packages/frontend/src/components/MkSwitch.button.vue b/packages/frontend/src/components/MkSwitch.button.vue index 1cf6bd86a9..3cda474da3 100644 --- a/packages/frontend/src/components/MkSwitch.button.vue +++ b/packages/frontend/src/components/MkSwitch.button.vue @@ -113,17 +113,17 @@ const toggle = () => { .gamingLight { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } .gamingDark { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } .buttonDisabled { diff --git a/packages/frontend/src/components/MkSwitch.vue b/packages/frontend/src/components/MkSwitch.vue index 1c50b27ae3..25c20e67a5 100644 --- a/packages/frontend/src/components/MkSwitch.vue +++ b/packages/frontend/src/components/MkSwitch.vue @@ -104,9 +104,9 @@ const toggle = () => { cursor: not-allowed; background: linear-gradient(270deg, #a84f4f, #a88c4f, #9aa24b, #6da85c, #53a8a6, #7597b5, #8679b5, #b579b5, #b56d96); background-size: 1800% 1800% !important; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; - animation: AnimationDark 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; } &.gamingLightDisabled{ @@ -114,9 +114,9 @@ const toggle = () => { cursor: not-allowed; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; } //&.checked { @@ -139,17 +139,17 @@ const toggle = () => { &.gamingDark { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.25, 0.25, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite; } &.gamingLight{ background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.25, 0.25, 1) infinite !important; } } diff --git a/packages/frontend/src/components/MkTab.vue b/packages/frontend/src/components/MkTab.vue index 4bfba7afe2..47cf3eda04 100644 --- a/packages/frontend/src/components/MkTab.vue +++ b/packages/frontend/src/components/MkTab.vue @@ -86,17 +86,17 @@ export default defineComponent({ color:white; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingLight{ color: black; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } diff --git a/packages/frontend/src/components/MkUserSetupDialog.vue b/packages/frontend/src/components/MkUserSetupDialog.vue index 45317f3bda..9dfaf9471d 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.vue @@ -238,16 +238,16 @@ async function later(later: boolean) { &.gamingLight{ background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingDark{ background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } diff --git a/packages/frontend/src/components/MkVisitorDashboard.vue b/packages/frontend/src/components/MkVisitorDashboard.vue index bed62f7be9..66a4588d54 100644 --- a/packages/frontend/src/components/MkVisitorDashboard.vue +++ b/packages/frontend/src/components/MkVisitorDashboard.vue @@ -194,17 +194,17 @@ function exploreOtherServers() { color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } .gamingDark:hover{ color: black; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd) !important; background-size: 1800% 1800% !important; - -webkit-animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation:AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation:AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } .stats { display: grid; diff --git a/packages/frontend/src/components/global/MkPageHeader.tabs.vue b/packages/frontend/src/components/global/MkPageHeader.tabs.vue index e40d26db76..9c6999bd2d 100644 --- a/packages/frontend/src/components/global/MkPageHeader.tabs.vue +++ b/packages/frontend/src/components/global/MkPageHeader.tabs.vue @@ -278,16 +278,16 @@ onUnmounted(() => { &.gamingLight{ background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } &.gamingDark{ background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.animate { transition: width 0.15s ease, left 0.15s ease; diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index 1fbc31b15c..2eec6b8dac 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -166,6 +166,8 @@ SPDX-License-Identifier: AGPL-3.0-only + + @@ -250,6 +252,7 @@ const nsfw = computed(defaultStore.makeGetterSetter('nsfw')); const showFixedPostForm = computed(defaultStore.makeGetterSetter('showFixedPostForm')); const showFixedPostFormInChannel = computed(defaultStore.makeGetterSetter('showFixedPostFormInChannel')); const numberOfPageCache = computed(defaultStore.makeGetterSetter('numberOfPageCache')); +const numberOfGamingSpeed = computed(defaultStore.makeGetterSetter('numberOfGamingSpeed')); const instanceTicker = computed(defaultStore.makeGetterSetter('instanceTicker')); const enableInfiniteScroll = computed(defaultStore.makeGetterSetter('enableInfiniteScroll')); const useReactionPickerForContextMenu = computed(defaultStore.makeGetterSetter('useReactionPickerForContextMenu')); @@ -266,7 +269,9 @@ watch(lang, () => { miLocalStorage.setItem('lang', lang.value as string); miLocalStorage.removeItem('locale'); }); - +watch(numberOfGamingSpeed, () =>{ + document.documentElement.style.setProperty('--gamingspeed', numberOfGamingSpeed.value+'s'); +}) watch(fontSize, () => { if (fontSize.value == null) { miLocalStorage.removeItem('fontSize'); diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index 1030555b09..e74116e041 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -90,6 +90,7 @@ export const defaultStore = markRaw(new Storage('base', { where: 'account', default: 'yyyy-MM-dd HH-mm-ss [{{number}}]', }, + keepOriginalUploading: { where: 'account', default: false, @@ -346,6 +347,10 @@ export const defaultStore = markRaw(new Storage('base', { where: 'device', default: 3, }, + numberOfGamingSpeed: { + where: 'device', + default: 44, + }, showNoteActionsOnlyHover: { where: 'device', default: false, diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss index a2c860403a..9ee1fa2a36 100644 --- a/packages/frontend/src/style.scss +++ b/packages/frontend/src/style.scss @@ -12,7 +12,7 @@ --marginHalf: 10px; --margin: var(--marginFull); - + --gamingspeed: 43s; // switch dynamically --minBottomSpacingMobile: calc(72px + max(12px, env(safe-area-inset-bottom, 0px))); --minBottomSpacing: var(--minBottomSpacingMobile); diff --git a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue index 7b63285aa9..33e9522d4b 100644 --- a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue @@ -247,18 +247,18 @@ function more() { border-radius: 999px; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } &.gamingLight:hover, &.gamingLight.active { &.gamingLight:before { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -276,18 +276,18 @@ function more() { border-radius: 999px; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingDark:hover, &.gamingDark.active { &.gamingDark:before { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -393,9 +393,9 @@ function more() { border-radius: 999px; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -417,9 +417,9 @@ function more() { border-radius: 999px; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } } diff --git a/packages/frontend/src/ui/_common_/navbar.vue b/packages/frontend/src/ui/_common_/navbar.vue index 86aea36808..f3ebf38ccc 100644 --- a/packages/frontend/src/ui/_common_/navbar.vue +++ b/packages/frontend/src/ui/_common_/navbar.vue @@ -314,9 +314,9 @@ function more(ev: MouseEvent) { border-radius: 999px; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } &.gamingLight:hover, &.gamingLight.active { @@ -326,9 +326,9 @@ function more(ev: MouseEvent) { &.gamingLight:before { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -347,9 +347,9 @@ function more(ev: MouseEvent) { border-radius: 999px; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingDark:hover, &.gamingDark.active { @@ -358,9 +358,9 @@ function more(ev: MouseEvent) { &.gamingDark:before { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -466,17 +466,17 @@ function more(ev: MouseEvent) { background-size: 1800% 1800%; text-decoration: none; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingDark.active { color: black; background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingDark:hover, &.gamingDark.active { @@ -495,9 +495,9 @@ function more(ev: MouseEvent) { bottom: 0; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -505,17 +505,17 @@ function more(ev: MouseEvent) { color: white; background-size: 1800% 1800% !important; text-decoration: none; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } &.gamingLight:active { color: white; background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } &.gamingLight:hover, &.gamingLight.active { @@ -536,9 +536,9 @@ function more(ev: MouseEvent) { border-radius: 999px; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } } @@ -663,9 +663,9 @@ function more(ev: MouseEvent) { border-radius: 100%; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; color: white; } @@ -674,9 +674,9 @@ function more(ev: MouseEvent) { &.gamingLight:before { background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; color: white; } } @@ -696,9 +696,9 @@ function more(ev: MouseEvent) { border-radius: 100%; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800%; - -webkit-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - -moz-animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; - animation: AnimationDark 44s cubic-bezier(0, 0.2, 0.90, 1) infinite; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite; } &.gamingDark:hover, &.gamingDark.active { @@ -707,9 +707,9 @@ function more(ev: MouseEvent) { &.gamingDark:before { background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -814,9 +814,9 @@ function more(ev: MouseEvent) { border-radius: 999px; background: linear-gradient(270deg, #e7a2a2, #e3cfa2, #ebefa1, #b3e7a6, #a6ebe7, #aec5e3, #cabded, #e0b9e3, #f4bddd); background-size: 1800% 1800% !important; - -webkit-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationDark 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationDark var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } @@ -838,9 +838,9 @@ function more(ev: MouseEvent) { border-radius: 100%; background: linear-gradient(270deg, #c06161, #c0a567, #b6ba69, #81bc72, #63c3be, #8bacd6, #9f8bd6, #d18bd6, #d883b4); background-size: 1800% 1800% !important; - -webkit-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - -moz-animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; - animation: AnimationLight 45s cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -webkit-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + -moz-animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; + animation: AnimationLight var(--gamingspeed) cubic-bezier(0, 0.2, 0.90, 1) infinite !important; } } }