chore: minor fixes and improvements
This commit is contained in:
@@ -282,25 +282,6 @@ pre.ace_editor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-wrapper {
|
|
||||||
@apply flex flex-1;
|
|
||||||
@apply relative;
|
|
||||||
|
|
||||||
&::after {
|
|
||||||
@apply absolute;
|
|
||||||
@apply flex;
|
|
||||||
@apply inset-y-0;
|
|
||||||
@apply items-center;
|
|
||||||
@apply justify-center;
|
|
||||||
@apply pointer-events-none;
|
|
||||||
@apply font-icon;
|
|
||||||
@apply text-secondaryLight;
|
|
||||||
@apply left-4;
|
|
||||||
|
|
||||||
content: "\e8b6";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
@apply hidden;
|
@apply hidden;
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-primary border-b border-dividerLight">
|
<div class="bg-primary border-b border-dividerLight">
|
||||||
<div class="flex flex-col my-4 mx-6 search-wrapper">
|
<div class="flex flex-col my-4 mx-6">
|
||||||
<input
|
<input
|
||||||
v-model="filterText"
|
v-model="filterText"
|
||||||
type="search"
|
type="search"
|
||||||
@@ -31,8 +31,7 @@
|
|||||||
flex
|
flex
|
||||||
w-full
|
w-full
|
||||||
py-2
|
py-2
|
||||||
pr-2
|
px-4
|
||||||
pl-8
|
|
||||||
focus-visible:border-divider
|
focus-visible:border-divider
|
||||||
"
|
"
|
||||||
:placeholder="$t('action.search')"
|
:placeholder="$t('action.search')"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
class="
|
class="
|
||||||
font-bold
|
font-bold
|
||||||
py-2
|
py-2
|
||||||
|
transition
|
||||||
inline-flex
|
inline-flex
|
||||||
items-center
|
items-center
|
||||||
justify-center
|
justify-center
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
class="
|
class="
|
||||||
font-medium
|
font-medium
|
||||||
py-2
|
py-2
|
||||||
|
transition
|
||||||
inline-flex
|
inline-flex
|
||||||
items-center
|
items-center
|
||||||
justify-center
|
justify-center
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
autofocus
|
autofocus
|
||||||
class="
|
class="
|
||||||
bg-transparent
|
bg-transparent
|
||||||
border-b border-transparent
|
border-t border-dividerLight
|
||||||
cursor-pointer
|
cursor-pointer
|
||||||
flex
|
flex
|
||||||
font-medium
|
font-medium
|
||||||
|
|||||||
@@ -14,14 +14,13 @@
|
|||||||
"
|
"
|
||||||
:class="{ 'bg-primary': !savingMode }"
|
:class="{ 'bg-primary': !savingMode }"
|
||||||
>
|
>
|
||||||
<div v-if="showCollActions" class="search-wrapper">
|
<input
|
||||||
<input
|
v-if="showCollActions"
|
||||||
v-model="filterText"
|
v-model="filterText"
|
||||||
type="search"
|
type="search"
|
||||||
:placeholder="$t('action.search')"
|
:placeholder="$t('action.search')"
|
||||||
class="bg-transparent flex w-full py-2 pr-2 pl-10"
|
class="bg-transparent flex w-full py-2 px-4"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div class="flex flex-1 justify-between">
|
<div class="flex flex-1 justify-between">
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
svg="plus"
|
svg="plus"
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
"
|
"
|
||||||
:class="{ '!top-sidebarPrimaryStickyFold': !saveRequest && !doc }"
|
:class="{ '!top-sidebarPrimaryStickyFold': !saveRequest && !doc }"
|
||||||
>
|
>
|
||||||
<div v-if="!saveRequest" class="search-wrapper">
|
<div v-if="!saveRequest" class="search-wrappe">
|
||||||
<input
|
<input
|
||||||
v-model="filterText"
|
v-model="filterText"
|
||||||
type="search"
|
type="search"
|
||||||
:placeholder="$t('action.search')"
|
:placeholder="$t('action.search')"
|
||||||
class="bg-transparent flex w-full py-2 pr-2 pl-10"
|
class="bg-transparent flex w-full py-2 pr-2 pl-4"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<CollectionsChooseType
|
<CollectionsChooseType
|
||||||
|
|||||||
@@ -4,14 +4,12 @@
|
|||||||
<SmartTab :id="'docs'" :label="`Docs`" :selected="true">
|
<SmartTab :id="'docs'" :label="`Docs`" :selected="true">
|
||||||
<AppSection label="docs">
|
<AppSection label="docs">
|
||||||
<div class="bg-primary flex top-sidebarPrimaryStickyFold z-10 sticky">
|
<div class="bg-primary flex top-sidebarPrimaryStickyFold z-10 sticky">
|
||||||
<div class="search-wrapper">
|
<input
|
||||||
<input
|
v-model="graphqlFieldsFilterText"
|
||||||
v-model="graphqlFieldsFilterText"
|
type="search"
|
||||||
type="search"
|
:placeholder="$t('action.search')"
|
||||||
:placeholder="$t('action.search')"
|
class="bg-transparent flex w-full p-4 py-2"
|
||||||
class="bg-transparent flex w-full py-2 pr-2 pl-10"
|
/>
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
v-tippy="{ theme: 'tooltip' }"
|
v-tippy="{ theme: 'tooltip' }"
|
||||||
|
|||||||
@@ -10,14 +10,12 @@
|
|||||||
sticky
|
sticky
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="search-wrapper">
|
<input
|
||||||
<input
|
v-model="filterText"
|
||||||
v-model="filterText"
|
type="search"
|
||||||
type="search"
|
class="bg-transparent flex w-full p-4 py-2"
|
||||||
class="bg-transparent flex w-full py-2 pr-2 pl-10"
|
:placeholder="$t('action.search')"
|
||||||
:placeholder="$t('action.search')"
|
/>
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
v-tippy="{ theme: 'tooltip' }"
|
v-tippy="{ theme: 'tooltip' }"
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
outline
|
outline
|
||||||
:label="$t('action.learn_more')"
|
:label="$t('app.documentation')"
|
||||||
to="https://docs.hoppscotch.io"
|
to="https://docs.hoppscotch.io"
|
||||||
blank
|
blank
|
||||||
svg="external-link"
|
svg="external-link"
|
||||||
|
|||||||
@@ -64,6 +64,14 @@
|
|||||||
<span class="text-center pb-4">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.body") }}
|
{{ $t("empty.body") }}
|
||||||
</span>
|
</span>
|
||||||
|
<ButtonSecondary
|
||||||
|
outline
|
||||||
|
:label="$t('app.documentation')"
|
||||||
|
to="https://docs.hoppscotch.io"
|
||||||
|
blank
|
||||||
|
svg="external-link"
|
||||||
|
reverse
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
:blank="blank"
|
:blank="blank"
|
||||||
class="
|
class="
|
||||||
rounded
|
rounded
|
||||||
|
transition
|
||||||
font-medium
|
font-medium
|
||||||
flex-shrink-0
|
flex-shrink-0
|
||||||
py-2
|
py-2
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ $transition: all 0.2s ease-in-out;
|
|||||||
height: $height;
|
height: $height;
|
||||||
border: if($useBorder, 2px solid $borderColor, none);
|
border: if($useBorder, 2px solid $borderColor, none);
|
||||||
background-color: if($useBorder, transparent, $inactiveColor);
|
background-color: if($useBorder, transparent, $inactiveColor);
|
||||||
transition: $transition;
|
|
||||||
box-sizing: initial;
|
box-sizing: initial;
|
||||||
|
|
||||||
.handle {
|
.handle {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
class="
|
class="
|
||||||
rounded
|
rounded
|
||||||
py-2
|
py-2
|
||||||
|
transition
|
||||||
px-4
|
px-4
|
||||||
inline-flex
|
inline-flex
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
font-medium
|
font-medium
|
||||||
flex-1
|
flex-1
|
||||||
py-2
|
py-2
|
||||||
|
transition
|
||||||
transform
|
transform
|
||||||
inline-flex
|
inline-flex
|
||||||
items-center
|
items-center
|
||||||
|
|||||||
Reference in New Issue
Block a user