Messages/src/main/java/org/gcube/portets/user/message_conversations/client/ui/DisplayMessage.ui.xml

33 lines
1.4 KiB
XML

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:m="urn:import:gwt.material.design.client.ui"
xmlns:ma="urn:import:gwt.material.design.addins.client">
<ui:style>
.animation {
transition: 0.4s all;
-webkit-transition: 0.4s all;
-moz-transition: 0.4s all;
}
.overflowXHidden {
overflow-x: hidden !important; /* needed in windows */
}
</ui:style>
<m:MaterialPanel ui:field="mainPanel" backgroundColor="WHITE"
layoutPosition="RELATIVE" marginBottom="0" grid="l8 m12 s12"
paddingLeft="10" paddingRight="60" marginLeft="5"
addStyleNames="{style.animation} message-metadata" left="350">
<m:MaterialButton type="FLAT" text="Back" waves="LIGHT"
ui:field="showMessages" iconType="FAST_REWIND" hideOn="HIDE_ON_MED_UP"
textColor="BLUE" paddingLeft="0" />
<m:MaterialTitle ui:field="messageSender"
addStyleNames="message-sender" marginTop="0"></m:MaterialTitle>
<m:MaterialTitle ui:field="messageSubject" marginTop="0"></m:MaterialTitle>
<m:MaterialTitle ui:field="messageRecipients" visible="false"
addStyleNames="message-recipients" marginTop="0"></m:MaterialTitle>
<m:MaterialRow ui:field="messageAttachmentsBody"></m:MaterialRow>
<m:MaterialTextArea ui:field="messageContent"
resizeRule="AUTO" visible="false" readOnly="true" />
</m:MaterialPanel>
</ui:UiBinder>