Changeset 275

Show
Ignore:
Timestamp:
06/07/07 23:01:07 (1 year ago)
Author:
wyca..@gmail.com
Message:

MrBlog? styles for new article creation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mrblog/trunk/dist/app/views/admin/_form.herb

    r143 r275  
    1616</p> 
    1717 
    18 <p> 
    19  
    20   <input type="image" name="Submit" value="Submit" src="/images/save.gif" /> 
    21   <%= link_to image_tag('cancel.gif'), (params[:action] == 'edit') ? "/admin/show/#{@post.id}" : "/admin" %> 
     18<p class="buttons"> 
     19  <%= link_to image_tag('cancel.gif'), (params[:action] == 'edit') ? "/admin/show/#{@post.id}" : "/admin", :class => "button" %> 
     20  <button type="submit" name="Submit" value="Submit"><img src="/images/save.gif" /></button> 
    2221</p> 
  • mrblog/trunk/dist/public/stylesheets/merb.css

    r133 r275  
    279279float:right; 
    280280} 
     281 
     282/** 
     283 * Create a new post form 
     284 */ 
     285  
     286a.button { 
     287  border-bottom: none; 
     288} 
     289 
     290form label { 
     291  float: left; 
     292  margin-right: 5px; 
     293  width: 50px; 
     294  text-align: right; 
     295} 
     296 
     297form p input, form p textarea { 
     298  width: 616px; 
     299  border: 1px solid #000; 
     300  padding: 2px; 
     301  font: 1em/1em Arial, sans-serif; 
     302} 
     303 
     304form p.buttons { 
     305  text-align: right; 
     306} 
     307 
     308form p button { 
     309  padding: 0; 
     310  background: transparent; 
     311  border: none; 
     312  cursor: pointer; 
     313}