update .button-icon padding, closes #106

This commit is contained in:
Adam Bradley
2013-11-15 22:07:29 -06:00
parent 6284900d50
commit bfbb61e22a
3 changed files with 19 additions and 21 deletions

17
dist/css/ionic.css vendored
View File

@ -4614,8 +4614,15 @@ input[type="range"] {
padding-bottom: 2px; }
.button-icon {
padding: 2px 4px;
padding: 0 6px;
min-width: initial;
background: none;
border: none;
background: none; }
.button-icon:active, .button-icon.active {
background: none;
box-shadow: none;
text-shadow: 0px 0px 10px white; }
.button-icon .icon {
font-size: 32px; }
@ -4648,14 +4655,6 @@ input[type="range"] {
color: #fff;
box-shadow: none; }
.button-icon {
border: none;
background: none; }
.button-icon:active, .button-icon.active {
background: none;
box-shadow: none;
text-shadow: 0px 0px 10px white; }
.padding > .button.button-block:first-child {
margin-top: 0; }

View File

@ -126,8 +126,17 @@
}
.button-icon {
padding: 2px 4px;
padding: 0 6px;
min-width: initial;
background: none;
border: none;
background: none;
&:active, &.active {
background: none;
box-shadow: none;
text-shadow: 0px 0px 10px #fff;
}
.icon {
font-size: $button-large-icon-size;
@ -155,17 +164,6 @@
box-shadow: none;
}
.button-icon {
border: none;
background: none;
&:active, &.active {
background: none;
box-shadow: none;
text-shadow: 0px 0px 10px #fff;
}
}
.padding > .button.button-block:first-child {
margin-top: 0;
}

View File

@ -191,6 +191,7 @@
<h3>a.button-icon (Borderless, 32px)</h3>
<p>
<a class="button button-icon"><i class="icon ion-home"></i></a>
<a class="button button-clear button-dark">.button-clear Next .button-icon</i></a>
</p>
<hr>