Changeset 1515 for trunk/template/yoga


Ignore:
Timestamp:
Jul 29, 2006, 11:57:24 AM (18 years ago)
Author:
chrisaga
Message:

fix bug 484 : (again) fix rateButtons display broken by svn:1491
fix radio and checkbox display with Opera and IE (related to bug 490)

Location:
trunk/template/yoga
Files:
5 edited

Legend:

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

    r1491 r1515  
    3636  background-color: #d3d3d3;    /* lightgrey */
    3737}
    38 /*INPUT.text.focus, INPUT.password.focus, INPUT.button.focus,
    39 INPUT.submit.focus, INPUT.reset.focus, INPUT.file.focus,*/
     38
    4039INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus {
    41   background-color: #f5f5f5;            /* whitesmoke */
     40  background-color: #f5f5f5;    /* whitesmoke */
     41}
     42
     43/* some theme set a border on INPUT  which is not pretty for radio/checkbox */
     44INPUT[type="radio"], INPUT[type="checkbox"] {
     45  border: none; /* <= Opera needs this */
     46}
     47
     48INPUT.radio, INPUT.checkbox {
     49  border: none; /* <= IE6 needs this */
     50}
     51
     52/* rate buttons displayed like links */
     53INPUT.rateButton, INPUT.rateButtonSelected {
     54  color:inherit;
     55  background-color:transparent; /* Konqueror doesn't accept transparent here */
    4256}
    4357
  • trunk/template/yoga/fix-ie5-ie6.css

    r1513 r1515  
    1010#content {
    1111  height: 1em;  /* for IE6 it's like min-height */
    12 }
    13 
    14 /* some theme set a border on INPUT  which is not pretty for those */
    15 INPUT.radio, INPUT.checkbox {
    16   border: none;
    1712}
    1813
  • trunk/template/yoga/picture.css

    r1450 r1515  
    9696}
    9797
    98 .rateButton, .rateButtonSelected {
    99   background-color:transparent;
     98.rateButton, .rateButtonSelected  {
    10099  padding:0;
    101100  border:0;
     
    107106
    108107.rateButtonSelected {
    109   color:inherit;
    110108  font-weight:bold;
    111109  font-size:120%;
  • trunk/template/yoga/theme/clear/theme.css

    r1339 r1515  
    22
    33/* text color */
    4 BODY, H1, H2, H3, DT {
     4BODY, H1, H2, H3, DT,
     5INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ {
    56  color:#696969;        /* dimgray */
    67}
     
    5455
    5556/* links */
    56 A, .rateButton {
     57A, INPUT.rateButton {
    5758    color: #005e89;
    5859    background: transparent;
    5960}
    6061
    61 A:hover {
     62A:hover, INPUT.rateButton:hover {
    6263    color: #858460;
    6364}
  • trunk/template/yoga/theme/dark/theme.css

    r1339 r1515  
    22
    33/* text color */
    4 BODY, H1, H3, DT {
     4BODY, H1, H3, DT,
     5INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ {
    56  color:#e0e0e0;
    67}
     
    8788
    8889/* links */
    89 A, .rateButton {
     90A, INPUT.rateButton {
    9091  color: #FFFFFF;
    9192}
Note: See TracChangeset for help on using the changeset viewer.