Commit 68fde01a1b8b62fcf58bb93d3a4c70cafa3d7ff4
- Diff rendering mode:
- inline
- side by side
app/stylesheets/screen.sass
(4 / 8)
|   | |||
| 75 | 75 | .new_comment | |
| 76 | 76 | textarea | |
| 77 | 77 | height: 10em | |
| 78 | .edit_page | ||
| 78 | .edit_page, | ||
| 79 | .edit_post | ||
| 79 | 80 | textarea | |
| 80 | height: 30em | ||
| 81 | width: 400px | ||
| 82 | +font-size(1px) | ||
| 83 | overflow-y: scroll | ||
| 81 | height: 340px | ||
| 82 | width: 100% | ||
| 84 | 83 | .datum p | |
| 85 | 84 | text-align: right | |
| 86 | 85 | +font-size(12px) | |
| … | … | ||
| 116 | 116 | border-top: 1px solid | |
| 117 | 117 | padding: 8px 0 18px 0 | |
| 118 | 118 | margin-top: 20px | |
| 119 | |||
| 120 | .wym_iframe | ||
| 121 | +normal-ul |
|   | |||
| 1 | 1 | %p | |
| 2 | %b= f.label :title | ||
| 3 | = f.text_field :title | ||
| 2 | %b= form.label :title | ||
| 3 | = form.text_field :title | ||
| 4 | 4 | %p | |
| 5 | %b= f.label :slug | ||
| 6 | = f.text_field :slug | ||
| 5 | %b= form.label :slug | ||
| 6 | = form.text_field :slug | ||
| 7 | 7 | %p | |
| 8 | %b= f.label :body | ||
| 9 | = f.text_area :body | ||
| 8 | %b= form.label :body | ||
| 9 | = form.text_area :body |
|   | |||
| 3 | 3 | - content_for :title do | |
| 4 | 4 | = @page.title | |
| 5 | 5 | ||
| 6 | - form_for @page, :method => :put do |f| | ||
| 7 | = render :partial => 'form', :locals => {:f => f} | ||
| 8 | %p= submit_tag 'Update', :class => :wymupdate | ||
| 6 | - form_for @page, :method => :put do |form| | ||
| 7 | = render form | ||
| 8 | %p= submit_tag 'Update' |
|   | |||
| 5 | 5 | ||
| 6 | 6 | = error_messages_for :post | |
| 7 | 7 | ||
| 8 | - form_for(:post, :url => post_path(@post), :html => { :method => :put }) do |f| | ||
| 9 | = render :partial => 'form', :object => f | ||
| 8 | - form_for @post, :method => :put do |form| | ||
| 9 | = render form | ||
| 10 | 10 | %p | |
| 11 | 11 | = submit_tag "Update", :class => :wymupdate | |
| 12 | 12 |
|   | |||
| 44 | 44 | #Main .content .title { margin-bottom: 20px; } | |
| 45 | 45 | #Main .content .title h1 { font-size: 76.923%; } | |
| 46 | 46 | #Main .content .new_comment textarea { height: 10em; } | |
| 47 | #Main .content .edit_page textarea { height: 30em; width: 400px; font-size: 7.692%; overflow-y: scroll; } | ||
| 47 | #Main .content .edit_page textarea, #Main .content .edit_post textarea { height: 340px; width: 100%; } | ||
| 48 | 48 | #Main .content .datum p { text-align: right; font-size: 92.308%; } | |
| 49 | 49 | #Main .content #comments h2 { font-size: 138.462%; } | |
| 50 | 50 | #Main .content #comments .datetime { font-size: 61.538%; text-align: right; } | |
| … | … | ||
| 57 | 57 | #Main .navigation ul { margin: 0; } | |
| 58 | 58 | ||
| 59 | 59 | #Footer { float: left; margin-right: 0px; width: 975px; border-top: 1px solid; padding: 8px 0 18px 0; margin-top: 20px; } | |
| 60 | |||
| 61 | .wym_iframe ol, .wym_iframe ul, .wym_iframe dl { margin-left: 2em; } | ||
| 62 | .wym_iframe ul li { list-style: disc outside; } |

