From a7c2e96a023d136a05878251f4d389562e160e19 Mon Sep 17 00:00:00 2001 From: octo Date: Sat, 23 Apr 2005 08:17:50 +0000 Subject: [PATCH] Changed stylesheets to use relative scaling for horizontal bars. Introduces config options userdetails_number, userdetails_conversations_number. Removed bar_width and bar_height in many plugins. --- lib/Onis/Plugins/Conversations.pm | 63 +++++++---------- lib/Onis/Plugins/Core.pm | 143 +++++++++++++------------------------- lib/Onis/Plugins/Userdetails.pm | 81 ++++++++------------- onis | 11 +++ reports/dark-theme/style.css | 10 +++ reports/light-theme/style.css | 13 ++++ reports/liner-theme/style.css | 13 +--- 7 files changed, 139 insertions(+), 195 deletions(-) diff --git a/lib/Onis/Plugins/Conversations.pm b/lib/Onis/Plugins/Conversations.pm index 9c39ef1..b20d3b7 100644 --- a/lib/Onis/Plugins/Conversations.pm +++ b/lib/Onis/Plugins/Conversations.pm @@ -9,7 +9,7 @@ use Onis::Config qw(get_config); use Onis::Html qw(get_filehandle); use Onis::Language qw(translate); use Onis::Data::Core qw(register_plugin get_main_nick nick_to_ident nick_to_name); -use Onis::Data::Persistent; +use Onis::Data::Persistent (); =head1 NAME @@ -28,8 +28,7 @@ talk to each other. our $ConversationCache = Onis::Data::Persistent->new ('ConversationCache', 'partners', qw(time0 time1 time2 time3)); our $ConversationData = {}; -our @H_IMAGES = qw#dark-theme/h-red.png dark-theme/h-blue.png dark-theme/h-yellow.png dark-theme/h-green.png#; -our $BAR_WIDTH = 100; +our @HorizontalImages = qw#dark-theme/h-red.png dark-theme/h-blue.png dark-theme/h-yellow.png dark-theme/h-green.png#; if (get_config ('horizontal_images')) { @@ -44,14 +43,16 @@ if (get_config ('horizontal_images')) for ($i = 0; $i < 4; $i++) { next unless (defined ($tmp[$i])); - $H_IMAGES[$i] = $tmp[$i]; + $HorizontalImages[$i] = $tmp[$i]; } } -if (get_config ('bar_width')) + +our $NumConversations = 10; +if (get_config ('conversations_number')) { - my $tmp = get_config ('bar_width'); + my $tmp = get_config ('conversations_number'); $tmp =~ s/\D//g; - $BAR_WIDTH = 2 * $tmp if ($tmp >= 10); + $NumConversations = $tmp if ($tmp); } register_plugin ('TEXT', \&add); @@ -170,12 +171,8 @@ sub output my $title = translate ('Conversation partners'); my $max_num = 0; - my $factor = 0; - - my @img = get_config ('horizontal_images'); - # FIXME - my @data = get_top (10); + my @data = get_top ($NumConversations); return (undef) unless (@data); for (@data) @@ -197,8 +194,6 @@ sub output $max_num = $sum1 if ($max_num < $sum1); } - $factor = $BAR_WIDTH / $max_num; - print $fh < @@ -221,37 +216,29 @@ EOF EOF - print $fh ' '; - for (3, 2, 1, 0) + print $fh ' '; + for (my $i = 3; $i >= 0; $i--) { - my $i = $img[$_]; - my $w = int (0.5 + ($rec->{'nicks'}{$nick0}[$_] * $factor)); - my $c = ''; - $w ||= 1; - - $w = $w . 'px'; + my $width = sprintf ("%.2f", 95 * $rec->{'nicks'}{$nick0}[$i] / $max_num); + my $image = $HorizontalImages[$i]; + my $class = ''; - if ($_ == 3) { $c = qq# class="first"#; } - elsif ($_ == 0) { $c = qq# class="last"#; } + if ($i == 3) { $class = qq# class="first"#; } + elsif ($i == 0) { $class = qq# class="last"#; } - print $fh qq##; + print $fh qq##; } - - print $fh qq#\n #; - - for (0, 1, 2, 3) + print $fh qq#\n #; + for (my $i = 0; $i < 4; $i++) { - my $i = $img[$_]; - my $w = int (0.5 + ($rec->{'nicks'}{$nick1}[$_] * $factor)); - my $c = ''; - $w ||= 1; - - $w = $w . 'px'; + my $width = sprintf ("%.2f", 95 * $rec->{'nicks'}{$nick1}[$i] / $max_num); + my $image = $HorizontalImages[$i]; + my $class = ''; - if ($_ == 0) { $c = qq# class="first"#; } - elsif ($_ == 3) { $c = qq# class="last"#; } + if ($i == 0) { $class = qq# class="first"#; } + elsif ($i == 3) { $class = qq# class="last"#; } - print $fh qq##; + print $fh qq##; } print $fh "\n \n"; } diff --git a/lib/Onis/Plugins/Core.pm b/lib/Onis/Plugins/Core.pm index 6babaed..795458c 100644 --- a/lib/Onis/Plugins/Core.pm +++ b/lib/Onis/Plugins/Core.pm @@ -55,20 +55,17 @@ our $SortedNicklist = []; our $NicksInMainTable = {}; -our @H_IMAGES = qw#dark-theme/h-red.png dark-theme/h-blue.png dark-theme/h-yellow.png dark-theme/h-green.png#; +our @HorizontalImages = qw#dark-theme/h-red.png dark-theme/h-blue.png dark-theme/h-yellow.png dark-theme/h-green.png#; our $QuoteCacheSize = 10; our $QuoteMin = 30; our $QuoteMax = 80; -our $WORD_LENGTH = 5; -our $SORT_BY = 'LINES'; -our $DISPLAY_LINES = 'BOTH'; -our $DISPLAY_WORDS = 'NONE'; -our $DISPLAY_CHARS = 'NONE'; -our $DISPLAY_TIMES = 0; -our $DISPLAY_IMAGES = 0; -our $DEFAULT_IMAGE = ''; -our $BAR_HEIGHT = 130; -our $BAR_WIDTH = 100; +our $SortBy = 'LINES'; +our $DisplayLines = 'BOTH'; +our $DisplayWords = 'NONE'; +our $DisplayChars = 'NONE'; +our $DisplayTimes = 0; +our $DisplayImages = 0; +our $DefaultImage = ''; our $LongLines = 50; our $ShortLines = 10; @@ -114,20 +111,6 @@ if (get_config ('quote_max')) $QuoteMax = $tmp if ($tmp); } -=item B: I<5> - -Sets how many word-characters in a row are considered to be a word. Or, in more -normal terms: Sets the minimum length for words.. - -=cut - -if (get_config ('min_word_length')) -{ - my $tmp = get_config ('min_word_length'); - $tmp =~ s/\D//g; - $WORD_LENGTH = $tmp if ($tmp); -} - =item B: I Choses wether to display B as I, I, I or not at all @@ -142,7 +125,7 @@ if (get_config ('display_lines')) if (($tmp eq 'NONE') or ($tmp eq 'BAR') or ($tmp eq 'NUMBER') or ($tmp eq 'BOTH')) { - $DISPLAY_LINES = $tmp; + $DisplayLines = $tmp; } else { @@ -165,7 +148,7 @@ if (get_config ('display_words')) if (($tmp eq 'NONE') or ($tmp eq 'BAR') or ($tmp eq 'NUMBER') or ($tmp eq 'BOTH')) { - $DISPLAY_WORDS = $tmp; + $DisplayWords = $tmp; } else { @@ -188,7 +171,7 @@ if (get_config ('display_chars')) if (($tmp eq 'NONE') or ($tmp eq 'BAR') or ($tmp eq 'NUMBER') or ($tmp eq 'BOTH')) { - $DISPLAY_CHARS = $tmp; + $DisplayChars = $tmp; } else { @@ -211,11 +194,11 @@ if (get_config ('display_times')) if ($tmp =~ m/true|on|yes/i) { - $DISPLAY_TIMES = 1; + $DisplayTimes = 1; } elsif ($tmp =~ m/false|off|no/i) { - $DISPLAY_TIMES = 0; + $DisplayTimes = 0; } else { @@ -236,11 +219,11 @@ if (get_config ('display_images')) if ($tmp =~ m/true|on|yes/i) { - $DISPLAY_IMAGES = 1; + $DisplayImages = 1; } elsif ($tmp =~ m/false|off|no/i) { - $DISPLAY_IMAGES = 0; + $DisplayImages = 0; } else { @@ -258,7 +241,7 @@ to take care of (absolute) paths yourself. if (get_config ('default_image')) { - $DEFAULT_IMAGE = get_config ('default_image'); + $DefaultImage = get_config ('default_image'); } =item B: I @@ -276,7 +259,7 @@ if (get_config ('sort_by')) if (($tmp eq 'LINES') or ($tmp eq 'WORDS') or ($tmp eq 'CHARS')) { - $SORT_BY = $tmp; + $SortBy = $tmp; } else { @@ -310,36 +293,10 @@ if (get_config ('horizontal_images')) next; } - $H_IMAGES[$i] = $tmp[$i]; + $HorizontalImages[$i] = $tmp[$i]; } } -=item B: I<130> - -Sets the height (in pixels) of the highest vertical graph. - -=cut - -if (get_config ('bar_height')) -{ - my $tmp = get_config ('bar_height'); - $tmp =~ s/\D//g; - $BAR_HEIGHT = $tmp if ($tmp >= 10); -} - -=item B: I<100> - -Sets the width (in pixels) of the widest horizontal graph. - -=cut - -if (get_config ('bar_width')) -{ - my $tmp = get_config ('bar_width'); - $tmp =~ s/\D//g; - $BAR_WIDTH = $tmp if ($tmp >= 10); -} - =item B: I<50> Sets the number of rows of the main ranking table. @@ -553,7 +510,6 @@ sub activetimes { my $max = 0; # the most lines that were written in one hour.. my $total = 0; # the total amount of lines we wrote.. - my $factor = 0; # used to find a bar's height my @data = qw(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0); @@ -589,8 +545,6 @@ sub activetimes $max = 1; } - $factor = (($BAR_HEIGHT - 1) / $max); - my $header = translate ('When do we actually talk here?'); print $fh "

$header

\n", qq#\n#, @@ -644,7 +598,7 @@ sub ranking my $fh = get_filehandle () or die; - my $sort_field = lc ($SORT_BY); + my $sort_field = lc ($SortBy); my $trans; @@ -661,15 +615,15 @@ sub ranking $trans = translate ('Most active nicks'); print $fh "

$trans

\n"; - if ($SORT_BY eq 'LINES') + if ($SortBy eq 'LINES') { $trans = translate ('Nicks sorted by numbers of lines written'); } - elsif ($SORT_BY eq 'WORDS') + elsif ($SortBy eq 'WORDS') { $trans = translate ('Nicks sorted by numbers of words written'); } - else # ($SORT_BY eq 'CHARS') + else # ($SortBy eq 'CHARS') { $trans = translate ('Nicks sorted by numbers of characters written'); } @@ -681,7 +635,7 @@ sub ranking EOF - if ($DISPLAY_IMAGES) + if ($DisplayImages) { $trans = translate ('Image'); print $fh " \n"; @@ -691,25 +645,25 @@ EOF $trans = translate ('Nick'); print $fh " \n"; } - if ($DISPLAY_LINES ne 'NONE') + if ($DisplayLines ne 'NONE') { - my $span = $DISPLAY_LINES eq 'BOTH' ? ' colspan="2"' : ''; + my $span = $DisplayLines eq 'BOTH' ? ' colspan="2"' : ''; $trans = translate ('Number of Lines'); print $fh " $trans\n"; } - if ($DISPLAY_WORDS ne 'NONE') + if ($DisplayWords ne 'NONE') { - my $span = $DISPLAY_WORDS eq 'BOTH' ? ' colspan="2"' : ''; + my $span = $DisplayWords eq 'BOTH' ? ' colspan="2"' : ''; $trans = translate ('Number of Words'); print $fh " $trans\n"; } - if ($DISPLAY_CHARS ne 'NONE') + if ($DisplayChars ne 'NONE') { - my $span = $DISPLAY_CHARS eq 'BOTH' ? ' colspan="2"' : ''; + my $span = $DisplayChars eq 'BOTH' ? ' colspan="2"' : ''; $trans = translate ('Number of Characters'); print $fh " $trans\n"; } - if ($DISPLAY_TIMES) + if ($DisplayTimes) { $trans = translate ('When?'); print $fh " \n"; @@ -765,11 +719,11 @@ EOF print $fh " \n", qq# \n"; - if ($DISPLAY_IMAGES) + if ($DisplayImages) { - if ($DEFAULT_IMAGE and !$image) + if ($DefaultImage and !$image) { - $image = $DEFAULT_IMAGE; + $image = $DefaultImage; } print $fh qq# \n#; } - if ($DISPLAY_LINES ne 'NONE') + if ($DisplayLines ne 'NONE') { - if (($DISPLAY_LINES eq 'BOTH') or ($DISPLAY_LINES eq 'NUMBER')) + if (($DisplayLines eq 'BOTH') or ($DisplayLines eq 'NUMBER')) { my $num = $NickData->{$nick}{'lines_total'}; print $fh qq( \n); } - if (($DISPLAY_LINES eq 'BOTH') or ($DISPLAY_LINES eq 'BAR')) + if (($DisplayLines eq 'BOTH') or ($DisplayLines eq 'BAR')) { my $code = bar ($max_lines, $NickData->{$nick}{'lines'}); print $fh qq( \n); } } - if ($DISPLAY_WORDS ne 'NONE') + if ($DisplayWords ne 'NONE') { - if (($DISPLAY_WORDS eq 'BOTH') or ($DISPLAY_WORDS eq 'NUMBER')) + if (($DisplayWords eq 'BOTH') or ($DisplayWords eq 'NUMBER')) { my $num = $NickData->{$nick}{'words_total'}; print $fh qq( \n); } - if (($DISPLAY_WORDS eq 'BOTH') or ($DISPLAY_WORDS eq 'BAR')) + if (($DisplayWords eq 'BOTH') or ($DisplayWords eq 'BAR')) { my $code = bar ($max_words, $NickData->{$nick}{'words'}); print $fh qq( \n); } } - if ($DISPLAY_CHARS ne 'NONE') + if ($DisplayChars ne 'NONE') { - if (($DISPLAY_CHARS eq 'BOTH') or ($DISPLAY_CHARS eq 'NUMBER')) + if (($DisplayChars eq 'BOTH') or ($DisplayChars eq 'NUMBER')) { my $num = $NickData->{$nick}{'chars_total'}; print $fh qq( \n); } - if (($DISPLAY_CHARS eq 'BOTH') or ($DISPLAY_CHARS eq 'BAR')) + if (($DisplayChars eq 'BOTH') or ($DisplayChars eq 'BAR')) { my $code = bar ($max_chars, $NickData->{$nick}{'chars'}); print $fh qq( \n); } } - if ($DISPLAY_TIMES) + if ($DisplayTimes) { my $code = bar ($NickData->{$nick}{'chars_total'}, $NickData->{$nick}{'chars'}); - print $fh qq# \n#; + print $fh qq# \n#; } print $fh qq# \n#, @@ -876,15 +830,15 @@ EOF my $col_in_this_table = ($linescount - $LongLines - 1) % 6; my $total = 0; - if ($SORT_BY eq 'LINES') + if ($SortBy eq 'LINES') { $total = $NickData->{$nick}{'lines_total'}; } - elsif ($SORT_BY eq 'WORDS') + elsif ($SortBy eq 'WORDS') { $total = $NickData->{$nick}{'words_total'}; } - else # ($SORT_BY eq 'CHARS') + else # ($SortBy eq 'CHARS') { $total = $NickData->{$nick}{'chars_total'}; } @@ -954,7 +908,6 @@ sub bar confess () unless (ref ($source) eq 'ARRAY'); - # BAR_WIDTH is a least 10 my $retval = ''; my $i; @@ -963,7 +916,7 @@ sub bar for ($i = 0; $i < 4; $i++) { my $sum = 0; - my $img = $H_IMAGES[$i]; + my $img = $HorizontalImages[$i]; my $width; for ($j = 0; $j < 6; $j++) diff --git a/lib/Onis/Plugins/Userdetails.pm b/lib/Onis/Plugins/Userdetails.pm index 1d12dc8..30faca4 100644 --- a/lib/Onis/Plugins/Userdetails.pm +++ b/lib/Onis/Plugins/Userdetails.pm @@ -16,44 +16,30 @@ use Onis::Plugins::Conversations (qw(get_conversations)); use Onis::Plugins::Bignumbers (qw(get_bignumbers)); use Onis::Plugins::Interestingnumbers (qw(get_interestingnumbers)); -our $DISPLAY_IMAGES = 0; -our $DEFAULT_IMAGE = ''; +our $DisplayImages = 0; +our $DefaultImage = ''; register_plugin ('OUTPUT', \&output); -our $SORT_BY = 'lines'; -if (get_config ('sort_by')) +our $NumUserdetails = 10; +if (get_config ('userdetails_number')) { - my $tmp = get_config ('sort_by'); - $tmp = lc ($tmp); - - if (($tmp eq 'lines') or ($tmp eq 'words') or ($tmp eq 'chars')) - { - $SORT_BY = $tmp; - } - else - { - # The Core plugin already complained about this.. - } -} -our $PLUGIN_MAX = 10; -if (get_config ('plugin_max')) -{ - my $tmp = get_config ('plugin_max'); + my $tmp = get_config ('userdetails_number'); $tmp =~ s/\D//g; - $PLUGIN_MAX = $tmp if ($tmp); + $NumUserdetails = $tmp if ($tmp); } + if (get_config ('display_images')) { my $tmp = get_config ('display_images'); if ($tmp =~ m/true|on|yes/i) { - $DISPLAY_IMAGES = 1; + $DisplayImages = 1; } elsif ($tmp =~ m/false|off|no/i) { - $DISPLAY_IMAGES = 0; + $DisplayImages = 0; } else { @@ -63,10 +49,10 @@ if (get_config ('display_images')) } if (get_config ('default_image')) { - $DEFAULT_IMAGE = get_config ('default_image'); + $DefaultImage = get_config ('default_image'); } -our @H_IMAGES = qw#dark-theme/h-red.png dark-theme/h-blue.png dark-theme/h-yellow.png dark-theme/h-green.png#; +our @HorizontalImages = qw#dark-theme/h-red.png dark-theme/h-blue.png dark-theme/h-yellow.png dark-theme/h-green.png#; if (get_config ('horizontal_images')) { my @tmp = get_config ('horizontal_images'); @@ -85,11 +71,11 @@ if (get_config ('horizontal_images')) next; } - $H_IMAGES[$i] = $tmp[$i]; + $HorizontalImages[$i] = $tmp[$i]; } } -our @V_IMAGES = qw#images/ver0n.png images/ver1n.png images/ver2n.png images/ver3n.png#; +our @VerticalImages = qw#images/ver0n.png images/ver1n.png images/ver2n.png images/ver3n.png#; if (get_config ('vertical_images')) { my @tmp = get_config ('vertical_images'); @@ -108,25 +94,16 @@ if (get_config ('vertical_images')) next; } - $V_IMAGES[$i] = $tmp[$i]; + $VerticalImages[$i] = $tmp[$i]; } } -our $BAR_HEIGHT = 130; -if (get_config ('bar_height')) -{ - my $tmp = get_config ('bar_height'); - $tmp =~ s/\D//g; - $BAR_HEIGHT = $tmp if ($tmp >= 10); -} -#$BAR_HEIGHT = int ($BAR_HEIGHT / 2); - -our $BAR_WIDTH = 100; -if (get_config ('bar_width')) +our $ConversationsNumber = 10; +if (get_config ('userdetails_conversations_number')) { - my $tmp = get_config ('bar_width'); + my $tmp = get_config ('userdetails_conversations_number'); $tmp =~ s/\D//g; - $BAR_WIDTH = $tmp if ($tmp >= 10); + $ConversationsNumber = $tmp if ($tmp); } our $LongtermDays = 7; @@ -159,7 +136,7 @@ sub output my @nicks = @$nicks_ref; my $nick_data = {}; - splice (@nicks, $PLUGIN_MAX) if (scalar (@nicks) > $PLUGIN_MAX); + splice (@nicks, $NumUserdetails) if (scalar (@nicks) > $NumUserdetails); for (@nicks) { @@ -214,7 +191,7 @@ sub output print $fh qq#
 $trans$trans$trans
# . $linescount . "#; @@ -809,52 +763,52 @@ EOF print $fh qq#$print$num$code$num$code$num$code$code$code$quote
\n#, qq# \n#, - qq# \n#, + qq# \n#, qq# \n#; for (@nicks) @@ -225,18 +202,18 @@ sub output my $ptr = $nick_data->{$nick}; print $fh qq# \n#, - qq# \n#, + qq# \n#, qq# \n#, qq# \n#; - if ($DISPLAY_IMAGES) + if ($DisplayImages) { my $link = get_link ($name); my $image = get_image ($name); - if ($DEFAULT_IMAGE and !$image) + if ($DefaultImage and !$image) { - $image = $DEFAULT_IMAGE; + $image = $DefaultImage; } print $fh qq# EOF - for (my $i = 0; $i < $PLUGIN_MAX and $i < scalar (@others); $i++) + for (my $i = 0; $i < $ConversationsNumber and $i < scalar (@others); $i++) { my $other = $others[$i]; my $other_name = nick_to_name ($other) || $other; @@ -368,7 +345,7 @@ EOF for (my $k = 0; $k < 4; $k++) { - my $img = $H_IMAGES[$k]; + my $img = $HorizontalImages[$k]; my $num = $ptr->{'conversations'}{$other}{'nicks'}{$nick}[$k]; my $width = sprintf ("%.2f", 95 * $num / $max_conv); @@ -404,7 +381,7 @@ EOF { $num = 0; - my $img = $V_IMAGES[int ($i / 6)]; + my $img = $VerticalImages[int ($i / 6)]; my $height; $num = $ptr->{'chars'}[$i]; @@ -449,7 +426,7 @@ EOF { my $num = $nick_data->{$nick}{'weekdays'}{$day}[$i]; my $height = sprintf ("%.2f", 95 * $num / $max_weekdays); - my $img = $V_IMAGES[$i]; + my $img = $VerticalImages[$i]; print $fh qq#
$trans$trans
$print$print
#; @@ -356,7 +333,7 @@ sub output
#, qq##, @@ -500,7 +477,7 @@ EOF { my $num = $nick_data->{$nick}{'longterm'}[$i][$j]; my $height = sprintf ("%.2f", 95 * $num / $max_longterm); - my $img = $V_IMAGES[$j]; + my $img = $VerticalImages[$j]; print $fh qq# #, qq##, diff --git a/onis b/onis index fc2cf58..2007435 100755 --- a/onis +++ b/onis @@ -540,6 +540,13 @@ of the quotes in the cache will be chosen at random and displayed. Sets the minimum and maximum length of a quote. Too short quotes may be not very typical for a person, too long quotes may clutter the layout. +=item B: I; + +=item B: I; + +Number of conversations partners to include in the output (or in the +conversations section of the userdetails plugin). + =item B: I; Sets how many lines without interruption are considered a soliloquy. @@ -555,6 +562,10 @@ the userdetails-plugin). The Words-Plugin will ignore words with less than this characters. +=item B: I; + +The number of nicks to print userdetails for. + =back =head1 AUTHOR diff --git a/reports/dark-theme/style.css b/reports/dark-theme/style.css index 73614ec..7ccb282 100644 --- a/reports/dark-theme/style.css +++ b/reports/dark-theme/style.css @@ -116,11 +116,21 @@ table.hours img /* * * */ +table.big_ranking td.bar +{ + width: 100px; +} + table.big_ranking td.bar img { height: 15px; } +table.big_ranking td.counter +{ + text-align: right; +} + table.big_ranking td.image { padding: 1px; diff --git a/reports/light-theme/style.css b/reports/light-theme/style.css index 997f70c..ddc18e7 100644 --- a/reports/light-theme/style.css +++ b/reports/light-theme/style.css @@ -69,6 +69,19 @@ table.big_ranking img height: 10px; } +table.big_ranking td.bar +{ + width: 100px; +} + +table.big_ranking td.counter +{ + background-color: #f8f8f8; + color: black; + border: none; + text-align: right; +} + table.big_ranking td.image img, table.userdetails td.image img { diff --git a/reports/liner-theme/style.css b/reports/liner-theme/style.css index 8c71815..2264702 100644 --- a/reports/liner-theme/style.css +++ b/reports/liner-theme/style.css @@ -66,25 +66,18 @@ table.big_ranking img table.big_ranking td.bar { font-size: smaller; + width: 100px; } -table.big_ranking td.bar img.first +table.big_ranking td.counter { - border: none; -} - -table.big_ranking td.bar img.last -{ - border: none; + text-align: right; } table.big_ranking td.image img { - width: auto; - height: auto; width: 50px; height: 50px; - } table.conversations -- 2.11.0