NIHVIVO-1238: Continue working on styles and making custom forms theme agnostic

This commit is contained in:
mb863 2010-12-02 22:45:51 +00:00
parent 3180ed432b
commit ed08113669
2 changed files with 11 additions and 23 deletions

View file

@ -6,64 +6,52 @@ label{
display: block; display: block;
margin-top: .5em; margin-top: .5em;
} }
input{
padding:0.4em;
}
/*************************************************
vivo-basic theme: editing form styles
/******************* mb863: content below copied from Wilma theme /css/formedit.css ********************************/ This document is included by formPrefix.jsp
**************************************************/
form { form {
padding-bottom: 20px; padding-bottom: 20px;
} }
.form p { .form p {
margin-bottom:0.5em; margin-bottom:0.5em;
} }
form textarea { form textarea {
width: 60%; width: 60%;
} }
form a:link.cancel, form a:visited.cancel { form a:link.cancel, form a:visited.cancel {
color: #f70; color: #f70;
border-color: #f70; border-color: #f70;
} }
form a:hover.cancel { form a:hover.cancel {
text-decoration: none; color: #fff;
background: #f70;
} }
form select option{ form select option{
padding-right: 5px; padding-right: 5px;
} }
form dl { form dl {
margin-bottom: 20px; margin-bottom: 20px;
} }
form dl dt, form dl dd { form dl dt, form dl dd {
padding-top: 15px; padding-top: 15px;
} }
.validationError { .validationError {
padding-top: .5em; color:red;
color:red;
} }
.inlineForm input { .inlineForm input {
display:inline; display:inline;
} }
.inlineForm label { .inlineForm label {
display:inline; display:inline;
} }
p.submit { /* $This file is distributed under the terms of the license in /doc/license.txt$ */
clear: left;
margin-top: 2em;
}
/******************* styles copied from old global.css.jsp ********************************/ /******************* styles copied from old global.css.jsp ********************************/

View file

@ -1,6 +1,6 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Template for loading stylesheets in the head --> <#-- Template for loading stylesheets in the head -->
${stylesheets.add("/css/edit.css")} <#-- temporary until edit controller can include this when needed --> ${stylesheets.add("/css/edit.css")} <#--temporary until edit controller can include this when needed -->
${stylesheets.add("/css/menupage/menupage.css")} <#-- we need to call it from the theme until freemarker controller and menupage.ftl are created --> ${stylesheets.add("/css/menupage/menupage.css")} <#-- we need to call it from the theme until freemarker controller and menupage.ftl are created -->
${stylesheets.add("/css/individual/individual.css")} <#-- we need to call it from the theme until freemarker controller and individual.ftl are created --> ${stylesheets.add("/css/individual/individual.css")} <#-- we need to call it from the theme until freemarker controller and individual.ftl are created -->