Changeset 35257
- Timestamp:
- 2021-08-05T20:32:50+12:00 (3 years ago)
- Location:
- main/trunk/model-interfaces-dev/wmtb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/wmtb/styles/gs-wmtb-custom.css
r35245 r35257 40 40 41 41 42 /* hardcoded values copied from weebly site theme's variables.less file called in header.less */ 42 /* Mobile settings 43 Hardcoded values copied from weebly site theme's variables.less file called in header.less */ 43 44 @media screen and (max-width: 1024px) { /* bp-small-max */ 44 45 body { … … 88 89 } 89 90 91 /* 92 Non-mobile settings. 93 */ 90 94 @media screen and (min-width: 1025px) { /* bp-small */ 91 95 div.crop-bg { … … 109 113 } 110 114 115 #gs_content { 116 max-width: 70vw; 117 } 111 118 } 112 119 … … 138 145 } 139 146 147 /* 140 148 .container { 141 149 clear: right; … … 143 151 padding-top: 0; 144 152 } 153 */ 145 154 146 155 #gs_content pre { … … 149 158 150 159 #gs_content { 160 clear: both; 151 161 line-height: 1.3rem; 152 162 } … … 212 222 } 213 223 224 /* 214 225 div#topnav li, .query-form-links li { 215 226 line-height: 2rem; 216 227 } 228 */ 217 229 218 230 div#wizardContainer { … … 232 244 float: right; 233 245 } 234 div.query-form-links ul {246 div.query-form-links ul, #advanced { 235 247 clear: right; 236 248 float: right; … … 253 265 } 254 266 267 268 #quickSearchSubmitButton { 269 width: 3rem; 270 } 271 272 #browse-search-bars { 273 max-width: 100vw; 274 padding: 1rem; 275 /*height: 10vh;*/ /* useful for selecting div in dev tools */ 276 /* max-height: 10vh; */ 277 } 278 279 #browse-search-bars #topbar { 280 line-height: 2rem; 281 } 282 283 div.paramLabel, div.paramValue { 284 display: inline; 285 line-height: 2rem; 286 } 287 288 /* overriding main_style.css */ 289 .main-wrap .wsite-section-wrap:first-child .container { 290 padding-top: 0; 291 } 292 -
main/trunk/model-interfaces-dev/wmtb/transform/layouts/main.xsl
r35244 r35257 14 14 extension-element-prefixes="java util result exsl" 15 15 exclude-result-prefixes="util java util"> 16 16 <!-- 17 17 <xsl:import href="footer.xsl"/> 18 --> 19 18 20 <!-- The main layout is defined here --> 19 21 <!-- Every page in our library uses this template --> … … 86 88 </div> 87 89 88 <div class="container wrapper-old col0" style="margin:10px auto"> <!-- used to be 10px 30px --> 89 <div id="topline"> 90 <ul> 91 <xsl:call-template name="loginLinks"/> 92 <li><a href="{$library_name}/collection/{$collNameChecked}/page/pref">Preferences</a></li> 93 <xsl:choose> 94 <xsl:when test="/page/pageResponse/collection"> 95 <li><a href="{$library_name}/collection/{$collNameChecked}/page/help">Help</a></li> 96 </xsl:when> 97 <xsl:otherwise> 98 <li><a href="{$library_name}/page/help">Help</a></li> 99 </xsl:otherwise> 100 </xsl:choose> 101 </ul> 102 <br class="clear" /> 103 </div> 104 </div> 90 <!--<xsl:call-template name="login-prefs-help-links"/>--> 105 91 106 <div class="container wrapper-old col2" >92 <div class="container wrapper-old col2" id="browse-search-bars"> 107 93 <div id="topbar"> 108 94 <div id="topnav"> … … 164 150 <!--<li><a href="{$currentPage}">Browse</a>--> 165 151 <li>Browse by: 166 <ul >152 <ul class="drop-down-list"> 167 153 <xsl:call-template name="Browsing"/> 168 154 </ul> … … 445 431 </xsl:attribute> 446 432 </input>--> 447 <input type="submit" id="quickSearchSubmitButton" value="    Go    "/> 433 434 <input type="submit" id="quickSearchSubmitButton" value="Go"/> 435 448 436 <br/> 449 437 </xsl:if> 450 438 </form> 439 440 <div class="query-form-links" id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/AdvancedFieldQuery">Advanced search</a></div> 441 451 442 </xsl:when> 452 443 <xsl:otherwise><br/></xsl:otherwise> 453 444 </xsl:choose> 454 445 </xsl:if> 455 446 456 447 </div> 457 448 <!--<br class="clear" />--> 458 449 <!--<span id="advanced">--> 459 450 460 <!-- The list of other search types --> 451 <!-- The list of other search types --> 452 <!--<xsl:call-template name="all-other-search-form-links"/>--> 453 454 455 </xsl:if> 456 457 458 <!--<br class="clear" /> 459 <div id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/TextQuery">form search</a></div> 460 <div id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/AdvancedFieldQuery">advanced search</a></div> 461 --> 462 </xsl:template> 463 464 <!-- Bar that links to other search forms --> 465 <xsl:template name="all-other-search-form-links"> 466 <!-- The list of other search types --> 461 467 <div class="query-form-links"> 462 468 <ul> … … 471 477 </a> 472 478 </li> 473 479 </xsl:if> 474 480 </xsl:for-each> 475 481 </ul> 476 482 </div> 477 </xsl:if> 478 <!--<br class="clear" /> 479 <div id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/TextQuery">form search</a></div> 480 <div id="advanced"><a href="{$library_name}/collection/{$collNameChecked}/search/AdvancedFieldQuery">advanced search</a></div> 481 --> 483 482 484 </xsl:template> 483 485 486 <!-- navigation bar for login, preferences and help links --> 487 <xsl:template name="login-prefs-help-links"> 488 <div class="container wrapper-old col0" style="margin:10px auto"> <!-- used to be 10px 30px --> 489 <div id="topline"> 490 <ul> 491 <xsl:call-template name="loginLinks"/> 492 <li><a href="{$library_name}/collection/{$collNameChecked}/page/pref">Preferences</a></li> 493 <xsl:choose> 494 <xsl:when test="/page/pageResponse/collection"> 495 <li><a href="{$library_name}/collection/{$collNameChecked}/page/help">Help</a></li> 496 </xsl:when> 497 <xsl:otherwise> 498 <li><a href="{$library_name}/page/help">Help</a></li> 499 </xsl:otherwise> 500 </xsl:choose> 501 </ul> 502 <br class="clear" /> 503 </div> 504 </div> 505 </xsl:template> 506 484 507 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.