Changeset 2593


Ignore:
Timestamp:
Sep 26, 2008, 3:21:37 AM (16 years ago)
Author:
rvelices
Message:
  • removed 3 unused rules from thumbnails.css
  • changed default font-family to Arial,Helvetica,sans-serif because it is widely used, available on most platforms with a very good utf-8 coverage while Univers, Helvetica, Optima, "Bitstream Vera Sans" were not even all sans serif
Location:
trunk/template/yoga
Files:
4 edited

Legend:

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

    r2481 r2593  
    110110TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
    111111        vertical-align: top;
    112         font: bold 18px Arial, Helvetica, sans-serif;
     112        font: bold 18px;
    113113}
    114114
    115115TD.calDayHead {
    116         font: bold 12px Arial, Helvetica, sans-serif;
     116        font: bold 12px;
    117117        text-align: center;
    118118}
  • trunk/template/yoga/default-layout.css

    r2572 r2593  
    44        padding: 0;
    55        font-size: 0.8em;
    6         font-family:  Univers, Helvetica, Optima, "Bitstream Vera Sans", sans-serif;
     6        font-family: Arial,Helvetica,sans-serif;
    77}
    88
  • trunk/template/yoga/install.tpl

    r2342 r2593  
    1919  padding: 0;
    2020  font-size: 0.8em;
    21   font-family:  Univers, Helvetica, Optima, "Bitstream Vera Sans", sans-serif;
     21  font-family: Arial,Helvetica,sans-serif;
    2222}
    2323
  • trunk/template/yoga/thumbnails.css

    r2481 r2593  
    33/* Thumbnails customization */
    44.content UL.thumbnails SPAN.thumbLegend {
    5   font-size: 80%;               /* font size */
    6   overflow: hidden;             /* oversized legend is clipped */
     5        font-size: 80%;  /* font size */
     6        overflow: hidden;/* oversized legend is clipped */
    77}
    88
    99/* Thumbnail "elastic" layout */
    1010.content UL.thumbnails {
    11   margin: 0;
    12   padding: 0;
    13   list-style: none;
    14   text-align: center;   /* to center the whole collection in .content */
     11        margin: 0;
     12        padding: 0;
     13        list-style: none;
     14        text-align: center;     /* to center the whole collection in .content */
    1515}
    1616.content UL.thumbnails LI { display: inline }
    1717
    1818.content UL.thumbnails SPAN.wrap1 {
    19   margin: 0 5px 5px 5px;
    20   display: table-cell; display: inline-table;
    21   display: inline-block; /* Why 3 display option ??? */
    22   vertical-align: top;          /* OK with Opera and IE6 not Geko */
    23   text-align: center;           /* to center the thumbnail and legend in Geko/Opera */
     19        margin: 0 5px 5px 5px;
     20        display: table-cell; display: inline-table;
     21        display: inline-block;/* Why 3 display option ??? */
     22        vertical-align: top;    /* OK with Opera and IE6 not Geko */
     23        text-align: center;             /* to center the thumbnail and legend in Geko/Opera */
    2424}
    2525.content UL.thumbnails SPAN.wrap2 {
    26   margin: 0;                    /* important reset the margins */
    27   display: table-cell;          /* block prevents vertical-align here */
    28   vertical-align: middle;       /* Ok with Opera and Geko not IE6 */
     26        margin: 0;                      /* important reset the margins */
     27        display: table-cell;/* block prevents vertical-align here */
     28        vertical-align: middle;/* Ok with Opera and Geko not IE6 */
    2929}
    3030.content UL.thumbnails SPAN.wrap2 A,
    3131.content UL.thumbnails LABEL {
    32   display: block;
    33   border-bottom: none;
     32        display: block;
     33        border-bottom: none;
    3434}
    3535.content UL.thumbnails IMG {
    36   margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
     36        margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
    3737}
    38 
    39 /* label and input used for caddie in admin section */
    40 .content UL.thumbnails LABEL {
    41   position: relative;
    42 }
    43 
    44 .content UL.thumbnails INPUT {
    45   position: relative;   /* <= Opera can handle relative here */
    46   top: -20px;
    47 }
    48 :root .content UL.thumbnails INPUT { /* hide from Opera */
    49   position: absolute;   /* <= Opera hide 1 checkbox over 2 !!! */
    50   left: 2px;
    51   top: 2px;
    52 }
Note: See TracChangeset for help on using the changeset viewer.