[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - zope3.css:1.21
Stuart Bishop
zen@shangri-la.dropbear.id.au
Mon, 14 Jul 2003 11:29:02 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv24906/src/zope/app/browser/skins/rotterdam
Modified Files:
zope3.css
Log Message:
- Make Widget validation errors humanly readable, it a half-arsed sort of way.
Widgets have spawned an 'error' attribute, set by getData.
- Display validation errors next to the dud input in Widget.row()
- Make description a tooltip of a Widget's label. This is currently done
by abusing the <acronym> tag.
- addwizard and editwizard work again with the recent editview changes
=== Zope3/src/zope/app/browser/skins/rotterdam/zope3.css 1.20 => 1.21 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/zope3.css:1.20 Wed Jun 18 12:02:34 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/zope3.css Mon Jul 14 11:28:27 2003
@@ -332,21 +332,36 @@
}
div.row {
+ display: table-row;
clear: both;
padding-top: 10px;
}
+div.row div {
+ margin: 0.4em;
+ padding-bottom: 0.4em;
+ vertical-align: top;
+}
+
div.row div.label {
- float: left;
+ display: table-cell;
width: 100px;
text-align: right;
- margin-right: 0.8em;
+ padding-right: 0.8em;
+ padding-top: 0.8em;
font-weight: bold;
}
# XXX someone please come and do this properly
div.row div.field {
- float: right;
+ display: table-cell;
+ text-align: left;
+}
+div.row div.error {
+ display: table-cell;
text-align: left;
+ color: red;
+ padding-left: 0.8em;
+ padding-top: 0.8em;
}
div.box {