projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix fieldset breaking content after
[roojs1]
/
css
/
form.css
diff --git
a/css/form.css
b/css/form.css
index
5850ed5
..
a9dfbc1
100644
(file)
--- a/
css/form.css
+++ b/
css/form.css
@@
-18,10
+18,12
@@
position: relative;
z-index: 2;
}
position: relative;
z-index: 2;
}
-
-.x-form-label-right
+.x-form-displayfield {
+ padding-top: 3px;
+}
+.x-form-label-right label
{
{
- align: right;
+
text-
align: right;
}
.x-form-label-top .x-form-item label
}
.x-form-label-top .x-form-item label
@@
-61,7
+63,7
@@
}
.x-form-text
{
}
.x-form-text
{
- height: 1
4px;
+ height: 1
8px; /* needs 20px in one of the non-roo projects..? */
line-height: 18px;
vertical-align: middle;
background: url(../images/default/form/bg.gif) repeat-x 0 0;
line-height: 18px;
vertical-align: middle;
background: url(../images/default/form/bg.gif) repeat-x 0 0;
@@
-71,6
+73,15
@@
padding-top: 2px;
padding-bottom: 2px;
}
padding-top: 2px;
padding-bottom: 2px;
}
+/*
+on our demo's this is far to small
+
+*/
+.x-form-item .x-form-text
+{
+ height: 14px; /* need to determine when this should be larger or smaller.. ? */
+}
+
/* -- border around text elements */
.x-form-text,
.x-form-textarea,
/* -- border around text elements */
.x-form-text,
.x-form-textarea,
@@
-78,16
+89,16
@@
{
border: solid 1px black;
}
{
border: solid 1px black;
}
+
.x-form-field-wrap
{
position: relative;
whitespace: nowrap;
}
.x-form-field-wrap
{
position: relative;
whitespace: nowrap;
}
-asdffff
+
/* gecko specific fix */
/* gecko specific fix */
-}
.roo-ie .roo-strict .x-form-text,
.roo-ie .x-form-text
{
.roo-ie .roo-strict .x-form-text,
.roo-ie .x-form-text
{
@@
-120,6
+131,7
@@
asdffff
}
.roo-gecko .x-form-item .x-form-text {
}
.roo-gecko .x-form-item .x-form-text {
+ /* the dynamic demo needs 20px */
height:16px;
}
.roo-gecko .x-form-text {
height:16px;
}
.roo-gecko .x-form-text {
@@
-128,6
+140,10
@@
asdffff
padding-bottom: 0px;
}
padding-bottom: 0px;
}
+.x-form-empty-field {
+ color : #666;
+}
+
/* ---------------------- FORM INVALID --------------------- */
.x-form-invalid-icon
/* ---------------------- FORM INVALID --------------------- */
.x-form-invalid-icon
@@
-146,8
+162,8
@@
asdffff
.x-form-invalid
{
.x-form-invalid
{
- background: url(../images/default/grid/invalid_line.gif) repeat-x 0 16px;
- border: 1px solid red;
+ background:
#ff0
url(../images/default/grid/invalid_line.gif) repeat-x 0 16px;
+ border: 1px solid red
!important
;
}
textarea.x-form-invalid
{
}
textarea.x-form-invalid
{
@@
-193,13
+209,14
@@
textarea.x-form-invalid
.x-form fieldset
{
border: 1px solid #ccc;
.x-form fieldset
{
border: 1px solid #ccc;
- padding-top:
12
px;
+ padding-top:
7
px;
padding-left: 12px;
padding-left: 12px;
- padding-bottom: 16px;
-
-
+ padding-bottom: 7px;
+ margin-bottom:9px;
+}
+.roo-ie .x-form fieldset {
+ float: left; /*ie borked */
}
}
-
.x-form fieldset legend {
font-weight: bold;
.x-form fieldset legend {
font-weight: bold;