Permalink
Browse files

MDL-13329 :: Buttons in the sidblocks looked quite different in the d…

…ifferent browsers. Changed several CSS aspects to make them look more similar, specially added IE "hacks".
  • Loading branch information...
1 parent c0d26d6 commit 7c3bf2a16b23f49840d3d25e7ae7a1ad6e80887b urs_hunkler committed Feb 4, 2008
Showing with 26 additions and 0 deletions.
  1. +9 −0 theme/chameleon/styles_ie6.css
  2. +8 −0 theme/chameleon/styles_ie7.css
  3. +9 −0 theme/chameleon/user_styles.css
@@ -4,6 +4,15 @@
div.breadcrumb span.sep {
font-family: arial, sans-serif;
}
+input {
+ padding: expression((this.type=="submit")?'0 4px':this.currentStyle.paddingTop+" "+this.currentStyle.paddingRight+" "+this.currentStyle.paddingBottom+" "+this.currentStyle.paddingLeft);
+}
+div.sideblock div.content input {
+ text-align: expression((this.type=="submit")?'center':this.currentStyle.textAlign);
+}
+div.sideblock div.content div.btn input {
+ width: expression((this.type=="submit")?'auto':this.currentStyle.width);
+}
.tabtree {
height: 100%;
}
@@ -1,6 +1,14 @@
/*
* These styles are ONLY included for IE 7 (via meta.php)
*/
+
+input[type="submit"] {
+ padding: 0 2px;
+}
+div.sideblock div.content input[type="submit"] {
+ text-align: center;
+ width: auto;
+}
.tabrow0 {
padding-top: 5px;
}
@@ -178,6 +178,15 @@ ul.section li {
div.sideblock div.content * {
text-align: left;
}
+div.sideblock div.content input[type="submit"] {
+ width: auto;
+}
+button#searchform_button {
+ width: auto;
+}
+div.sideblock div.content div.btn input {
+ width: auto;
+}
div.sideblock div.calendar-controls a.next {
text-align: right;
}

0 comments on commit 7c3bf2a

Please sign in to comment.