From 6291c90bd5e8ffd41e2e13228353210f4b1b73bb Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 09 Dec 2008 12:53:42 -0500
Subject: [PATCH] #1485455: fix checkboxes style in Opera

---
 skins/default/common.css |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/skins/default/common.css b/skins/default/common.css
index 12cc271..0d90219 100644
--- a/skins/default/common.css
+++ b/skins/default/common.css
@@ -63,27 +63,31 @@
   border-style: none;
 }
 
-input, textarea
+input[type="text"],
+input[type="button"],
+input[type="password"],
+textarea
 {
   font-size: 9pt;
   font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
   padding: 1px;
   padding-left: 3px;
   padding-right: 3px;
+  border: 1px solid #666666;
   color: #333333;
   background-color: #ffffff;
-  border: 1px solid #666666;
-  /* css hack for IE */
-  background-color: expression(this.type=="checkbox" || this.type=="radio"? 'transparent' : '#ffffff');
-  border-width: expression(this.type=="checkbox" || this.type=="radio"? '0' : '1px');
 }
 
-input[type="checkbox"],
-input[type="radio"]
+input, textarea
 {
-  border: 0;
-  padding: 0;
-  background-color: transparent;
+  color: #333333;
+  padding-left: 3px;
+  padding-right: 3px;
+  /* IE hacks for input elements */
+  border-style: expression(this.type=='checkbox' || this.type=='radio' ? 'none' : 'solid');
+  border-width: expression(this.type=='checkbox' || this.type=='radio' ? '0' : '1px');
+  border-color: expression(this.type=='checkbox' || this.type=='radio' ? '' : '#666666');
+  background-color: expression(this.type=='checkbox' || this.type=='radio' ? 'transparent' : '#ffffff');
 }
 
 input.button

--
Gitblit v1.9.1