From a6f5452a8516813fdd9f4659abae0b0bf12ea09f Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Thu, 13 Apr 2017 20:45:26 +0900 Subject: [PATCH] Change the button color at setting modal --- browser/main/modals/PreferencesModal/ConfigTab.styl | 12 ++++++------ .../main/modals/PreferencesModal/StoragesTab.styl | 2 +- browser/main/modals/PreferencesModal/UiTab.js | 2 +- browser/styles/index.styl | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/browser/main/modals/PreferencesModal/ConfigTab.styl b/browser/main/modals/PreferencesModal/ConfigTab.styl index 896b06ed..c964d9bc 100644 --- a/browser/main/modals/PreferencesModal/ConfigTab.styl +++ b/browser/main/modals/PreferencesModal/ConfigTab.styl @@ -38,7 +38,7 @@ width 400px font-size $tab--button-font-size border solid 1px $border-color - border-radius $tab--input-border-radius + border-radius 2px padding 0 5px &:disabled background-color $ui-input--disabled-backgroundColor @@ -64,7 +64,7 @@ .group-control-leftButton colorDefaultButton() border none - border-radius 5px + border-radius 2px font-size $tab--button-font-size height $tab--button-height padding 0 15px @@ -74,17 +74,17 @@ float right colorPrimaryButton() border none - border-radius $tab--button-border-radius + border-radius 2px font-size $tab--button-font-size - height $tab--button-height - padding 0 15px + height 35px + width 100px margin-right 10px .group-hint border $ui-border padding 10px 15px margin 15px 0 - border-radius 5px + border-radius 2px background-color $ui-backgroundColor color $ui-inactive-text-color ul diff --git a/browser/main/modals/PreferencesModal/StoragesTab.styl b/browser/main/modals/PreferencesModal/StoragesTab.styl index e5e32645..966a8eab 100644 --- a/browser/main/modals/PreferencesModal/StoragesTab.styl +++ b/browser/main/modals/PreferencesModal/StoragesTab.styl @@ -36,7 +36,7 @@ border $ui-border colorDefaultButton() font-size $tab--button-font-size - border-radius $tab--button-border-radius + border-radius 2px .addStorage margin-bottom 15px diff --git a/browser/main/modals/PreferencesModal/UiTab.js b/browser/main/modals/PreferencesModal/UiTab.js index 47903f87..f49912d3 100644 --- a/browser/main/modals/PreferencesModal/UiTab.js +++ b/browser/main/modals/PreferencesModal/UiTab.js @@ -253,7 +253,7 @@ class UiTab extends React.Component { diff --git a/browser/styles/index.styl b/browser/styles/index.styl index e96dbabf..9e607269 100644 --- a/browser/styles/index.styl +++ b/browser/styles/index.styl @@ -83,13 +83,13 @@ $primary-button-background--hover = darken($brand-color, 5%) $primary-button-background--active = darken($brand-color, 10%) colorPrimaryButton() - color white - background-color $primary-button-background + color $ui-text-color + background-color $default-button-background--hover &:hover - background-color $primary-button-background--hover + background-color $default-button-background--active &:active &:active:hover - background-color $primary-button-background--active + background-color $default-button-background--active // Dark Primary button(Brand color) $dark-primary-button-background = alpha(#3A404C, 80%)