CTFd-theme-pixo icon indicating copy to clipboard operation
CTFd-theme-pixo copied to clipboard

Make it possible to remove flicker effect

Open E1k3 opened this issue 3 years ago • 6 comments

The effect gets nauseating after a while and it should be possible to disable it.

E1k3 avatar Apr 01 '22 16:04 E1k3

So did you solve this problem?

baby-Sleep avatar Dec 09 '22 16:12 baby-Sleep

I found a solution,in "pixo/static/css/main.min.css", search "@keyframes flicker", change "0%-100%" to "0%" and "100%", delete the middle, and change the value of the parameter "opacity" to ".5". such as: 1

good luck.

baby-Sleep avatar Dec 09 '22 18:12 baby-Sleep

and remember to clear your browser cache.

baby-Sleep avatar Dec 09 '22 18:12 baby-Sleep

thanks for your contribution, I would love to merge your pull request addressing the issue.

If possible could you please create a pull request for the same?

hmrserver avatar Dec 09 '22 18:12 hmrserver

The user should be able to turn it off in the UI for themselves, easily and fast. This is an accessibility nightmare. WCAG would like to know your location.

Greenscreener avatar Jun 08 '23 07:06 Greenscreener

You can also add the following CSS to the Theme config in the admin section. That way you don't have to change the theme files.

main:before {
  animation: none;
}

HexPandaa avatar Oct 02 '23 13:10 HexPandaa