Refactor Fieldset
parent
2702d772f4
commit
3535a22917
|
@ -8,9 +8,9 @@ const classes = {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
legend: 'p-fieldset-legend',
|
legend: 'p-fieldset-legend',
|
||||||
legendtitle: 'p-fieldset-legend-text',
|
legendtitle: 'p-fieldset-legend-label',
|
||||||
togglericon: 'p-fieldset-toggler',
|
togglericon: 'p-fieldset-toggle-icon',
|
||||||
toggleablecontent: 'p-toggleable-content',
|
toggleablecontent: 'p-fieldset-content-container',
|
||||||
content: 'p-fieldset-content'
|
content: 'p-fieldset-content'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -48,12 +48,12 @@ export default {
|
||||||
background: ${dt('fieldset.legend.hover.background')};
|
background: ${dt('fieldset.legend.hover.background')};
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-fieldset-toggler {
|
.p-fieldset-toggle-icon {
|
||||||
color: ${dt('fieldset.toggle.icon.color')};
|
color: ${dt('fieldset.toggle.icon.color')};
|
||||||
transition: color ${dt('transition.duration')};
|
transition: color ${dt('transition.duration')};
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-fieldset-toggleable > .p-fieldset-legend > a:hover > .p-fieldset-toggler {
|
.p-fieldset-toggleable > .p-fieldset-legend > a:hover > .p-fieldset-toggle-icon {
|
||||||
color: ${dt('fieldset.toggle.icon.hover.color')};
|
color: ${dt('fieldset.toggle.icon.hover.color')};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue