Changeset 267

Show
Ignore:
Timestamp:
03/06/06 23:50:58
Author:
johnsa
Message:

improvements to the personal client skin: can now open and close the sidebar; fixed up styles.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css

    r266 r267  
    117117  margin: 0; 
    118118  padding: 0; 
    119   vertical-align: top; 
    120119} 
    121120#bodyBlock td#sideBar { 
     
    127126  padding: 0; 
    128127} 
     128#bodyBlock td#sideBarClosed { 
     129  width: 1px; 
     130  border-left: 2px solid #333; 
     131  border-right: 3px groove #ddd; 
     132  border-bottom: 2px solid #aaa; 
     133  padding: 0; 
     134  color: black; 
     135  background-color: #ddd; 
     136} 
    129137#sideBarOpenCloseIcon { 
    130138  position: absolute; 
     
    161169#bodyBlock td#sideBar #sideBarMenu li { 
    162170  font-size: 0.9em; 
     171  padding-bottom: 0.5em; 
     172} 
     173#bodyBlock td#bodyContent {   
     174  border-right: 2px solid #333; 
     175  border-bottom: 2px solid #aaa; 
     176  border-left: 1px solid #333; 
     177  vertical-align: top; 
     178  padding: 0; 
    163179} 
    164180#userBarTable { 
     
    172188  margin: 0; 
    173189  padding: 0; 
    174   border-left: 1px solid #333; 
    175190  padding: 0.2em 0 0.2em 1em; 
    176191  white-space: nowrap; 
     
    193208  padding: 0.1em 0.2em 0 0; 
    194209  text-align: right; 
    195   border-right: 2px solid #333; 
    196210  white-space: nowrap; 
    197211} 
     
    228242  padding: 0em; 
    229243  vertical-align: top; 
    230   border-left : 1px solid #333; 
    231   border-right : 2px solid #333; 
    232244  border-bottom: 1px solid Gray; 
    233245} 
     
    323335  margin: 0px; 
    324336  padding: 0px; 
    325   border-bottom: 2px solid #aaa; 
    326   border-left: 1px solid #333; 
    327   border-right: 2px solid #333; 
    328337} 
    329338#commonTable td.fieldval, 
     
    383392  margin: 0; 
    384393  padding: 0; 
    385   border-bottom: 2px solid #aaa; 
    386   border-left: 1px solid #333; 
    387   border-right: 2px solid #333; 
    388394} 
    389395#calPageTable td { 
     
    423429  padding: 0px; 
    424430  border-top: 1px solid #666; 
    425   border-bottom: 2px solid #aaa; 
    426   border-left: 1px solid #333; 
    427   border-right: 2px solid #333; 
    428431} 
    429432#dayCalendarTable td { 
     
    455458  padding: 0px; 
    456459  border-top: 1px solid #666; 
    457   border-bottom: 2px solid #aaa; 
    458   border-left: 1px solid #333; 
    459   border-right: 2px solid #333; 
    460460} 
    461461#weekCalendarTable td { 
     
    487487  padding: 0px; 
    488488  border-top: 1px solid #666; 
    489   border-bottom: 2px solid #aaa; 
    490   border-left: 1px solid #333; 
    491   border-right: 2px solid #333; 
    492489} 
    493490#monthCalendarTable th.dayHeading { 
     
    628625  padding: 0em; 
    629626  border-top: 1px solid #666; 
    630   border-bottom: 2px solid #aaa; 
    631   border-left: 1px solid #333; 
    632   border-right: 2px solid #333; 
    633627} 
    634628#yearCalendarTable td { 
     
    697691  padding: 0px; 
    698692  border-top: 1px solid #666; 
    699   border-bottom: 2px solid #aaa; 
    700   border-left: 1px solid #333; 
    701   border-right: 2px solid #333; 
    702693} 
    703694#listTable td { 
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r266 r267  
    9292        <table id="bodyBlock" cellspacing="0"> 
    9393          <tr> 
    94             <td id="sideBar"> 
    95               <xsl:call-template name="sideBar"/> 
    96             </td> 
     94            <xsl:choose> 
     95              <xsl:when test="/bedework/appvar[key='sidebar']/value='closed'"> 
     96                <td id="sideBarClosed"> 
     97                  <img src="{$resourcesRoot}/images/demo/space.gif" width="1" height="1" border="0" alt="*"/> 
     98                </td> 
     99              </xsl:when> 
     100              <xsl:otherwise> 
     101                <td id="sideBar"> 
     102                  <xsl:call-template name="sideBar"/> 
     103                </td> 
     104              </xsl:otherwise> 
     105            </xsl:choose> 
    97106            <td id="bodyContent"> 
    98107              <xsl:call-template name="tabs"/> 
     
    221230    <div id="curDateRange"> 
    222231      <div id="sideBarOpenCloseIcon"> 
    223         <img alt="" src="{$resourcesRoot}/images/demo/std-sidebarclose-icon.gif" width="13" height="13" border="0" align="left"/> 
     232        <xsl:choose> 
     233          <xsl:when test="/bedework/appvar[key='sidebar']/value='closed'"> 
     234            <a href="?setappvar=sidebar(opened)"> 
     235              <img alt="open sidebar" src="{$resourcesRoot}/images/demo/std-sidebaropen-icon.gif" width="13" height="13" border="0" align="left"/> 
     236            </a> 
     237          </xsl:when> 
     238          <xsl:otherwise> 
     239            <a href="?setappvar=sidebar(closed)"> 
     240              <img alt="close sidebar" src="{$resourcesRoot}/images/demo/std-sidebarclose-icon.gif" width="13" height="13" border="0" align="left"/> 
     241            </a> 
     242          </xsl:otherwise> 
     243        </xsl:choose> 
    224244      </div> 
    225245      <xsl:value-of select="/bedework/firstday/longdate"/> 
     
    293313            </td> 
    294314            <td class="centerCell"> 
    295                 <a href="{$initUpload}">upload</a><!-- <a href="http://www.rpi.edu/dept/cct/apps/pubeventsxml/calendarfeatures.html">login</a> --> 
    296                 <!-- <span id="featureHighlight">switch view &#8594;</span> --> 
     315              &#160; 
    297316            </td> 
    298317            <td class="rssPrint">