aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-07-29 08:23:27 +0000
committerchrisaga <chrisaga@piwigo.org>2006-07-29 08:23:27 +0000
commitb6bfe700213ba6cc49c6d10c7f0d8cb99e118d8e (patch)
tree3349c1139f21d3ff4113764a7e287ece33bcb214
parent8a38ed30744d5e83e596b0f81972a6d89b359b81 (diff)
merge from trunk r1512:1513 into branch 1.6 (better fix for bug 490)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1514 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--template/yoga/fix-ie5-ie6.css22
-rw-r--r--template/yoga/menubar.css32
2 files changed, 23 insertions, 31 deletions
diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css
index 5bf360219..044bd39e5 100644
--- a/template/yoga/fix-ie5-ie6.css
+++ b/template/yoga/fix-ie5-ie6.css
@@ -8,7 +8,7 @@ H1, #theHeader {
width: 100%; /* <- useless but seems to make IE6 happy */
}
#content {
- height: 1em; /* for IE6 it's like min-height */
+ height: 1em; /* for IE6 it's like min-height */
}
/* some theme set a border on INPUT which is not pretty for those */
@@ -18,7 +18,7 @@ INPUT.radio, INPUT.checkbox {
/* fix category thumbnails on main page */
#content UL.thumbnailCategories {
- width: 99%; /* buggy IE box model */
+ width: 99%; /* buggy IE box model */
}
/* fix tag clouds : IE doesn't like anything but inline */
@@ -28,20 +28,6 @@ INPUT.radio, INPUT.checkbox {
}
/* fix quickconnect layout */
-FORM#quickconnect UL.actions {
- width: 30px; /* <= get icons not so badly positionned */
+FORM#quickconnect FIELDSET {
+ width: 99%; /* correct an ugly 1 or 2 px misalignement with IE */
}
-
-FORM#quickconnect INPUT.text,
-FORM#quickconnect INPUT.password,
-FORM#quickconnect INPUT.submit {
- position: relative;
- left: -0.5em; /* definitively a bug ! */
-}
-
-FORM#quickconnect INPUT.text,
-FORM#quickconnect INPUT.password {
- width: 10em;
-}
-
-
diff --git a/template/yoga/menubar.css b/template/yoga/menubar.css
index d7bcced0b..696e9b128 100644
--- a/template/yoga/menubar.css
+++ b/template/yoga/menubar.css
@@ -52,10 +52,6 @@
margin: 10px auto;
width: 90%;
}
-#menubar FORM P {
- margin: 5px;
- font-size: 100%;
-}
#menubar INPUT {
text-indent: 2px;
}
@@ -69,11 +65,11 @@ FORM#quickconnect {
FORM#quickconnect FIELDSET {
margin: 0;
padding: 0 0 0.5em 0;
- overflow: hidden; /* Correct float issue with Opera 7.5 */
- width: 100%; /* // */
}
FORM#quickconnect P {
+ margin-left: 0;
+ font-size: 100%;
float: left;
clear: left;
}
@@ -93,20 +89,30 @@ FORM#quickconnect FIELDSET>UL.actions {
}
FORM#quickconnect UL.actions,
-FORM#quickconnect P,
+FORM#quickconnect P,
FORM#quickconnect LABEL {
- margin: 0 0.5em 0 0.5em;
+ padding: 0 0.5em 0 0.5em;
+}
+
+FORM#quickconnect LABEL {
+ margin:0;
+ width: 100%;
+ /* -moz-box-sizing: padding-box;*/
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
}
FORM#quickconnect INPUT[type=text],
FORM#quickconnect INPUT[type=password] {
- width: 16.5em;
+ width: 100%; /* mozilla can handle 100% */
}
-
-FORM#quickconnect INPUT.text,
+/* same as above for IE with inputfix.htc */
+/* unfortunately IE doesn't handle that correctly */
+/* so you should set a width in em in local_layout.css */
+/*FORM#quickconnect INPUT.text,
FORM#quickconnect INPUT.password {
- width: 16.5em; /* <= same as above for IE with inputfix.htc */
-}
+ width: 95%;
+}*/
#menubar #menuTagCloud {
text-align: center;