SPR-942: sublist alignment in sidebar; SPR-953: nav active
This commit is contained in:
parent
cd7d0dbfee
commit
18dbbcce7d
1 changed files with 24 additions and 5 deletions
|
@ -8,7 +8,8 @@
|
||||||
|
|
||||||
#dokuwiki__aside {
|
#dokuwiki__aside {
|
||||||
@icon-size: @font-size-big;
|
@icon-size: @font-size-big;
|
||||||
@menu-margin: @icon-size + @margin-small*2; // FIXME this is still wrong
|
@menu-margin: @icon-size + @margin-small * 2; // FIXME this is still wrong
|
||||||
|
@menu-margin-lg: 1.3rem;
|
||||||
|
|
||||||
nav > p,
|
nav > p,
|
||||||
.mmissuelist li,
|
.mmissuelist li,
|
||||||
|
@ -37,6 +38,11 @@
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li:not([class]),
|
||||||
|
.li {
|
||||||
|
padding: .15em 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -70,6 +76,10 @@
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
margin-left: @menu-margin; // moves *all* sidebar content to the right
|
margin-left: @menu-margin; // moves *all* sidebar content to the right
|
||||||
|
|
||||||
|
@media @screen_md-lg {
|
||||||
|
margin-left: @menu-margin-lg;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -97,9 +107,13 @@
|
||||||
color: @ini_nav_menu_color;
|
color: @ini_nav_menu_color;
|
||||||
font-size: @font-size-head6;
|
font-size: @font-size-head6;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin: -1px 0 (@font-size-head6 / 2) (@menu-margin * -1); // moves the toggles back to the left
|
margin: -1px 0 (@font-size-head6 / 2) -(@menu-margin); // moves the toggles back to the left
|
||||||
transition: @transition color, @transition background-color, @transition border-color;
|
transition: @transition color, @transition background-color, @transition border-color;
|
||||||
|
|
||||||
|
@media @screen_md-lg {
|
||||||
|
margin-left: -(@menu-margin-lg + 1);
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
@ -180,7 +194,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the panel (hidden by default)
|
|
||||||
|
/* + + + + + active + + + + + */
|
||||||
|
span.curid a {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* + + + + + the panel (hidden by default) + + + + + */
|
||||||
div.nav-panel {
|
div.nav-panel {
|
||||||
display: none;
|
display: none;
|
||||||
margin-top: .5rem;
|
margin-top: .5rem;
|
||||||
|
@ -233,7 +254,6 @@
|
||||||
li:not([class]),
|
li:not([class]),
|
||||||
.li {
|
.li {
|
||||||
font-size: @font-size-head6;
|
font-size: @font-size-head6;
|
||||||
padding: .15em 0;
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
|
@ -302,7 +322,6 @@
|
||||||
li:not([class]),
|
li:not([class]),
|
||||||
.li {
|
.li {
|
||||||
font-size: @font-size-default;
|
font-size: @font-size-default;
|
||||||
padding: .15em 0 .15em .25rem;
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue