Userscripts.org - Face icons, tweaks

By khopesh Last update Nov 19, 2008 — Installed 1,080 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 9 posts, 3 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
khopesh Script's Author

fixed. i didn't know about monsterid. now you can specify whatever you like, with the option of URLs too.

 
ScroogeMcPump Scriptwright

It's confusing that you're calling the "wavatars" "monster-faces", since "monsterid" is another valid Gravatar option, which is different from the one you're using.

 
khopesh Script's Author

@Jesse,

For the border thing, a class="last-item" or whatever for the last <li> in the homeMenu would be great.

Also, I now realize that since there's no JS going on there, id descriptors shouldn't be used; homeBox should be a class with a more generic name like "topMenu" and homeMenu is redundant (since there's no other reason for a UL tag within the topMenu/homeBox. (If you're worried about GM scripts' compatibility, keep the IDs but make the CSS trigger on the classes.) This will help you (or a scriptwright) add other menus to that top bar, such as a menu for the four forum categories. Somebody also suggested a down-arrow for the menu to indicate that it exists. I think that's a great idea (see the latest version of this script for a demo that inserts it with CSS).

 
Jesse Andrews Admin

@khopesh,

whenever you need me to add a id or class let me know

 
khopesh Script's Author

I've updated the script to just have the border altered as mentioned earlier. It's a bit of a hack, and it is a pixel off at some font sizes, so maybe it's not as usable, but I like it a lot. (I also like the opacity, so that's in my script too, though you can obviously feel free to re-remove it.) The other disadvantage to this current revision is that it has no tolerance for padding at the bottom (the borders wouldn't line up). The best solution for that is to add an id="" to the last <li> (be it a dummy or the final item), and then give it rounded edges on three sides (which would also make the rounded corners look nicer, since my script here doesn't do that). I can demo that here if you'd like.

 
Jesse Andrews Admin

right now the code is slightly different due to different attributes but I'll work on integrating both functions when I stylize the dashboard. Deployed a change to have /home/posts for now

 
khopesh Script's Author

I think we're working on the same thing at the same time ;-) looks good!

I was in the process of removing the href="" from any page you're currently visiting, and I was debating coloring it #999 (the color of the #header border) to look disabled.

I see you removed the border and the opacity. I like the border though not so much over the orange banner; I intend to tweak it such that it doesn't appear within that orange banner. I'll keep tweaking and propose something soon.

Also, you added a link to the dashboard that isn't on the menu ("monitored topics"). Presumably, there's a bit of ruby code that builds that list, so you should use the same code to generate the menu to keep them in sync.

 
Jesse Andrews Admin

I've integrated a modified version of your css and html - what do you think?