-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set cursor to the F-klub logo #380
Conversation
Codecov Report
@@ Coverage Diff @@
## next #380 +/- ##
=======================================
Coverage ? 53.90%
=======================================
Files ? 33
Lines ? 4508
Branches ? 265
=======================================
Hits ? 2430
Misses ? 2028
Partials ? 50 |
Nice, this is fun. Being pedantic, I think you mean the fstjerne, not the flogo. Could you post a pic of the cursor on the stregsystem on a 1080p viewport to get a feel for how bad the usability would be? |
have a video :) 2023-10-31.13-59-30.mp4 |
It would be interesting to see how hard the stregmaskine is pushed when having to render animated cursor + 30 bats. |
here, have another video in a slow VM (1024 MB ram, 1 core, no gpu). The server is running on the host system and its only like 3% more animation anyway :P Video-23-10-31_5.mp4Edit: better video too big for github https://www.youtube.com/watch?v=1mQzOYGHKLE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR makes the cursor in stregsystemet into the logo for the F-klub.
All changes of the cursor also has a fallback to
auto
, meaning if anything fails, the cursor will fall back to the default cursor for where it is.Changes:
stregsystem/static/stregsystem/cursor
stregsystem/static/stregsystem/cursor
cursor.css
tostregsystemet/static/stregsystem
, This file has 4 rules:*
sets the cursor tostregsystemet/static/stregsystem/cursor/frame14.png
input:hover
sets the cursor to a rotating logo when hovering over a button or input field@-webkit-keyframes cursor
browser compatibility, see below@keyframes cursor
defines at how far into the animation each frame should be displayedcursor.css
as file import instregsystem/templates/stregsystem/base.html
note: i don't care too much whether this gets merged, i'm just familiarizing me with the system