weaver      2004/09/10 14:39:36

  Modified:    portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed
                        decorator-top.vm
               portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css
                        styles.css
  Added:       portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/images
                        link.sm.png folder.sm.png
  Log:
  Added some icons and changed the font styles for the base jetspeed layout decoration
  
  Revision  Changes    Path
  1.15      +9 -9      
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/decorator-top.vm
  
  Index: decorator-top.vm
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/decorator-top.vm,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- decorator-top.vm  8 Sep 2004 21:02:55 -0000       1.14
  +++ decorator-top.vm  10 Sep 2004 21:39:36 -0000      1.15
  @@ -42,15 +42,15 @@
        
        #if($folder.parent)
         <p style="font-style:italic">  
  -             <a href="${appRoot}/portal${folder.parent.url}">Back to 
$folder.parent.metaData.getTitle($preferedLocale)</a> &nbsp;
  +             <a href="$jetspeed.getAbsoluteUrl($folder.parent.url)">Back to 
$folder.parent.metaData.getTitle($preferedLocale)</a> &nbsp;
         </p>
        #end
  -             
  -     #foreach($childFolder in $folder.folders.iterator())
  -       <a 
href="${appRoot}/portal${childFolder.url}">$childFolder.metaData.getTitle($preferedLocale)</a>
 &nbsp;              
  -     #end
  -
  -
  +     
  +     <div class="FolderList">
  +      #foreach($childFolder in $folder.folders.iterator())
  +       <span><a href="$jetspeed.getAbsoluteUrl($childFolder.url)" 
class="FolderLink">$childFolder.metaData.getTitle($preferedLocale)</a></span>          
    
  +      #end
  +     </div>
   
   </p>
   
  @@ -65,7 +65,7 @@
                   <td class="LTabRight" style="font-size:1pt;" 
nowrap="true">&nbsp;</td>
                   #else
                   <td class="LTabLeftLow" style="font-size:1pt;" 
nowrap="true">&nbsp;</td>
  -                <td class="LTabLow" align="center" valign="middle" nowrap="true"><a 
href="${appRoot}/portal${childPage.id}">${tabName}</a></td>
  +                <td class="LTabLow" align="center" valign="middle" nowrap="true"><a 
href="$jetspeed.getAbsoluteUrl($childPage.path)">${tabName}</a></td>
                   <td class="LTabRightLow" style="font-size:1pt;" 
nowrap="true">&nbsp;</td>
                   #end
                   #end
  @@ -86,7 +86,7 @@
        <div id="rootLinks">
        #foreach($link in $links.iterator()) 
         <p>
  -      <a href="$link.url" target="$link.target">$link.getTitle($preferedLocale)</a> 
 
  +      <a href="$link.url" target="$link.target" 
class="Link">$link.getTitle($preferedLocale)</a>     
         </p> 
         #end
         </div>
  
  
  
  1.1                  
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/images/link.sm.png
  
        <<Binary file>>
  
  
  1.1                  
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/images/folder.sm.png
  
        <<Binary file>>
  
  
  1.13      +66 -4     
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css/styles.css
  
  Index: styles.css
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css/styles.css,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- styles.css        3 Sep 2004 13:29:49 -0000       1.12
  +++ styles.css        10 Sep 2004 21:39:36 -0000      1.13
  @@ -14,18 +14,76 @@
   limitations under the License.
   */
   
  +BODY  
  +{
  +  font-family: arial,verdana,sans-serif;
  +  font-size: 8pt; 
  +}
  +
  +A:link,
  +A:visited
  +{
  +  color: RoyalBlue;
  +}
  +
  +A:hover
  +{
  +  color: Coral;
  +}
  +
  +TD
  +{
  +  font-family: arial,verdana,sans-serif;
  +  font-size: 8pt;
  +}
  +
  +BODY.layout-Jetspeed  
  +{
  +  font-family: arial,verdana,sans-serif;
  +  font-size: 1em; 
  +}
  +
  +.PTitle
  +{
  +  font-size: 1.25em;
  +}
   
  -BODY.layout-Jetspeed  {
   
  +.FolderLink
  +{
  +  background: url(content/images/folder.sm.png) no-repeat;
  +  padding-top: 3px;
  +  font-size: .5em;
  +  font-weight: bold;
  +  padding-right: 1em;
  +  padding-left: 19px;
   }
   
  -#rootLinks
  +
  +
  +
  +
  +.FolderList 
   {
  -     padding-right:2px; 
  -     
  +
   }
   
   
  +.Link
  +{
  +  background: url(content/images/link.sm.png) no-repeat;
  +  padding-top: 5px;
  +  width: 100%;
  +  /** Padding is just a wee bit larger than our icons with */     
  +  padding-left: 19px;        
  +  
  +  /** Needed to offset the 19px padding on the left, 
  +    * othewise we "bleed" into our neighboring element 
  +    * on the right.
  +    */
  +  margin-right:19px;  
  +}
  +
   .layout-Jetspeed .LTabLeftLow
   {
        /**
  @@ -44,6 +102,7 @@
        Specify the height of the image used
        else it will use the text height        
        **/
  +     font-size: .5em;
        height:25px;    
        color:black;
        background:url(content/jetspeed/images/tabmiddle_low.gif);
  @@ -72,6 +131,9 @@
   
   .layout-Jetspeed .LTab
   {
  +    font-size: .5em;
  +    font-weight: bold;
  +    letter-spacing: 1;
        height:25px;    
        color:black;
        background:url(content/jetspeed/images/tabmiddle.gif);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to