From 8253b6e8a5b8acf7c97abe617c8ebcf2487e0793 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Thu, 28 Feb 2019 23:55:20 +0100 Subject: [PATCH] Fixes for input stylings --- src/options/options.scss | 9 +-------- src/res/css/colors.scss | 3 ++- src/res/css/common.scss | 10 ++++++---- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/options/options.scss b/src/options/options.scss index cfa6132..b5ffb1f 100644 --- a/src/options/options.scss +++ b/src/options/options.scss @@ -96,14 +96,7 @@ body { .dup_keybinds{ background-color: #720 !important; } -input[type=text]{ - font-size: 1em; - padding-left: 0.6em; - margin-left: 1em; - width: 2em; - background-color: #000; - border: 1px #442 solid; -} + .uw_shortcuts_line{ padding-top: 0.25em; padding-left: 5em; diff --git a/src/res/css/colors.scss b/src/res/css/colors.scss index 812d109..7253c3c 100644 --- a/src/res/css/colors.scss +++ b/src/res/css/colors.scss @@ -4,7 +4,8 @@ $text-dark: #666; $primary-color: #fb772a; $secondary-color: #e70c0c; -$input-background: #242424; +$input-background: #141414; +$input-border: #4e3527; $page-background: #101010; $background-primary: #101010; diff --git a/src/res/css/common.scss b/src/res/css/common.scss index 60945c7..8870bef 100644 --- a/src/res/css/common.scss +++ b/src/res/css/common.scss @@ -85,13 +85,15 @@ body { /* INPUT FORMATTING */ -input[type="number"] { - // border: 1px solid #322; - background-color: transparent; +input[type="number"], input[type="text"], input { + outline: none; + background-color: $input-background; + color: $text-normal; padding: 0.1rem; - padding-top: 0.1rem; + padding-top: 0.2rem; padding-bottom: 0.1rem; margin-left: 1rem; + border: 1px solid $input-border; }