Changeset 25935

Show
Ignore:
Timestamp:
12.07.2012 11:47:20 (7 years ago)
Author:
davidb
Message:

Change of id from 'nav' to 'gs-nav' to avoid conflict with other 3rd-party JS/CSS library

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

Legend:

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

    r25916 r25935  
    418418 
    419419/* css to make the tabs work */ 
    420 #nav { 
     420#gs-nav { 
    421421    list-style: none outside none; 
    422422    padding: 0px; 
     
    425425} 
    426426 
    427 #nav ul { 
     427#gs-nav ul { 
    428428    margin:0px; 
    429429    padding:0px; 
    430430} 
    431431 
    432 #nav li { 
     432#gs-nav li { 
    433433    display: inline; 
    434434    margin-right: 5px; 
     
    439439} 
    440440 
    441 #nav a{ 
     441#gs-nav a{ 
    442442    margin:0px; 
    443443    font-weight: bold; 
     
    445445} 
    446446 
    447 #nav li:hover, #nav li.current { background-position: 100% 0; } 
    448 #nav li:hover a, #nav li.current a { background-position: 0 0; cursor:default; } 
     447#gs-nav li:hover, #gs-nav li.current { background-position: 100% 0; } 
     448#gs-nav li:hover a, #gs-nav li.current a { background-position: 0 0; cursor:default; } 
    449449 
    450450/* style the search and classifier results */ 
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r25884 r25935  
    109109    <xsl:template name="browsing-tabs"> 
    110110        <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service"> 
    111             <ul id="nav"> 
     111            <ul id="gs-nav"> 
    112112                <!-- If this collection has a ClassifierBrowse service then add a tab for each classifier--> 
    113113                <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='browse' and @name='ClassifierBrowse']">