From 1125333006371cbcfd2d9a85e69b26a041bf5cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arno=20Rold=C3=A3o=20Junior?= Date: Thu, 19 Mar 2015 15:56:31 -0300 Subject: [PATCH] Adjusting the icons that were misaligned. and creating features to position the left and right MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By default the icons are implemented the left but if do need to use right, add (.icon-right) Issue: need to document! ---- Ajustando os icones que ficaram desalinhados. e criando as funcionalidades de posicionar a esquerda e direita Por padrão os icones são implementados a esquerda porém caso se faça necessário utilizar direita, acrescente (.icon-right) Issue: precisamos documentar! --- less/_icons.less | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/less/_icons.less b/less/_icons.less index 7a9cd02f..f78130d3 100644 --- a/less/_icons.less +++ b/less/_icons.less @@ -3,3 +3,21 @@ line-height: inherit; vertical-align: bottom; } + +.btn:not(.btn-fab) { + [class^=mdi-], + [class*=mdi-] { + position: relative; + float: left; + top: 50%; + margin-right: 5px; + margin-left: -12px; + margin-top: -3px; + + &.icon-right{ + float: right; + margin-right: -12px; + margin-left: 5px; + } + } +}