Changes between Initial Version and Version 1 of CustomStylesheets


Ignore:
Timestamp:
Jun 22, 2006, 2:14:36 PM (15 years ago)
Author:
nick
Comment:

Add information from README.CSS

Legend:

Unmodified
Added
Removed
Modified
  • CustomStylesheets

    v1 v1  
     1'''This page is taken from README.CSS in the distributions. If possible, changes should be made there, and the latest version uploaded'''
     2
     3This document specifies all the classes and IDs you can use to create a
     4stylesheet for OpenGuides.
     5
     6= Classes =
     7
     8a.home_link
     9    Used in: search_results.tt
     10
     11    Purpose: Link to the home page of the site, in the search results page
     12
     13div.edit_page_link
     14    Used in: navbar.tt
     15
     16    Purpose: Link to the edit page function, in the navbar
     17
     18div.navbar_group
     19    Used in: navbar.tt
     20
     21    Purpose: Defines a related set of navigation bar functions
     22
     23div.navbar_group_title
     24    Used in: navbar.tt
     25
     26    Purpose: Titles a related set of navigation bar functions
     27
     28div.navbar_item
     29    Used in: navbar.tt
     30
     31    Purpose: Defines an item in the navigation bar
     32
     33div.warning_text
     34    Used in: edit_conflict.tt
     35
     36    Purpose: Warns the user that there is an edit conflict
     37
     38input.form_button
     39    Used in: differences.tt, edit_form.tt, footer.tt, navbar.tt, newpage.tt, node.tt, preferences.tt, search.tt
     40
     41    Purpose: A standard form button
     42
     43label.hidden
     44    Used in: navbar.tt
     45
     46    Purpose: A label for the search box that will be hidden for users with a CSS-conforming user agent
     47
     48li.categories_list
     49li.locales_list
     50li.telephone
     51li.address
     52li.map
     53li.postcode
     54li.website_link
     55li.opening_hours
     56    Used in: display_metadata.tt
     57
     58    Purpose: List items containing various metadata bits.
     59
     60h2.node_name
     61    Used in: node.tt
     62
     63    Purpose: Displays the node name
     64
     65span.hidden
     66    Used in: navbar.tt
     67
     68    Purpose: Defines content that will be hidden for users with a CSS-conforming user agent
     69
     70span.node_name
     71    Used in: backlink_results.tt delete_confirm.tt delete_done.tt differences.tt node_history.tt
     72
     73    Purpose: Inlines a node name in a snippet of explanatory text, without linking to it.
     74
     75td.label
     76    Used in: edit_conflict.tt, edit_form.tt
     77
     78    Purpose: Defines a label for a field
     79
     80td.recentchanges_comment
     81    Used in: recent_changes.tt
     82
     83    Purpose: The user's comment on a change
     84
     85td.recentchanges_meta
     86    Used in: recent_changes.tt
     87
     88    Purpose: Miscellaneous information about a change
     89
     90td.recentchanges_node_name
     91    Used in: recent_changes.tt
     92
     93    Purpose: Name of a node that was changed
     94
     95td.recentchanges_user
     96    Used in: recent_changes.tt
     97
     98    Purpose: User who made a change
     99
     100div.hit_summary
     101    Used in: search.tt
     102
     103    Purpose: One-line summary of individual search result.
     104
     105= IDs =
     106       
     107div#banner
     108    Used in: banner.tt
     109
     110    Purpose: The site banner/title
     111
     112div#content
     113div#maincontent
     114    Used in: backlink_results.tt, delete_confirm.tt, delete_done.tt, delete_password_wrong.tt, edit_conflict.tt, edit_form.tt, home_node.tt, newpage.tt, node.tt, preferences.tt, recent_changes.tt, search_results.tt, site_index.tt, search.tt, userstats.tt, wanted_pages.tt
     115
     116    Purpose: Defines the main textual content of the page content includes the navbar and footer; maincontent does not
     117
     118div#coordinates
     119    Used in: node.tt
     120
     121    Purpose: The physical coordinates of the node
     122
     123div#find_within_distance
     124    Used in: node.tt
     125
     126    Purpose: A section of the node display that allows the user to search for other nodes close by
     127
     128div#footer
     129    Used in: footer.tt
     130
     131    Purpose: The bottom portion of the page
     132
     133div#header
     134    Used in: search_results.tt
     135
     136    Purpose: The first part of the page, containing the site name
     137
     138div#metadata
     139    Used in: display_metadata.tt
     140
     141    Purpose: The section of the node display with a list of metadata
     142
     143div#navbar
     144    Used in: navbar.tt
     145
     146    Purpose: The navigation bar
     147
     148div#rdf_link
     149    Used in: node.tt
     150
     151    Purpose: Link to an RDF version of the node
     152
     153div#recent
     154    Used in: home_node.tt
     155
     156    Purpose: Recent changes summary box on the home node
     157
     158div#search_form
     159    Used in: footer.tt
     160
     161    Purpose: The search form at the bottom of the page
     162
     163div#version
     164    Used it: node.tt
     165
     166    Purpose: Text describing the version of the node being displayed
     167
     168input#address
     169    Used in: edit_conflict.tt, edit_form.tt
     170
     171    Purpose: An input field for the address of the node
     172
     173input#comment
     174    Used in: openguides_information_boxes.tt
     175
     176    Purpose: An input field for the comment about the change made
     177
     178input#fax
     179    Used in: edit_conflict.tt, edit_form.tt
     180
     181    Purpose: An input field for the fax number of the node
     182
     183input#geocache
     184    Used in: preferences.tt
     185
     186    Purpose: An input field for the preference of whether to display geocache links
     187
     188input#go
     189    Used in: footer.tt, newpage.tt
     190
     191    Purpose: A standard button
     192
     193input#hours
     194    Used in: edit_conflit.tt, edit_form.tt
     195
     196    Purpose: An input field for the opening hours of a node
     197   
     198input#latlong
     199    Used in: preferences.tt
     200
     201    Purpose: An input field for the display preferences of latitude and longitude
     202
     203input#map_link
     204    Used in: edit_conflict.tt, edit_form.tt
     205
     206    Purpose: An input field for the map link of the node
     207
     208input#nav_search
     209    Used in: navbar.tt
     210
     211    Purpose: The search input portion of the navigation bar
     212
     213input#omit_help
     214    Used in: preferences.tt
     215
     216    Purpose: An input field for the preference of whether to include help links
     217
     218input#os_x
     219    Used in: edit_conflict.tt, edit_form.tt
     220
     221    Purpose: An input field for the OS X coordinate of the node
     222
     223input#os_y
     224    Used in: edit_conflict.tt, edit_form.tt
     225
     226    Purpose: An input field for the OS Y coordinate of the node
     227
     228input#pagename
     229    Used in: newpage.tt
     230
     231    Purpose: An input field for choosing the name of a new page
     232
     233input#phone
     234    Used in: edit_conflict.tt, edit_form.tt
     235
     236    Purpose: An input field for the telephone number of the node
     237
     238input#postcode
     239    Used in: edit_conflict.tt, edit_form.tt
     240
     241    Purpose: An input field for the postcode of the node
     242       
     243input#preview_above
     244    Used in: preferences.tt
     245
     246    Purpose: An input field for the preference of where to display node previews
     247
     248input#search
     249    Used in: footer.tt
     250
     251    Purpose: An input field for the search at the bottom of the page
     252
     253input#search_lower
     254    Used in: search.tt
     255
     256    Purpose: An iput field for the lower search in the main search page
     257
     258input#search_upper
     259    Used in: search.tt
     260
     261    Purpose: An input field for the upper search in the main search page
     262
     263input#show_minor
     264    Used in: preferences.tt
     265
     266    Purpose: An input field for the preference of whether to display minor changes
     267
     268input#username
     269    Used in: openguides_information_boxes.tt, preferences.tt
     270
     271    Purpose: An input field for entering the username making changes
     272
     273input#website
     274    Used in: edit_conflict.tt, edit_form.tt
     275
     276    Purpose: An input field for the web site of the node
     277
     278select#distance
     279    Used in: node.tt
     280
     281    Purpose: A selection of how far to search in the "find nearby nodes" function
     282
     283select#edit_type
     284    Used in: openguides_information_boxes.tt
     285
     286    Purpose: A selection of whether the change is minor or major
     287
     288table#recentchanges
     289    Used in: recent_changes.tt
     290
     291    Purpose: The main display table of the recent changes page
     292
     293textarea#categories
     294    Used in: edit_conflict.tt, edit_form.tt
     295
     296    Purpose: An box to enter the categories of the node
     297
     298textarea#content
     299    Used in: edit_conflict.tt, edit_form.tt
     300
     301    Purpose: A box to enter the main conent of the node
     302
     303textarea#locales
     304    Used in: edit_conflict.tt, edit_form.tt
     305
     306    Purpose: A box to enter the locales of the node
     307
     308div#redirect_message
     309    Used in: node.tt
     310
     311    Purpose: A short message indicating that your reached a node via a redirect
     312
     313table#wanted_pages
     314    Used in:  wanted_pages.tt
     315
     316    Purpose: A list of all unlinked nodes