Changeset 13263


Ignore:
Timestamp:
2006-11-15T10:47:50+13:00 (17 years ago)
Author:
shaoqun
Message:

add more styles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/default/style/core.css

    r8614 r13263  
    1 a.gsbutton,a:visited.gsbutton {
    2     text-decoration:none;
    3     color:#345437; /* green colour */
    4     font-weight: bold;
    5 }
    6 
    7 
    8 a.gsbutton:hover {
    9     color: #cc9900 /* bright yellow */
    10 }
    11    
    12 td.gsbutton {
    13     background-image: url(../images/greenbar.gif);
    14     height: 20;
    15     text-align: center; 
    16 }
    17    
    18 td.gsbuttonoff {
    19     background-image: url(../images/greenbar.gif);
    20     height: 20;
    21     text-align: center;
    22     color:black;
    23     font-weight: bold;
    24 }
     1
     2.bgimage { background-image: url("../images/chalk.gif"); }
     3
     4/* this contains everything - all the other divs */
     5#page {
     6  margin: 0 3em 0 5em;
     7  padding: 0;
     8}
     9
     10#banner {
     11  margin: 0 0 5px 0;
     12  padding:0;
     13 
     14}
     15
     16/* the title set by the receptionist based on the page action */
     17p.bannertitle {
     18  font-family: sans-serif, arial, helvetica;
     19  font-size: 24px;
     20  font-weight: bold;
     21  margin: 10px 0 0 0;
     22  text-transform: lowercase;
     23  white-space: nowrap;
     24  padding: 6px 2px 10px 0px;
     25  background-repeat: repeat-y;
     26  background-position: top right;
     27  background-image: url("../images/banner_bg.png"); 
     28 
     29 }
     30
     31
     32
     33/* this div contains the bannerlinks and bannertitle paragraphs */
     34div.pageinfo {
     35  float: right;
     36  text-align: right;
     37  padding: 0;
     38  margin:0 0 3px 0;
     39  width: 50%;
     40}
     41
     42
     43
     44/* home, help, preferences links */
     45p.bannerlinks {
     46  font-family: sans-serif, arial, helvetica;
     47  font-size: 10pt;
     48  font-weight: bold;
     49  margin:0;
     50  padding:0;
     51}
     52
     53/* the image for the collection, shown in the banner */
     54div.collectimage {
     55  text-align: left;
     56  #height: 100%; /* for IE5/6 to make containing div the full height */
     57  float: left;
     58  width: 45%;
     59  padding:0;
     60  margin:0;
     61}
     62
     63
     64p.collectiontitle {
     65  font-family: sans-serif, arial, helvetica;
     66  font-size: 24px;
     67  font-weight: bold;
     68  text-transform: lowercase;
     69  white-space: nowrap;
     70  padding: 8px 0px 12px 2px;
     71  background-repeat: repeat-y;
     72  background-position: top left;
     73  margin:0;
     74}
     75
     76/* bg image set in style macro */
     77div.divbar { /* for "select a collection" */
     78  clear: both;
     79  background-image: url("../images/bg_green.png");
     80  font-family: arial;
     81  font-size: 10pt;
     82  font-weight: bold;
     83  border: 0;
     84  width: 100%; /* for ns4 */
     85}
     86
     87
     88/* bg image set in style macro */
     89div.navbar {
     90  background-image: url("../images/bg_green.png"); 
     91  min-width: 500px;
     92  white-space: nowrap;
     93  font-family: sans-serif, arial, helvetica;
     94  font-size: 10pt;
     95  font-weight: bold;
     96  text-transform: lowercase;
     97  border: 0;
     98  width: 100%; /* for ns4 */
     99}
     100
     101
     102p.navbar { /* opt navbar text inside a divbar div */
     103  text-align: center;
     104  margin: 0;
     105  padding: 0;   
     106}
     107
     108a.collectiontitle {
     109  color: black;
     110  text-decoration: none;
     111}
     112
     113/* make sure this is shown under the other divs (which may be floating) */
     114div.bannerextra {
     115   clear: both;
     116}
     117
     118
     119/* bg image set in style macro */
     120a.navlink {
     121  vertical-align: top;
     122  padding: 0 10px 0 10px;
     123  color: black;
     124  text-decoration: none;
     125  background-image: url("../images/bg_off.png");
     126  margin: 0 0 0 20px;
     127}
     128
     129/* bg image set in style macro */
     130a.navlink_sel {
     131  vertical-align: top;
     132  padding: 0 10px 0 10px;
     133  color: black;
     134  text-decoration: none;
     135  background-image: url("../images/bg_green.png");
     136   margin: 0 0 0 20px; 
     137}
     138
     139a.navlink:visited {
     140  color: black;
     141}
     142
     143/* for the nav_ns4.dm macro only (for netscape4 support) */
     144a.navlink_ns4 {
     145  background-color: #e8d9b1;
     146}
     147
     148a.navlink:hover {
     149   background-image: url("../images/bg_on.png");
     150 }
     151
    25152
    26153a.navbar, a:visited.navbar {
     
    34161}
    35162
    36 td.navbar {
    37     background-image: url(../images/greenbar.gif);
    38     height: 20;
    39     text-align: center; 
    40     font-weight:bold;
    41 }
    42    
    43 td.navbaroff {
    44     background-image: url(../images/greenbar.gif);
    45     height: 20;
    46     text-align: center; 
    47     font-weight:bold;
    48     color:black ;
    49     font-size: larger;
    50 }
    51 
    52 body {
    53     background-color: #ffffff;
    54     background-image: url(../images/chalk.gif);
    55     color:#000000 
    56 }
    57 
    58163a[href] {
    59164    color: #006666;
     
    67172    color: #cc9900 /* bright yellow */
    68173}
     174
     175div.document {
     176  padding: 5px 0 0 0;
     177  margin:0;
     178}
     179
     180div.collectionlist{
     181  padding:0;
     182  margin: .5em 0 .5em 0;
     183}
     184
     185div.collectionitem{
     186  padding: 0;
     187  margin: .5em 0 0 0;
     188}
     189
     190div.servicelist{
     191
     192}
     193
     194div.serviceitem{
     195  padding: 0;
     196  margin: .2em 0 0 0;
     197}
     198
     199/* bg image set in style macro */
     200a.servicelink {
     201  vertical-align: top;
     202  color: black;
     203  text-decoration: none;
     204  background-image: url("../images/bg_off.png");
     205}
     206
     207/* bg image set in style macro */
     208a.servicelink_sel {
     209  vertical-align: top;
     210  color: black;
     211  text-decoration: none;
     212  background-image: url("../images/bg_green.png"); 
     213}
     214
     215a.servicelink:visited {
     216  color: black;
     217}
     218a.servicelink {
     219  vertical-align: top;
     220  color: black;
     221  text-decoration: none;
     222  background-image: url("../images/bg_off.png");
     223}
     224
     225/* bg image set in style macro */
     226a.servicelink_sel {
     227  vertical-align: top;
     228  color: black;
     229  text-decoration: none;
     230  background-image: url("../images/bg_green.png"); 
     231}
     232
     233a.servicelink:visited {
     234  color: black;
     235}
     236
     237a.servicelink:hover {
     238   background-image: url("../images/bg_on.png");
     239 }
     240
     241div.classifierlist{
     242  text-align: center;
     243  padding:0;
     244  margin: 1em 0 1em 0 ;
     245}
     246
     247div.classifieritem{
     248  display:inline;
     249  padding:0;
     250  margin: 0  0 0 3em;
     251}
     252
     253/** classifier link */
     254a.classifierlink {
     255   color: #006666;     
     256}
     257
     258a.classiferlink:visited {
     259   color: #666633;
     260}
     261
     262a.classiferlink:hover{
     263 color: #cc9900 /* bright yellow */
     264}
     265
     266
     267div.classifiernodes{
     268  margin: 0;
     269  padding: 0;
     270}
     271
     272div.h-classifiernodes{
     273
     274}
     275
     276div.classifiernode{
     277  margin: .4em 0 .4em 2em;
     278  padding: 0;
     279}
     280
     281span.classifiertitle{
     282  margin: 0 0 0 0;
     283  padding: 0;
     284
     285}
     286
     287span.leftspace{
     288  padding:0;
     289  margin: 0 0 0 .5em;       
     290}
     291
     292span.rightspace{
     293  padding:0;
     294  margin: 0 .5em 0 0;       
     295}
     296
     297
     298/** query form style**/
     299div.queryform{
     300
     301}
     302
     303div.queryitemlist{
     304 font-size: 16px;
     305 margin: .5em 0 .5em 0;
     306 padding:0;
     307   
     308}
     309
     310div.queryitem{
     311  margin: .2em 0 .2em 0;
     312  padding:0; 
     313}
     314
     315span.queryitemname{
     316  padding:0 .2em 0 0;
     317  margin:0;
     318}
     319
     320span.queryitemvalues{
     321
     322}
     323
     324div.queryfieldlist{
     325  margin: 1em 0 1em 0;
     326  padding:0;
     327}
     328
     329tr.queryfieldheading{
     330
     331}
     332
     333tr.queryfieldrow{
     334 
     335}
     336 
     337tr.queryfieldcell{
     338 
     339}
     340
     341td.queryfieldname{
     342 
     343}
     344
     345/** search result style */
     346div.terminfo{
     347
     348}
     349
     350div.matchdocs{
     351
     352}
     353
     354div.resultnavigation{
     355 margin: 0;
     356 padding:0;
     357}
     358
     359table.resultlist{
     360 margin: 0;
     361 padding:0;
     362}
     363
     364tr.resultitem{
     365 margin: 0;
     366 padding:0;
     367}
     368
     369img.displayicon{
     370  padding:0;
     371  margin:0;
     372 
     373}
     374
     375span.textselect { white-space: nowrap; }
     376
     377div.documenttext { clear: both; } /* come after any floating divs */
     378
     379div.documentheading{
     380  font-size: 16pt;
     381  font-weight: bold;
     382}
     383
     384div.documentinfo {
     385  float:left;
     386  padding:0;
     387  margin:0;
     388  width:auto;
     389}
     390
     391div.toc{
     392  float:right;
     393  text-align:left;
     394  width:75%;
     395  padding:0;
     396  margin:0;
     397}
     398
     399
     400div.docbuttons { /* expand/contract etc "buttons" */
     401  /* don't put next to another float on our left-hand side */
     402   margin: .5em 0 0 0;
     403}
     404
     405
     406div.docbutton {
     407  font-size: 11px;
     408  font-weight: bold;
     409  line-height: 1.2em;
     410  /*background: #ffeecc; */
     411  background: #f7e7c5;
     412  margin: 1px;
     413  border: 1px solid #eeddbb;
     414  text-align: center;
     415  vertical-align: middle;
     416  height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
     417  width: 110px;
     418}
     419
     420
     421span.docbutton {}
     422span.docbutton a { text-decoration: none; color: black; }
     423
     424div.tocnodes{
     425  margin: 0 0 0 -2em;
     426  padding: 0;
     427
     428}
     429
     430div.tocnode{
     431   margin: .4em 0 .4em 2em;
     432   padding: 0;
     433}
     434
     435div.documentarrows{
     436  clear: both;
     437  margin: 0 0 0 0;
     438  padding: 1em 0 0 0;   
     439}
     440
     441img.lessarrow{
     442  float:left;
     443  border: none; 
     444}
     445
     446img.morearrow{
     447  float:right;
     448  border:none;
     449}
     450
     451div.formheading{
     452  font-size: 16pt;
     453  font-weight: bold;
     454  margin: .5em 0 0;
     455  padding:0;
     456}
     457
     458div.presprefs{
     459
     460}
     461
     462div.berrybasketprefs{
     463margin: .5em 0 0;
     464}
     465
     466div.searchprefs{
     467
     468}
     469
     470div.phrasebrowse{
     471  text-align:center;
     472  padding:0;
     473  margin: .5em 0 .5em 0;   
     474}
Note: See TracChangeset for help on using the changeset viewer.