Commit 1b1523f9 authored by Rafael Masoni's avatar Rafael Masoni
Browse files

Removing brackets from CSS

parent 7e080d1b
...@@ -32,12 +32,6 @@ ...@@ -32,12 +32,6 @@
display: inline display: inline
font-weight: bold font-weight: bold
.scope:after
content: "]"
.scope:before
content: "["
.nick .nick
&:after &:after
......
...@@ -40,11 +40,11 @@ class Message ...@@ -40,11 +40,11 @@ class Message
when %r[/(ooc) (.*)]i when %r[/(ooc) (.*)]i
self['login'] = user.login self['login'] = user.login
self['classes'] = [ $1 ] self['classes'] = [ $1 ]
self['scope'] = 'OOC' self['scope'] = '[OOC]'
self['body'] = "#{user.login}: #{$2}" self['body'] = "#{user.login}: #{$2}"
when %r[/(npc) ([^:]*): *(.*)$]i when %r[/(npc) ([^:]*): *(.*)$]i
self['classes'] = [ $1 ] self['classes'] = [ $1 ]
self['scope'] = 'NPC' self['scope'] = '[NPC]'
self['nick'] = $2 self['nick'] = $2
self['body'] = $3 self['body'] = $3
when %r[/(tell) (.*)]i when %r[/(tell) (.*)]i
...@@ -53,12 +53,12 @@ class Message ...@@ -53,12 +53,12 @@ class Message
when %r[/roll (\d+)d *(\d+)?]i when %r[/roll (\d+)d *(\d+)?]i
dices = Dice.roll($1, $2) dices = Dice.roll($1, $2)
self['classes'] = 'dice' self['classes'] = 'dice'
self['scope'] = 'Dice' self['scope'] = '[Dice]'
self['body'] = "#{user.login} rolls #{$1}d#{$2}: #{dices.join(' + ')} = **#{dices.inject {|s,d| s + d }}**" self['body'] = "#{user.login} rolls #{$1}d#{$2}: #{dices.join(' + ')} = **#{dices.inject {|s,d| s + d }}**"
else else
self['login'] = user.login self['login'] = user.login
self['classes'] = [ 'ooc' ] self['classes'] = [ 'ooc' ]
self['scope'] = 'OOC' self['scope'] = '[OOC]'
self['body'] = "#{user.login}: #{plain}" self['body'] = "#{user.login}: #{plain}"
end end
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment