diff options
Diffstat (limited to 'data')
-rwxr-xr-x[-rw-r--r--] | data/global.pl | 5 | ||||
-rwxr-xr-x[-rw-r--r--] | data/style.css | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/data/global.pl b/data/global.pl index 187d5720..0c1ba6d6 100644..100755 --- a/data/global.pl +++ b/data/global.pl @@ -248,6 +248,11 @@ our %S; staff => 'Staff', ), poll_options => 20, # max number of options in discussion board polls + + # Maps from db codes to icon names + icons_voiced => [ "unknown", "not_voiced", "ero_voiced", "partially_voiced", "fully_voiced" ], + icons_story_animated => [ "unknown", "story_not_animated", "story_simple_animated", "story_some_fully_animated", "story_all_fully_animated" ], + icons_ero_animated => [ "unknown", "ero_not_animated", "ero_simple_animated", "ero_some_fully_animated", "ero_all_fully_animated" ], ); diff --git a/data/style.css b/data/style.css index b3495853..1c956ba7 100644..100755 --- a/data/style.css +++ b/data/style.css @@ -913,6 +913,14 @@ a .icons { cursor: pointer } $iconcss$ +.release_icons_container { width: 18px; height: 18px; float: right; margin-left: 4px; } +.release_icons { width: 18px; height: 18px; } +.release_icons.not_voiced, .story_not_animated, .ero_not_animated { } +.release_icons.ero_voiced, .story_simple_animated, .ero_simple_animated { filter: hue-rotate(30deg); } +.release_icons.partially_voiced, .story_some_fully_animated, .ero_some_fully_animated { filter: invert(100%) hue-rotate(240deg) } +.release_icons.fully_voiced, .story_all_fully_animated, .ero_all_fully_animated { filter: hue-rotate(80deg) } +.release_icons.notes, .unknown, .freeware, .nonfree, .commercial, .doujin, .res16-9, .res4-3, .disk, .cartridge, .download { } + /* Relation graph colors */ svg .border { fill: none; stroke: $border$ } svg .edge polygon.border { fill: $border$ } |