NIHVIVO-1574: Refactored upload image templates, and made upload images css file theme agnostic.

This commit is contained in:
mb863 2011-01-06 21:12:46 +00:00
parent f62171fa59
commit 3b95c44b39
4 changed files with 168 additions and 67 deletions

View file

@ -0,0 +1,94 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* <------ UPLOAD PICTURE*/
#photoUpload{
margin-left: 0px;
height: 280px;
background: #fff;
padding: 15px;
}
#photoUploadDefaultImage{
width: 120px;
float: left;
}
#photoUploadDefaultImage img{
margin-bottom: 10px;
}
#photoUploadForm{
width: 280px;
float: left;
padding-left: 15px;
margin-left: 1.2em;
margin-top: 30px;
padding-top: 15px;
padding-bottom: 25px;
}
#photoUploadForm label{
display: block;
padding-bottom: 10px;
}
#photoUploadForm label span{
font-size: 0.7em;
}
#photoUploadForm input{
margin-bottom: 10px;
}
/* <------ CROP PICTURE*/
#photoCropping{
margin-left: 0px;
height: 450px;
background: #fff;
padding: 15px 0 15px 15px;
margin-right: 0;
}
#photoCroppingPreview{
width: 180px;
float: left;
}
.photoCroppingNote{
margin-top: 15px;
font-size: 0.8em;
}
#photoCropping{
width: 400px;
float: left;
padding-top: 30px;
padding-left: 15px;
margin-left: 0;
margin-right: 0;
}
.photoCroppedPreview{
width: 115px;
height: 115px;
overflow: hidden;
}
/* <------ DELETE PICTURE*/
#photoDeletingContainer{
margin-left: 0px;
width: 720px;
height: 330px;
background: #fff;
padding: 15px;
}
/* <------ ERROR ALERTS*/
#error-alert{
color: #900;
padding: 0px;
margin-bottom: 5px;
height: 30px;
}
#error-alert img{
float: left;
margin: 0;
padding: 0;
vertical-align: middle;
}
#error-alert p{
padding-left: 35px;
font-size: 0.9em;
line-height: 30px;
}
.or{
display: inline;
vertical-align: middle;
}