Why is not the completed anime green anymore?

Forum for discussing AniDB rules & standards. No small talk!

Moderator: AniDB

DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

Icons, what icons?
grejpfrut
Posts: 3
Joined: Sun Jun 04, 2006 2:08 pm

Post by grejpfrut »

very simple trick to have green completed and all watched animes in mylist - just save anidbstyle.css on hdd and add this

Code: Select all

#layout-content div.mylist_all span.all_watched
{
	color: darkgreen;
}
to this file. host it somewhere and change css in profile :]
defsyfe
Posts: 15
Joined: Tue Oct 17, 2006 2:12 am

Hymmm

Post by defsyfe »

I was thinking about this and I'm not sure if anidb allows it but I hope it does...

Can you host the CSS file locally? when I test things on sites I host the file locally so I don't have to keep uploading to check my layout.... If so this would make it about a zillion times easier for anyone who wants to make or change their CSS file but doesn't have a good or reliable host.
ricce
Posts: 199
Joined: Wed Apr 06, 2005 8:42 pm
Location: Sweden / Västrås
Contact:

Re: Hymmm

Post by ricce »

defsyfe wrote:I was thinking about this and I'm not sure if anidb allows it but I hope it does...

Can you host the CSS file locally? when I test things on sites I host the file locally so I don't have to keep uploading to check my layout.... If so this would make it about a zillion times easier for anyone who wants to make or change their CSS file but doesn't have a good or reliable host.
Well, it a matter if your browser support it, some browser may not....

Anyway try an URL like:
file:///c:/Document and Settings/username/My Documents/filename.css

ie. prefix the path with file:/// and change all \ to /
AnimeOtaku
Posts: 158
Joined: Sun Jan 09, 2005 10:54 am
Location: Germany

Post by AnimeOtaku »

file links as far as I know aren't suported from Firefox & Co. (except you enter the link directly in the address bar).

and spaces have to be replaced by a %20 (or the browser do it for you)
defsyfe
Posts: 15
Joined: Tue Oct 17, 2006 2:12 am

Post by defsyfe »

BLEH. IE7 is the only one that supports it. Opera and Firefox don't appear to...

Now I have to find a reliable host... >.<

*shakes fist*
defsyfe
Posts: 15
Joined: Tue Oct 17, 2006 2:12 am

Yes!

Post by defsyfe »

Yay! I used my ISP... Finally got css going... To bad I didn't realize you could edit the CSS earlier... I would have had something really cool going by now. Now I'll have to wait till after christmas to edit anything major. Looks like it'll be fun though. =)
Elias
Posts: 242
Joined: Tue Feb 17, 2004 4:55 pm

Post by Elias »

defsyfe wrote:BLEH. IE7 is the only one that supports it. Opera and Firefox don't appear to...

Now I have to find a reliable host... >.<

*shakes fist*
In Opera replacing style sheets to your own local file is available here:
right click / Edit site preferrences / Display / My style sheet
grejpfrut
Posts: 3
Joined: Sun Jun 04, 2006 2:08 pm

Post by grejpfrut »

for everybody, who can't host this on own sites:
http://www.zlotniki.pl/~jaroslaw-dzieni ... _green.css

this may be slow :P it's my isp server :)
defsyfe
Posts: 15
Joined: Tue Oct 17, 2006 2:12 am

Post by defsyfe »

This doesn't work anymore I tried looking through things to find if something was overwriting it but I can't find anything...

Was the watched class removed?

anyone got a fix?
Taags
Posts: 22
Joined: Mon Jun 06, 2005 9:00 pm

Post by Taags »

I want the green back hehe :)
Desmond
Posts: 4
Joined: Fri May 19, 2006 8:42 am

Post by Desmond »

if i remember correct, the stats have been bold if complete and green if all_watched - bold and green for both
also - sorry, i am not certain again - when the problem apeared at first - both features were gone and after a while the 'bold'-status has been repaired

the problem here:
// from anidbstyle.css
#layout-content div.mylist_list tr.all_watched td.stats
{
font-weight: bold;
}
the entry in anidbstyle.css for the 'bold'-status is named 'all_watched' and not 'complete'
also the entries in the generated pages have the name <tr class="g_... all_watched" id="...">

also from anidbstyle.css
#layout-content div.mylist_list tr.complete td.stats,
in the css also apeares a line for completed animes - but without any parameters and there is never a parameter 'complete' in the generated site of my_list

so i think while repairing these features the 1st time somehow
- the parameter 'complete' has been replaced by 'all_watched' but it is still connected to the function/class/methode of 'check if complete'
- the function 'check if all_watched' is still there, but isn't connected to anything

because i have no idea of the code that is creating the websites i can only speculate from here on and there is the chance that this could more handicap than help

hope this helps a bit ... i'm missing the green color in mylist for watched animes too ^_^

ps. would be a pleasure to help out with this some more
csimi
Posts: 1
Joined: Sat Feb 10, 2007 2:07 am

Post by csimi »

Thx Desmond i didnt notice that bug, with this i finally made it :P
for any1 who wants the green stuff back:

line1973:
#layout-content div.mylist_list tr.all_watched td.stats
->
#layout-content div.mylist_list tr.complete td.stats

line2797:
#layout-content div.mylist_all span.all_watched
->
#layout-content div.mylist_all tr.all_watched td.stats

and i think the all watched animes shouldnt be bold so remove the
font-weight: bold;
(line 2800)

btw hosted version: http://csimi.ph33r.hu/anidbstyle.css or http://csimi.ph33r.hu/anidbstyle_hacks.css (for internet explorer or dunno)
Desmond
Posts: 4
Joined: Fri May 19, 2006 8:42 am

Post by Desmond »

csimi wrote: and i think the all watched animes shouldnt be bold
why do you think they shouldnt?
even if they are full watched - they are still full downloaded and not incomplete for some reason now.

and ... before the bug occured, series full downloaded and full watched always have been bold and green - so line 2800 was an original one.
Locked