Merge pull request #40 from acid-info/color-switch

Restore theme switch in mobile sidebar
This commit is contained in:
jeangovil
2023-06-09 04:42:24 +03:30
committed by GitHub
2 changed files with 21 additions and 16 deletions
@@ -472,6 +472,19 @@ small {
@include lsd.typography('body2');
}
.menu__link--sublist-caret:after {
content: url(/icons/chevron-up.svg);
background: none;
filter: unset;
min-width: unset;
width: unset;
height: unset;
}
.menu__list-item--collapsed > .menu__link--sublist-caret:after {
transform: rotateZ(0deg) !important;
}
.menu__link--active {
border-left: 1px solid rgb(var(--lsd-border-primary));
border-radius: 0;
@@ -1019,26 +1032,10 @@ table {
}
.navbar-sidebar:not(.navbar-sidebar--show-secondary) {
.navbar-sidebar__brand {
button:first-of-type {
display: none;
}
button.lsd-icon-button {
margin-left: auto;
}
}
.menu {
padding-inline: 0;
}
.navbar-sidebar__items {
}
.navbar-sidebar__item {
}
.menu__list {
display: flex;
flex-direction: column;
@@ -1073,12 +1070,17 @@ table {
.footer .container.container-fluid {
margin-bottom: 16px !important;
padding-inline: var(--content-padding);
> .footer__links {
gap: 0 !important;
}
}
.footer > div[class*='secondRow'] {
margin: var(--content-padding);
}
.footer .footer__links {
gap: 16px !important;
}
@@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 9.53L4.94 10.47L8 7.41667L11.06 10.47L12 9.53L8 5.53L4 9.53Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 192 B