User:CDB-Man/CDBstyle: Difference between revisions

From AniDB
Jump to navigation Jump to search
(Darkened the light green from B8E3B8 to A0E6A0)
(Rearranging)
Line 49: Line 49:


=== Colour-based Features ===
=== Colour-based Features ===
* for anime-group in my list, the completion bar, changed from green to red to improve readability
==== Anime-Group Completion Bar ====
* For anime-group in my list, the completion bar, changed from green to red to improve readability
** also made the completion bar thicker, from 1px -> 2px -> 3px
** also made the completion bar thicker, from 1px -> 2px -> 3px
<pre style="color:#000000; background:#7EF27E">background-color: #7EF27E !important; anidb default green</pre>
<pre style="color:#000000; background:#7EF27E">background-color: #7EF27E !important; anidb default green</pre>
<pre style="color:#000000; background:#FF0000">background-color: #FF0000 !important; new red</pre>
<pre style="color:#000000; background:#FF0000">background-color: #FF0000 !important; new red</pre>


* Increased brightness and gradient of anidb green and red highlighting
==== Missing Relations ====
<pre style="color:#000000; background:#A7DDA7">background-color: #A7DDA7 !important; anidb default green</pre>
* Highlight in red any missing char-char and anime-anime relations in the table-fied views of relations <-- courtesy of Worf
<pre style="color:#000000; background:#9AD09A">background-color: #9AD09A !important; anidb default green odd</pre>
 
<pre style="color:#000000; background:#A0E6A0">background-color: #A0E6A0 !important; green</pre>
<pre style="color:#000000; background:#85D485">background-color: #85D485 !important; green odd</pre>
 
<pre style="color:#000000; background:#D6B8B8">background-color: #D6B8B8 !important; anidb default red</pre>
<pre style="color:#000000; background:#CC9999">background-color: #CC9999 !important; anidb default red odd</pre>
 
<pre style="color:#000000; background:#E69696">background-color: #E69696 !important; red</pre>
<pre style="color:#000000; background:#E67878">background-color: #E67878 !important; red odd</pre>
 
Currently Unused:
<pre style="color:#000000; background:#FF8282">background-color: #FF8282 !important; strong red (for use with purple)</pre>
<pre style="color:#000000; background:#FF6464">background-color: #FF6464 !important; strong red odd (for use with purple)</pre>


<pre style="color:#000000; background:#FF82D5">background-color: #FF82D5 !important; purple -- color: #000000; font colour</pre>
==== File-Related Features ====
<pre style="color:#000000; background:#FF59AC">background-color: #FF59AC !important; purple odd -- color: #000000; font colour</pre>
 
== Text Changes ==
* On the anime-staff add/edit page, remove capitalization of source-info in the header
 
== Icon Changes ==
* revert to old stars on file tables
 
== Layout Changes ==
=== File related ===
* Mark as red any file where release date has not been set <-- courtesy of Worf
* Mark as red any file where release date has not been set <-- courtesy of Worf
* Hide the undumped files column on the group page by default, and unhide if there are undumped files <-- courtesy of Worf
* Hide the undumped files column on the group page by default, and unhide if there are undumped files <-- courtesy of Worf
Line 121: Line 98:
</pre>
</pre>


=== Missing Relations ===
==== Status-Highlight Gradients Increased ====
* Highlight in red any missing char-char and anime-anime relations in the table-fied views of relations <-- courtesy of Worf
* Increased brightness and gradient of anidb green and red highlighting
<pre style="color:#000000; background:#A7DDA7">background-color: #A7DDA7 !important; anidb default green</pre>
<pre style="color:#000000; background:#9AD09A">background-color: #9AD09A !important; anidb default green odd</pre>
 
<pre style="color:#000000; background:#A0E6A0">background-color: #A0E6A0 !important; green</pre>
<pre style="color:#000000; background:#85D485">background-color: #85D485 !important; green odd</pre>
 
<pre style="color:#000000; background:#D6B8B8">background-color: #D6B8B8 !important; anidb default red</pre>
<pre style="color:#000000; background:#CC9999">background-color: #CC9999 !important; anidb default red odd</pre>
 
<pre style="color:#000000; background:#E69696">background-color: #E69696 !important; red</pre>
<pre style="color:#000000; background:#E67878">background-color: #E67878 !important; red odd</pre>
 
Currently Unused:
<pre style="color:#000000; background:#FF8282">background-color: #FF8282 !important; strong red (for use with purple)</pre>
<pre style="color:#000000; background:#FF6464">background-color: #FF6464 !important; strong red odd (for use with purple)</pre>
 
<pre style="color:#000000; background:#FF82D5">background-color: #FF82D5 !important; purple -- color: #000000; font colour</pre>
<pre style="color:#000000; background:#FF59AC">background-color: #FF59AC !important; purple odd -- color: #000000; font colour</pre>
 
== Text Changes ==
Currently no text-based features.
* <strike>On the anime-staff add/edit page, remove capitalization of source-info in the header</strike> Fixed on main.
 
== Icon Changes ==
* revert to old stars on file tables


== Layout Changes ==
=== Whitespace Reduction ===
=== Whitespace Reduction ===
* Disallow line wrap on userpage stats block
* Disallow line wrap on userpage stats block

Revision as of 03:48, 19 October 2014

CDB`s improvements on DerIdiot`s AniDBstyle2. Contains mainly ergonomics updates.

Support forum thread here: http://anidb.net/perl-bin/animedb.pl?show=cmt&id=52076

Last Updated: CDB-Man (talk) 11:18, 3 October 2014 (CEST)

Improvements:

Colouring Changes

MyList State Highlighting

Before anyone panics: I have mylist entries that are marked mylist.completed, why is it in orange and not green?
Basically, if something is marked as "completed" but for whatever reason there's actually more files to be watched (ie you forgot to mark files as watched, there were new episodes added, etc), the entry will be orange instead of green. This means green = .all_watched means you've truly watched all the episodes!

Term definitions

Note: other than the mylist states that are visible and that you can set on the interface (.collecting, .dropped, .watching, .stalled, .completed), there are also 2 invisible mylist states: .complete (note "complete" vs "completed") and .all_watched.

Definitions:

  • .complete
    • a) all files for the show's regular episodes have been released
    • b) you have collected all of the regular episodes' files in your mylist
  • .all_watched
    • a) all files for the show's regular episodes have been released
    • b) you have marked watched all of the regular episodes' files in your mylist

Application of Colours

Highlight mylist entries, on mylist page, mylist timeline, and other pages where mylist entries appear. The order the colours are applied are as follows:

  • red for if not fully collected (missing files), and have not started; default mylist colour
  • red for collecting state (default behaviour, reinforces above)
background-color: #E69696 !important; red -- incompletely collected, .stalled
background-color: #E67878 !important; red odd -- incompletely collected, .stalled
  • blue for .complete (fully collected and "ready to watch")
background-color: #8DDFE4 !important; blue -- .complete
background-color: #68CACE !important; blue odd -- .complete
  • orange for mylist state .completed but not .all_watched
background-color: #FFB84D !important; orange -- .completed but not .all_watched
background-color: #FFA319 !important; orange odd -- .completed but not .all_watched
  • green for .all_watched
background-color: #A0E6A0 !important; green -- .all_watched
background-color: #85D485 !important; green odd -- .all_watched
  • black for .dropped
background-color: #222222 !important; black -- color: #FFFFFF; font colour -- .dropped
background-color: #000000 !important; black odd -- color: #FFFFFF; font colour -- .dropped
  • orange for .watching
background-color: #FFB84D !important; orange -- .watching
background-color: #FFA319 !important; orange odd -- .watching
  • red for .stalled
background-color: #E69696 !important; red -- incompletely collected, .stalled
background-color: #E67878 !important; red odd -- incompletely collected, .stalled

Colour-based Features

Anime-Group Completion Bar

  • For anime-group in my list, the completion bar, changed from green to red to improve readability
    • also made the completion bar thicker, from 1px -> 2px -> 3px
background-color: #7EF27E !important; anidb default green
background-color: #FF0000 !important; new red

Missing Relations

  • Highlight in red any missing char-char and anime-anime relations in the table-fied views of relations <-- courtesy of Worf

File-Related Features

  • Mark as red any file where release date has not been set <-- courtesy of Worf
  • Hide the undumped files column on the group page by default, and unhide if there are undumped files <-- courtesy of Worf
  • Mark table cells of undumped files red (file ID, file actions), mark as red any file where release date has not been set <-- courtesy of Worf
    • To disable this feature, add the following to your UserCSS:
table.filelist td.date.added,
table.filelist tr.undumped td.id,
table.filelist tr.undumped td.id a:link,
table.filelist tr.undumped td.id a:active,
table.filelist tr.undumped td.id a:visited,
table.filelist tr.undumped td.action,
table.file.entities tr.undumped td.id,
table.file.entities tr.undumped td.id a:link,
table.file.entities tr.undumped td.id a:active,
table.file.entities tr.undumped td.id a:visited,
table.file.entities tr.undumped td.action
{
  visibility: initial;
  background-color: initial;
  color: initial;
  font-weight: normal;
}
table.filelist tr.undumped td.id a:link,
table.filelist tr.undumped td.id a:active,
table.filelist tr.undumped td.id a:visited,
table.file.entities tr.undumped td.id a:link,
table.file.entities tr.undumped td.id a:active,
table.file.entities tr.undumped td.id a:visited
{
  color: #105289;
}
table.filelist tr.undumped td.id a:hover,
table.file.entities tr.undumped td.id a:hover
{
  color: #AA0000;
}

Status-Highlight Gradients Increased

  • Increased brightness and gradient of anidb green and red highlighting
background-color: #A7DDA7 !important; anidb default green
background-color: #9AD09A !important; anidb default green odd
background-color: #A0E6A0 !important; green
background-color: #85D485 !important; green odd
background-color: #D6B8B8 !important; anidb default red
background-color: #CC9999 !important; anidb default red odd
background-color: #E69696 !important; red
background-color: #E67878 !important; red odd

Currently Unused:

background-color: #FF8282 !important; strong red (for use with purple)
background-color: #FF6464 !important; strong red odd (for use with purple)
background-color: #FF82D5 !important; purple -- color: #000000; font colour
background-color: #FF59AC !important; purple odd -- color: #000000; font colour

Text Changes

Currently no text-based features.

  • On the anime-staff add/edit page, remove capitalization of source-info in the header Fixed on main.

Icon Changes

  • revert to old stars on file tables

Layout Changes

Whitespace Reduction

  • Disallow line wrap on userpage stats block
  • vertical align the user page avatar
  • shrink width of info box on userpages
  • div.data max width, to maximize the widths of image vs data div blocks (ie on group pages)
  • userpage sections flex adding (discussions section only so far)
  • nowrap of username on creqhist page (and possibly others)

Miscellaneous Layout

  • expand default text entry box size

Action Buttons at the Top of Entry Pages

  • Display top links (buttons) on anime/character/club/creator/collection/group/song page <-- courtesy of Worf

For anyone that doesn`t like the buttons at the top of the entry pages and wants to hide them like before, you can add the following to your UserCSS.

#layout-main div.anime_all ul.links_top,
#layout-main div.character_all ul.links_top,
#layout-main div.club_all ul.links_top,
#layout-main div.creator_all ul.links_top,
#layout-main div.collection_all ul.links_top,
#layout-main div.ep_all ul.links_top,
#layout-main div.group_all ul.links_top,
#layout-main div.song_all ul.links_top,
#layout-main div.tag_all ul.links_top
{
display: none;
}

Additional Optional Features

You can enable each feature by adding it to your UserCSS.

Force-show info blocks on main page that are hidden (likely due to resolution being too small):

#layout-main div.main_all #hotanime,
#layout-main div.main_all #latestended,
#layout-main div.main_all #similaranime,
#layout-main div.main_all #randrecom,
#layout-main div.main_all #randanime,
#layout-main div.main_all #latestaired,
#layout-main div.main_all #randchar,
#layout-main div.main_all #randcreator
{
  display: block !important;
}

Likewise, if you want to hide blocks you find useless:

display: none !important;

Rearrange the order of the blocks. For illustration, below`s the order that I`ve set for myself:

#layout-main div.main_all #hotanime {order: 1;}
#layout-main div.main_all #latestended {order: 2;}
#layout-main div.main_all #similaranime {order: 3;}
#layout-main div.main_all #randrecom {order: 4;}
#layout-main div.main_all #randanime {order: 5;}
#layout-main div.main_all #latestaired {order: 6;}
#layout-main div.main_all #randcreator {order: 7;}
#layout-main div.main_all #randchar {order: 8;}

Hide images from quicksearch popup menu:

#layout-search ul.quicksearch li.g_bubble.stripe div.image {
  display: none;
}
#layout-search ul.quicksearch .g_bubble.stripe {
  min-height: 4.4em;
}
#layout-search ul.quicksearch .g_bubble.stripe div.data {
  margin: 0.5em 0.5em 0.5em 0.5em;
}