MINOR: fixed styling for dropdown options

This commit is contained in:
Will Rossiter 2009-04-21 05:47:50 +00:00
parent 83f827f006
commit 5ffaebf070
2 changed files with 32 additions and 4 deletions

View File

@ -92,15 +92,43 @@
#Fields_fields .EditableFormField div.extraOptions {
display: block;
margin: 3px 0px 3px 57px;
overflow:hidden;
margin: 3px 0px 3px 38px;
background-color: #eee;
padding: 3px;
clear: both;
}
#Fields_fields .EditableFormField div.extraOptions * {
#Fields_fields .EditableFormField .extraOptions * {
display: block;
}
#Fields_fields .EditableFormField .extraOptions .handle {
float: left;
margin-right: 3px;
}
#Fields_fields .EditableFormField .extraOptions ul {
padding: 5px 0;
}
#Fields_fields .EditableFormField .extraOptions li {
padding: 3px 0;
overflow: hidden;
}
#Fields_fields .EditableFormField .extraOptions input {
font-size: 11px;
padding: 2px;
float: left;
}
#Fields_fields .EditableFormField .extraOptions .deleteOption {
width: 20px;
margin: 4px 0 0 4px;
background: none;
height: 20px;
float: left;
display: block;
}
#Fields_fields .EditableFormField .middleColumn {
background: none;
}
/* CHECKBOX */
#Fields_fields .EditableFormField .checkbox { }
@ -110,7 +138,7 @@
}
#Fields_fields .EditableFormField div.hidden {
#Fields_fields li.EditableFormField .hidden {
display: none;
}

View File

@ -2,7 +2,7 @@
<img class="handle" src="sapphire/images/drag.gif" alt="<% _t('DRAG', 'Drag to rearrange order of options') %>" />
$DefaultSelect
<input type="text" name="$Name.Attr[Title]" value="$Title" />
<input type="hidden" class="sortOptionHidden" name="$Name[Sort]" value="$Sort" />
<input type="hidden" class="sortOptionHidden hidden" name="$Name[Sort]" value="$Sort" />
<% if isReadonly %>
<img src="cms/images/locked.gif" alt="<% _t('LOCKED', 'These fields cannot be modified') %>" />