diff --git a/README.md b/README.md index aec34abf6..bf40f9179 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ _HTML responses have "Preview HTML" feature_ _History entries can be sorted by any fields_ -_Histories can deleted one-by-one or all together_ +_Histories can be deleted one-by-one or all together_ 📁 **Collections**: Keep your API requests organized with collections and folders. Reuse them with a single click. diff --git a/assets/css/styles.scss b/assets/css/styles.scss index e8d1aae90..38580a8a4 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -71,7 +71,7 @@ a { header, footer { - & > div { + &>div { display: flex; padding: 16px; width: 100%; @@ -497,8 +497,9 @@ pre { resize: vertical; text-overflow: ellipsis; - &:not([readonly]):hover { - background-color: var(--bg-dark-color); + &:not([readonly]):active, + &:not([readonly]):focus { + box-shadow: inset 0 0 0 2px var(--fg-light-color); } } @@ -528,7 +529,7 @@ input[type="checkbox"] { display: none; &, - & + label { + &+label { vertical-align: middle; cursor: pointer; @@ -547,7 +548,7 @@ input[type="checkbox"] { } } - &:checked + label:before { + &:checked+label:before { background-color: var(--ac-color); border-color: var(--ac-color); color: var(--act-color); @@ -732,7 +733,7 @@ div.tab { display: none; } -input[type="radio"] + label { +input[type="radio"]+label { padding: 8px 16px; border-bottom: 2px solid transparent; cursor: pointer; @@ -743,11 +744,11 @@ input[type="radio"] + label { } } -input[type="radio"]:checked + label { +input[type="radio"]:checked+label { border-color: var(--fg-color); } -input[type="radio"]:checked + label + div.tab { +input[type="radio"]:checked+label+div.tab { display: block; } diff --git a/components/collections/index.vue b/components/collections/index.vue index 33a208477..17931195e 100644 --- a/components/collections/index.vue +++ b/components/collections/index.vue @@ -51,7 +51,11 @@ TODO: import_export Import / Export - + diff --git a/pages/index.vue b/pages/index.vue index ce3036d86..eb109ab70 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -300,9 +300,9 @@ @click="copyRequestCode" id="copyRequestCode" ref="copyRequestCode" + v-tooltip="'Copy code'" > file_copy - Copy @@ -1510,17 +1510,14 @@ export default { } }, copyRequestCode() { - this.$refs.copyRequestCode.innerHTML = - this.doneButton + "Copied"; + this.$refs.copyRequestCode.innerHTML = this.doneButton; this.$toast.success("Copied to clipboard", { icon: "done" }); this.$refs.generatedCode.select(); document.execCommand("copy"); setTimeout( - () => - (this.$refs.copyRequestCode.innerHTML = - this.copyButton + "Copy"), + () => (this.$refs.copyRequestCode.innerHTML = this.copyButton), 1000 ); },