Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

826 B
Raw Blame
/* Unpainted strip at the top of the main column, matching the sidebar header's height. */
.portal-searchbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1875rem;
  padding: 0 1rem;
  flex-shrink: 0;
}

.portal-searchbar .super-search {
  flex: 0 1 24rem;
  width: min(100%, 24rem);
  max-width: 24rem;
}

.portal-searchbar .super-search input {
  background-color: transparent;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 12.5px;
}

/* The dropdown is portalled to <body>, so it can't inherit portal styling by
   nesting — this class (passed via dropdownClassName) is the portal's hook.
   Colours come from the shared semantic tokens; only the roomier padding
   differs from the editor dropdown. */
.portal-search-dropdown.super-search-dropdown {
  padding: 0.5rem;
}