mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
fix(buttons): fix activated, position, animation
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
// iOS Toolbar Default Button
|
||||
// --------------------------------------------------
|
||||
|
||||
::slotted(*) .button {
|
||||
::slotted(*) ion-button {
|
||||
--padding-top: 0;
|
||||
--padding-bottom: 0;
|
||||
--padding-start: 5px;
|
||||
@ -29,14 +29,6 @@
|
||||
}
|
||||
|
||||
|
||||
// iOS Toolbar Clear Button
|
||||
// --------------------------------------------------
|
||||
|
||||
::slotted(*) .button-clear.activated {
|
||||
color: $toolbar-ios-button-color;
|
||||
}
|
||||
|
||||
|
||||
// iOS Toolbar Button Solid
|
||||
// --------------------------------------------------
|
||||
|
||||
@ -56,7 +48,6 @@
|
||||
font-size: 24px;
|
||||
|
||||
line-height: .67;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
::slotted(*) ion-icon[slot="end"] {
|
||||
@ -66,7 +57,6 @@
|
||||
font-size: 24px;
|
||||
|
||||
line-height: .67;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
::slotted(*) ion-icon[slot="icon-only"] {
|
||||
@ -76,7 +66,6 @@
|
||||
font-size: 31px;
|
||||
|
||||
line-height: .67;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
// Material Design Toolbar Default Button
|
||||
// --------------------------------------------------
|
||||
|
||||
::slotted(*) .button {
|
||||
::slotted(*) ion-button {
|
||||
--padding-top: 0;
|
||||
--padding-bottom: 0;
|
||||
--padding-start: 8px;
|
||||
@ -70,7 +70,6 @@
|
||||
@include margin-horizontal(null, .3em);
|
||||
|
||||
font-size: 1.4em;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
::slotted(*) ion-icon[slot="end"] {
|
||||
@ -78,7 +77,6 @@
|
||||
@include margin-horizontal(.4em, null);
|
||||
|
||||
font-size: 1.4em;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
::slotted(*) ion-icon[slot="icon-only"] {
|
||||
@ -86,7 +84,6 @@
|
||||
@include margin(0);
|
||||
|
||||
font-size: 1.8em;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
transform: translateZ(0);
|
||||
|
||||
z-index: $z-index-toolbar-buttons;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// Toolbar Buttons
|
||||
@ -26,6 +25,4 @@
|
||||
--box-shadow: none;
|
||||
|
||||
@include margin-horizontal(2px, 2px);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user