Refactor Fieldset

pull/5677/head
Cagatay Civici 2024-04-08 18:41:16 +03:00
parent 2702d772f4
commit 3535a22917
2 changed files with 5 additions and 5 deletions

View File

@ -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'
}; };

View File

@ -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')};
} }