Next / Previous / Contents / TCC Help System / NM Tech homepage

13.4. CSS constants

Constants in this section are used to link the rendered pages with the CSS-2 stylesheet. Each constant is built by using the CLASS function from the etbuilder module so that it can be included in argument lists to the E element factory to tag that element with the corresponding CSS class.

13.4.1. CLASS_PRI_DIV

CSS class of the div that encloses a primary index entry.

cbchistlib.py
CLASS_PRI_DIV = CLASS('pri-div')

13.4.2. CLASS_PRI_NAME

CSS class for the span that encloses the circle name in a primary index entry.

cbchistlib.py
CLASS_PRI_NAME = CLASS('pri-name')

13.4.3. CLASS_LAT_LON

CSS class for the span that encloses the latitude and longitude coordinates.

cbchistlib.py
CLASS_LAT_LON = CLASS('lat-lon')

13.4.4. CLASS_YEAR_LIST

CSS class for the span that encloses the list of years worked.

cbchistlib.py
CLASS_YEAR_LIST = CLASS('year-list')

13.4.5. CLASS_AS_DIV

CSS class for the div that encloses an “As” line in a primary index entry.

cbchistlib.py
CLASS_AS_DIV = CLASS('as-div')

13.4.6. CLASS_SEC_DIV

CSS class for the div that encloses an secondary index entry.

cbchistlib.py
CLASS_SEC_DIV = CLASS('sec-div')

13.4.7. CLASS_SEC_NAME

CSS class for the span that encloses the name in a secondary entry.

cbchistlib.py
CLASS_SEC_NAME = CLASS('sec-name')

13.4.8. CLASS_CENSUS_TABLE

CSS class for the census table element.

cbchistlib.py
CLASS_CENSUS_TABLE = CLASS('tb')

13.4.9. CLASS_COLUMN_LABEL

CSS class for column labels in the key row.

cbchistlib.py
CLASS_COLUMN_LABEL = CLASS('col')

13.4.10. CLASS_HEAD_ROW_LABEL

CSS class for the row label in one of the heading rows.

cbchistlib.py
CLASS_HEAD_ROW_LABEL = CLASS('hrl')

13.4.11. CLASS_CENSUS_ROW_LABEL

CSS class for the row label in one of the body rows.

cbchistlib.py
CLASS_CENSUS_ROW_LABEL = CLASS('crl')

13.4.12. CLASS_PH_CELL

CSS class for the cells of the party-hours heading row.

cbchistlib.py
CLASS_PH_CELL = CLASS('phc')

13.4.13. CLASS_STAT_CELL

CSS class for cells containing statistics.

cbchistlib.py
CLASS_STAT_CELL = CLASS('stat')

13.4.14. CLASS_SPACER_CELL

CSS class for cells with nothing in them.

cbchistlib.py
CLASS_SPACER_CELL = CLASS('sp')

13.4.15. CLASS_CENSUS_CELL

CSS class for cells containing numbers of individuals.

cbchistlib.py
CLASS_CENSUS_CELL = CLASS('cc')

13.4.16. CLASS_FIRST

CSS class for an extra-thick top border for the first physical row of a logical row.

cbchistlib.py
CLASS_FIRST = CLASS('c1')

13.4.17. CLASS_LEFTER

CSS class to thicken the border on the left side of a table cell.

cbchistlib.py
CLASS_LEFTER = CLASS('cl')

13.4.18. CLASS_TOPPER

CSS class to thicken the top border of a table cell.

cbchistlib.py
CLASS_TOPPER = CLASS('ct')