ISIS-1527: makes the edit icon overlay consistent for all property types, with a general fix for Firefox.
The issue with Firefox is that cannot overlay on top of a disabled field. The solution adopted is to shift the overlay right Project: http://git-wip-us.apache.org/repos/asf/isis/repo Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/314ed28f Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/314ed28f Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/314ed28f Branch: refs/heads/maint-1.13.1 Commit: 314ed28f255ab0dcb29cfdb6a7b10b7ad77d9a4a Parents: e27619c Author: Dan Haywood <d...@haywood-associates.co.uk> Authored: Wed Oct 26 17:24:30 2016 +0100 Committer: Dan Haywood <d...@haywood-associates.co.uk> Committed: Wed Oct 26 17:24:30 2016 +0100 ---------------------------------------------------------------------- .../viewer/wicket/ui/pages/bootstrap-overrides.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/isis/blob/314ed28f/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css ---------------------------------------------------------------------- diff --git a/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css b/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css index 8edc19c..fefd454 100644 --- a/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css +++ b/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides.css @@ -797,9 +797,19 @@ tr.headers th form input { margin-bottom: 10px; } -.stringPanel .scalarValueInput .editing .edit { +.scalarValueInput .editing .edit { margin-top: -20px; - z-index: 2; + z-index: 20000; +} + +.booleanPanel .scalarValueInput .editing .edit { + margin-top: 0px; +} + +@-moz-document url-prefix() { + .scalarValueInput .editing .edit { + margin-right: -17px; + } } .actions-right .scalarPlaceholder .scalarValueInput {