mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
refactor(reorder): fix the styles on reorder for all modes
This commit is contained in:
@ -67,14 +67,6 @@
|
||||
min-width: 1em;
|
||||
}
|
||||
|
||||
.item-ios .reorder-icon {
|
||||
font-size: 2em;
|
||||
|
||||
opacity: .4;
|
||||
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.reorder[slot="start"] .reorder-icon {
|
||||
@include transform(translate3d(-$reorder-initial-transform, 0, 0));
|
||||
}
|
||||
@ -82,3 +74,18 @@
|
||||
.reorder-visible .reorder .reorder-icon {
|
||||
@include transform(translate3d(0, 0, 0));
|
||||
}
|
||||
|
||||
// Item Reorder
|
||||
// --------------------------------------------------
|
||||
|
||||
.item .reorder[slot] {
|
||||
@include margin(0);
|
||||
}
|
||||
|
||||
.item .reorder-icon {
|
||||
font-size: 2em;
|
||||
|
||||
opacity: .4;
|
||||
|
||||
fill: currentColor;
|
||||
}
|
||||
|
Reference in New Issue
Block a user