File tree Expand file tree Collapse file tree 5 files changed +33
-21
lines changed Expand file tree Collapse file tree 5 files changed +33
-21
lines changed Original file line number Diff line number Diff line change 1111}
1212
1313.page-versions .version-menu-toggle {
14- color : inherit ;
14+ color : var ( --color-white ) ;
1515 background : url(../ img/chevron.svg) no-repeat;
1616 background-position : right 0.5rem top 50% ;
1717 background-size : auto 0.75em ;
1818 border : none;
1919 outline : none;
2020 line-height : inherit;
21- padding : 0.5 rem 1.5rem 0.5 rem 0.5 rem ;
21+ padding : 7 px 1.5rem 7 px 30 px ;
2222 position : relative;
23- z-index : var (--z-index-page-version-menu );
23+ z-index : var (--z-index-page-version-menu-button );
24+ font-size : 16px ;
25+ opacity : 0.8 ;
26+ }
27+
28+ .page-versions .version-menu-toggle : hover {
29+ opacity : 1 ;
30+ text-decoration : none;
2431}
2532
2633.page-versions .version-menu {
3441 top : 0 ;
3542 right : 0 ;
3643 white-space : nowrap;
44+ z-index : var (--z-index-page-version-menu );
45+ color : var (--color-white );
46+ font-size : 16px ;
3747}
3848
3949.page-versions : not (.is-active ) .version-menu {
4050 display : none;
4151}
4252
4353.page-versions .version {
54+ color : var (--color-white );
4455 display : block;
4556 padding-top : 0.5rem ;
4657}
4758
4859.page-versions .version .is-current {
60+ color : var (--color-white );
4961 display : none;
5062}
5163
Original file line number Diff line number Diff line change 5858 --toolbar-border-color : var (--panel-border-color );
5959 --toolbar-font-color : var (--color-jet-30 );
6060 --toolbar-muted-color : var (--color-gray-30 );
61- --page-version-menu-background : var (--color-smoke -70 );
61+ --page-version-menu-background : var (--color-jet -70 );
6262 --page-version-missing-font-color : var (--color-gray-30 );
6363 /* admonitions */
6464 --caution-color : # a0439c ;
140140 --z-index-nav : 1 ;
141141 --z-index-toolbar : 2 ;
142142 --z-index-page-version-menu : 3 ;
143- --z-index-navbar : 4 ;
143+ --z-index-page-version-menu-button : 4 ;
144+ --z-index-navbar : 5 ;
144145}
Original file line number Diff line number Diff line change 1818 </button >
1919 <a href =" https://www.stackable.tech/en/contact/" class =" button pull-right" >Contact Us</a >
2020 </div >
21- <div id =" topbar-nav" class =" navbar-menu" >
22- </div >
21+ <div id =" topbar-nav" class =" navbar-menu" >
22+ </div >
2323 </div >
2424 </nav >
2525 <nav id =" navbar-sub" class =" navbar-sub" >
3535 </div >
3636 </div >
3737 {{ /navbar }}
38-
38+ {{ #with @root.page.versions }}
39+ <div class =" page-versions" >
40+ <button class =" version-menu-toggle" title =" Show other versions of page" >{{ @root.page.componentVersion.displayVersion }} </button >
41+ <div class =" version-menu" >
42+ {{ #each this }}
43+ <a class =" version
44+ {{ ~#if (eq ./version @root.page.version )}} is-current{{ /if ~}}
45+ {{ ~#if ./missing }} is-missing{{ /if }} " href =" {{{ relativize ./url }}} " >{{ ./displayVersion }} </a >
46+ {{ /each }}
47+ </div >
48+ </div >
49+ {{ /with }}
3950 <a class =" arrow" href =" javascript:document.querySelector('.navbar-sub').classList.toggle('open')" >
4051 <svg aria-hidden =" true" focusable =" false" data-prefix =" fas" data-icon =" arrow-right" role =" img" xmlns =" http://www.w3.org/2000/svg" viewBox =" 0 0 448 512" data-fa-i2svg =" " ><path fill =" currentColor" d =" M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z" ></path ></svg >
4152 </a >
Original file line number Diff line number Diff line change 55 {{ #with @root.page.componentVersion }}
66 <h3 class =" title" ><a href =" {{{ relativize ./url }}} " >{{ ./title }} </a ></h3 >
77 {{ /with }}
8- {{ #with @root.page.versions }}
9- <div class =" page-versions" >
10- <button class =" version-menu-toggle" title =" Show other versions of page" >{{ @root.page.componentVersion.displayVersion }} </button >
11- <div class =" version-menu" >
12- {{ #each this }}
13- <a class =" version
14- {{ ~#if (eq ./version @root.page.version )}} is-current{{ /if ~}}
15- {{ ~#if ./missing }} is-missing{{ /if }} " href =" {{{ relativize ./url }}} " >{{ ./displayVersion }} </a >
16- {{ /each }}
17- </div >
18- </div >
19- {{ /with }}
208 </div >
219 {{> nav-tree navigation =this }}
2210 </nav >
You can’t perform that action at this time.
0 commit comments