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