improved css

This commit is contained in:
Francesco Mangiacrapa 2021-03-22 17:47:05 +01:00
parent f02743a536
commit a8900c41e1
4 changed files with 14 additions and 5 deletions

View File

@ -356,7 +356,7 @@
</b:Popover>
</span>
<g:SimplePanel ui:field="workspaceResourcesContainer"
width="100%" visible="true"></g:SimplePanel>
width="95%" visible="true"></g:SimplePanel>
</b:ControlGroup>
<b:Button title="Continue" ui:field="continueThirdStep"

View File

@ -26,7 +26,7 @@
margin-top: 30px;
}
</ui:style>
<g:HTMLPanel width="96%">
<g:HTMLPanel width="100%">
<g:HTMLPanel>
<b:Heading size="1" addStyleNames="{style.custom-header}">Selected Items</b:Heading>

View File

@ -53,7 +53,7 @@ public class SelectedResourceWidget extends Composite {
/** The field name. */
@UiField
com.github.gwtbootstrap.client.ui.Label fieldName;
Label fieldName;
@UiField
Label fieldDescription;

View File

@ -25,6 +25,14 @@
font-size: 12px;
}
.title-text {
font-weight: bold;
font-size: 14px;
display: inline;
vertical-align: middle;
color: #222;
}
.icon-my-style {
font-size: 1.2em;
margin-right: 10px;
@ -34,12 +42,13 @@
</ui:style>
<g:HTMLPanel addStyleNames="{style.margin-bottom-8}">
<g:FlowPanel addStyleNames="{style.selected-resources}">
<!-- <b:Icon type="PUSHPIN" addStyleNames="{style.icon-my-style}"></b:Icon> -->
<!-- <b:Icon type="PUSHPIN" addStyleNames="{style.icon-my-style}"></b:Icon> -->
<b:Button ui:field="buttonEdit" icon="PENCIL"
title="Edit the resource information" />
<b:Button ui:field="buttonDelete" icon="TRASH"
title="Remove this resource" />
<b:Label ui:field="fieldName"></b:Label>
<g:Label ui:field="fieldName"
addStyleNames="{style.title-text}"></g:Label>
<g:Label ui:field="fieldDescription" visible="false"
addStyleNames="{style.descr-text}"></g:Label>
</g:FlowPanel>