From 14cf2a460c35ead7440ced8d1b0677d880d9a56b Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sat, 13 Jun 2020 00:09:52 +0300 Subject: [PATCH] Update 401 Error Page --- src/lang/en.js | 6 +++ src/styles/index.scss | 37 ++++---------- src/views/errorPage/401.vue | 96 ++++++++++++------------------------- 3 files changed, 45 insertions(+), 94 deletions(-) diff --git a/src/lang/en.js b/src/lang/en.js index 9be8fe96..f73fe226 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -73,6 +73,12 @@ export default { mediaProxyCache: 'MediaProxy Cache', 'emoji-packs': 'Emoji packs' }, + errLog: { + error401: 'Oops! 401 Error', + unauth: 'Unauthorized', + back: 'Back', + login: 'Login' + }, navbar: { logOut: 'Log Out', dashboard: 'Dashboard', diff --git a/src/styles/index.scss b/src/styles/index.scss index b35df6ad..5a906d5b 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -22,8 +22,16 @@ label { html { height: 100%; box-sizing: border-box; + font-size: 62.5%; } +h1 { + font-size: 3.2em; +} + +h2 { + font-size: 2.4em; +} #app { height: 100%; } @@ -171,32 +179,3 @@ code { background: #d0d0d0; } } - -.link-type, -.link-type:focus { - color: #337ab7; - cursor: pointer; - - &:hover { - color: rgb(32, 160, 255); - } -} - -.filter-container { - padding-bottom: 10px; - - .filter-item { - display: inline-block; - vertical-align: middle; - margin-bottom: 10px; - } -} - -//refine vue-multiselect plugin -.multiselect { - line-height: 16px; -} - -.multiselect--active { - z-index: 1000 !important; -} diff --git a/src/views/errorPage/401.vue b/src/views/errorPage/401.vue index 2901c942..f57cae67 100644 --- a/src/views/errorPage/401.vue +++ b/src/views/errorPage/401.vue @@ -1,91 +1,57 @@