diff --git a/assets/scss/styles.scss b/assets/scss/styles.scss
index 0be486f31..dc4860fcd 100644
--- a/assets/scss/styles.scss
+++ b/assets/scss/styles.scss
@@ -101,14 +101,6 @@ a {
}
}
-button {
- @apply font-medium;
- @apply outline-none;
- @apply focus-visible:ring;
- @apply focus-visible:ring-inset;
- @apply focus-visible:ring-accent;
-}
-
.tippy-popper {
.tooltip-theme {
@apply bg-secondary;
@@ -179,32 +171,6 @@ pre.ace_editor {
@apply resize-none;
}
-.select-wrapper {
- @apply relative;
- @apply w-full;
-
- pre,
- input {
- @apply cursor-pointer;
- }
-
- .trigger {
- @apply w-full;
- }
-
- &::after {
- @apply inline-block;
- @apply absolute;
- @apply pointer-events-none;
- @apply font-icon;
- @apply text-secondaryLight;
-
- content: "\e313";
- top: 16px;
- right: 16px;
- }
-}
-
select {
@apply cursor-pointer;
@apply appearance-none;
@@ -216,10 +182,6 @@ select {
}
}
-option {
- @apply bg-primary;
-}
-
input[type="checkbox"] {
@apply hidden;
@@ -258,25 +220,6 @@ input[type="checkbox"] {
@apply text-secondaryLight;
@apply fill-current;
@apply cursor-not-allowed;
-
- &.icon {
- @apply text-error;
- @apply fill-current;
- }
-}
-
-.row-wrapper {
- @apply flex flex-1 flex-row;
- @apply items-center;
- @apply justify-between;
-
- span,
- div {
- @apply inline-flex;
- @apply flex-nowrap;
- @apply items-center;
- @apply justify-center;
- }
}
.info-response {
@@ -322,128 +265,30 @@ input[type="checkbox"] {
}
}
-#send {
- @apply whitespace-nowrap;
- @apply outline-none;
- @apply border-none;
+.toasted-container {
+ margin-bottom: 68px;
- &.show {
- @apply flex;
- @apply fixed;
- @apply shadow-lg;
- @apply rounded-lg;
+ .toasted {
+ justify-content: space-between !important;
- bottom: 86px;
- left: 50%;
- z-index: 10001;
- transform: translateX(-50%);
+ &.info {
+ background-color: var(--accent-color) !important;
+ color: var(--primary-color) !important;
+ font-weight: 700 !important;
+ }
+
+ &.bubble .action {
+ color: inherit !important;
+ }
+
+ .action {
+ margin-left: auto !important;
+ }
}
}
-section {
- @apply flex;
- @apply rounded-lg;
- @apply w-full;
-}
-
-.toasted-container .toasted {
- justify-content: space-between !important;
-}
-
-.toasted.info {
- background-color: var(--accent-color) !important;
- color: var(--primary-color) !important;
- font-weight: 700 !important;
-}
-
-.toasted.bubble .action {
- color: inherit !important;
-}
-
-.toasted .action {
- margin-left: auto !important;
-}
-
-.page-columns {
- @apply flex flex-1 flex-col;
-}
-
-.inner-left {
- @apply flex;
- @apply order-1;
-}
-
-.inner-right {
- --width: 33%;
- --ml: 1rem;
- @apply flex;
- @apply order-2;
-
- margin-left: var(--ml);
- width: var(--width);
-}
-
@media (max-width: 767px) {
- .content,
- .columns {
- @apply flex-col;
- }
-
main {
- padding: 0 8px 68px;
margin-bottom: env(safe-area-inset-bottom);
}
-
- ul,
- ol {
- @apply flex-col flex-nowrap;
- }
-
- ul li,
- ol li {
- @apply flex;
- }
-
- .hide-on-small-screen {
- @apply !hidden;
- }
-
- .sticky-inner {
- @apply relative;
- @apply w-full;
- }
-
- .inner-left {
- order: 0;
- }
-
- .inner-right {
- --ml: 0;
- }
-
- .toasted-container {
- margin-bottom: 68px;
- }
-}
-
-.toasted-ad {
- @apply bg-gray-50;
- @apply text-gray-900 text-sm;
- @apply font-bold;
- @apply rounded-lg;
- @apply shadow-lg;
-
- padding: 16px !important;
-
- .action {
- @apply bg-gray-50;
- @apply text-gray-900;
- @apply rounded-lg;
- @apply font-bold;
-
- text-transform: none !important;
- padding: 12px 16px !important;
- margin: 0 !important;
- margin-left: 8px !important;
- }
}
diff --git a/components/app/Header.vue b/components/app/Header.vue
index d2e313077..275969afe 100644
--- a/components/app/Header.vue
+++ b/components/app/Header.vue
@@ -139,69 +139,6 @@ export default {
],
})
}
-
- // const showAd = localStorage.getItem("showAd") === "no"
- // if (!showAd) {
- // setTimeout(() => {
- // this.$toast.clear()
- // this.$toast.show(
- // "Sponsor us to support Hoppscotch open source project 💖
Whoosh this away to dismiss.",
- // {
- // icon: "",
- // duration: 0,
- // theme: "toasted-ad",
- // action: [
- // {
- // text: "Donate",
- // icon: "chevron_right",
- // onClick: (_, toastObject) => {
- // localStorage.setItem("showAd", "no")
- // toastObject.goAway(0)
- // window.open("https://fundoss.org/collective/hoppscotch")
- // },
- // },
- // ],
- // onComplete() {
- // localStorage.setItem("showAd", "no")
- // },
- // }
- // )
- // }, 6000)
- // }
-
- // let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"
- // if (!showExtensionsToast) {
- // setTimeout(() => {
- // if (!hasExtensionInstalled()) {
- // this.$toast.show(this.$t("extensions_info2"), {
- // icon: "extension",
- // duration: 5000,
- // theme: "toasted-primary",
- // action: [
- // {
- // text: this.$t("yes"),
- // onClick: (_, toastObject) => {
- // this.showExtensions = true
- // localStorage.setItem("showExtensionsToast", "yes")
- // toastObject.goAway(0)
- // },
- // },
- // {
- // text: this.$t("no"),
- // onClick: (_, toastObject) => {
- // this.$store.commit("setMiscState", {
- // value: false,
- // attribute: "showExtensionsToast",
- // })
- // localStorage.setItem("showExtensionsToast", "no")
- // toastObject.goAway(0)
- // },
- // },
- // ],
- // })
- // }
- // }, 5000)
- // }
},
methods: {
nativeShare() {
diff --git a/components/collections/graphql/Collection.vue b/components/collections/graphql/Collection.vue
index b0d3a6db8..47ee4b5b8 100644
--- a/components/collections/graphql/Collection.vue
+++ b/components/collections/graphql/Collection.vue
@@ -9,58 +9,60 @@
@dragleave="dragging = false"
@dragend="dragging = false"
>
-
+
not_interested {{ $t("collection_empty") }}
diff --git a/components/collections/graphql/Folder.vue b/components/collections/graphql/Folder.vue index 9724ee456..4c2176eb2 100644 --- a/components/collections/graphql/Folder.vue +++ b/components/collections/graphql/Folder.vue @@ -20,33 +20,37 @@ check_circle - folder_open {{ folder.name }}+
not_interested {{ $t("folder_empty") }}
diff --git a/components/collections/graphql/ImportExport.vue b/components/collections/graphql/ImportExport.vue index 2e91b07ed..77c8bd1d3 100644 --- a/components/collections/graphql/ImportExport.vue +++ b/components/collections/graphql/ImportExport.vue @@ -8,8 +8,8 @@+
help_outline {{ $t("create_new_collection") }}
@@ -84,7 +85,7 @@+
not_interested {{ $t("nothing_found") }} "{{ filterText }}" diff --git a/components/collections/index.vue b/components/collections/index.vue index a1fbed4e7..9c9471677 100644 --- a/components/collections/index.vue +++ b/components/collections/index.vue @@ -83,7 +83,7 @@ @click.native="displayModalImportExport(true)" /> -
+
help_outline {{ $t("create_new_collection") }}
@@ -123,10 +123,9 @@ -- not_interested {{ $t("nothing_found") }} "{{ - filterText - }}" +
+ not_interested + {{ $t("nothing_found") }} "{{ filterText }}"
diff --git a/components/collections/my/Collection.vue b/components/collections/my/Collection.vue index 3efa9fd30..a1f72e01d 100644 --- a/components/collections/my/Collection.vue +++ b/components/collections/my/Collection.vue @@ -9,47 +9,47 @@ @dragleave="dragging = false" @dragend="dragging = false" > -+
not_interested {{ $t("collection_empty") }}
diff --git a/components/collections/my/Folder.vue b/components/collections/my/Folder.vue index ba43e9868..0748ee708 100644 --- a/components/collections/my/Folder.vue +++ b/components/collections/my/Folder.vue @@ -10,7 +10,10 @@ @dragend="dragging = false" >+
not_interested {{ $t("folder_empty") }}
diff --git a/components/collections/my/Request.vue b/components/collections/my/Request.vue index 9bb5e8acf..8ab4a1c52 100644 --- a/components/collections/my/Request.vue +++ b/components/collections/my/Request.vue @@ -23,11 +23,16 @@+
not_interested {{ $t("collection_empty") }}
diff --git a/components/collections/teams/Folder.vue b/components/collections/teams/Folder.vue index 963924b6a..3d3d07036 100644 --- a/components/collections/teams/Folder.vue +++ b/components/collections/teams/Folder.vue @@ -2,20 +2,20 @@+
not_interested {{ $t("folder_empty") }}
diff --git a/components/collections/teams/Request.vue b/components/collections/teams/Request.vue index 187b6c862..8da2a2fc3 100644 --- a/components/collections/teams/Request.vue +++ b/components/collections/teams/Request.vue @@ -5,16 +5,15 @@+
help_outline {{ $t("create_new_environment") }}
diff --git a/components/graphql/TypeLink.vue b/components/graphql/TypeLink.vue index beae53afe..18b141b08 100644 --- a/components/graphql/TypeLink.vue +++ b/components/graphql/TypeLink.vue @@ -2,7 +2,7 @@ {{ typeString }} diff --git a/components/history/graphql/Card.vue b/components/history/graphql/Card.vue index 34f0d5516..a5223d8df 100644 --- a/components/history/graphql/Card.vue +++ b/components/history/graphql/Card.vue @@ -10,7 +10,7 @@ :value="entry.url" :placeholder="$t('empty_req_name')" class="input cursor-pointer text-sm bg-transparent" - @click.native="$emit('use-entry')" + @click="$emit('use-entry')" />+
{{ $t("nothing_found") }} "{{ filterText }}"
-+
schedule {{ $t("history_empty") }}
+
help_outline {{ $t("are_you_sure") }}