Difference between revisions of "Styling cheatsheet"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 34: Line 34:


!class
!class
!id
!content
!content
!id
|-
|-


|PAGE_[field PageID]
|PAGE_[field PageID]
|
|Container for a single field
|Container for a single field
|
|-
|-


|FieldLabel
|FieldLabel
|NB_[system fieldname]
|Label for field
|Label for field
|NB_[system fieldname]
|-
|-


|FieldValue
|FieldValue
|VB_[system fieldname]
|Value of field / Input for field
|Value of field / Input for field
|VB_[system fieldname]
|-
|-



Revision as of 10:37, 6 March 2013

Shared page styling

All pages are structured in the following CSS class structure

  • TempusServaPage (root)
    • menuList
      • menuItem
    • [tableForm|tableList|tableMaster] (content type)
      • ...

Content can easily be wrapped around the "TempusServaPage" by use of wrappers

Command bases styling

Menu mode

Simple / Standard

Advanced / Accordion

List mode

Item mode

...

  • tableForm
    • tbody [repeat]
      • fieldLabel
      • fieldValue
      • fieldNotes


class id content
PAGE_[field PageID] Container for a single field
FieldLabel NB_[system fieldname] Label for field
FieldValue VB_[system fieldname] Value of field / Input for field

Other element styling