You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/10/25 13:20:28 UTC

[07/10] git commit: ISIS-537 Numbers should be right aligned in compact mode

ISIS-537 Numbers should be right aligned in compact mode

https://trello.com/c/CJtu5xWJ/83-numbers-should-be-right-aligned-in-tables


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/161d570c
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/161d570c
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/161d570c

Branch: refs/heads/master
Commit: 161d570c25a373aa0082e3e851b5d29e730b0e88
Parents: 1834d63
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Sat Oct 25 11:29:41 2014 +0300
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Sat Oct 25 11:07:17 2014 +0100

----------------------------------------------------------------------
 .../ajaxtable/CollectionContentsAsAjaxTablePanel.css | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/161d570c/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/CollectionContentsAsAjaxTablePanel.css
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/CollectionContentsAsAjaxTablePanel.css b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/CollectionContentsAsAjaxTablePanel.css
index 3a37b9c..98ec706 100644
--- a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/CollectionContentsAsAjaxTablePanel.css
+++ b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/CollectionContentsAsAjaxTablePanel.css
@@ -62,6 +62,21 @@
 	text-align: left;
 }
 
+/* numbers are right aligned in compact mode START */
+
+.collectionContentsAsAjaxTablePanel table.contents .javaMathBigDecimalPanel input:disabled,
+.collectionContentsAsAjaxTablePanel table.contents .javaMathBigIntegerPanel input:disabled,
+.collectionContentsAsAjaxTablePanel table.contents .bytePanel input:disabled,
+.collectionContentsAsAjaxTablePanel table.contents .shortPanel input:disabled,
+.collectionContentsAsAjaxTablePanel table.contents .integerPanel input:disabled,
+.collectionContentsAsAjaxTablePanel table.contents .longPanel input:disabled,
+.collectionContentsAsAjaxTablePanel table.contents .floatPanel input:disabled,
+.collectionContentsAsAjaxTablePanel table.contents .doublePanel input:disabled {
+	text-align: right;
+}
+
+/* numbers are right aligned in compact mode END */
+
 .collectionContentsAsAjaxTablePanel table.contents tbody td,
 .collectionContentsAsAjaxTablePanel table.contents thead th {
 	padding:5px;