summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-12-09 17:53:42 +0000
committeralecpl <alec@alec.pl>2008-12-09 17:53:42 +0000
commit6291c90bd5e8ffd41e2e13228353210f4b1b73bb (patch)
treeb25abc564b42c0fc560571c0d85eb0f97633496a
parentde2e0bfeb8bf6884ae4185b94d495a55322348ae (diff)
#1485455: fix checkboxes style in Opera
-rw-r--r--skins/default/common.css24
1 files changed, 14 insertions, 10 deletions
diff --git a/skins/default/common.css b/skins/default/common.css
index 12cc2713b..0d90219cb 100644
--- a/skins/default/common.css
+++ b/skins/default/common.css
@@ -63,27 +63,31 @@ hr
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