Changeset 16989
- Timestamp:
- 5 Jul 2022, 16:02:48 (2 years ago)
- Location:
- main/kofacustom.lpng/trunk/layout
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.lpng/trunk/layout/rules.xml
r14451 r16989 121 121 --> 122 122 123 <!-- the language selector124 125 quite tricky. We insert a <li> element at beginning of126 ul.kofa-navbar-right. This <li> has a header element127 (the 'Language' button) and the a number of <li> elements128 representing the supported languages.129 We change the input content of format130 131 <a href="foo" title="Lang">Abbrev</a>132 133 to134 135 <a href="foo">Lang</a>136 137 creating new nodes (<xsl:element>) with attributes copied over.138 -->139 <before css:theme-children="ul.kofa-navbar-right">140 <li class="dropdown kofa-langselect">141 <a href="#" class="dropdown-toggle"142 data-toggle="dropdown">143 <img src="/static/img/earth.png" />144 </a>145 <ul class="dropdown-menu">146 <xsl:for-each css:select=" .language a">147 <li class="kofa-language">148 <xsl:element name="a">149 <xsl:attribute name="href">150 <xsl:value-of select="@href" />151 </xsl:attribute>152 <xsl:value-of select="@title" />153 </xsl:element>154 </li>155 </xsl:for-each>156 </ul>157 </li>158 </before>159 160 123 <!-- Make all data tables responsive --> 161 124 -
main/kofacustom.lpng/trunk/layout/static/custom.css
r12303 r16989 1 1 a { 2 color: # 930303;2 color: #008325; 3 3 } 4 4 5 5 a:hover { 6 color: # 5f0500;6 color: #d60701; 7 7 } 8 8 … … 12 12 13 13 .navbar-inverse { 14 background-color: # 5f0500;15 background-image: -webkit-linear-gradient(top, # 5f0500 0%, #930303100%);16 background-image: linear-gradient(to bottom, # 5f0500 0%, #930303100%);14 background-color: #d60701; 15 background-image: -webkit-linear-gradient(top, #d60701 0%, #008325 100%); 16 background-image: linear-gradient(to bottom, #d60701 0%, #008325 100%); 17 17 background-repeat: repeat-x; 18 18 } … … 28 28 .navbar-inverse .navbar-nav > .active > a:focus { 29 29 color: #ffffff; 30 background-color: # 930303;30 background-color: #008325; 31 31 background-image: none; 32 32 background-image: none; … … 37 37 38 38 .navbar-inverse .navbar-toggle { 39 border-color: # 930303;39 border-color: #008325; 40 40 } 41 41 42 42 .navbar-inverse .navbar-toggle:hover, 43 43 .navbar-inverse .navbar-toggle:focus { 44 background-color: # 930303;44 background-color: #008325; 45 45 } 46 46 … … 48 48 .navbar-inverse .navbar-nav > .open > a:hover, 49 49 .navbar-inverse .navbar-nav > .open > a:focus { 50 background-color: # 930303;50 background-color: #008325; 51 51 color: #fff; 52 52 } … … 56 56 #logo-container-narrow { 57 57 position: absolute; 58 top: - 7px;59 right: -11px;58 top: -50px; 59 right: 5px; 60 60 } 61 61 -
main/kofacustom.lpng/trunk/layout/theme.html
r14451 r16989 198 198 199 199 <div class="col-md-10 content kofa-content-narrow"> 200 <div id="logo-container-narrow"> 201 <img src="static_custom/lp_logo.png" width="200"> 202 </div> 200 203 <div class="well"> 201 204 <div class="kofa-content">
Note: See TracChangeset for help on using the changeset viewer.