View | Details | Raw Unified | Return to bug 12597
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-116 / +33 lines)
Lines 1646-1767 ul#toplevelmenu { Link Here
1646
    padding : 0;
1646
    padding : 0;
1647
}
1647
}
1648
1648
1649
/*#toplevelnav {
1650
	float : left;
1651
	margin-left : .5em;
1652
     width: 40%;
1653
}
1654
1655
ul#toplevelmenu li {
1656
	display: inline;
1657
	padding : 0 .6em;
1658
}
1659
		
1660
ul#toplevelmenu li.more a {
1661
	background-image:url(../../img/more-arrow.gif);
1662
	background-position:right center;
1663
	background-repeat:no-repeat;
1664
	padding-right:13px;
1665
}
1666
		
1667
ul#toplevelmenu li.more ul li a {
1668
	background-image : none;
1669
	padding-right : 20px;
1670
}
1671
1672
ul#toplevelmenu li.more ul li a.yuimenuitemlabel {
1673
	padding: .2em 20px .2em 20px;
1674
}
1675
		
1676
ul#toplevelmenu li a {
1677
	text-decoration : none;
1678
}
1679
ul#toplevelmenu li ul li {
1680
	display :block;
1681
	padding :0;
1682
}
1683
ul#toplevelmenu li ul li a {
1684
	text-decoration : none;
1685
}
1686
1687
ul#i18nMenu {
1688
 	margin : 0;
1689
	padding : .2em 0;
1690
 }
1691
 
1692
ul#i18nMenu li {
1693
 	border-left : 1px solid #CCC;
1694
 	display : inline;
1695
	float: left;
1696
	list-style : none;
1697
	padding : 0 10px;
1698
}
1699
1700
ul#i18nMenu li.yuimenuitem {
1701
	float: none;
1702
}
1703
1704
ul#i18nMenu li:first-child {
1705
 	border-left : 0;
1706
 }
1707
 
1708
ul#i18nMenu li ul li {
1709
 	border : 0;
1710
 	display : block;
1711
	padding : 0;
1712
 }
1713
 
1714
ul#i18nMenu li.more a {
1715
	background-image:url(../../img/more-up-arrow.gif);
1716
	background-position:right center;
1717
	background-repeat:no-repeat;
1718
	padding-right:13px;
1719
}
1720
		
1721
ul#i18nMenu li.more ul li a {
1722
	background-image : none;
1723
	padding-right : 20px;
1724
}
1725
1726
div.lang {
1727
        float:left;
1728
}
1729
 
1730
 div#changelanguage{
1731
	background-color: #fff;
1732
	border-top: 1px solid #CCC;
1733
  position:absolute;
1734
  bottom:0;
1735
  left:0;
1736
  width:100%;
1737
  height: 2em;
1738
 }
1739
 
1740
 @media screen{
1741
  body>div#changelanguage {
1742
   position: fixed;
1743
  }
1744
 }
1745
 
1746
 * html body{
1747
  overflow:hidden;
1748
 } 
1749
 
1750
 * html div#doc1{
1751
  height:100%;
1752
  overflow:auto;
1753
 }
1754
  
1755
 * html div#doc2{
1756
  height:100%;
1757
  overflow:auto;
1758
 }
1759
  
1760
 * html div#doc3{
1761
  height:100%;
1762
  overflow:auto;
1763
 }*/
1764
1765
table > caption span.actions {
1649
table > caption span.actions {
1766
    font-size: 66%;
1650
    font-size: 66%;
1767
    font-weight : normal;
1651
    font-weight : normal;
Lines 2776-2778 span.browse-button { Link Here
2776
#transport-types {
2660
#transport-types {
2777
    padding-top: 0.5px;
2661
    padding-top: 0.5px;
2778
}
2662
}
2663
2664
#i18nMenu .navbar-text .currentlanguage {
2665
    color : #000;
2666
    font-weight: bold;
2667
}
2668
2669
#i18nMenu a.currentlanguage:link,
2670
#i18nMenu a.currentlanguage:visited {
2671
    font-weight: bold;
2672
}
2673
2674
#i18nMenu a,
2675
#i18nMenu a:link,
2676
#i18nMenu a:visited {
2677
    color : #004d99;
2678
    font-weight: normal;
2679
}
2680
2681
#i18nMenu a:hover,
2682
#i18nMenu a:active {
2683
    color : #538200;
2684
    font-weight: normal;
2685
}
2686
2687
#i18nMenu a .sublanguage-selected {
2688
    color: #000;
2689
    font-weight: bold;
2690
}
2691
2692
#i18nMenu .dropdown-menu a:hover,
2693
#i18nMenu .dropdown-menu a:focus {
2694
    color : #FFF;
2695
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc (-10 / +22 lines)
Lines 9-36 Link Here
9
9
10
            [% IF ( languages_loo.group_enabled ) %]
10
            [% IF ( languages_loo.group_enabled ) %]
11
            [% IF ( languages_loo.plural ) %]
11
            [% IF ( languages_loo.plural ) %]
12
            <li class="dropdown"><a class="dropdown-toggle dropup" data-toggle="dropdown" id="show[% languages_loo.rfc4646_subtag %]" href="#">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]  <span class="caret"></span></a>
12
                <li class="dropdown"><a class="dropdown-toggle dropup" data-toggle="dropdown" id="show[% languages_loo.rfc4646_subtag %]" href="#">
13
                    [% IF ( languages_loo.native_description ) %]
14
                        [% languages_loo.native_description %]
15
                    [% ELSE %]
16
                        [% languages_loo.rfc4646_subtag %]
17
                    [% END %]
18
                    [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
19
                        [% IF ( sublanguages_loo.enabled ) %]
20
                            [% IF ( sublanguages_loo.sublanguage_current ) %]
21
                                <span class="sublanguage-selected">([% sublanguages_loo.rfc4646_subtag %])</span>
22
                            [% END %]
23
                        [% END %]
24
                    [% END %]
25
                <span class="caret"></span></a>
13
            <ul id="sub[% languages_loo.rfc4646_subtag %]" class="dropdown-menu">
26
            <ul id="sub[% languages_loo.rfc4646_subtag %]" class="dropdown-menu">
14
            [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
27
            [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
15
		[% IF ( sublanguages_loo.enabled ) %]
28
        [% IF ( sublanguages_loo.enabled ) %]
16
                [% IF ( sublanguages_loo.sublanguage_current ) %]
29
                [% IF ( sublanguages_loo.sublanguage_current ) %]
17
                    <li> <a href="#">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
30
                    <li class="navbar-text"> <a href="#" class="currentlanguage disabled">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
18
                [% ELSE %]
31
                [% ELSE %]
19
                <li><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
32
                <li><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
20
		[% END %]
33
        [% END %]
21
                [% END %]
34
                [% END %]
22
35
23
            [% END %]
36
            [% END %]
24
            </ul></li>
37
            </ul></li>
25
38
26
            [% ELSE %]
39
            [% ELSE %]
27
	    	[% IF ( languages_loo.group_enabled ) %]
40
            [% IF ( languages_loo.group_enabled ) %]
28
                [% IF ( languages_loo.current ) %]
41
                [% IF ( languages_loo.current ) %]
29
                    <li class="navbar-text">
42
                    <li class="navbar-text">
30
                        [% IF ( languages_loo.native_description ) %]
43
                        [% IF ( languages_loo.native_description ) %]
31
                            [% languages_loo.native_description %]
44
                            <span class="currentlanguage">[% languages_loo.native_description %]</span>
32
                [% ELSE %]
45
                        [% ELSE %]
33
                            [% languages_loo.rfc4646_subtag %]
46
                            <span class="currentlanguage">[% languages_loo.rfc4646_subtag %]</span>
34
                        [% END %]
47
                        [% END %]
35
                    </li>
48
                    </li>
36
                [% ELSE %]
49
                [% ELSE %]
Lines 42-48 Link Here
42
                        [% END %]
55
                        [% END %]
43
                    </a></li>
56
                    </a></li>
44
                [% END %]
57
                [% END %]
45
		[% END %]
58
        [% END %]
46
            [% END %]
59
            [% END %]
47
            [% END %]
60
            [% END %]
48
61
49
- 

Return to bug 12597