mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
update .button-icon padding, closes #106
This commit is contained in:
17
dist/css/ionic.css
vendored
17
dist/css/ionic.css
vendored
@ -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; }
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user