dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17132
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6721: Added styling which can be used in custom forms
------------------------------------------------------------
revno: 6721
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-04-24 14:28:43 +0200
message:
Added styling which can be used in custom forms
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css 2012-04-11 09:02:06 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css 2012-04-24 12:28:43 +0000
@@ -536,3 +536,29 @@
{
text-align: right;
}
+
+/*----------------------------------------------------------------------------*/
+/* Custom forms, put a <div id="cde-comfy"></div> around form to use */
+/*----------------------------------------------------------------------------*/
+
+#cde-comfy table
+{
+ border-collapse: collapse;
+}
+
+#cde-comfy table, #cde-comfy th, #cde-comfy td
+{
+ border: 1px solid #c0c0c0;
+}
+
+#cde-comfy td, #cde-comfy th
+{
+ height: 30px;
+ padding: 10px;
+ margin: 10px;
+}
+
+.cde-greyfield
+{
+ background-color: #e0e0e0;
+}