fixing a route, some minor css
Oleg
committed Feb 28, 2012
commit 75bdea8a846df8cec13a75d258b1c8152e7a10d4
Showing 2
changed files with
16 additions
and 9 deletions
app/assets/stylesheets/comfortable_mexican_sofa/content.css
+14
-7
| @@ | @@ -122,29 +122,35 @@ |
| #cms_body ul.list li .item .toggle.open a { | |
| background-image: url(/assets/comfortable_mexican_sofa/arrow_bottom.gif); | |
| } | |
| - | #cms_body ul.list li .item .icon { |
| + | #cms_body ul.list li .item .icon, |
| + | #cms_body table.formatted td .icon { |
| float: left; | |
| width: 28px; | |
| height: 28px; | |
| background: url(/assets/comfortable_mexican_sofa/icon_regular.gif); | |
| } | |
| - | #cms_body ul.list li .item .icon.draft { |
| + | #cms_body ul.list li .item .icon.draft, |
| + | #cms_body table.formatted td .icon.draft { |
| background: url(/assets/comfortable_mexican_sofa/icon_draft.gif); | |
| } | |
| - | #cms_body ul.list li .item .icon .dragger { |
| + | #cms_body ul.list li .item .icon .dragger, |
| + | #cms_body table.formatted td .icon .dragger { |
| width: 28px; | |
| height: 28px; | |
| background: url(/assets/comfortable_mexican_sofa/icon_move.gif); | |
| cursor: move; | |
| display: none; | |
| } | |
| - | #cms_body ul.list li .item .icon:hover .dragger { |
| + | #cms_body ul.list li .item .icon:hover .dragger, |
| + | #cms_body table.formatted td .icon:hover .dragger { |
| display: block; | |
| } | |
| - | #cms_body ul.list li .item .icon .dragger span { |
| + | #cms_body ul.list li .item .icon .dragger span, |
| + | #cms_body table.formatted td .icon .dragger span { |
| display: none; | |
| } | |
| - | #cms_body ul.list li .item .label { |
| + | #cms_body ul.list li .item .label, |
| + | #cms_body table.formatted td .label { |
| margin-left: 32px; | |
| font-size: 14px; | |
| font-weight: bold; | |
| @@ | @@ -158,7 +164,8 @@ |
| text-transform: uppercase; | |
| color: #888; | |
| } | |
| - | #cms_body ul.list li .item .label .sublabel { |
| + | #cms_body ul.list li .item .label .sublabel, |
| + | #cms_body table.formatted td .label .sublabel { |
| font-size: 10px; | |
| font-weight: normal; | |
| } | |
config/routes.rb
+2
-2
| @@ | @@ -6,7 +6,7 @@ Rails.application.routes.draw do |
| resources :pages do | |
| get :form_blocks, :on => :member | |
| get :toggle_branch, :on => :member | |
| - | put :reorder, :on => :collection |
| + | put :reorder, :on => :collection |
| resources :revisions, :only => [:index, :show, :revert] do | |
| put :revert, :on => :member | |
| end | |
| @@ | @@ -15,7 +15,7 @@ Rails.application.routes.draw do |
| put :reorder, :on => :collection | |
| end | |
| resources :layouts do | |
| - | post :reorder, :on => :collection |
| + | put :reorder, :on => :collection |
| resources :revisions, :only => [:index, :show, :revert] do | |
| put :revert, :on => :member | |
| end | |