From d1661d8070be776cf27f427f4db97d36f32cfd0e Mon Sep 17 00:00:00 2001 From: ashok sukumaran Date: Mon, 4 Jul 2011 23:03:04 +0530 Subject: [PATCH] frontpages --- edgware/static/css/files/archive.css | 261 +++++++++++++++++---------- edgware/static/css/files/upload.css | 16 +- 2 files changed, 174 insertions(+), 103 deletions(-) diff --git a/edgware/static/css/files/archive.css b/edgware/static/css/files/archive.css index e7770b0..6954aac 100644 --- a/edgware/static/css/files/archive.css +++ b/edgware/static/css/files/archive.css @@ -1,108 +1,181 @@ -#categoryHelp { -padding:18px 0px 5px 100px; + +#filterForm +{padding:18px 0px 18px 100px;} + +#filterForm p +{padding-bottom:10px; +padding-right:32px; font-size:14px; -color: #3B240B; +float:left;} + +#leftCol +{float:left; +clear:both; +padding-top:10px; +font-size:12px; +text-align:justify;} + +#fileList +{width:330px; +height:320px; +overflow-x:hidden; +margin-left:100px;} + +.fileItem +{width:290px; +padding-bottom:8px; +cursor:pointer; +overflow:hidden; +white-space:nowrap; +text-overflow:ellipsis;} /*ellipsis not supported except for FF7*/ + +.fileItem:hover +{color:#555353;} + +.fileStudy +{font-style:italic;} + +.fileIcon +{margin-right:4px;} + +.selectedItem +{background-color:#f4f3ba;} + +.fileCheckbox +{padding-right:4px;} + +#pageDataWrapper { +width:330px; +margin-left: 100px; +overflow: hidden; +} +#pageData +{padding-top:10px; font-style:italic; -} - -#categoryForm { -padding:5px 0px 5px 100px; -} - -#categoryForm p { -padding-bottom:10px; -padding-right:50px; -font-size:14px; +letter-spacing:4; float:left; } -#addFilesWrapper { -display: none; -padding:18px 0px 18px 100px; -} - -#uploadInstructions { -font-size:14px; -color: #3B240B; -margin-bottom: 10px; -font-style:italic; -} - -#uploadingTo { -margin-bottom: 10px; -font-style:italic;} - -.uploading { -width: 450px; -border-width: 1px; -border-style: dashed; -border-color: #7db9e8; -padding: 5px; -font-size: 14px; -margin-bottom: 5px; -border-radius:10px; -} - -.uploaded { -width: 450px; -padding:10px; -font-size:14px; -margin-bottom:5px; -background: #7db9e8; -border-radius:10px;} - -.formHelp -{font-weight:bold; -padding-top:6px;} - -.fileForm button -{float:right; -margin-right:5px; -margin-bottom:5px;} - -#progressbar { -display: none; -background-color: #848484; -margin-left: 40px; -} - -#progress { -background: #3B240B; -} - -#progressstatus { -font-size: 12px; -} - -#filesList { -margin-top: 15px; -margin-bottom:5px;} - -.saved -{padding-left:7px; -font-size:12px; -display:block; -padding-top:5px; +#firstPage +{cursor:pointer; +padding-top:10px; +padding-left:15px; float:left;} -.fileForm { -overflow: hidden; -width: 100%; +#firstPage:hover +{text-decoration:underline;} + +#prevBtn, #nextBtn +{cursor:pointer; +padding-top:10px;} + +#prevBtn +{padding-left:12px; +float:left;} + +#nextBtn +{padding-left:20px; +padding-right:12px; +float:left;} + +#lastPage +{float:left; +cursor:pointer; +padding-top:10px;} + +#lastPage:hover +{text-decoration:underline;} + +#withSelected +{padding-top:12px; +padding-left:100px; +clear:both; +float:left;} + +#makePrivate +{margin-left:10px;} + +#em +{font-style:italic; +text-align:justify; +line-height:20px; +padding-left:16px;} + +#previewPane +{float:left; +padding-top:10px; +padding-left:20px; +font-size:12px;} + +.previewObject a, .previewObject a:link +{text-decoration:none; +color:#555353;} + +.previewObject a:visited +{color:#5a4123;} + +.previewObject a:hover +{text-decoration:underline;} + +.previewObject a:active +{color:#000;} + +.itemForm +{width:400px; +height:200px; +overflow:hidden; } -.fileTitle { -float: bottom; -width: 170px; -margin-left: 6px; -margin-bottom: 10px; +.leftCol { +width:200px; +padding-top:12px; +float:left;} + +.leftCol p +{ +font-size:12px; +font-weight:bold; +text-align:left;} + +.editTitle +{float:left;} + +.itemFormLabel titleLabel { +display:block; } -.fileDesc { -float: left; -width: 250px; -margin-right:8px; +.itemTitle +{width:180px;} + +.editPrivate +{clear:both; +float:left; +padding-top:6px;} + +.rightCol { +width:200px; +padding-top:12px; +float:right;} + +.rightCol p +{font-weight:bold; +text-align:right;} + + +.editDescription { +float:right; } -#uploadStudy { -font-weight: bold; +.itemDescription { +width:190px; +font-family: "DejaVu Sans", Arial, Verdana, sans-serif; } + +.itemFormLabel descriptionLabel { +display:block; +} + +.submitInput +{clear:both; +float:right; +margin-top:6px;} diff --git a/edgware/static/css/files/upload.css b/edgware/static/css/files/upload.css index fa6c0fd..e7770b0 100644 --- a/edgware/static/css/files/upload.css +++ b/edgware/static/css/files/upload.css @@ -1,7 +1,7 @@ #categoryHelp { padding:18px 0px 5px 100px; font-size:14px; -color: #154e6f; +color: #3B240B; font-style:italic; } @@ -23,8 +23,9 @@ padding:18px 0px 18px 100px; #uploadInstructions { font-size:14px; -color: #2E64FE; +color: #3B240B; margin-bottom: 10px; +font-style:italic; } #uploadingTo { @@ -33,7 +34,7 @@ font-style:italic;} .uploading { width: 450px; -border-width: 2px; +border-width: 1px; border-style: dashed; border-color: #7db9e8; padding: 5px; @@ -61,16 +62,13 @@ margin-bottom:5px;} #progressbar { display: none; -background-color: #F2F2F2; +background-color: #848484; margin-left: 40px; } #progress { -background: #3b240b; /* Old browsers */ -background: -moz-linear-gradient(top, #3b240b 0%, #207cca 52%, #7db9e8 100%); /* FF3.6+ */ -background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3b240b), color-stop(52%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */ -background: -webkit-linear-gradient(top, #3b240b 0%,#207cca 52%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */ -background: linear-gradient(top, #3b240b 0%,#207cca 52%,#7db9e8 100%); /* W3C */} +background: #3B240B; +} #progressstatus { font-size: 12px;