diff --git a/packages/hoppscotch-common/assets/scss/styles.scss b/packages/hoppscotch-common/assets/scss/styles.scss index 84644dd2b..37189e048 100644 --- a/packages/hoppscotch-common/assets/scss/styles.scss +++ b/packages/hoppscotch-common/assets/scss/styles.scss @@ -497,6 +497,22 @@ pre.ace_editor { } } +.cm-panel.cm-search [name="close"] { + @apply flex; + @apply items-center; + @apply justify-center; + @apply min-h-5; + @apply min-w-5; + @apply bg-primaryDark #{!important}; + @apply sticky #{!important}; + @apply right-0 #{!important}; + @apply ml-auto #{!important}; + @apply my-auto #{!important}; + @apply rounded #{!important}; + @apply outline #{!important}; + @apply outline-divider #{!important}; +} + .shortcut-key { @apply inline-flex; @apply font-sans; diff --git a/packages/hoppscotch-common/assets/scss/themes.scss b/packages/hoppscotch-common/assets/scss/themes.scss index fee75720a..79024aa17 100644 --- a/packages/hoppscotch-common/assets/scss/themes.scss +++ b/packages/hoppscotch-common/assets/scss/themes.scss @@ -8,6 +8,7 @@ --upper-primary-sticky-fold: 4.125rem; --upper-secondary-sticky-fold: 6.188rem; --upper-tertiary-sticky-fold: 8.25rem; + --upper-fourth-sticky-fold: 10.2rem; --upper-mobile-primary-sticky-fold: 6.625rem; --upper-mobile-secondary-sticky-fold: 8.688rem; --upper-mobile-sticky-fold: 10.75rem; @@ -15,6 +16,7 @@ --lower-primary-sticky-fold: 3rem; --lower-secondary-sticky-fold: 5.063rem; --lower-tertiary-sticky-fold: 7.125rem; + --lower-fourth-sticky-fold: 9.188rem; --sidebar-primary-sticky-fold: 2rem; } diff --git a/packages/hoppscotch-common/src/components.d.ts b/packages/hoppscotch-common/src/components.d.ts index b20e316ae..f51296606 100644 --- a/packages/hoppscotch-common/src/components.d.ts +++ b/packages/hoppscotch-common/src/components.d.ts @@ -144,6 +144,7 @@ declare module 'vue' { IconLucideAlertTriangle: typeof import('~icons/lucide/alert-triangle')['default'] IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default'] IconLucideArrowUpRight: typeof import('~icons/lucide/arrow-up-right')['default'] + IconLucideBrush: typeof import('~icons/lucide/brush')['default'] IconLucideCheckCircle: typeof import('~icons/lucide/check-circle')['default'] IconLucideChevronRight: typeof import('~icons/lucide/chevron-right')['default'] IconLucideGlobe: typeof import('~icons/lucide/globe')['default'] diff --git a/packages/hoppscotch-common/src/components/graphql/RequestOptions.vue b/packages/hoppscotch-common/src/components/graphql/RequestOptions.vue index 4d643c936..378bbd3d3 100644 --- a/packages/hoppscotch-common/src/components/graphql/RequestOptions.vue +++ b/packages/hoppscotch-common/src/components/graphql/RequestOptions.vue @@ -211,3 +211,9 @@ defineActionHandler("request.open-tab", ({ tab }) => { selectedOptionTab.value = tab as GQLOptionTabs }) + + diff --git a/packages/hoppscotch-common/src/components/graphql/Response.vue b/packages/hoppscotch-common/src/components/graphql/Response.vue index e2823070e..76f7ae65f 100644 --- a/packages/hoppscotch-common/src/components/graphql/Response.vue +++ b/packages/hoppscotch-common/src/components/graphql/Response.vue @@ -139,3 +139,9 @@ defineActionHandler( computed(() => !!props.response && props.response.length > 0) ) + + diff --git a/packages/hoppscotch-common/src/components/graphql/Sidebar.vue b/packages/hoppscotch-common/src/components/graphql/Sidebar.vue index 21641afd1..0e211f66d 100644 --- a/packages/hoppscotch-common/src/components/graphql/Sidebar.vue +++ b/packages/hoppscotch-common/src/components/graphql/Sidebar.vue @@ -396,3 +396,9 @@ const copySchema = () => { copySchemaIcon.value = IconCheck } + + diff --git a/packages/hoppscotch-common/src/components/http/Headers.vue b/packages/hoppscotch-common/src/components/http/Headers.vue index 8538c718f..fef9b1c0f 100644 --- a/packages/hoppscotch-common/src/components/http/Headers.vue +++ b/packages/hoppscotch-common/src/components/http/Headers.vue @@ -528,3 +528,9 @@ const getInspectorResult = (results: InspectorResult[], index: number) => { }) } + + diff --git a/packages/hoppscotch-common/src/components/http/Parameters.vue b/packages/hoppscotch-common/src/components/http/Parameters.vue index 7e8ca2d5f..67fec3f5b 100644 --- a/packages/hoppscotch-common/src/components/http/Parameters.vue +++ b/packages/hoppscotch-common/src/components/http/Parameters.vue @@ -430,3 +430,9 @@ const getInspectorResult = (results: InspectorResult[], index: number) => { }) } + + diff --git a/packages/hoppscotch-common/src/components/http/PreRequestScript.vue b/packages/hoppscotch-common/src/components/http/PreRequestScript.vue index af9b86776..bbefc96b3 100644 --- a/packages/hoppscotch-common/src/components/http/PreRequestScript.vue +++ b/packages/hoppscotch-common/src/components/http/PreRequestScript.vue @@ -110,3 +110,9 @@ const clearContent = () => { preRequestScript.value = "" } + + diff --git a/packages/hoppscotch-common/src/components/http/RawBody.vue b/packages/hoppscotch-common/src/components/http/RawBody.vue index 5f2374492..fce12d3bd 100644 --- a/packages/hoppscotch-common/src/components/http/RawBody.vue +++ b/packages/hoppscotch-common/src/components/http/RawBody.vue @@ -205,3 +205,9 @@ const prettifyXML = (xml: string) => { }) } + + diff --git a/packages/hoppscotch-common/src/components/http/Tests.vue b/packages/hoppscotch-common/src/components/http/Tests.vue index 24e545ffa..3a14cf321 100644 --- a/packages/hoppscotch-common/src/components/http/Tests.vue +++ b/packages/hoppscotch-common/src/components/http/Tests.vue @@ -106,3 +106,9 @@ const clearContent = () => { testScript.value = "" } + + diff --git a/packages/hoppscotch-common/src/components/http/URLEncodedParams.vue b/packages/hoppscotch-common/src/components/http/URLEncodedParams.vue index 4800834ed..4de91163d 100644 --- a/packages/hoppscotch-common/src/components/http/URLEncodedParams.vue +++ b/packages/hoppscotch-common/src/components/http/URLEncodedParams.vue @@ -424,3 +424,9 @@ const clearContent = () => { bulkUrlEncodedParams.value = "" } + + diff --git a/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vue b/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vue index c1755e0cf..fdcebaa88 100644 --- a/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vue +++ b/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vue @@ -86,7 +86,11 @@ /> -
+