.bar.button-icon alignment updates

This commit is contained in:
Adam Bradley
2013-11-29 22:00:11 -06:00
parent 1a2e4f9609
commit 67bb666e91
2 changed files with 16 additions and 2 deletions

4
dist/css/ionic.css vendored
View File

@@ -2793,11 +2793,13 @@ a.subdued {
height: 32px;
font-size: 12px;
line-height: 30px; }
.bar .button .icon {
.bar .button .icon, .bar .button.icon:before, .bar .button.icon-left:before, .bar .button.icon-right:before {
padding-right: 2px;
padding-left: 2px;
font-size: 24px;
line-height: 30px; }
.bar .button.button-icon .icon, .bar .button.button-icon.icon:before, .bar .button.button-icon.icon-left:before, .bar .button.button-icon.icon-right:before {
line-height: 32px; }
.bar .button-bar > .button, .bar .buttons > .button {
min-height: 31px;
height: 32px;

View File

@@ -125,12 +125,24 @@
font-size: $button-bar-button-font-size;
line-height: $button-bar-button-height - $button-border-width - 1;
.icon {
.icon,
&.icon:before,
&.icon-left:before,
&.icon-right:before {
padding-right: 2px;
padding-left: 2px;
font-size: $button-bar-button-icon-size;
line-height: $button-bar-button-height - $button-border-width - 1;
}
&.button-icon {
.icon,
&.icon:before,
&.icon-left:before,
&.icon-right:before {
line-height: $button-bar-button-height;
}
}
}
.button-bar > .button, .buttons > .button {