Conversation
This should help reduce the code duplication
…o the user's actions
@@ -156,6 +156,13 @@ a.wheel, a.wheel:hover, button.wheel, button.wheel:hover { | |||
background-position: 3px 50%; | |||
} | |||
|
|||
label.active, label.active:hover { | |||
background-image: url(https://admin.fedoraproject.org/pkgdb/static/arrow.png) !important; |
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.
Hard-coded?
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.
They are hard-coded for all the css, the only other option is to hard-code them as /pkgdb/static/...
.
We can't use flask's magic in the CSS files :(
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.
I could swear you can do them relative to the css file.
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.
Yeah, see here how fedmenu does it?
👍 from me (except for that background-image url -- can that be changed?) |
Adjusted :) |
👍 Thanks! |
This replace the two states flag with a three states one:
This should fix #187
As a side effect, of the new UI, I believe this will also fix #163