.. index:: ! Styling .. _styling: ======= Styling ======= The plugins of this extension render their markup with the class system of the academic extensions and ship no styling for it. The system, the classes of Bootstrap it keeps and how a site package styles the markup are described once, in the chapter `Styling of academic_base `__. This chapter shows how the markup of this extension is built up. The opt-in set `fgtclb/academic-persons-standalone` is the one part of the extension that loads a stylesheet: its page object, meant for an installation without a site package of its own, loads the stylesheet and the script of Bootstrap 5 from jsDelivr and renders the plugins on a plain Bootstrap page. It does not style the markup described here. .. contents:: :local: :depth: 1 .. _styling-outermost-element: The outermost elements ====================== .. list-table:: :header-rows: 1 :widths: 30 35 35 * - Plugin - Content element type - Outermost element * - Profile list - `academicpersons_list` - `academic-persons-list` * - Profile detail - `academicpersons_detail` - `academic-persons-detail` * - Profile list and detail - `academicpersons_listanddetail` - `academic-persons-list`, and `academic-persons-detail` on the detail view * - Profile card - `academicpersons_card` - `academic-persons-card` * - Selected profiles - `academicpersons_selectedprofiles` - `academic-persons-profiles` * - Selected contracts - `academicpersons_selectedcontracts` - `academic-persons-contracts` .. _styling-list: The profile list ================ .. code-block:: html
…
* The filter, the alphabet navigation, the view mode switch and the pagination are each only rendered when the content element configures them. * With a grouping, every group starts with its heading, a :html:`
` around an `ace-title ace-group-header`, followed by the profiles of the group in the view mode of the list. * The pagination entries carry `first`, `previous`, `next` and `last`, the current page `active`, the gaps `disabled`. Unlike the paginations of the job and partner lists, which name their entries `page-item` and `page-link`, the entries here are `ace-list-item` with an `ace-link`, in a :html:`