Skip to content
Snippets Groups Projects
Commit 98d6ab2a authored by Karl Hasselbring's avatar Karl Hasselbring
Browse files

Fixed: sidebar opener burger hat jetzt einen weißen hitnergrund

parent 9481911e
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
@metager-dropdown-menu-li-a-color: @static-pages-color-almost-black; @metager-dropdown-menu-li-a-color: @static-pages-color-almost-black;
@metager-dropdown-menu-li-a-hover-color: @static-pages-color-strong-grey; @metager-dropdown-menu-li-a-hover-color: @static-pages-color-strong-grey;
@metager-dropdown-menu-li-a-hover-background-color: @static-pages-color-almost-white; @metager-dropdown-menu-li-a-hover-background-color: @static-pages-color-almost-white;
.sideBar { .sideBar {
position: fixed; position: fixed;
display: block; display: block;
...@@ -28,25 +27,20 @@ ...@@ -28,25 +27,20 @@
content: "×"; content: "×";
} }
&:hover { &:hover {
color: rgb(255,128,0); color: rgb(255, 128, 0);
} }
} }
&>ul { &>ul {
padding-top: 20%; padding-top: 20%;
} }
& #metager-static-nav-list>li {
& #metager-static-nav-list > li {
width: 100%; width: 100%;
padding-top: 3%; padding-top: 3%;
padding-bottom: 3%; padding-bottom: 3%;
border-bottom: 1px solid LightGray; border-bottom: 1px solid LightGray;
&:hover { &:hover {
background-color: @metager-navbar-toggle-hover-background-color; background-color: @metager-navbar-toggle-hover-background-color;
} }
&>label { &>label {
font-size: 16px; font-size: 16px;
font-weight: normal; font-weight: normal;
...@@ -56,13 +50,11 @@ ...@@ -56,13 +50,11 @@
line-height: 20px; line-height: 20px;
display: inline-block; display: inline-block;
width: 100%; width: 100%;
&:hover { &:hover {
color: red; color: red;
} }
} }
} }
& .metager-dropdown-menu { & .metager-dropdown-menu {
min-width: 160px; min-width: 160px;
max-height: 0px; max-height: 0px;
...@@ -72,7 +64,6 @@ ...@@ -72,7 +64,6 @@
float: left; float: left;
overflow: hidden; overflow: hidden;
transition: 0.5s ease; transition: 0.5s ease;
&>li>a { &>li>a {
display: block; display: block;
font-size: 12px; font-size: 12px;
...@@ -83,12 +74,10 @@ ...@@ -83,12 +74,10 @@
line-height: 1.42857143; line-height: 1.42857143;
border-top: 1px solid LightGray; border-top: 1px solid LightGray;
margin-left: 2px; margin-left: 2px;
&:hover { &:hover {
text-decoration: none; text-decoration: none;
} }
} }
label:after { label:after {
#navbar-static-pages { #navbar-static-pages {
z-index: 4; z-index: 4;
...@@ -96,7 +85,6 @@ ...@@ -96,7 +85,6 @@
} }
} }
} }
& a { & a {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
...@@ -109,14 +97,13 @@ ...@@ -109,14 +97,13 @@
color: red; color: red;
} }
} }
& p { & p {
width: 90%; width: 90%;
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
font-size: large; font-size: large;
background-color: rgb(255,128,0); background-color: rgb(255, 128, 0);
border-radius: .25em; border-radius: .25em;
color: white; color: white;
cursor: default; cursor: default;
...@@ -127,50 +114,48 @@ ...@@ -127,50 +114,48 @@
left: 90%; left: 90%;
margin-top: 8px; margin-top: 8px;
} }
& input.sideBarCheckbox { & input.sideBarCheckbox {
display: none; display: none;
&:checked { &:checked {
& ~.metager-dropdown-menu { &~.metager-dropdown-menu {
max-height: 1000px; max-height: 1000px;
padding: 5px 0; padding: 5px 0;
} }
&~label>.caret {
& ~ label > .caret { border-top: 0 solid;
border-top:0 solid; border-bottom: 4px solid;
border-bottom:4px solid; transition: border-top .1s, border-bottom .1s .1s;
transition:border-top .1s, border-bottom .1s .1s;
} }
} }
&:not(:checked) { &:not(:checked) {
& ~.metager-dropdown-menu { &~.metager-dropdown-menu {
padding: 0px 0; padding: 0px 0;
} }
} }
} }
} }
input#sideBarToggle:checked { input#sideBarToggle:checked {
& ~.sideBar { &~.sideBar {
right: 0px; right: 0px;
} }
} }
label#openSidebar { label#openSidebar {
z-index: 998;
font-size: 36px;
position: fixed; position: fixed;
top: 0px; top: 5px;
right: 20px; right: 20px;
z-index: 998;
font-size: 36px;
line-height: 36px;
border-radius: 5px;
color: grey; color: grey;
background-color: white;
&:after { &:after {
content: "≡"; content: "≡";
} }
&:hover { &:hover {
color: rgb(255,128,0); color: rgb(255, 128, 0);
} }
} }
...@@ -180,7 +165,6 @@ label#openSidebar { ...@@ -180,7 +165,6 @@ label#openSidebar {
width: 90%; width: 90%;
overflow: auto; overflow: auto;
} }
#metager-static-nav-list:target { #metager-static-nav-list:target {
max-height: 1000px; max-height: 1000px;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment