From ebd07694db16fa50f710ad4fb06e137474b3398b Mon Sep 17 00:00:00 2001 From: sota1235 Date: Fri, 30 Dec 2016 14:10:36 +0900 Subject: [PATCH] add: common style for config tabs --- browser/main/modals/PreferencesModal/StoragesTab.styl | 6 ++---- browser/main/modals/PreferencesModal/Tab.styl | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 browser/main/modals/PreferencesModal/Tab.styl diff --git a/browser/main/modals/PreferencesModal/StoragesTab.styl b/browser/main/modals/PreferencesModal/StoragesTab.styl index 8e6096fe..6407ea58 100644 --- a/browser/main/modals/PreferencesModal/StoragesTab.styl +++ b/browser/main/modals/PreferencesModal/StoragesTab.styl @@ -1,11 +1,9 @@ +@import('./Tab') + .root padding 15px color $ui-text-color -.header - font-size 24px - margin-bottom 20px - .list margin-bottom 15px font-size 14px diff --git a/browser/main/modals/PreferencesModal/Tab.styl b/browser/main/modals/PreferencesModal/Tab.styl new file mode 100644 index 00000000..9ff86448 --- /dev/null +++ b/browser/main/modals/PreferencesModal/Tab.styl @@ -0,0 +1,7 @@ +/** + * Common style for tabs on config modal. + */ + +.header + font-size 24px + margin-bottom 20px