From 31cf146e5701d4825ce26c64a2e98be65a4cbe6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Guimar=C3=A3es?= Date: Mon, 16 May 2022 13:30:33 +0100 Subject: [PATCH] Improve card contrast #1529 --- .../client/browse/BrowseRepresentation.java | 3 +- .../client/browse/BrowseRepresentation.ui.xml | 85 ++++++++++--------- .../roda/wui/client/common/resources/main.gss | 4 +- 3 files changed, 49 insertions(+), 43 deletions(-) diff --git a/roda-ui/roda-wui/src/main/java/org/roda/wui/client/browse/BrowseRepresentation.java b/roda-ui/roda-wui/src/main/java/org/roda/wui/client/browse/BrowseRepresentation.java index 0f67e560c8..e8a0ed8ded 100644 --- a/roda-ui/roda-wui/src/main/java/org/roda/wui/client/browse/BrowseRepresentation.java +++ b/roda-ui/roda-wui/src/main/java/org/roda/wui/client/browse/BrowseRepresentation.java @@ -335,7 +335,8 @@ public void onSelection(SelectionEvent event) { }); addTab.addStyleName("addTab"); addTab.getElement().setId("representationNewDescriptiveMetadata"); - addTab.getParent().addStyleName("addTabWrapper"); + addTab.addStyleName("newDescriptiveMetadataTab"); + // addTab.getParent().addStyleName("addTabWrapper"); PermissionClientUtils.bindPermission(newDescriptiveMetadata, aip.getPermissions(), RodaConstants.PERMISSION_METHOD_CREATE_DESCRIPTIVE_METADATA_FILE); diff --git a/roda-ui/roda-wui/src/main/java/org/roda/wui/client/browse/BrowseRepresentation.ui.xml b/roda-ui/roda-wui/src/main/java/org/roda/wui/client/browse/BrowseRepresentation.ui.xml index d7278b5b5b..c4165cf6ae 100644 --- a/roda-ui/roda-wui/src/main/java/org/roda/wui/client/browse/BrowseRepresentation.ui.xml +++ b/roda-ui/roda-wui/src/main/java/org/roda/wui/client/browse/BrowseRepresentation.ui.xml @@ -1,50 +1,55 @@ + xmlns:g="urn:import:com.google.gwt.user.client.ui" + xmlns:commonsearch="urn:import:org.roda.wui.client.common.search" + xmlns:common="urn:import:org.roda.wui.client.common"> - + - - - - - - - - - - - - + + + + + + + - - - + + + + + - - - - - - - + + + + - - - - + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + diff --git a/roda-ui/roda-wui/src/main/java/org/roda/wui/client/common/resources/main.gss b/roda-ui/roda-wui/src/main/java/org/roda/wui/client/common/resources/main.gss index 1987c00b95..705f0540a9 100644 --- a/roda-ui/roda-wui/src/main/java/org/roda/wui/client/common/resources/main.gss +++ b/roda-ui/roda-wui/src/main/java/org/roda/wui/client/common/resources/main.gss @@ -2441,7 +2441,7 @@ td.datePickerMonth, td.datePickerYear { vertical-align: top; } -.browse_aip .identification { +.browse_aip .identification, .browse-representation .identification { background-color: white; padding: 2em; border-bottom: 1px solid #dedcdc; @@ -2449,7 +2449,7 @@ td.datePickerMonth, td.datePickerYear { padding-top: 3em; } -.browse_aip .cards { +.browse_aip .cards, .browse-representation .cards { padding: 30px; background-color: #f7f7f7; min-height: 350px;