From 77afa027fe6ca9f9fadbdd2fb74d2f0f6273a4b8 Mon Sep 17 00:00:00 2001 From: Sean Li Date: Wed, 10 Jun 2015 17:53:09 -0700 Subject: [PATCH] Better button style. --- styles/left-panel.less | 2 +- styles/theme.less | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/styles/left-panel.less b/styles/left-panel.less index f63d18d835..3245ad5b17 100644 --- a/styles/left-panel.less +++ b/styles/left-panel.less @@ -30,7 +30,7 @@ display: flex; flex: 1 auto; justify-content: flex-end; - margin: 0.8rem 1rem 0 0; + margin: 0.8rem 0.8rem 0 0; a { display: block; text-decoration: none; diff --git a/styles/theme.less b/styles/theme.less index 18c7aa3bb9..e807ab8d7b 100644 --- a/styles/theme.less +++ b/styles/theme.less @@ -6,7 +6,7 @@ @import "bootstrap/mixins.less"; h2 { - font-size: 18px; + font-size: 16px; color: @gray-normal; } @@ -74,7 +74,7 @@ input[type="text"] { font-weight: 500; &:hover { - background-color: fade(@btn-color, 3%); + background-color: fade(@btn-color, 2%); border-color: darken(@btn-color, 5%); color: darken(@btn-color, 5%); cursor: default; @@ -88,9 +88,9 @@ input[type="text"] { } &:active { - background-color: fade(@btn-color, 5%); + background-color: fade(@btn-color, 3%); border-color: darken(@btn-color, 5%); - box-shadow: 0 0 0 3px fade(@btn-color, 25%); + box-shadow: 0 0 15px fade(@btn-color, 25%); } &:disabled, @@ -129,7 +129,7 @@ input[type="text"] { &:active { background-color: darken(@btn-color, 5%); - box-shadow: 0 0 0 3px fade(@btn-color, 25%); + box-shadow: 0 0 15px fade(@btn-color, 25%); } &:disabled, @@ -174,7 +174,7 @@ input[type="text"] { text-shadow: none; cursor: default; font-size: 12px; - padding: 0.4rem 1rem; + padding: 0.5rem 1rem; text-transform: uppercase; &.has-icon {