Applying CSS for overriding LR portal template/css

This commit is contained in:
Francesco Mangiacrapa 2022-11-11 11:45:48 +01:00
parent 38660a489a
commit ca20f20c11
3 changed files with 26 additions and 12 deletions

View File

@ -38,6 +38,7 @@
@ -99,6 +100,7 @@
@ -160,6 +162,7 @@
@ -221,6 +224,7 @@
@ -255,10 +259,9 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="geoportal-data-common-2.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/geoportal-data-common/geoportal-data-common">
<dependency-type>uses</dependency-type>
</dependent-module>
@ -359,6 +362,7 @@
@ -420,6 +424,7 @@
@ -481,6 +486,7 @@

View File

@ -157,6 +157,8 @@ public class GeonaDataEntryMainForm extends Composite {
public void setSelectedForm(CreateMetadataForm form) { public void setSelectedForm(CreateMetadataForm form) {
inputPanel.clear(); inputPanel.clear();
GWT.log("Showing form: " + form); GWT.log("Showing form: " + form);
form.getElement().addClassName("gna-dataentry-form-fieldset");
inputPanel.add(form); inputPanel.add(form);
} }

View File

@ -110,6 +110,12 @@ h1 {
padding: 10px !important; padding: 10px !important;
} }
.gna-dataentry-form-fieldset fieldset {
margin: 10px 0px !important;
border: 1px groove #ddd !important;
padding: 10px !important;
}
.table-current-content { .table-current-content {
width: 100%; width: 100%;
background-color: #efefef !important; background-color: #efefef !important;