Commit d7bf2146 authored by Aria Givi's avatar Aria Givi
Browse files

Etwas aufpoliert

parent 65c401e1
#closeSidebar {
z-index: 998;
font-size: 36px;
position: fixed;
top: 0px;
right: 20px;
&:after {
content: "≡";
}
}
.sideBar {
position: fixed;
display: block;
right: -140px;
top: 0;
right: -200px;
width: 200px;
height: 100%;
background-color: #FFF;
overflow: hidden;
overflow-y: auto;
transition: 0.3s;
transition: 0.5s;
z-index: 999;
border-left: 1px solid LightGray;
&>label {
position: fixed;
position: absolute;
font-size: 36px;
top: 0px;
right: 20px;
&:after {
content: "≡";
}
}
&>ul {
padding-top: 20%;
......@@ -40,10 +47,15 @@
display: none;
}
input#nav0:checked~.sideBar {
right: 0px;
& * {
display: inline-block;
input#nav0:checked {
& ~#closeSideBar:after {
content: ""
}
& ~.sideBar {
right: 0px;
& * {
display: inline-block;
}
}
}
......
<input name="nav" id="nav0" style="display: none;" type="checkbox">
<label id="closeSidebar" role="button" for="nav0"></label>
<div class="sideBar">
<label role="button" for="nav0"></label>
<ul id="metager-static-nav-list" class="list-inline pull-right">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment