Changeset 6291c90 in github


Ignore:
Timestamp:
Dec 9, 2008 12:53:42 PM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
5913816
Parents:
de2e0bfe
Message:

#1485455: fix checkboxes style in Opera

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skins/default/common.css

    r7f43e18 r6291c90  
    6464} 
    6565 
    66 input, textarea 
     66input[type="text"], 
     67input[type="button"], 
     68input[type="password"], 
     69textarea 
    6770{ 
    6871  font-size: 9pt; 
     
    7174  padding-left: 3px; 
    7275  padding-right: 3px; 
     76  border: 1px solid #666666; 
    7377  color: #333333; 
    7478  background-color: #ffffff; 
    75   border: 1px solid #666666; 
    76   /* css hack for IE */ 
    77   background-color: expression(this.type=="checkbox" || this.type=="radio"? 'transparent' : '#ffffff'); 
    78   border-width: expression(this.type=="checkbox" || this.type=="radio"? '0' : '1px'); 
    79 } 
    80  
    81 input[type="checkbox"], 
    82 input[type="radio"] 
    83 { 
    84   border: 0; 
    85   padding: 0; 
    86   background-color: transparent; 
     79} 
     80 
     81input, textarea 
     82{ 
     83  color: #333333; 
     84  padding-left: 3px; 
     85  padding-right: 3px; 
     86  /* IE hacks for input elements */ 
     87  border-style: expression(this.type=='checkbox' || this.type=='radio' ? 'none' : 'solid'); 
     88  border-width: expression(this.type=='checkbox' || this.type=='radio' ? '0' : '1px'); 
     89  border-color: expression(this.type=='checkbox' || this.type=='radio' ? '' : '#666666'); 
     90  background-color: expression(this.type=='checkbox' || this.type=='radio' ? 'transparent' : '#ffffff'); 
    8791} 
    8892 
Note: See TracChangeset for help on using the changeset viewer.