v0.10.11 - Collapse-able admin menu

This commit is contained in:
frederikpyt
2020-08-20 14:56:11 +02:00
parent b47c06372b
commit c0d336a8e0
13 changed files with 269 additions and 101 deletions
+9 -4
View File
@@ -1,7 +1,8 @@
.nav {
width: 15%;
height: 100%;
min-width: 194px;
min-width: calc(1.5em + 4rem);
transition: width .5s;
}
.segment > h3 {
@@ -14,14 +15,18 @@
.segment > h3 > a {
padding: 1rem 2rem;
display: block;
display: flex;
}
.segment > h3 > a > img {
width: 1.5em;
}
.segment > div {
padding: 0 1.25rem 0 1.25rem;
/*padding: 0 1.25rem 0 1.25rem;
width: calc(100% - 2.5rem);
align-items: center;
margin-bottom: .5rem;
margin-bottom: .5rem;*/
}
.segment > h3:hover {