mobile view part 1

This commit is contained in:
Jana Deutschländer 2017-01-05 18:23:56 +01:00
commit 83efa0de01
6 changed files with 81 additions and 7 deletions

View file

@ -55,10 +55,29 @@
transition: @transition background-color;
}
+ ul {
margin-top: .5em;
margin-bottom: .25em;
+ ul,+ div {
height: auto;
overflow: hidden;
}
&.opened {
+ ul, + div {
height: auto;
overflow: hidden;
}
+ ul {
margin-top: .5em;
margin-bottom: .25em;
}
}
&.closed {
+ ul, + div {
height: 0;
padding: 0;
}
}
}
@ -78,6 +97,10 @@
background-color: @background_page-header;
border: 1px solid @color-border;
padding: .4rem;
font-size: .8rem;
*{
font-size: inherit;
}
.bchead,
.bcsep {
@ -169,4 +192,4 @@
}
}
}
}
}