Changeset 5897
- Timestamp:
- 07/31/08 18:12:55 (4 months ago)
- Files:
-
- rubricks_core/trunk/themes/asteriksorange/images/layout/cb_bar.gif (added)
- rubricks_core/trunk/themes/asteriksorange/stylesheets/asteriksorange.css (modified) (1 diff)
- rubricks_core/trunk/themes/rubrickswhite/images/layout/cb_bar.gif (added)
- rubricks_core/trunk/themes/rubrickswhite/stylesheets/rubrickswhite.css (modified) (1 diff)
- rubricks_core/trunk/vendor/plugins/rubricks/lib/action_view_rubricks_block_helper.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
rubricks_core/trunk/themes/asteriksorange/stylesheets/asteriksorange.css
r5788 r5897 108 108 div.rubricks_cb_content .inner_style { 109 109 padding: 10px 0 0 8px; 110 } 111 div.rubricks_cb_bar { 112 background: url(../../../images/themes/asteriksorange/layout/cb_bar.gif) repeat-x bottom; 113 height: 20px; 114 line-height: 20px; 115 margin: 0 -2px; 116 padding: 0 8px; 117 position: relative; 118 text-align: right; 110 119 } 111 120 rubricks_core/trunk/themes/rubrickswhite/stylesheets/rubrickswhite.css
r5788 r5897 108 108 div.rubricks_cb_content .inner_style { 109 109 padding: 10px 0 0 8px; 110 } 111 div.rubricks_cb_bar { 112 background: url(../../../images/themes/rubrickswhite/layout/cb_bar.gif) repeat-x bottom; 113 height: 20px; 114 line-height: 20px; 115 margin: 0 -2px; 116 padding: 0 8px; 117 position: relative; 118 text-align: right; 110 119 } 111 120 rubricks_core/trunk/vendor/plugins/rubricks/lib/action_view_rubricks_block_helper.rb
r5759 r5897 10 10 return html 11 11 end 12 13 def render_block_bar(&block) 14 content = capture(&block) 15 concat(render_block_bar_begin, block.binding) 16 concat(content, block.binding) 17 concat(render_block_bar_end, block.binding) 18 end 19 20 private 21 def render_block_bar_begin 22 '<div class="rubricks_cb_bar">' 23 end 24 25 def render_block_bar_end 26 '</div>' 27 end 12 28 end 13 29 end
