Files
alfresco-community-repo/source/web/css/xforms.css
Ariel Backenroth 7e22f28905 beginning to implement linton's updates to xforms screen.
- added ViewRoot which presents a title, rather than a bounding root group.  made the xform generator place all components within a single root group to support this.

- adding highlighting for the currently selected repeat item.  found a bunch of bugs in how the current repeat item is being set.  only dispatching the origin repeat select index for nested repeats.  correctly setting the repeat index after move operation

- updated css to match latest css changes to the product.

began implementing support for inherited complex schema types.
- adding support for xf:switch and xf:toggle in xforms.js.

- refactored and cleaned up a particularly hard to understand part of the xform generator which handles inherited complex types.

- not pretty printing the resulting xml from create web content or edit as it introduces unwanted text nodes which can confuse chiba when xsi:nil is used (i'm using xsi:nil to disable validation when i use xsi:type since otherwise there's a NullPointerException in chiba because it doesn't understand complex type definitions).

- need to think about the design a bit more before continuing with this.  chiba has limitations with how it handles xsi:type which makes it difficult to figure out the correct case to select at schema generation time, especially if the item is repeated.  also, currently the generator emits a select1 to select the type which controls the switch.  i'm not sure whether i actually want a separate select control to manage the switch...

added a test for date types and removed the old one.

added a test for inherited types.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-20 00:42:49 +00:00

205 lines
2.8 KiB
CSS

.xformsItem
{
/* border: 1px dashed blue; */
margin-right: 2px;
}
.xformsItemDOMContainer
{
position: relative;
top: 0px;
left: 0px;
padding: 0px;
margin: 0px;
}
.xformsGroup
{
position: relative;
top: 0px;
left: 0px;
width: 100%;
margin-bottom: 10px;
/* border: 1px solid #67a4e6; */
border: 1px solid #d2d2d9;
}
.xformsGroupItem
{
position: relative;
margin: 5px 0px;
max-width: 100%;
}
.xformsGroupHeader
{
position: relative;
top: 0px;
left: 0px;
height: 20px;
line-height: 20px;
width: 100%;
/* background-color: #cddbe8; */
background-color: #ececec;
font-weight: bold;
/* border-bottom: 1px solid #67a4e6; */
border-bottom: 1px solid #d2d2d9;
}
.xformsViewRootHeader
{
position: relative;
top: 0px;
left: 0px;
height: 30px;
line-height: 30px;
width: 100%;
font-weight: bold;
font-size: 12px;
font-weight: bold;
text-align: center;
padding-bottom: 5px;
}
.xformsTextArea
{
height: 200px;
}
.xformsRepeat
{
}
.xformsRepeatFocusedHeader
{
background-color: #d4e4f4;
}
.xformsRepeatItem
{
/* border-top: 1px solid #67a4e6; */
/* border-bottom: 1px solid #67a4e6; */
border-top: 1px solid #d2d2d9;
border-bottom: 1px solid #d2d2d9;
}
.xformsRepeatItemSelected
{
background-color: #ecf4fc;
}
.xformsRepeatControls
{
position: relative;
white-space: nowrap;
border: 1px solid #67a4e6;
height: 20px;
line-height: 20px;
}
.xformsRowEven
{
background-color: #f0f0ee;
}
.xformsRowOdd
{
background-color: #ffffff;
}
.xformsRowHover
{
background-color: #ffffcc;
}
.xformsError
{
padding: 2px;
border: 1px solid #003366;
}
.xformsAjaxLoader
{
position: absolute;
top: 0px;
right: 0px;
color: white;
background-color: red;
}
.xformsFilePicker
{
width: 100%;
max-width: 400px;
}
.xformsFilePickerStatus
{
padding: 2px;
border: 1px solid #003366;
margin: 2px 5%;
text-align: center;
text-overflow: ellipsis;
overflow: hidden;
}
.xformsFilePickerHeader
{
position: relative;
height: 30px;
line-height: 30px;
padding-left: 2px;
background-color: #e3effa;
border: 1px solid #67a4e6;
}
.xformsFilePickerHeaderMenuTrigger
{
padding: 2px;
font-weight: bold;
text-decoration: none;
border: 1px solid lightgrey;
}
.xformsFilePickerFooter
{
text-align: center;
height: 30px;
line-height: 30px;
background-color: #e3effa;
border: 1px solid #67a4e6;
}
.xformsFilePickerFileList
{
overflow-y: auto;
background-color: white;
border-left: 1px solid #67a4e6;
border-right: 1px solid #67a4e6;
}
.xformsFilePickerRow
{
position: relative;
height: 20px;
line-height: 20px;
}
.xformsFilePickerAddContent
{
background-color: #ffffcc;
position: relative;
height: 30px;
line-height: 30px;
}
.xformsFilePickerParentPathMenu
{
position: absolute;
background-color: #fefefe;
border-style: outset;
border: 1px solid #67a4e6;
line-height: 20px;
min-width: 100px;
}