From 87fbedb89d2b429f107c292aa308bbd9bd4ab854 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 17 May 2016 15:10:09 -0400 Subject: [PATCH] (css) Improve subheader with icon buttons --- UI/Templates/ContactsUI/UIxContactFoldersView.wox | 6 +++--- UI/Templates/MailerUI/UIxMailMainFrame.wox | 5 +++-- UI/Templates/SchedulerUI/UIxCalMainView.wox | 6 +++--- .../scss/components/subheader/subheader.scss | 9 ++++++--- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/UI/Templates/ContactsUI/UIxContactFoldersView.wox b/UI/Templates/ContactsUI/UIxContactFoldersView.wox index 652d24684..1f1e36cff 100644 --- a/UI/Templates/ContactsUI/UIxContactFoldersView.wox +++ b/UI/Templates/ContactsUI/UIxContactFoldersView.wox @@ -31,7 +31,7 @@ md-colors="::{ backgroundColor: 'default-background-300' }">
-
@@ -113,7 +113,7 @@
-
@@ -174,7 +174,7 @@
- diff --git a/UI/Templates/MailerUI/UIxMailMainFrame.wox b/UI/Templates/MailerUI/UIxMailMainFrame.wox index 459ec7189..e93280e5f 100644 --- a/UI/Templates/MailerUI/UIxMailMainFrame.wox +++ b/UI/Templates/MailerUI/UIxMailMainFrame.wox @@ -38,10 +38,11 @@ md-colors="::{ backgroundColor: 'default-background-300' }">
-
- diff --git a/UI/Templates/SchedulerUI/UIxCalMainView.wox b/UI/Templates/SchedulerUI/UIxCalMainView.wox index 49acdeb25..3dbb5ecd4 100644 --- a/UI/Templates/SchedulerUI/UIxCalMainView.wox +++ b/UI/Templates/SchedulerUI/UIxCalMainView.wox @@ -41,7 +41,7 @@ md-colors="::{ backgroundColor: 'default-background-300' }">
-
@@ -138,7 +138,7 @@
-
@@ -213,7 +213,7 @@
-
diff --git a/UI/WebServerResources/scss/components/subheader/subheader.scss b/UI/WebServerResources/scss/components/subheader/subheader.scss index 904698ee9..f1baa5edf 100644 --- a/UI/WebServerResources/scss/components/subheader/subheader.scss +++ b/UI/WebServerResources/scss/components/subheader/subheader.scss @@ -6,12 +6,15 @@ $sg-subheader-padding-left-right: $baseline-grid; .sg-md-subheader { - &--icon-button ._md-subheader-inner { + &--with-icon ._md-subheader-inner, + &--with-secondary-icon ._md-subheader-inner { line-height: $sg-avatar-width + ($sg-subheader-padding-top-bottom)*2; padding: ($subheader-padding - ($icon-button-height - $subheader-font-size)/2) $baseline-grid; - padding: $sg-subheader-padding-top-bottom $sg-subheader-padding-left-right; + padding: 0; padding-left: $subheader-padding; - padding-right: 0; + } + &--with-icon ._md-subheader-inner { + padding-left: 0; } &--fixed { position: fixed;