Ignore:
Timestamp:
Aug 21, 2008, 3:14:03 AM (16 years ago)
Author:
rvelices
Message:
  • tried to reduce the number of css rules and selectors (most gains on menubar and usercomments) tested with IE6,IE7,FF,Opera9,Safari3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/default-colors.css

    r2352 r2480  
    1717INPUT[type="text"], INPUT[type="password"], INPUT[type="button"],
    1818INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] {
    19   color:black;
    20   background-color: #d3d3d3;    /* lightgrey */
     19        color:black;
     20        background-color: #d3d3d3;      /* lightgrey */
    2121}
    2222
     
    2424INPUT.submit, INPUT.reset, INPUT.file,
    2525SELECT, TEXTAREA {
    26   color:black;
    27   background-color: #d3d3d3;    /* lightgrey */
     26        color:black;
     27        background-color: #d3d3d3;      /* lightgrey */
    2828}
    2929
    3030INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus {
    31   background-color: #f5f5f5;    /* whitesmoke */
     31        background-color: #f5f5f5;      /* whitesmoke */
    3232}
    3333
    3434/* some theme set a border on INPUT  which is not pretty for radio/checkbox */
    3535INPUT[type="radio"], INPUT[type="checkbox"] {
    36   border: none; /* <= Opera needs this */
     36        border: none;   /* <= Opera needs this */
    3737}
    3838
    3939INPUT.radio, INPUT.checkbox {
    40   border: none; /* <= IE6 needs this */
     40        border: none;   /* <= IE6 needs this */
    4141}
    4242
    4343/* rate buttons displayed like links */
    4444INPUT.rateButton, INPUT.rateButtonSelected, INPUT.rateButtonStarFull, INPUT.rateButtonStarEmpty {
    45   color:inherit;
    46   background-color:transparent; /* Konqueror doesn't accept transparent here */
     45        color:inherit;
     46        background-color:transparent;   /* Konqueror doesn't accept transparent here */
    4747}
    4848
    4949.errors { /* Errors display */
    50   color: red;
    51   background-color: #ffe1e1;
    52   font-weight: bold;
    53   text-align: left;
    54   margin: 5px;
    55   border: 1px solid red;
    56   background-image: url(icon/admin/errors.png);
    57   background-repeat: no-repeat;
    58   background-position: top right;
    59   padding: 10px 50px 10px 10px;
     50        color: red;
     51        background-color: #ffe1e1;
     52        font-weight: bold;
     53        margin: 5px;
     54        border: 1px solid red;
     55        background-image: url(icon/admin/errors.png);
     56        background-repeat: no-repeat;
     57        background-position: top right;
     58        padding: 10px 50px 10px 10px;
    6059}
    6160
     
    6463 */
    6564.infos {
    66   text-align: left;
    67   color: #002000;
    68   background-color: #98fb98; /* palegreen */
    69   background-image: url(icon/admin/infos.png);
    70   background-repeat: no-repeat;
    71   background-position: top right;
    72   margin: 5px;
    73   padding: 10px 50px 10px 10px;
     65        color: #002000;
     66        background-color: #98fb98; /* palegreen */
     67        background-image: url(icon/admin/infos.png);
     68        background-repeat: no-repeat;
     69        background-position: top right;
     70        margin: 5px;
     71        padding: 10px 50px 10px 10px;
    7472}
    7573
     
    7876 */
    7977.header_msgs {
    80   text-align:center;
    81   font-weight: bold;
    82   color:#696969;        /* dimgray */
    83   background-color: #d3d3d3;
    84   margin: 1px;
    85   padding: 1px;
     78        text-align:center;
     79        font-weight: bold;
     80        color:#696969;  /* dimgray */
     81        background-color: #d3d3d3;
     82        margin: 1px;
     83        padding: 1px;
    8684}
    8785
     
    9088 */
    9189.header_notes {
    92   border: 1px solid #aaaaaa; /* border color and style */
    93   text-align: center;
    94   background-image: url(icon/note.png);
    95   background-repeat: no-repeat;
    96   background-position: top left;
    97   font-weight: bold;
    98   margin: 14px;
    99   padding: 5px 00px 0px 0px;
     90        border: 1px solid #aaaaaa; /* border color and style */
     91        text-align: center;
     92        background-image: url(icon/note.png);
     93        background-repeat: no-repeat;
     94        background-position: top left;
     95        font-weight: bold;
     96        margin: 14px;
     97        padding: 5px 00px 0px 0px;
    10098}
    10199
    102100LEGEND {
    103   font-style: italic;
     101        font-style: italic;
    104102}
    105103
Note: See TracChangeset for help on using the changeset viewer.