From ba69bd4c82e9f256eed409b05d99f347c44d19cb Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 4 Aug 2015 07:06:42 -0400 Subject: [PATCH] (css) Improve color picker inside md-avatar --- .../scss/components/button/button.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/UI/WebServerResources/scss/components/button/button.scss b/UI/WebServerResources/scss/components/button/button.scss index 0ca7f52cf..40628484d 100644 --- a/UI/WebServerResources/scss/components/button/button.scss +++ b/UI/WebServerResources/scss/components/button/button.scss @@ -52,9 +52,10 @@ $button-fab-width: 56px; $button-fab-height: 56px; a.md-button.sg-icon-button, -.md-button.sg-icon-button { +.md-button.sg-icon-button, +md-list md-list-item button.md-button.sg-icon-button { z-index: 1; - line-height: inherit; + //line-height: inherit; border-radius: 50%; min-width: $iconButton-size; transition: $iconButton-transition; @@ -68,6 +69,14 @@ a.md-button.sg-icon-button, } } +// Center icon button inside md-avatar +.md-avatar { + .sg-icon-button { + margin-top: 1px; + margin-left: 2px; + } +} + // md-toolbar .md-toolbar-tools:first-of-type .iconButton, // md-toolbar .md-toolbar-tools:first-child .iconButton, // md-toolbar .md-toolbar-tools.md-toolbar-tools-top .iconButton,