From aa0564406a95824cc45c815571292716b65806a1 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sat, 31 Mar 2018 21:14:36 +0300 Subject: [PATCH] getting rid of baseXX, some small fixes. Seems to be usable. --- src/App.scss | 79 ++++- src/App.vue | 8 +- src/_variables.scss | 7 +- src/components/attachment/attachment.vue | 176 +++++----- src/components/chat_panel/chat_panel.vue | 4 +- src/components/conversation/conversation.vue | 2 +- .../delete_button/delete_button.vue | 5 +- .../favorite_button/favorite_button.vue | 6 +- .../instance_specific_panel.vue | 2 +- src/components/login_form/login_form.vue | 62 ++-- src/components/media_upload/media_upload.vue | 4 +- src/components/nav_panel/nav_panel.vue | 81 ++--- src/components/notifications/notifications.js | 2 +- .../notifications/notifications.scss | 27 +- .../notifications/notifications.vue | 8 +- .../post_status_form/post_status_form.vue | 259 +++++++------- src/components/registration/registration.vue | 106 +++--- .../retweet_button/retweet_button.vue | 10 +- src/components/settings/settings.vue | 4 +- src/components/status/status.js | 5 - src/components/status/status.vue | 319 +++++++++--------- .../style_switcher/style_switcher.js | 8 +- .../style_switcher/style_switcher.vue | 14 +- src/components/timeline/timeline.vue | 28 +- src/components/user_card/user_card.vue | 34 +- .../user_card_content/user_card_content.js | 4 +- .../user_card_content/user_card_content.vue | 28 +- src/components/user_finder/user_finder.vue | 8 +- src/components/user_panel/user_panel.vue | 10 +- src/components/user_profile/user_profile.vue | 5 +- .../user_settings/user_settings.vue | 36 +- src/services/style_setter/style_setter.js | 46 +-- 32 files changed, 761 insertions(+), 636 deletions(-) diff --git a/src/App.scss b/src/App.scss index 95a653ce..6e0378db 100644 --- a/src/App.scss +++ b/src/App.scss @@ -33,14 +33,18 @@ body { font-family: sans-serif; font-size: 14px; margin: 0; + color: var(--fg); } a { text-decoration: none; + color: var(--link); } button{ user-select: none; + color: var(--faint); + background-color: var(--btn); border: none; border-radius: 5px; cursor: pointer; @@ -50,6 +54,8 @@ button{ font-size: 14px; font-family: sans-serif; + + &:hover { box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.3); } @@ -58,8 +64,72 @@ button{ cursor: not-allowed; opacity: 0.5; } + + &.pressed { + color: var(--faint); + background-color: var(--bg) + } } + +input, textarea, select { + border: none; + border-radius: 5px; + border-bottom: 1px solid rgba(255, 255, 255, 0.2); + border-top: 1px solid rgba(0, 0, 0, 0.2); + box-shadow: 0px 0px 2px black inset; + background-color: var(--lightBg); + color: var(--lightFg); + font-family: sans-serif; + font-size: 14px; + padding: 5px; + + // TODO: Restyle