Changeset 35271
- Timestamp:
- 2021-08-09T18:34:25+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
r35257 r35271 216 216 text-align: right; 217 217 } 218 218 219 div#topline li, div#topnav li, .query-form-links li, #wizardBar li { 219 display: inline; 220 display: inline; 221 /*text-transform: capitalize;*/ /* Will Titlecase all menus including Browsing Classifiers */ 222 } 223 224 div#topline li, .query-form-links li, #wizardBar li { 220 225 margin: 0 0.5rem; 221 /*text-transform: capitalize;*/ /* Will Titlecase all menus including Browsing Classifiers */ 226 } 227 228 /* Special case: div#topnav li stretches over multiple lines as it contains a nested ul 229 on its own separate line, since (the nested) ul is displayed as a block by default. 230 Adding a positive right margin to div#topnav li means that after the nested ul block 231 there's now a newline with margin space. We don't want this additional newline, so set 232 margin-RIGHT of this outer li to 0 to prevent it. */ 233 div#topnav li { 234 margin: 0 0 0 1rem; 222 235 } 223 236 … … 254 267 255 268 div#topbar { 256 margin: 0 2rem;269 margin: 0 auto; 257 270 line-height: 1rem; 258 271 } … … 272 285 #browse-search-bars { 273 286 max-width: 100vw; 274 padding: 1rem;287 /*padding: 1rem;*/ 275 288 /*height: 10vh;*/ /* useful for selecting div in dev tools */ 276 289 /* max-height: 10vh; */ 290 height: auto; 291 padding: 0.5rem 0rem; /* have to set the rest to 0 */ 292 /*background-color: rgba(255, 255, 255, 0.9);*/ /* https://stackoverflow.com/questions/10422949/css-background-opacity */ 293 position: absolute; bottom: 0; left: 0; /* or: top: 60%; left: 0; */ 294 /*Or: margin-top: -6rem; */ 295 z-index:2; 296 background-color: rgba(255, 255, 255, 0.7); /* https://stackoverflow.com/questions/10422949/css-background-opacity */ 277 297 } 278 298 279 299 #browse-search-bars #topbar { 280 line-height: 2rem; 300 line-height: 1rem; 301 /*margin:auto;*/ 302 width: 90vw; 281 303 } 282 304 … … 291 313 } 292 314 315 ul.drop-down-list { 316 padding-top: 0.5rem; 317 } 318 #advanced { 319 padding-top:0.2rem; 320 } -
main/trunk/model-interfaces-dev/wmtb/transform/layouts/main.xsl
r35257 r35271 83 83 84 84 </div> 85 86 87 88 <div class="container wrapper-old col2" id="browse-search-bars"> 89 <div id="topbar"> 90 <div id="topnav"> 91 <ul> 92 <xsl:call-template name="navBar"/> 93 </ul> 94 </div> 95 <!--**********************************************************************--> 96 <xsl:choose> 97 <xsl:when test="page/pageRequest/@subaction='home'"> 98 <div id="cross-coll-div"> 99 <xsl:call-template name="crossCollSearch"/> 100 </div> 101 </xsl:when> 102 <xsl:when test="page/pageRequest/paramList/param/@name='c' and /page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']"> 103 <xsl:call-template name="quick-search-area"/> 104 </xsl:when> 105 <xsl:otherwise/> 106 </xsl:choose> 107 <!--**********************************************************************--> 108 </div> 109 </div> 110 85 111 86 112 </div><!-- end banner-wrap --> … … 89 115 90 116 <!--<xsl:call-template name="login-prefs-help-links"/>--> 91 92 <div class="container wrapper-old col2" id="browse-search-bars">93 <div id="topbar">94 <div id="topnav">95 <ul>96 <xsl:call-template name="navBar"/>97 </ul>98 </div>99 <!--**********************************************************************-->100 <xsl:choose>101 <xsl:when test="page/pageRequest/@subaction='home'">102 <div id="cross-coll-div">103 <xsl:call-template name="crossCollSearch"/>104 </div>105 </xsl:when>106 <xsl:when test="page/pageRequest/paramList/param/@name='c' and /page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']">107 <xsl:call-template name="quick-search-area"/>108 </xsl:when>109 <xsl:otherwise/>110 </xsl:choose>111 <!--**********************************************************************-->112 </div>113 </div>114 117 <!--<hr class="spacer" />--> 115 118 <div class="outer">
Note:
See TracChangeset
for help on using the changeset viewer.