3.x redesign

This commit is contained in:
Samuel Štancl 2020-06-08 21:20:15 +02:00
parent 857122540f
commit f8f354c323
229 changed files with 201175 additions and 22440 deletions

View file

@ -1,76 +0,0 @@
.docsearch-input {
background-image: url('/docs/assets/img/magnifying-glass.svg');
background-position: 0.8em;
background-repeat: no-repeat;
text-indent: 1.2em;
@screen lg {
&:focus {
@apply .w-2/3;
}
}
@screen xl {
&:focus {
@apply .w-3/4;
}
}
&__wrapper {
@apply absolute;
@apply bg-white;
@apply mt-7;
@apply pin-l;
@apply pin-t;
@apply px-4;
@apply w-full;
@apply z-10;
@screen md {
@apply mt-0;
@apply px-0;
@apply relative;
}
}
}
.algolia-autocomplete {
@apply .text-right;
@apply .w-full;
.ds-dropdown-menu {
@apply .w-full;
max-width: 750px !important;
min-width: auto !important;
.algolia-docsearch-suggestion {
.algolia-docsearch-suggestion--content {
@apply .w-full;
@screen md {
@apply .w-2/3;
}
}
.algolia-docsearch-suggestion--text {
@apply .font-normal;
line-height: 1.4;
}
.algolia-docsearch-suggestion--wrapper {
@apply .py-3;
}
.algolia-docsearch-suggestion--subcategory-column {
@apply .hidden;
@screen md {
@apply .w-1/3;
@apply .inline-block;
}
}
}
}
}