From f675816de2c74e7577e774cd2761e91b6810c754 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Wed, 28 Oct 2015 12:42:07 +0100 Subject: [PATCH] Improves styles for language select --- app/assets/stylesheets/layout.scss | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 086dc92d7..291faf49d 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -687,6 +687,7 @@ header { line-height: $line-height*3; margin-left: rem-calc(12); margin-right: rem-calc(36); + margin-right: 12px\9; } &:after { @@ -898,6 +899,13 @@ form.locale-form { select { background-image: image-url("language_select.png"); + option { + background: white; + color: $text; + border: 0; + outline: none; + } + &.locale-switcher { background-color: transparent; border: 0; @@ -916,6 +924,19 @@ form { line-height: $line-height; } + input, textarea { + height: 48px\9; + line-height: 48px\9; + margin-bottom: 24px\9; + width: 100%\9; + } + + input[type="checkbox"] { + height: auto\9; + line-height: inherit\9; + width: auto\9; + } + input[type]:not([type=submit]):not([type=file]):not([type=checkbox]) { background: $input-bg; height: rem-calc(48);