Refactored SpeedDial
parent
9734973a78
commit
b194e20290
|
@ -17,7 +17,7 @@ const classes = {
|
|||
`p-speeddial p-component p-speeddial-${props.type}`,
|
||||
{
|
||||
[`p-speeddial-direction-${props.direction}`]: props.type !== 'circle',
|
||||
'p-speeddial-opened': instance.d_visible,
|
||||
'p-speeddial-open': instance.d_visible,
|
||||
'p-disabled': props.disabled
|
||||
}
|
||||
],
|
||||
|
|
|
@ -89,16 +89,16 @@ export default {
|
|||
transition: opacity 150ms;
|
||||
}
|
||||
|
||||
.p-speeddial-opened .p-speeddial-list {
|
||||
.p-speeddial-open .p-speeddial-list {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.p-speeddial-opened .p-speeddial-item {
|
||||
.p-speeddial-open .p-speeddial-item {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.p-speeddial-opened .p-speeddial-rotate {
|
||||
.p-speeddial-open .p-speeddial-rotate {
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue