NIHVIVO-193. Work on custom form for person has position history. Generalized css and javascript to work with other custom forms that will be built for version 1.0 (see NIHVIVO-141).
This commit is contained in:
parent
1b4b52954d
commit
3f09ddf7d2
6 changed files with 484 additions and 94 deletions
51
productMods/edit/forms/css/customForm.css
Normal file
51
productMods/edit/forms/css/customForm.css
Normal file
|
@ -0,0 +1,51 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
/* Some of these styles should most likely apply to all forms. */
|
||||
|
||||
#content form {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#content form div {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
#addNewLink {
|
||||
float: right;
|
||||
margin-right: 18em;
|
||||
margin-top: .8em;
|
||||
width: 30%;
|
||||
padding: .6em 0 .6em 1.5em;
|
||||
border: 1px solid #9c9c9c;
|
||||
|
||||
}
|
||||
|
||||
#content form #existing {
|
||||
float: left;
|
||||
clear: none;
|
||||
/* width: 300px;*/
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#new {
|
||||
padding: .6em 0 .6em 1.5em;
|
||||
border: 1px solid #9c9c9c;
|
||||
}
|
||||
|
||||
#content form p.inline input {
|
||||
margin-right: 50em;
|
||||
margin-top: -1.75em;
|
||||
float: right;
|
||||
clear: right;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
#content form p {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* This div starts off hidden in case Javascript is disabled. Javascript will show it. */
|
||||
.addNewLink {
|
||||
display: none;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue