Difference between revisions of "Styling cheatsheet"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 33: Line 33:
{|
{|


!type
!class
!class
!id
!id
Line 38: Line 39:
|-
|-


|tbody
|PAGE_[field PageID]
|PAGE_[field PageID]
|
|
Line 43: Line 45:
|-
|-


|div
|FieldLabel
|FieldLabel
|NB_[system fieldname]
|NB_[system fieldname]
Line 48: Line 51:
|-
|-


|div
|FieldValue
|FieldValue
|VB_[system fieldname]
|VB_[system fieldname]

Revision as of 10:38, 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


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

Other element styling