diff --git a/assets/images/sidebar/admin.svg b/assets/images/sidebar/admin.svg index afeab20bb..dfdc6cb4b 100644 --- a/assets/images/sidebar/admin.svg +++ b/assets/images/sidebar/admin.svg @@ -1,10 +1,3 @@ - - - - - - - - - \ No newline at end of file + + + diff --git a/assets/images/utils/check-circle.svg b/assets/images/utils/check-circle.svg new file mode 100644 index 000000000..f6e6b1752 --- /dev/null +++ b/assets/images/utils/check-circle.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/assets/images/utils/clear.svg b/assets/images/utils/clear.svg new file mode 100644 index 000000000..144ce2439 --- /dev/null +++ b/assets/images/utils/clear.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/assets/styles/components.scss b/assets/styles/components.scss index 2eb24011f..b9890ce05 100644 --- a/assets/styles/components.scss +++ b/assets/styles/components.scss @@ -454,6 +454,15 @@ border-top-right-radius: var(--size-rounded-card) !important; } +.known-error .multiselect__tags { + border-color: var(--color-badge-red-bg) !important; + background-color: var(--color-warning-bg) !important; + + &::placeholder { + color: var(--color-warning-text); + } +} + .multiselect { color: var(--color-text) !important; @@ -554,6 +563,7 @@ label { @media screen and (min-width: 1024px) { flex-direction: row; + align-items: center; } span { @@ -814,6 +824,26 @@ label { } } +.vue-notification { + background: #44A4FC; + border-left: 5px solid #44A4FC; + + &.success { + background: #68CD86; + border-left-color: #68CD86; + } + + &.warn { + background: #ffb648; + border-left-color: #ffb648; + } + + &.error { + background: #E54D42; + border-left-color: #E54D42; + } +} + .vue-notification-group { right: 25px !important; @@ -839,3 +869,17 @@ label { height: 1px; margin: var(--spacing-card-bg) 0; } + +input.known-error, +textarea.known-error { + border-color: var(--color-badge-red-bg) !important; + background-color: var(--color-warning-bg) !important; + + &::placeholder { + color: var(--color-warning-text); + } +} + +.known-errors { + color: var(--color-badge-red-bg); +} diff --git a/assets/styles/global.scss b/assets/styles/global.scss index ab8beb6ff..28293c4f1 100644 --- a/assets/styles/global.scss +++ b/assets/styles/global.scss @@ -247,7 +247,7 @@ h2 { h3 { margin-top: 0.5rem; - margin-bottom: 0; + margin-bottom: 0.25rem; color: var(--color-text-dark); } @@ -258,6 +258,7 @@ button { input { border-radius: 2rem; + box-sizing: border-box; } pre { diff --git a/components/ui/FileInput.vue b/components/ui/FileInput.vue deleted file mode 100644 index b864221a9..000000000 --- a/components/ui/FileInput.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - - diff --git a/components/ui/SmartFileInput.vue b/components/ui/SmartFileInput.vue index 6bf0f21db..7a1805013 100644 --- a/components/ui/SmartFileInput.vue +++ b/components/ui/SmartFileInput.vue @@ -2,7 +2,7 @@
@@ -69,14 +68,14 @@ diff --git a/nuxt.config.js b/nuxt.config.js index 616cc4044..9fcbf7fc5 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -271,7 +271,7 @@ export default { breaks: false, }, loading: { - color: 'green', + color: '#1bd96a', height: '2px', }, env: { diff --git a/pages/_type/_id.vue b/pages/_type/_id.vue index 99361d438..953f45fdc 100644 --- a/pages/_type/_id.vue +++ b/pages/_type/_id.vue @@ -139,8 +139,11 @@
+
+
+ +
+

+ Do not resubmit for review until you've addressed the moderator + message! +