Ignore:
Timestamp:
May 20, 2008, 2:27:26 AM (16 years ago)
Author:
patdenice
Message:

Change all #content by .content in css files.
In tpl files, id="content" stay here for backward compatibilities.
Add some plugins triggers in index.tpl and picture.tpl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/content.css

    r2101 r2352  
    11/* $Id$ */
    2 #content {
     2.content {
    33    margin-right: 1em;
    44    margin-bottom: 1em; /* when it's longer than menu bar */
    55}
    66
    7 BODY#theCommentsPage #content,
    8 BODY#theUploadPage #content,
    9 BODY#theRegisterPage #content,
    10 BODY#theIdentificationPage #content,
    11 BODY#theProfilePage #content,
    12 BODY#theSearchPage #content,
    13 BODY#theAboutPage #content,
    14 BODY#thePopuphelpPage #content,
    15 BODY#thePasswordPage #content,
    16 BODY#theNotificationPage #content,
    17 BODY#theTagsPage #content,
    18 BODY#theNBMPage #content
     7BODY#theCommentsPage .content,
     8BODY#theUploadPage .content,
     9BODY#theRegisterPage .content,
     10BODY#theIdentificationPage .content,
     11BODY#theProfilePage .content,
     12BODY#theSearchPage .content,
     13BODY#theAboutPage .content,
     14BODY#thePopuphelpPage .content,
     15BODY#thePasswordPage .content,
     16BODY#theNotificationPage .content,
     17BODY#theTagsPage .content,
     18BODY#theNBMPage .content
    1919{
    2020  margin: 1em;
    2121}
    2222
    23 #content H3 {
     23.content H3 {
    2424    margin-bottom: 1ex;
    2525}
    2626
    27 #content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
    28 
    29 #content H3 {
     27.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
     28
     29.content H3 {
    3030    text-align: center;
    3131}
    3232
    33 #content .navigationBar, #content .additional_info {
     33.content .navigationBar, .content .additional_info {
    3434    margin: 10px 0;
    3535    text-align: center;
    3636}
    3737
    38 #content .pageNumberSelected {
     38.content .pageNumberSelected {
    3939        font-style: italic;
    4040        font-weight: bold;
    4141}
    4242
    43 #content .additional_info {
     43.content .additional_info {
    4444    font-size: 110%;
    4545}
    4646
    47 #content FORM {
     47.content FORM {
    4848    text-align: left;
    4949}
    5050
    5151/* content defaults */
    52 #content DL, DD { margin: 10px; }
    53 #content DT {
     52.content DL, DD { margin: 10px; }
     53.content DT {
    5454  margin-bottom: 5px;
    5555  font-style: italic;
     
    6767}
    6868
    69 #content DIV.titrePage UL.categoryActions {
     69.content DIV.titrePage UL.categoryActions {
    7070  float: right;
    7171  text-align: center;
    7272}
    7373
    74 #content DIV.titrePage {
     74.content DIV.titrePage {
    7575  padding: 0 0 3px;
    7676}
    7777
    78 #content UL.categoryActions LI {
     78.content UL.categoryActions LI {
    7979  display: inline;
    8080}
    8181
    82 #content UL.categoryActions A IMG, UL.categoryActions A {
     82.content UL.categoryActions A IMG, UL.categoryActions A {
    8383  border: none;
    8484  margin-bottom: -5px;
     
    8787/* User comments */
    8888
    89 #content DIV#comments {
     89.content DIV#comments {
    9090  padding-left: 5px;
    9191  padding-right: 5px;
    9292}
    93 #content DIV.comment {
     93.content DIV.comment {
    9494  margin: 0 0 0.5em 0;
    9595  padding: 0;
     
    9898}
    9999
    100 #content DIV.comment A.illustration {
     100.content DIV.comment A.illustration {
    101101  display: block;
    102102  float: left;
     
    104104}
    105105
    106 #content DIV.comment P.commentHeader {
     106.content DIV.comment P.commentHeader {
    107107  text-align: right;
    108108  margin: 0.5em 0.5em 0 0;
    109109}
    110110
    111 #content DIV.comment UL.actions {
     111.content DIV.comment UL.actions {
    112112  text-align: center;
    113113  margin: 0.2em;
    114114}
    115115
    116 #content DIV.comment BLOCKQUOTE {
     116.content DIV.comment BLOCKQUOTE {
    117117  margin-right: 0.5em;
    118118  overflow: visible; /*avoid a very strange margin behaviour (all browsers) */
     
    120120
    121121/* begin chronology/calendar elements*/
    122 #content DIV.calendarViews {
     122.content DIV.calendarViews {
    123123  display: block;
    124124  float: right;
     
    126126}
    127127
    128 #content DIV.calendarBar { margin: 8px 4px; }
     128.content DIV.calendarBar { margin: 8px 4px; }
    129129
    130130SPAN.calItem, SPAN.calItemEmpty {
     
    135135SPAN.calItem A { border:0 }
    136136
    137 #content DIV.calendarCalBar {
     137.content DIV.calendarCalBar {
    138138  margin: 10px 10px;
    139139  text-align: left;
     
    196196
    197197/* Category thumbnails on main page, CSS code inspired from MOD subcatify */
    198 #content UL.thumbnailCategories {
     198.content UL.thumbnailCategories {
    199199  margin: 0;
    200200  padding: 0;
     
    205205}
    206206
    207 #content UL.thumbnailCategories LI {
     207.content UL.thumbnailCategories LI {
    208208  margin:0;
    209209  padding:0;
     
    211211}
    212212
    213 #content DIV.thumbnailCategory {
     213.content DIV.thumbnailCategory {
    214214  display:block;
    215215  padding: 2px 0px 0px 2px;
     
    217217}
    218218
    219 #content DIV.thumbnailCategory DIV.description {
     219.content DIV.thumbnailCategory DIV.description {
    220220  font-size: 90%;
    221221  overflow: auto;
     
    223223}
    224224
    225 #content DIV.thumbnailCategory DIV.description H3 {
     225.content DIV.thumbnailCategory DIV.description H3 {
    226226  text-align: left;
    227227  background: transparent;
     
    231231}
    232232
    233 #content DIV.thumbnailCategory DIV.description P {
     233.content DIV.thumbnailCategory DIV.description P {
    234234  margin: 0;
    235235}
    236236
    237 #content DIV.thumbnailCategory DIV.illustration {
     237.content DIV.thumbnailCategory DIV.illustration {
    238238  text-align: left;
    239239  margin: 2px 0 0 2px;
Note: See TracChangeset for help on using the changeset viewer.