SPR-840: debug sidebar script IE10, styling for mobile menu

debug background-color: qc
This commit is contained in:
Jana Deutschländer 2017-03-02 16:45:22 +01:00
commit b10c27f3f2
6 changed files with 208 additions and 165 deletions

View file

@ -108,28 +108,62 @@
#dokuwiki__aside {
display: none;
}
// show when toggled
#dokuwiki__aside.show {
display: block;
body.show-mobile-sidebar {
position: absolute;
left: 0;
z-index: 200; // above all
#dokuwiki__aside {
display: block;
position: absolute;
left: 1.25rem;//left margin of content container
z-index: 200; // above all
box-shadow: @box-shadow-right-bottom;
min-width: 45%;
max-width: 90%;
height: auto;
&:after{
content: "";
position: absolute;
top: 0;
left:0;
bottom:0;
right:0;
width: 100%;
height: 100%;
background: @ini_background;
background: -webkit-linear-gradient(left, @ini_background, @color-content-bg);
background: linear-gradient(left, @ini_background, @color-content-bg);
z-index: 0;
}
> nav{
position: relative;
//display: block;
z-index: 2;
&:first-child{
margin-top: 1.2rem;
}
}
a.nav {
border-radius: 0;
border-right-width: 0;
border-left-width: 0;
}
.nav-panel,
a.nav{
padding-right: .8em;
}
}
border-right: @ini_border 1px solid;
box-shadow: @box-shadow;;
max-width: 100%;
min-width: 45%;
height: 100%;
background-color: @ini_background;
}
}
// FIXME check if the stuff below is still relevant
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
@ -158,7 +192,6 @@
}
}
}
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */