diff --git a/app/models/tags_block.rb b/app/models/tags_block.rb index 036fc85..3fa8969 100644 --- a/app/models/tags_block.rb +++ b/app/models/tags_block.rb @@ -12,7 +12,7 @@ class TagsBlock < Block help_textile( _('The tag is created when you add some one to your article. Try to add some tags to some articles and see your tag cloud to grow.'), - _('How tags works here?') ) + + _('How tags works here?'), :class => 'help_tags' ) + tag_cloud( owner.tags, :id, owner.generate_url(:controller => 'profile', :action => 'tag') + '/', :max_size => 20, :min_size => 10 ) diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml index 74b78a7..419c51a 100644 --- a/app/views/layouts/application.rhtml +++ b/app/views/layouts/application.rhtml @@ -95,7 +95,6 @@
-
diff --git a/public/designs/templates/default/stylesheets/style.css b/public/designs/templates/default/stylesheets/style.css index 8ee70e3..3ec904f 100644 --- a/public/designs/templates/default/stylesheets/style.css +++ b/public/designs/templates/default/stylesheets/style.css @@ -14,7 +14,11 @@ } .box-3 { + margin-top: 20px; float: right; width: 200px; } +.block { + padding: 10px 0px; +} diff --git a/public/stylesheets/button.css b/public/stylesheets/button.css index bca3234..e9494a3 100644 --- a/public/stylesheets/button.css +++ b/public/stylesheets/button.css @@ -1,3 +1,4 @@ + .button-bar { margin-top: 1em; } @@ -5,12 +6,11 @@ a.button, a.button:visited, input.button { - margin-left: 5px; + margin: 0px 2px; background-repeat: no-repeat; background-position: 50% 50%; - padding: 1px 0px 1px 20px; - height: 24px; - line-height: 22px; + padding: 2px 0px 2px 20px; + line-height: 24px; font-size: 12px; color: black; text-decoration: none; @@ -44,17 +44,24 @@ a.button.with-text, a.button.with-text:visited, input.button.with-text { background-color: #EEE; - padding: 1px 2px 1px 25px; + padding: 2px 2px 2px 25px; background-position: 2px 50%; border: 1px solid #AAA; + line-height: 26px; +} +.msie a.button.with-text, +.msie a.button.with-text:visited, +.msie input.button.with-text { + line-height: 16px; + margin: 2px; } a.button:hover, input.button:hover, a.button.with-text:hover, input.button.with-text:hover { - border: 1px solid #777; - background-color: #DDD; + border: 1px solid #678; + background-color: #CDE; color: #000; } @@ -64,3 +71,4 @@ input.button.with-text:hover { .icon-button:hover { border: none; } + diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index d94defa..7364c75 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -46,7 +46,7 @@ body.category4 #wrap { background-image: url("../images/bg-top-vermelho.png"); } } #header { - height: 50px; + height: 60px; } #design_boxes { @@ -341,7 +341,21 @@ div#notice { #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { margin: 10px 0px; -} + color: #2A5896; +} +body.category1 #content h1, body.category1 #content h2, body.category1 #content h3, +body.category1 #content h4, body.category1 #content h5, body.category1 #content h6 + { color: #E26B00 } +body.category2 #content h1, body.category2 #content h2, body.category2 #content h3, +body.category2 #content h4, body.category2 #content h5, body.category2 #content h6 + { color: #58A80A } +body.category3 #content h1, body.category3 #content h2, body.category3 #content h3, +body.category3 #content h4, body.category3 #content h5, body.category3 #content h6 + { color: #694371 } +body.category4 #content h1, body.category4 #content h2, body.category4 #content h3, +body.category4 #content h4, body.category4 #content h5, body.category4 #content h6 + { color: #B80000 } + #content .block-title { margin: 0px 0px 10px 0px; } diff --git a/public/stylesheets/menu.css b/public/stylesheets/menu.css index 4e24345..a5ccf35 100644 --- a/public/stylesheets/menu.css +++ b/public/stylesheets/menu.css @@ -190,7 +190,7 @@ body.category4 #assets_menu_list { background-image: url(/images/top-bar/assets- } #user_box a, -#assets_menu a, +/*#assets_menu a,*/ .top_extra_menu a { font-size: 12px; font-weight: bold; @@ -267,6 +267,7 @@ body.category4 .top_extra_menu a:hover { background: #CC0000; color: #FFF } position: absolute; top: 2px; left: 64px; + float: left; } #user_box #open_search:hover { background: none; -- libgit2 0.21.2