diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 8ceacb2b5..ef24d4e81 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -58,6 +58,7 @@ body { padding: 0; margin: 0; scroll-behavior: smooth; + transition: all 0.2s ease-in-out; } body.afterLoad { @@ -175,6 +176,7 @@ nav.primary-nav { svg { fill: var(--fg-light-color); + transition: all 0.2s ease-in-out; } a { @@ -264,11 +266,16 @@ hr { border-bottom: 1px dashed var(--brd-color); } +p { + transition: all 0.2s ease-in-out; +} + .tooltip { $bgcolor: var(--tt-color); $fgcolor: var(--fg-color); display: block !important; z-index: 10000; + transition: all 0.2s ease-in-out; .tooltip-inner { background: $bgcolor; @@ -472,6 +479,18 @@ fieldset { margin: 16px 0; border-radius: 16px; background-color: var(--bg-dark-color); + transition: all 0.2s ease-in-out; +} + +fieldset:target, +section:target { + animation: highlight 2s ease; +} + +@keyframes highlight { + 50% { + box-shadow: 0 0 0 2px var(--ac-color); + } } legend { @@ -481,6 +500,7 @@ legend { color: var(--fg-color); font-weight: 700; cursor: pointer; + transition: all 0.2s ease-in-out; * { vertical-align: middle; @@ -677,6 +697,7 @@ input[type="checkbox"] { label { padding: 4px; color: var(--fg-light-color); + transition: all 0.2s ease-in-out; } ul, @@ -801,6 +822,7 @@ ol li { section { display: flex; flex-wrap: wrap; + border-radius: 16px; } .tab { diff --git a/components/firebase/login.vue b/components/firebase/login.vue index 0f06d87b2..64581db34 100644 --- a/components/firebase/login.vue +++ b/components/firebase/login.vue @@ -57,9 +57,9 @@ export default { firebase .auth() .signInWithPopup(provider) - .then(res => { - if (res.additionalUserInfo.isNewUser) { - this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { + .then(({ additionalUserInfo }) => { + if (additionalUserInfo.isNewUser) { + this.$toast.info(`${this.$t("turn_on")} ${this.$t("sync")}`, { icon: "sync", duration: null, closeOnSwipe: false, @@ -86,9 +86,9 @@ export default { firebase .auth() .signInWithPopup(provider) - .then(res => { - if (res.additionalUserInfo.isNewUser) { - this.$toast.info(this.$t("turn_on") + " " + this.$t("sync"), { + .then(({ additionalUserInfo }) => { + if (additionalUserInfo.isNewUser) { + this.$toast.info(`${this.$t("turn_on")} ${this.$t("sync")}`, { icon: "sync", duration: null, closeOnSwipe: false, diff --git a/layouts/default.vue b/layouts/default.vue index 2308fe971..58c9284e5 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -247,6 +247,11 @@ brush +
  • + + extensions + +
  • public diff --git a/pages/settings.vue b/pages/settings.vue index aa780be21..345ceea73 100644 --- a/pages/settings.vue +++ b/pages/settings.vue @@ -155,6 +155,7 @@
  • +