Changeset 1106

Show
Ignore:
Timestamp:
11/29/06 14:07:25
Author:
johnsa
Message:

recombine common css styles into example color stylesheets to keep css files as simple as possible to adopt and modify.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/blue.css

    r1068 r1106  
    865865  text-align: right; 
    866866} 
     867 
     868/* Generic selectors*/ 
     869h2 { 
     870  margin: 0em; 
     871  padding: 0.2em 0.2em 0.2em 0.5em; 
     872  font-size: 1.3em; 
     873  border-bottom: 1px solid #ccc; 
     874  border-left: 2px solid #aaa; 
     875  border-right: 2px solid #aaa; 
     876} 
     877h2 a:link, 
     878h2 a:active, 
     879h2 a:visited, 
     880h2 a:hover { 
     881  color: black; 
     882  background-color: inherit; 
     883  text-decoration: none; 
     884} 
     885h2.bwStatusConfirmed { 
     886  background-color: #eee; 
     887  color: black; 
     888  border-top: 1px solid #bbb; 
     889} 
     890h2.bwStatusCancelled { 
     891  background-color: #eee; 
     892  color: black; 
     893  border-top: 1px solid #bbb; 
     894} 
     895h2.bwStatusTentative { 
     896  background: #eee url('../../images/tentativeLines.gif') top; 
     897  color: black; 
     898  border-top: 1px solid #bbb; 
     899} 
     900/* Header IDs and classes */ 
     901#errors { 
     902  margin: 0; 
     903  padding: 1em; 
     904  background-color: #333; 
     905  color: #ff9; 
     906  font-weight: bold; 
     907} 
     908#tabsTable .centerCell { 
     909  text-align: left; 
     910  background : url(../../images/std-tab-space.gif); 
     911  font-size: 0.8em; 
     912  white-space: nowrap; 
     913  width: 100%; 
     914  padding: 0 1em; 
     915} 
     916#searchBarTable form, 
     917#searchPageForm { 
     918  display: inline; 
     919  margin: 0px 0px 1px 0px; 
     920  padding: 0em; 
     921  white-space: nowrap; 
     922} 
     923#searchPageForm { 
     924  float: right; 
     925} 
     926#searchBarTable form input { 
     927  font-size: 0.7em; 
     928} 
     929#searchBarTable img { 
     930  vertical-align: middle; 
     931} 
     932#searchFilter { 
     933  float: right; 
     934  font-size: 10pt; 
     935  font-weight: normal; 
     936  margin-top: 5px; 
     937} 
     938#searchFilter form { 
     939  display: inline; 
     940} 
     941#stats { 
     942  font-size: 0.9em; 
     943  margin: 0px; 
     944  padding: 1em; 
     945  border-bottom: 2px solid #aaa; 
     946  border-left: 2px solid #aaa; 
     947  border-right: 2px solid #aaa; 
     948} 
     949#statsTable { 
     950  margin: 1em 0 0 4em; 
     951  width: 300px; 
     952} 
     953#statsTable th { 
     954  padding: 0.5em; 
     955  background-color: #eee; 
     956  color: black; 
     957} 
     958#statsTable td.label { 
     959  text-align: right; 
     960  padding-right: 2em; 
     961} 
     962.hidden { 
     963  visibility: hidden; 
     964} 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl

    r1104 r1106  
    104104      <head> 
    105105        <title>Bedework Events Calendar</title> 
    106         <link rel="stylesheet" type="text/css" href="{$resourcesRoot}/default/default/common.css" /> 
    107         <link rel="stylesheet" type="text/css" media="print" href="{$resourcesRoot}/default/default/print.css" /> 
    108106        <xsl:choose> 
    109107          <xsl:when test="/bedework/appvar[key='style']/value='red'"> 
     
    118116        </xsl:choose> 
    119117        <link rel="stylesheet" href="{$resourcesRoot}/default/default/subColors.css"/> 
     118        <link rel="stylesheet" type="text/css" media="print" href="{$resourcesRoot}/default/default/print.css" /> 
    120119        <link rel="icon" type="image/ico" href="{$resourcesRoot}/images/bedework.ico" /> 
    121120      </head> 
     
    10851084                    <xsl:variable name="dayDate" select="date"/> 
    10861085                    <a href="{$setViewPeriod}&amp;viewType=dayView&amp;date={$dayDate}"> 
     1086                      <xsl:attribute name="class">today</xsl:attribute> 
    10871087                      <xsl:value-of select="value"/> 
    10881088                    </a> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/green.css

    r1068 r1106  
    870870  text-align: right; 
    871871} 
     872 
     873/* Generic selectors*/ 
     874h2 { 
     875  margin: 0em; 
     876  padding: 0.2em 0.2em 0.2em 0.5em; 
     877  font-size: 1.3em; 
     878  border-bottom: 1px solid #ccc; 
     879  border-left: 2px solid #aaa; 
     880  border-right: 2px solid #aaa; 
     881} 
     882h2 a:link, 
     883h2 a:active, 
     884h2 a:visited, 
     885h2 a:hover { 
     886  color: black; 
     887  background-color: inherit; 
     888  text-decoration: none; 
     889} 
     890h2.bwStatusConfirmed { 
     891  background-color: #eee; 
     892  color: black; 
     893  border-top: 1px solid #bbb; 
     894} 
     895h2.bwStatusCancelled { 
     896  background-color: #eee; 
     897  color: black; 
     898  border-top: 1px solid #bbb; 
     899} 
     900h2.bwStatusTentative { 
     901  background: #eee url('../../images/tentativeLines.gif') top; 
     902  color: black; 
     903  border-top: 1px solid #bbb; 
     904} 
     905/* Header IDs and classes */ 
     906#errors { 
     907  margin: 0; 
     908  padding: 1em; 
     909  background-color: #333; 
     910  color: #ff9; 
     911  font-weight: bold; 
     912} 
     913#tabsTable .centerCell { 
     914  text-align: left; 
     915  background : url(../../images/std-tab-space.gif); 
     916  font-size: 0.8em; 
     917  white-space: nowrap; 
     918  width: 100%; 
     919  padding: 0 1em; 
     920} 
     921#searchBarTable form, 
     922#searchPageForm { 
     923  display: inline; 
     924  margin: 0px 0px 1px 0px; 
     925  padding: 0em; 
     926  white-space: nowrap; 
     927} 
     928#searchPageForm { 
     929  float: right; 
     930} 
     931#searchBarTable form input { 
     932  font-size: 0.7em; 
     933} 
     934#searchBarTable img { 
     935  vertical-align: middle; 
     936} 
     937#searchFilter { 
     938  float: right; 
     939  font-size: 10pt; 
     940  font-weight: normal; 
     941  margin-top: 5px; 
     942} 
     943#searchFilter form { 
     944  display: inline; 
     945} 
     946#stats { 
     947  font-size: 0.9em; 
     948  margin: 0px; 
     949  padding: 1em; 
     950  border-bottom: 2px solid #aaa; 
     951  border-left: 2px solid #aaa; 
     952  border-right: 2px solid #aaa; 
     953} 
     954#statsTable { 
     955  margin: 1em 0 0 4em; 
     956  width: 300px; 
     957} 
     958#statsTable th { 
     959  padding: 0.5em; 
     960  background-color: #eee; 
     961  color: black; 
     962} 
     963#statsTable td.label { 
     964  text-align: right; 
     965  padding-right: 2em; 
     966} 
     967.hidden { 
     968  visibility: hidden; 
     969} 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/red.css

    r1068 r1106  
    875875  text-align: right; 
    876876} 
     877 
     878/* Generic selectors*/ 
     879h2 { 
     880  margin: 0em; 
     881  padding: 0.2em 0.2em 0.2em 0.5em; 
     882  font-size: 1.3em; 
     883  border-bottom: 1px solid #ccc; 
     884  border-left: 2px solid #aaa; 
     885  border-right: 2px solid #aaa; 
     886} 
     887h2 a:link, 
     888h2 a:active, 
     889h2 a:visited, 
     890h2 a:hover { 
     891  color: black; 
     892  background-color: inherit; 
     893  text-decoration: none; 
     894} 
     895h2.bwStatusConfirmed { 
     896  background-color: #eee; 
     897  color: black; 
     898  border-top: 1px solid #bbb; 
     899} 
     900h2.bwStatusCancelled { 
     901  background-color: #eee; 
     902  color: black; 
     903  border-top: 1px solid #bbb; 
     904} 
     905h2.bwStatusTentative { 
     906  background: #eee url('../../images/tentativeLines.gif') top; 
     907  color: black; 
     908  border-top: 1px solid #bbb; 
     909} 
     910/* Header IDs and classes */ 
     911#errors { 
     912  margin: 0; 
     913  padding: 1em; 
     914  background-color: #333; 
     915  color: #ff9; 
     916  font-weight: bold; 
     917} 
     918#tabsTable .centerCell { 
     919  text-align: left; 
     920  background : url(../../images/std-tab-space.gif); 
     921  font-size: 0.8em; 
     922  white-space: nowrap; 
     923  width: 100%; 
     924  padding: 0 1em; 
     925} 
     926#searchBarTable form, 
     927#searchPageForm { 
     928  display: inline; 
     929  margin: 0px 0px 1px 0px; 
     930  padding: 0em; 
     931  white-space: nowrap; 
     932} 
     933#searchPageForm { 
     934  float: right; 
     935} 
     936#searchBarTable form input { 
     937  font-size: 0.7em; 
     938} 
     939#searchBarTable img { 
     940  vertical-align: middle; 
     941} 
     942#searchFilter { 
     943  float: right; 
     944  font-size: 10pt; 
     945  font-weight: normal; 
     946  margin-top: 5px; 
     947} 
     948#searchFilter form { 
     949  display: inline; 
     950} 
     951#stats { 
     952  font-size: 0.9em; 
     953  margin: 0px; 
     954  padding: 1em; 
     955  border-bottom: 2px solid #aaa; 
     956  border-left: 2px solid #aaa; 
     957  border-right: 2px solid #aaa; 
     958} 
     959#statsTable { 
     960  margin: 1em 0 0 4em; 
     961  width: 300px; 
     962} 
     963#statsTable th { 
     964  padding: 0.5em; 
     965  background-color: #eee; 
     966  color: black; 
     967} 
     968#statsTable td.label { 
     969  text-align: right; 
     970  padding-right: 2em; 
     971} 
     972.hidden { 
     973  visibility: hidden; 
     974}