Ignore:
Timestamp:
31 Jan 2014, 17:17:29 (11 years ago)
Author:
Henrik Bettermann
Message:

Move language selector to the right and replace 'Language' by earth symbol.

Location:
main/waeup.kofa/branches/uli-diazo-themed/layout
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/layout/rules.xml

    r10977 r11021  
    9696    <!-- the language selector
    9797
    98       quite tricky. We insert a <li> element at end of
    99       ul.kofa-navbar-left. This <li> has a header element
     98      quite tricky. We insert a <li> element at beginning of
     99      ul.kofa-navbar-right. This <li> has a header element
    100100      (the 'Language' button) and the a number of <li> elements
    101101      representing the supported languages.
     
    110110      creating new nodes (<xsl:element>) with attributes copied over.
    111111    -->
    112     <after css:theme-children="ul.kofa-navbar-left">
     112    <before css:theme-children="ul.kofa-navbar-right">
    113113      <li class="dropdown kofa-langselect">
    114114        <a href="#" class="dropdown-toggle"
    115            data-toggle="dropdown">Language <b class="caret"></b></a>
     115           data-toggle="dropdown">
     116           <img src="/static/static/img/earth.png" />
     117           <b class="caret"></b></a>
    116118        <ul class="dropdown-menu">
    117119          <xsl:for-each css:select=" .language a">
     
    127129        </ul>
    128130      </li>
    129     </after>
     131    </before>
    130132
    131133
  • main/waeup.kofa/branches/uli-diazo-themed/layout/static/css/base.css

    r11020 r11021  
    2121.navbar-nav.navbar-right:last-child {
    2222  margin-right: -5px;
     23}
     24
     25.kofa-langselect img {
     26    margin-top: -10px;
     27    margin-bottom: -10px;
    2328}
    2429
  • main/waeup.kofa/branches/uli-diazo-themed/layout/theme.html

    r11020 r11021  
    5151          <li><a href="#contact">Students</a></li>
    5252          <li><a href="#contact">Hostels</a></li>
     53        </ul>
     54
     55        <ul class="nav navbar-nav navbar-right kofa-navbar-right">
    5356          <li class="dropdown kofa-langselect">
    5457            <a href="#" class="dropdown-toggle"
    55                data-toggle="dropdown">Language <b class="caret"></b></a>
     58               data-toggle="dropdown">
     59               <img src="static/img/earth.png" />
     60               <b class="caret"></b></a>
    5661            <ul class="dropdown-menu">
    5762              <li class="kofa-language"><a href="#">en</a></li>
     
    6368            </ul>
    6469          </li>
    65         </ul>
    66 
    67         <ul class="nav navbar-nav navbar-right kofa-navbar-right">
    6870          <li class="nav"><a href="#">Contact</a></li>
    6971          <li class="nav"><a href="#">Logout</a></li>
Note: See TracChangeset for help on using the changeset viewer.