Changeset 26028 for main


Ignore:
Timestamp:
2012-07-26T15:56:24+12:00 (12 years ago)
Author:
sjm84
Message:

Fixes to the interface so that the browsing tabs no longer go off the bottom of the banner

Location:
main/trunk/greenstone3/web/interfaces/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/style/core.css

    r25936 r26028  
    138138
    139139#topArea {
    140     border-bottom-width: 0px;
     140    border-bottom: 0px;
    141141    max-width: 998px;
    142142    margin: 20px auto 0;
     
    153153#gs_banner {
    154154    padding:0px;
    155     height:100px;
    156155    position: relative;
     156    border: 0px;
    157157}
    158158
     
    294294}
    295295
    296 #titlearea {
    297     padding-left: 20px;
    298     width:40%;
    299 }
    300 
    301296#titlesearchcontainer {
    302     height: 70px;
    303297    width: 100%;
    304298}
    305299
    306 #titlesearchcontainer h2 { 
    307     padding-left: 0px;
    308 }
    309 
    310300#titlesearchcontainer, #titlesearchcontainer form, #titlesearchcontainer h2{
    311     padding-top: 0px;
     301    padding-top: 10px;
    312302    padding-bottom: 0px;
    313303    margin-top: 0px;
     
    315305}
    316306
     307#titlearea {
     308    float: left;
     309    padding-left: 20px;
     310}
     311
     312#titlearea  h2{
     313    padding-left: 0px;
     314}
     315
    317316#quicksearcharea {
    318     width: 60%;
     317    float: right;
    319318    text-align: right;
    320319    padding-right: 20px;
    321     padding-top: 10px;
    322320}
    323321
     
    433431    display: inline;
    434432    margin-right: 5px;
    435     padding: 3px 5px 4px 7px;
     433    padding: 3px 5px 0px 7px;
    436434    text-transform: capitalize;
    437435    text-align: center;
    438     border-bottom: none;
     436    border-bottom: 0px;
    439437}
    440438
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r25950 r26028  
    9696    <xsl:template name="create-banner">     
    9797        <div id="gs_banner" class="ui-widget-header ui-corner-bottom">
    98             <table id="titlesearchcontainer">
    99                 <tr>
    100                     <xsl:call-template name="page-title-area"/>
    101                     <xsl:call-template name="quick-search-area"/>
    102                 </tr>
    103             </table>
     98            <div id="titlesearchcontainer">
     99                <xsl:call-template name="page-title-area"/>
     100                <xsl:call-template name="quick-search-area"/>
     101                <div style="clear:both;"><xsl:text> </xsl:text></div>
     102            </div>
    104103            <xsl:call-template name="browsing-tabs"/>
    105104        </div>
     
    316315    <xsl:template name="page-title-area">
    317316        <xsl:variable name="pageTitleVar"><xsl:call-template name="pageTitle"/></xsl:variable>
    318         <td id="titlearea">
     317        <div id="titlearea">
    319318            <h2>
    320319                <!-- Resize the title based on how long it is (There's probably a better way to do this) -->
     
    352351                <!--<xsl:value-of select="string-length($pageTitleVar)" />-->
    353352                <xsl:value-of select="$pageTitleVar" />
    354             </h2>
    355         </td>
     353            </h2><xsl:text> </xsl:text>
     354        </div>
    356355    </xsl:template>
    357356   
     
    363362        <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='query']/paramList/param[@name='index']">
    364363            <xsl:variable name="subaction" select="/page/pageRequest/@subaction"/>
    365             <td id="quicksearcharea">
     364            <div id="quicksearcharea">
    366365                <form action="{$library_name}/collection/{$collNameChecked}/search/TextQuery">
    367366                    <input type="hidden" name="rt" value="r"/>
     
    434433                    </ul>
    435434                </form>
    436             </td>
     435            </div>
    437436        </xsl:if>
    438437    </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.