From 4e1d3e9fe956f9707ab35b1856ebaef757aa10be Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Fri, 1 Nov 2019 16:45:53 +0530 Subject: [PATCH] :sparkles: Major UI redesign --- README.md | 2 +- assets/css/styles.scss | 42 +---- components/history.vue | 2 +- components/logo.vue | 9 +- components/section.vue | 8 - layouts/default.vue | 343 +++++++++++++++++++++++++++++++---------- pages/index.vue | 18 +-- pages/settings.vue | 7 +- pages/websocket.vue | 6 +- 9 files changed, 295 insertions(+), 142 deletions(-) diff --git a/README.md b/README.md index f312061a5..eb5ff6f5f 100644 --- a/README.md +++ b/README.md @@ -348,7 +348,7 @@ Make your own badge! [![Postwoman](https://img.shields.io/badge/-Postwoman-)](https://postwoman.io) ``` -Replace `` with your custom text and `` with 6 digit color hex code. +Replace `` with your custom text and `` with 6 digit color hex code.
Postwoman.io diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 1792f5a68..ed9aa1af8 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -21,12 +21,13 @@ body.afterLoad { } ::-webkit-scrollbar-thumb { - background-color: rgba(0, 0, 0, 0.3); + background-color: var(--fg-light-color); border-radius: 8px; + border: 2px solid var(--bg-color); } ::-webkit-scrollbar-thumb:hover { - background-color: rgba(0, 0, 0, 0.5); + background-color: var(--fg-color); } ::placeholder { @@ -57,6 +58,8 @@ body { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; + padding: 0; + margin: 0; } h1, @@ -180,31 +183,6 @@ h3.title { margin: 4px; } -header, -footer { - &>div { - display: flex; - padding: 16px; - width: 100%; - align-items: center; - justify-content: space-between; - } -} - -nav { - a:not(:last-of-type) { - margin-right: 15px; - } -} - -body.sticky-footer footer { - opacity: .25; -} - -.logo { - color: var(--ac-color); -} - button { display: inline-flex; align-items: center; @@ -429,16 +407,6 @@ ol li { } @media (max-width: $responsiveWidth) { - header div { - display: flex; - text-align: center; - flex-direction: column; - - nav { - display: inline-flex; - margin-top: 20px; - } - } ul, ol { diff --git a/components/history.vue b/components/history.vue index 9a2dbf439..64f217032 100644 --- a/components/history.vue +++ b/components/history.vue @@ -1,5 +1,5 @@