Skip to content

Commit

Permalink
Fixed styles for custom fields. 'move' cursor only for li.position
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Nov 24, 2011
1 parent 49bfbc3 commit 481f76c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions app/stylesheets/common.sass
Expand Up @@ -161,7 +161,13 @@ $sidebar_width: 210px
td
vertical-align: top
padding: 0px
input[type="text"], input[type="password"], select

div.input
display: inline
img.tooltip-icon
display: inline
vertical-align: bottom
input, select
width: 240px
display: block

Expand Down Expand Up @@ -637,7 +643,7 @@ $sidebar_width: 210px
color: white
font-weight: bold

.list li
.list li.position
cursor: move

span.handle img
Expand All @@ -655,3 +661,4 @@ span.handle img
a:hover
:background steelblue
:color yellow

2 changes: 1 addition & 1 deletion app/views/admin/fields/_field.html.haml
@@ -1,4 +1,4 @@
%li[field]{ highlightable(dom_id(field, :tools)) }
%li.position[field]{ highlightable(dom_id(field, :tools)) }
%span.handle
%img( src="/images/sortable.gif" )
.tools{ invisible, :id => dom_id(field, :tools) }
Expand Down

0 comments on commit 481f76c

Please sign in to comment.