Changeset 34626


Ignore:
Timestamp:
2020-12-18T23:40:31+13:00 (3 years ago)
Author:
anupama
Message:
  1. Pou (GS3 group) image and full group description now link, not just the title overlaid on the image. 2. Tidying up css file added today and xsl modifications.
Location:
main/trunk/model-interfaces-dev/wmtb
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/wmtb/styles/gs-wmtb-custom.css

    r34624 r34626  
    22    text-decoration: none;
    33    font-weight: normal;
    4     color: rgb(86, 154, 189);
     4    color: rgb(86, 154, 189); /* a light blue */
    55}
    66
     7/* rgb(79, 79, 78);*/ /* a dark black/grey */
     8
    79a:hover, span#addNewMD:hover, span#clearSaved:hover {
    8     color: rgb(250, 138, 0); /*orange*/ /* rgb(79, 79, 78);*/ /*dark black/grey*/
     10    color: rgb(250, 138, 0); /*orange*/
    911}
    1012
     
    3436}
    3537#gs_content a {
    36     /*text-decoration: underline;*/
    37     /*font-weight: bold;*/
    38 
    39     /*text-decoration: none;*/
    40     /*color: DarkGrey;*/
    41     /*color: rgb(79, 79 ,78); rgb(86, 154, 189);*/
    4238    line-height: 1.5rem;
    4339}
    44 /*
    45 #gs_content a:hover {
    46     color: DarkGrey; rgb(86, 154, 189);
    47 }
    48 */
     40
    4941/*
    5042#gs_content a:visited {
     
    7264    margin: 0.25rem 1.5rem 0.5rem 1.5rem;
    7365}
    74 /* overriding */
    75 #wsite-content div.img-and-desc div.paragraph a {
    76     /*text-decoration: none;*/
     66
     67span.pou-group-title { /* if overriding: #wsite-content div.img-and-desc div.paragraph a {*/
    7768    font-variant: small-caps;
    7869    color: white;
     
    10192    display: inline;
    10293    margin: 0 0.5rem;
    103     /*text-transform: capitalize;*/
     94    /*text-transform: capitalize;*/ /* Will Titlecase all menus including Browsing Classifiers */
    10495}
    105 
    10696
    10797div#topnav li, .query-form-links li {
    10898    line-height: 2rem;   
    10999}
    110 /*#wizardBar a, span#addNewMD, span#clearSaved {
    111     color: rgb(86, 154, 189);
    112 }*/
    113100
    114101div#wizardContainer {
     
    116103}
    117104
    118 
    119 
     105/* To insert a | between nav menu links */
    120106/*div#topnav li::after, .query-form-links li::after {
    121107    content: " | ";
    122108}*/
    123 
    124 div#topline a, div#topnav a, .query-form-links a {
    125     /*text-decoration: none;*/
    126     font-weight: normal;
    127 }
    128109
    129110div#topnav {
  • main/trunk/model-interfaces-dev/wmtb/transform/layouts/header.xsl

    r34624 r34626  
    7777        <link rel="stylesheet" type="text/css" href="interfaces/{$interface_name}/styles/wsite.css"/>
    7878
     79        <!-- The all important Greenstone styling customisations -->
    7980        <link rel="stylesheet" href="interfaces/{$interface_name}/styles/gs-wmtb-custom.css" type="text/css" />
    8081       
  • main/trunk/model-interfaces-dev/wmtb/transform/layouts/main.xsl

    r34625 r34626  
    2828      <div class="wrapper">
    2929
    30     <!-- Whakatohea.co.nz's navbar -->
     30    <!-- Whakatohea.co.nz's navbar - no longer in use now that the dl site is
     31         embedded in iframe on whakatohea.co.nz site which provides the navbar -->
    3132    <!--<xsl:call-template name="whakatohea-navbar"/>-->
    3233   
  • main/trunk/model-interfaces-dev/wmtb/transform/pages/home.xsl

    r34624 r34626  
    4949              </div>
    5050            </xsl:if>
    51             <!-- forced to add nbsp (which in XSL is &#160;) in div.wsite-spacer
     51            <!-- NO LONGER A PROBLEM AS THE DL SITE IS NOW EMBEDDED IN AN IFRAME
     52                 AND SO DOES NOT PROVIDE THE FOOTER OF THE whakatohea.co.nz SITE.
     53                 Forced to add nbsp (which in XSL is &#160;) in div.wsite-spacer
    5254                 because otherwise text overflows from the main page into footer
    5355                 caused by html rendering of div.wsite-spacer's subsequent sibling
     
    213215      <xsl:if test="util:checkFileExistence($site_name, backgroundImage)">
    214216        <div class="wsite-image wsite-image-border-thin " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center">
     217          <!-- the group (pou) image links to the collection's about page -->
     218          <a href="{$group_href}" title="{$short}" alt="{$short}">
    215219          <img class="groupLinkImage">
    216220        <xsl:attribute name="alt"><xsl:value-of select="@name"/></xsl:attribute>
     
    219223        <xsl:attribute name="src">sites/<xsl:value-of select="$site_name"/>/<xsl:value-of select="backgroundImage"/></xsl:attribute>
    220224          </img>
     225          </a>
    221226        </div>
    222227
    223228      </xsl:if>
    224229
     230      <!-- group description also links to the collection's about page
     231           since it is overlaid on the image with absolute positioning
     232           and therefore obscures the image link
     233      -->
    225234      <!-- some text for the group -->
     235      <a href="{$group_href}" title="{$short}" alt="{$short}">
    226236      <div class="paragraph">
    227         <!-- group title links to the collection's about page -->
    228         <a href="{$group_href}" title="{$short}" alt="{$short}">
     237        <span class="pou-group-title">
    229238          <xsl:choose>
    230239        <xsl:when test="boolean(title)">
     
    235244        </xsl:otherwise>
    236245          </xsl:choose>
    237         </a>
     246        </span>
    238247        <br />     
    239248        <xsl:choose>
     
    247256          </xsl:otherwise>
    248257        </xsl:choose>
    249       </div>
    250 
    251     </div>
     258      </div><!--end div.paragraph-->
     259      </a>
     260    </div><!-- end div.img-and-desc-->
    252261       <!-- <div style="display:block;font-size:90%"></div>   -->
    253262    </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.