CSS Page Classes
The content area of each page in a Pawtucket theme is wrapped in a
tag with the CSS class
pageArea'. This tag is emitted by the page header view (
pageFormat/pageHeader.php). Other classes are added to this
depending upon the page type and context. You can use these classes to tailor your theme stylesheet. Page- and context-specific classes are summarized below.
Literal class names are show as-is. Variable class names are in <brackets>.
Front page
Class |
Notes
|
front |
Front page always has single "front" class.
|
Detail pages
Class |
Notes
|
detail |
All detail pages always have "detail" class.
|
<table> |
Class indicating kind of detail being rendered. Will be one of: ca_objects, ca_entities, ca_places, ca_occurrences, ca_collections.
|
<type> |
Class indicating type of item being rendered in detail. Will be a valid object/entities/place/occurrence/collection type code for your installation. Ex. document
|
<name> |
The name of the detail being rendered, as configured in detail.conf. The value is the unique "name" code configured on the left side of the = in the detailTypes block.
|
Browse pages
Class |
Notes
|
browse |
All browse pages always have "browse" class.
|
<table> |
Class indicating kind of item being browsed. Will be one of: ca_objects, ca_entities, ca_places, ca_occurrences, ca_collections.
|
<name> |
The name of the browse being rendered, as configured in browse.conf. The value is the unique "name" code configured on the left side of the = in the browseTypes block.
|
<view> |
Class indicating the results view type. Will be one of: image, list, timeline, map.
|
Search pages
Class |
Notes
|
search |
All search pages always have "search" class.
|
<table> |
Class indicating kind of item being searched. Will be one of: ca_objects, ca_entities, ca_places, ca_occurrences, ca_collections.
|
<name> |
The name of the search being rendered, as configured in search.conf. The value is the unique "name" code configured on the left side of the = in the searchTypes block.
|
<view> |
Class indicating the results view type. Will be one of: image, list, timeline, map.
|
Multisearch
Class |
Notes
|
multisearch |
All multi search pages always have "multisearch" class.
|
List
Class |
Notes
|
list |
All list pages always have "list" class.
|
Login/registration
Class |
Notes
|
loginreg |
All login and registration pages always have "loginreg" class.
|
sphinx2022