Breaking: The study plan ships no stylesheet
Description
The study plan content element no longer brings a stylesheet. The file
EXT:
and its source are removed, and the template of the element registers no
stylesheet any more. The markup carries the classes and data attributes
Templates documents, and the site package styles it.
The setting that switched the stylesheet off is removed with it. The development versions of 3.0 introduced it, no release of version 2 has it:
- the site setting
plugin.of the settx_ academicstudyplan. assets. css fgtclb/,academic- study- plan- content- element - the TypoScript constant of the same name, and
- the key
settings.of the content objectassets. css tt_.content. academic_ study_ plan
The switch of the script,
plugin., stays.
The rules the extension shipped are kept as an example in the mono repository the extension is developed in: the stylesheet of its development instances, _academic-study-plan.scss of EXT:academics_dev_site, which is never shipped with an extension.
Impact
A page with a study plan renders the element without any styling of its own. Beyond its appearance, three parts of the element depend on rules of a stylesheet and do not work without them:
- A semester header shows the expand and the collapse glyph at the same time. Which one is hidden depends on the classes the script writes.
- The collapsible filter stays on screen while it is collapsed whenever a
rule of the site gives the filter list a
display, because the browser's own rule for thehiddenattribute loses to it. - The accordion of a narrow viewport and the highlighting of a category have
no visible effect: the script only writes the classes
openandhighlighted.
The shipped icons carry a size of their own, 1em, and stay visible. A
replacement drawing a site package registers without a width and a height of
its own does not: it collapses to nothing unless a rule of the site sizes the
icon, as the example below does with 1..
A site setting
plugin. that is still
present is ignored, and so is the TypoScript constant.
Affected Installations
Every installation that renders the study plan content element and relied on
the stylesheet of the extension, and every installation that set
plugin..
Changelog entries of 3.0 that speak of the stylesheet of the element describe the stylesheet this entry removes. Its rules are the ones of the example above.
Migration
- Style the element in the site package. Copy the rules of the example above into the stylesheet of the site, or the rules of the stylesheet the installation loaded so far, and adapt them to the theme. Keep at least the three parts listed under Impact, and the size of the icons when the site replaces one.
- Remove
plugin.from the site settings, or the constant from the Constants of thetx_ academicstudyplan. assets. css sys_record.template - An overridden
Academicthat registers the removed file withStudy Plan. html <f:drops that line, the file does not exist any more.asset. css>