Navigation Menu

Skip to content

Commit

Permalink
MDL-13329 :: Buttons in the sidblocks looked quite different in the d…
Browse files Browse the repository at this point in the history
…ifferent browsers. Changed several CSS aspects to make them look more similar, specially added IE "hacks".
  • Loading branch information
urs_hunkler committed Feb 4, 2008
1 parent c0d26d6 commit 7c3bf2a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
9 changes: 9 additions & 0 deletions theme/chameleon/styles_ie6.css
Expand Up @@ -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%;
}
Expand Down
8 changes: 8 additions & 0 deletions theme/chameleon/styles_ie7.css
@@ -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;
}
Expand Down
9 changes: 9 additions & 0 deletions theme/chameleon/user_styles.css
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7c3bf2a

Please sign in to comment.