Changeset 1586

Show
Ignore:
Timestamp:
10/31/08 05:19:54 (2 months ago)
Author:
timneill
Message:

Trunk: Stripped out the inline-colour styles for content modules and changed over to CSS

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/codebase/layout/xhtml/gumball/modules_default/content/index.welcome.php

    r1580 r1586  
    6767if (isset($linesHTML[0])) { 
    6868?> 
    69                 <h3 style="color: rgb(<?php echo(OM_WELCOME_COLOUR); ?>);"><?php echo($linesHTML[0]); ?></h3> 
     69                <h3 class="omWelcomeTitle"><?php echo($linesHTML[0]); ?></h3> 
    7070<?php 
    7171} 
     
    8181                if ($line > 0) { 
    8282                        if ($line === 1) { 
    83                                 $heading_colour = OM_WELCOME_COLOUR_2
     83                                $heading_style = 'class="omWelcomeTitle"'
    8484                        } else { 
    85                                 $heading_colour = OM_WELCOME_COLOUR
     85                                $heading_style = 'class="omWelcomeSubtitle"'
    8686                        } 
    8787?> 
    88                 <h4 style="color: rgb(<?php echo($heading_colour); ?>);"><?php echo($lineHTML); ?></h4> 
     88                <h4 <?php echo($heading_style); ?>><?php echo($lineHTML); ?></h4> 
    8989<?php 
    9090                } 
  • trunk/codebase/layout/xhtml/gumball/shared/colour.css

    r1584 r1586  
    420420} 
    421421 
     422div.omContent h3.omWelcomeTitle { 
     423        color:                                  rgb(115, 115, 115); 
     424} 
     425 
     426div.omContent h4.omWelcomeTitle { 
     427        color:                                  rgb(115, 115, 115); 
     428} 
     429 
     430div.omContent h4.omWelcomeSubtitle { 
     431        color:                                  rgb(115, 115, 115); 
     432} 
     433 
    422434/* Needs to be deprecated in favour of next  
    423435style definition for syntactical reasons */ 
  • trunk/codebase/layout/xhtml/gumball/shared/themes/cherry.css

    r1584 r1586  
    385385} 
    386386 
     387div.omContent h3.omWelcomeTitle { 
     388        color:                                  rgb(196, 8, 30); 
     389} 
     390 
     391div.omContent h4.omWelcomeTitle { 
     392        color:                                  rgb(196, 8, 30); 
     393} 
     394 
     395div.omContent h4.omWelcomeSubtitle { 
     396        color:                                  rgb(196, 8, 30); 
     397} 
     398 
    387399/* Needs to be deprecated in favour of next  
    388400style definition for syntactical reasons */ 
  • trunk/codebase/layout/xhtml/gumball/shared/themes/gumball.css

    r1584 r1586  
    420420} 
    421421 
     422div.omContent h3.omWelcomeTitle { 
     423        color:                                  rgb(9, 139, 218); 
     424} 
     425 
     426div.omContent h4.omWelcomeTitle { 
     427        color:                                  rgb(9, 139, 218); 
     428} 
     429 
     430div.omContent h4.omWelcomeSubtitle { 
     431        color:                                  rgb(9, 139, 218); 
     432} 
     433 
    422434/* Needs to be deprecated in favour of next  
    423435style definition for syntactical reasons */ 
  • trunk/codebase/layout/xhtml/gumball/shared/themes/kikuyu.css

    r1584 r1586  
    4545*               4:                      rgb(187, 227, 181) 
    4646*               5:                      rgb(125, 191, 143) 
    47 *               6:                      rgb(0, 102, 0
    48 *               7:                      rgb(0, 77, 0
    49 *               8:                      rgb(0, 102, 5
    50 *               9:                      rgb(15, 62, 20
     47*               6:                      rgb(19, 134, 86
     48*               7:                      rgb(16, 112, 72
     49*               8:                      rgb(13, 89, 59
     50*               9:                      rgb(10, 67, 44
    5151* 
    5252*               Action +:       rgb(53, 161, 56) 
     
    6161html, 
    6262body { 
    63         background-color:               rgb(0, 102, 0); 
     63        background-color:               rgb(19, 134, 86); 
    6464} 
    6565 
     
    108108 
    109109div#omBlockTitle h2 { 
    110         color:                                  rgb(0, 102, 0); 
     110        color:                                  rgb(19, 134, 86); 
    111111} 
    112112 
     
    128128        background-position:    0 100%; 
    129129        padding-bottom:                 1px; 
    130         color:                                  rgb(0, 102, 0); 
     130        color:                                  rgb(19, 134, 86); 
    131131        font-family:                    verdana, arial, sans-serif; 
    132132} 
    133133 
    134134div#omBlockModuleNavigation a.on { 
    135         background-color:               rgb(0, 102, 0) !important; 
     135        background-color:               rgb(19, 134, 86) !important; 
    136136        color:                                  rgb(255, 255, 255); 
    137137        background-image:               none; 
     
    160160 
    161161div#omBlockFooter { 
    162         border-top:                             1px solid rgb(15, 62, 20); 
     162        border-top:                             1px solid rgb(10, 67, 44); 
    163163        color:                                  rgb(125, 191, 143); 
    164164} 
     
    170170 
    171171div#omBlockFooter a:hover { 
    172         color:                                  rgb(0, 77, 0); 
     172        color:                                  rgb(16, 112, 72); 
    173173} 
    174174 
     
    186186 
    187187div#omUserNavigation div.name h3 { 
    188         color:                                  rgb(0, 77, 0); 
     188        color:                                  rgb(16, 112, 72); 
    189189} 
    190190 
     
    195195 
    196196div#omUserNavigation div.team div.menuOuter table.menu { 
    197         border-left:                    1px solid rgb(0, 102, 5); 
     197        border-left:                    1px solid rgb(13, 89, 59); 
    198198} 
    199199 
    200200div#omUserNavigation div.team div.menuOuter table.menu tr td.menuInner, 
    201201div#omUserNavigation div.user div.menuOuter table.menu tr td.menuInner { 
    202         border-right:                   1px solid rgb(0, 102, 5); 
     202        border-right:                   1px solid rgb(13, 89, 59); 
    203203} 
    204204 
     
    222222div#omUserNavigation div.user div.menuOuter table.menu tr td.menuInner a { 
    223223        background-color:               rgb(236, 248, 236); 
    224         color:                                  rgb(0, 77, 0); 
     224        color:                                  rgb(16, 112, 72); 
    225225} 
    226226 
     
    230230 
    231231div#omUserNavigation div.user div.menuOuter table.menu tr td.menuInner a.on { 
    232         background-color:               rgb(0, 102, 0); 
     232        background-color:               rgb(19, 134, 86); 
    233233        color:                                  rgb(255, 255, 255); 
    234234} 
    235235 
    236236div#omUserNavigation div.user div.menuOuter table.menu tr td.left { 
    237         border-right:                   1px solid rgb(0, 102, 5); 
     237        border-right:                   1px solid rgb(13, 89, 59); 
    238238} 
    239239 
    240240div#omUserNavigation div.user div.menuOuter table.menu tr td.first { 
    241         border-left:                    1px solid rgb(0, 102, 5); 
     241        border-left:                    1px solid rgb(13, 89, 59); 
    242242} 
    243243 
     
    281281div#omActions { 
    282282        background-color:               rgb(233, 244, 231); 
    283         color:                                  rgb(15, 62, 20); 
     283        color:                                  rgb(10, 67, 44); 
    284284} 
    285285 
     
    296296 
    297297div#omActions div.right { 
    298         border-right:                   1px solid rgb(15, 62, 20); 
     298        border-right:                   1px solid rgb(10, 67, 44); 
    299299} 
    300300 
     
    304304 
    305305div#omActions div.right a:hover { 
    306         color:                                  rgb(15, 62, 20); 
     306        color:                                  rgb(10, 67, 44); 
    307307} 
    308308 
     
    347347div.omThumb { 
    348348        background-color:               rgb(255, 255, 255); 
    349         border:                                 1px solid rgb(0, 102, 5); 
     349        border:                                 1px solid rgb(13, 89, 59); 
    350350} 
    351351 
     
    353353 
    354354div.omContent table { 
    355         color:                                  rgb(15, 62, 20); 
     355        color:                                  rgb(10, 67, 44); 
    356356} 
    357357 
     
    359359 
    360360div.omContent a { 
    361         color:                                  rgb(0, 77, 0); 
     361        color:                                  rgb(16, 112, 72); 
    362362        text-decoration:                none; 
    363363} 
     
    369369div.omContent a.active, 
    370370div.omContent a:hover { 
    371         color:                                  rgb(15, 62, 20); 
     371        color:                                  rgb(10, 67, 44); 
    372372} 
    373373 
     
    380380div.omContent div.heading h3 { 
    381381        background-color:               rgb(233, 244, 231); 
    382         border-top:                             1px solid rgb(0, 102, 5); 
    383         border-bottom:                  1px solid rgb(0, 102, 5); 
    384         color:                                  rgb(0, 77, 0); 
     382        border-top:                             1px solid rgb(13, 89, 59); 
     383        border-bottom:                  1px solid rgb(13, 89, 59); 
     384        color:                                  rgb(16, 112, 72); 
     385
     386 
     387div.omContent h3.omWelcomeTitle { 
     388        color:                                  rgb(19, 134, 86); 
     389
     390 
     391div.omContent h4.omWelcomeTitle { 
     392        color:                                  rgb(19, 134, 86); 
     393
     394 
     395div.omContent h4.omWelcomeSubtitle { 
     396        color:                                  rgb(19, 134, 86); 
    385397} 
    386398 
     
    430442        background-position:    0 100%; 
    431443        background-repeat:              repeat-x; 
    432         border-top:                             1px solid rgb(0, 102, 5); 
     444        border-top:                             1px solid rgb(13, 89, 59); 
    433445        color:                                  rgb(28, 28, 28); 
    434446} 
     
    451463 
    452464div.omContent a.folderToggle { 
    453         color:                                  rgb(0, 77, 0); 
     465        color:                                  rgb(16, 112, 72); 
    454466        text-decoration:                none; 
    455467} 
     
    495507 
    496508div.omContent div.omInformation { 
    497         color:                                  rgb(15, 62, 20); 
     509        color:                                  rgb(10, 67, 44); 
    498510        background-color:               rgb(242, 255, 236); 
    499511        border-bottom:                  1px solid rgb(125, 191, 143); 
     
    509521 
    510522div.omContent div.omDropDown table td.left { 
    511         color:                                  rgb(0, 77, 0); 
     523        color:                                  rgb(16, 112, 72); 
    512524} 
    513525 
     
    528540div.omContent div.omGalleryItem div.item { 
    529541        background-color:               rgb(242, 255, 236); 
    530         border:                                 1px solid rgb(0, 102, 5); 
     542        border:                                 1px solid rgb(13, 89, 59); 
    531543} 
    532544 
     
    559571div.omContent div.omGalleryItem div.controls a.check, 
    560572div.omContent div.omGalleryItem div.controls a.sort { 
    561         border-left:                    1px solid rgb(0, 102, 5); 
     573        border-left:                    1px solid rgb(13, 89, 59); 
    562574} 
    563575 
     
    565577div.omContent div.omGalleryItem div.controls a.info, 
    566578div.omContent div.omGalleryItem div.controls a.copier { 
    567         border-right:                   1px solid rgb(0, 102, 5); 
     579        border-right:                   1px solid rgb(13, 89, 59); 
    568580} 
    569581 
     
    573585 
    574586div.omContent div.omGalleryItem div.controls a.toggle { 
    575         background-color:               rgb(0, 102, 0); 
     587        background-color:               rgb(19, 134, 86); 
    576588        color:                                  rgb(255, 255, 255); 
    577589} 
    578590 
    579591div.omContent div.omGalleryItem div.controls a.toggle:hover { 
    580         background-color:               rgb(0, 102, 0); 
     592        background-color:               rgb(19, 134, 86); 
    581593} 
    582594 
     
    621633 
    622634div.omContent ul.omTeamList li span { 
    623         color:                                  rgb(15, 62, 20); 
     635        color:                                  rgb(10, 67, 44); 
    624636} 
    625637 
     
    628640div.omContent div.omThumbnails div.thumbnail { 
    629641        background-color:               rgb(233, 244, 231); 
    630         border:                                 1px solid rgb(0, 102, 5); 
     642        border:                                 1px solid rgb(13, 89, 59); 
    631643        border-width:                   1px 0; 
    632644} 
     
    680692form.omForm div.omFormBox ul.tabs li { 
    681693        background-color:               rgb(255, 255, 255); 
    682         border-top:                             solid 1px rgb(0, 102, 5); 
    683         border-right:                   solid 1px rgb(0, 102, 5); 
    684         border-left:                    solid 1px rgb(0, 102, 5); 
     694        border-top:                             solid 1px rgb(13, 89, 59); 
     695        border-right:                   solid 1px rgb(13, 89, 59); 
     696        border-left:                    solid 1px rgb(13, 89, 59); 
    685697} 
    686698 
     
    688700        background-color:               rgb(233, 244, 231); 
    689701        border:                                 solid 1px rgb(187, 227, 181); 
    690         border-top:                             solid 2px rgb(0, 102, 0); 
     702        border-top:                             solid 2px rgb(19, 134, 86); 
    691703        border-bottom-width:    0; 
    692704} 
     
    697709 
    698710form.omForm div.omFormBox ul.tabs li.over { 
    699         border-top:                             solid 1px rgb(0, 102, 0); 
     711        border-top:                             solid 1px rgb(19, 134, 86); 
    700712} 
    701713 
     
    716728} 
    717729form.omForm div.omFormBox div.imageInput ul li.selected { 
    718         background-color:               rgb(0, 102, 0); 
     730        background-color:               rgb(19, 134, 86); 
    719731} 
    720732form.omForm div.omFormBox div.imageInput ul li.selected a { 
     
    722734} 
    723735form.omForm div.omFormBox div.imageInput ul li.active a { 
    724         color:                                  rgb(0, 102, 0); 
     736        color:                                  rgb(19, 134, 86); 
    725737} 
    726738form.omForm div.omFormBox div.imageInput img.noFile { 
     
    758770 
    759771form.omForm { 
    760         color:                                  rgb(15, 62, 20); 
     772        color:                                  rgb(10, 67, 44); 
    761773} 
    762774 
     
    766778 
    767779form.omForm fieldset div.omFormPair div.omFormField a { 
    768         color:                                  rgb(0, 102, 0); 
     780        color:                                  rgb(19, 134, 86); 
    769781} 
    770782 
     
    810822 
    811823span.helpHighlight { 
    812         color:                                  rgb(0, 77, 0); 
     824        color:                                  rgb(16, 112, 72); 
    813825} 
    814826 
     
    826838div.omLoginGallery div.omThumbnails div.thumbnail { 
    827839        background-color:               rgb(233, 244, 231); 
    828         border:                                 1px solid rgb(0, 102, 5); 
     840        border:                                 1px solid rgb(13, 89, 59); 
    829841        border-width:                   1px 0; 
    830842} 
     
    839851 
    840852div.omLoginGallery h3 { 
    841         color:                                  rgb(0, 77, 0); 
     853        color:                                  rgb(16, 112, 72); 
    842854} 
    843855 
     
    850862 
    851863div.omContentWelcome p { 
    852         color:                                  rgb(15, 62, 20); 
     864        color:                                  rgb(10, 67, 44); 
    853865} 
    854866 
    855867div.omPager { 
    856         color:                                  rgb(15, 62, 20); 
     868        color:                                  rgb(10, 67, 44); 
    857869} 
    858870 
     
    876888 
    877889div.omEmailPreview table table td a { 
    878         color:                                  rgb(0, 77, 0); 
     890        color:                                  rgb(16, 112, 72); 
    879891} 
    880892 
    881893div.omNews div.omNewsItem h5 { 
    882         color:                                  rgb(0, 77, 0); 
     894        color:                                  rgb(16, 112, 72); 
    883895        font-family:                    arial, helvetica, sans-serif; 
    884896        font-weight:                    bold; 
     
    972984} 
    973985div.omFileshare h5 { 
    974         color:                                  rgb(0, 77, 0); 
     986        color:                                  rgb(16, 112, 72); 
    975987} 
    976988div.omFileshare div.omItemList { 
     
    9911003 
    9921004div#omViewNavigation div.menuOuter table.menu tr td.menuInner { 
    993         border-right:                   1px solid rgb(0, 102, 5); 
     1005        border-right:                   1px solid rgb(13, 89, 59); 
    9941006} 
    9951007 
    9961008div#omViewNavigation div.menuOuter table.menu tr td.menuInner a { 
    9971009        background-color:               rgb(236, 248, 236); 
    998         color:                                  rgb(0, 77, 0); 
     1010        color:                                  rgb(16, 112, 72); 
    9991011} 
    10001012 
     
    10051017 
    10061018div#omViewNavigation div.menuOuter table.menu tr td.menuInner a.on { 
    1007         background-color:               rgb(0, 102, 0) !important; 
     1019        background-color:               rgb(19, 134, 86) !important; 
    10081020        color:                                  rgb(255, 255, 255); 
    10091021} 
    10101022 
    10111023div#omViewNavigation div.menuOuter table.menu tr td.left { 
    1012         border-right:                   1px solid rgb(0, 102, 5); 
     1024        border-right:                   1px solid rgb(13, 89, 59); 
    10131025} 
    10141026div#omViewNavigation div.menuOuter table.menu tr td.first, 
    10151027div#omViewNavigation div.menuOuter table.menu tr td.right { 
    1016         border-left:                    1px solid rgb(0, 102, 5); 
    1017 } 
     1028        border-left:                    1px solid rgb(13, 89, 59); 
     1029} 
  • trunk/codebase/layout/xhtml/gumball/shared/themes/royal.css

    r1584 r1586  
    384384} 
    385385 
     386div.omContent h3.omWelcomeTitle { 
     387        color:                                  rgb(22, 22, 70); 
     388} 
     389 
     390div.omContent h4.omWelcomeTitle { 
     391        color:                                  rgb(22, 22, 70); 
     392} 
     393 
     394div.omContent h4.omWelcomeSubtitle { 
     395        color:                                  rgb(22, 22, 70); 
     396} 
     397 
    386398/* Needs to be deprecated in favour of next  
    387399style definition for syntactical reasons */ 
  • trunk/codebase/layout/xhtml/gumball/shared/themes/velvet.css

    r1584 r1586  
    384384} 
    385385 
     386div.omContent h3.omWelcomeTitle { 
     387        color:                                  rgb(48, 22, 72); 
     388} 
     389 
     390div.omContent h4.omWelcomeTitle { 
     391        color:                                  rgb(48, 22, 72); 
     392} 
     393 
     394div.omContent h4.omWelcomeSubtitle { 
     395        color:                                  rgb(48, 22, 72); 
     396} 
     397 
    386398/* Needs to be deprecated in favour of next  
    387399style definition for syntactical reasons */