Commit c50ee7ba authored by Karl Hasselbring's avatar Karl Hasselbring
Browse files

Improved: Sidebar Design ohne Rand gilt jetzt auch für die Startseite

parent cda3374c
...@@ -45,7 +45,7 @@ body { ...@@ -45,7 +45,7 @@ body {
} }
} }
#resultPageSideBar { .sideBar {
border-left: none; border-left: none;
input#nav0:checked~& { input#nav0:checked~& {
border-left: 1px solid LightGray; border-left: 1px solid LightGray;
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
overflow-y: auto; overflow-y: auto;
transition: 0.3s; transition: 0.3s;
z-index: 999; z-index: 999;
border-left: 1px solid LightGray;
&>label { &>label {
position: fixed; position: fixed;
font-size: 36px; font-size: 36px;
...@@ -34,19 +33,17 @@ ...@@ -34,19 +33,17 @@
color: blue; color: blue;
} }
} }
} input#nav0:checked~& {
border-left: 1px solid LightGray;
.sideBar *:not(label) { right: 0px;
display: none; & * {
} display: inline-block;
}
input#nav0:checked~.sideBar { label:after {
right: 0px; content: "×";
& * { }
display: inline-block; }
*:not(label) {
display: none;
} }
}
input#nav0:checked~.sideBar label:after {
content: "×";
} }
\ No newline at end of file
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<header> <header>
@yield('homeIcon') @yield('homeIcon')
</header> </header>
@include('layouts.sidebar') @include('layouts.sidebar', ['id' => 'staticPagesSideBar'])
<div class="wrapper"> <div class="wrapper">
<main class="mg-panel container"> <main class="mg-panel container">
@if (isset($success)) @if (isset($success))
......
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