]> git.mjollnir.org Git - moodle.git/commitdiff
merged from 1.9 :: MDL-13329 :: Buttons in the sidblocks looked quite different in...
authorurs_hunkler <urs_hunkler>
Mon, 4 Feb 2008 21:02:08 +0000 (21:02 +0000)
committerurs_hunkler <urs_hunkler>
Mon, 4 Feb 2008 21:02:08 +0000 (21:02 +0000)
theme/chameleon/styles_ie6.css
theme/chameleon/styles_ie7.css
theme/chameleon/user_styles.css

index d13b14eceac93d8f903eba4133a1964d2243d9c9..bcaeeec0fe01b9c53b6e32fef672fa77e5052289 100644 (file)
@@ -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%;
 }
index e0badd15ddd5c8bb617adf34468c966e53b2f7bb..bab24079c68b6b9c008e11cb602ef148bec9c546 100644 (file)
@@ -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;
 }
index babfe91dce8291314172b5b43c5efe3425dbea23..334fe096557841e219050982c5ddee173d547b46 100644 (file)
@@ -178,6 +178,18 @@ 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;
+}
+.block_login .loginform .fld {
+  text-align: right;
+}
 div.sideblock div.calendar-controls a.next {
   text-align: right;
 }