Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix bug 490 (better fix) no absolute sizes for input fields, but they…
… are shorter in IE

git-svn-id: http://piwigo.org/svn/trunk@1513 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
chrisaga committed Jul 29, 2006
1 parent 7fdd547 commit 9c86396
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
22 changes: 4 additions & 18 deletions template/yoga/fix-ie5-ie6.css
Expand Up @@ -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 */
Expand All @@ -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 */
Expand All @@ -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;
}


32 changes: 19 additions & 13 deletions template/yoga/menubar.css
Expand Up @@ -52,10 +52,6 @@
margin: 10px auto;
width: 90%;
}
#menubar FORM P {
margin: 5px;
font-size: 100%;
}
#menubar INPUT {
text-indent: 2px;
}
Expand All @@ -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;
}
Expand All @@ -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;
Expand Down

0 comments on commit 9c86396

Please sign in to comment.