2019-02-18 22:14:32 -05:00

94 lines
1.3 KiB
SCSS

@import 'styles/Variables.scss';
.leftPanel {
font-size: 0.8rem;
flex-basis: 20em;
display: flex;
flex-flow: column nowrap;
margin-left: 1rem;
.listWrapper {
flex: 1 1 auto;
display: flex;
padding: 6px;
& > * {
width: 100%;
}
&.emptyList .emptyState {
align-self: center;
text-align: center;
margin-top: -100%;
& > *:first-child {
margin: 1em auto;
}
}
}
a {
color: inherit;
text-decoration: none;
padding: 5px 1em 5px 2em;
justify-content: flex-end;
align-content: space-around;
flex-wrap: wrap;
.menuIcon {
margin: -4px 0 0 0.5em;
opacity: 0.5;
}
&:global(.active) {
.menuIcon {
opacity: 1;
}
}
// &:hover::before {
// content: none;
// }
// &:global(.active) {
// &:hover::before {
// content: '';
// }
// .menuIcon {
// display: none;
// }
// }
}
}
.filterWrapper {
position: relative;
:global(.close) {
position: absolute;
top: 1em;
right: 1em;
}
}
.filterInput {
margin-left: 0;
margin-right: 0;
padding-right: 3em;
}
.dex,
.form {
font-size: 0.8em;
text-transform: capitalize;
}
.dex {
margin-left: auto;
}
.form {
flex: 0 1 100%;
}