dependabot[bot]
2024-09-25 8a050c0be07212a8ea5d8cb181222f4b05036f74
quartz/components/styles/explorer.scss
@@ -1,7 +1,24 @@
@use "../../styles/variables.scss" as *;
.explorer {
  &.desktop-only {
    overflow-y: auto;
  }
  &:after {
    pointer-events: none;
    content: "";
    width: 100%;
    height: 50px;
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    background: linear-gradient(transparent 0px, var(--light));
  }
}
button#explorer {
  all: unset;
  background-color: transparent;
  border: none;
  text-align: left;
@@ -11,7 +28,7 @@
  display: flex;
  align-items: center;
  & h1 {
  & h2 {
    font-size: 1rem;
    display: inline-block;
    margin: 0;
@@ -46,11 +63,17 @@
  list-style: none;
  overflow: hidden;
  max-height: none;
  transition: max-height 0.35s ease;
  transition:
    max-height 0.35s ease,
    visibility 0s linear 0s;
  margin-top: 0.5rem;
  visibility: visible;
  &.collapsed > .overflow::after {
    opacity: 0;
  &.collapsed {
    transition:
      max-height 0.35s ease,
      visibility 0s linear 0.35s;
    visibility: hidden;
  }
  & ul {
@@ -67,6 +90,9 @@
      pointer-events: all;
    }
  }
  > #explorer-ul {
    max-height: none;
  }
}
svg {