Changelog updated. Arrows' colors changed.
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/image-previewer-widget@126953 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
79e3ca6925
commit
eaa167b3bf
|
@ -1,6 +1,8 @@
|
||||||
<ReleaseNotes>
|
<ReleaseNotes>
|
||||||
<Changeset component="org.gcube.portlets-widgets.image-previewer-widget.1-1-0" date="2016-04-02">
|
<Changeset component="org.gcube.portlets-widgets.image-previewer-widget.1-1-0" date="2016-04-02">
|
||||||
<Change>Removed GWT Standard css</Change>
|
<Change>Removed GWT Standard css</Change>
|
||||||
|
<Change>Style changes</Change>
|
||||||
|
<Change>Responsive widget</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-widgets.image-previewer-widget.1-0-0" date="2016-01-22">
|
<Changeset component="org.gcube.portlets-widgets.image-previewer-widget.1-0-0" date="2016-01-22">
|
||||||
<Change>First Release</Change>
|
<Change>First Release</Change>
|
||||||
|
|
|
@ -101,8 +101,8 @@ public class Carousel extends Composite{
|
||||||
commands.setCellHorizontalAlignment(nextButton, HorizontalPanel.ALIGN_RIGHT);
|
commands.setCellHorizontalAlignment(nextButton, HorizontalPanel.ALIGN_RIGHT);
|
||||||
|
|
||||||
// set sizes
|
// set sizes
|
||||||
downloadButton.setWidth("80px");
|
downloadButton.setWidth("90px");
|
||||||
closeButton.setWidth("80px");
|
closeButton.setWidth("90px");
|
||||||
downloadButtonSmart.setWidth("15px");
|
downloadButtonSmart.setWidth("15px");
|
||||||
closeButtonSmart.setWidth("15px");
|
closeButtonSmart.setWidth("15px");
|
||||||
|
|
||||||
|
@ -300,8 +300,8 @@ public class Carousel extends Composite{
|
||||||
shownImage.setTitle(listOfAttachmentsToShow.get(currentPreviewPosition).getToolTipToShow());
|
shownImage.setTitle(listOfAttachmentsToShow.get(currentPreviewPosition).getToolTipToShow());
|
||||||
|
|
||||||
// change the title to the modal
|
// change the title to the modal
|
||||||
String shownTitle = listOfAttachmentsToShow.get(currentPreviewPosition).getTitleToShow().length() > 40 ?
|
String shownTitle = listOfAttachmentsToShow.get(currentPreviewPosition).getTitleToShow().length() > 50 ?
|
||||||
listOfAttachmentsToShow.get(currentPreviewPosition).getTitleToShow().substring(0, 40) + "..." :
|
listOfAttachmentsToShow.get(currentPreviewPosition).getTitleToShow().substring(0, 50) + "..." :
|
||||||
listOfAttachmentsToShow.get(currentPreviewPosition).getTitleToShow();
|
listOfAttachmentsToShow.get(currentPreviewPosition).getTitleToShow();
|
||||||
mainModalPanel.setTitle(shownTitle);
|
mainModalPanel.setTitle(shownTitle);
|
||||||
|
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
|
|
||||||
<g:HorizontalPanel ui:field="commands" styleName="command-container">
|
<g:HorizontalPanel ui:field="commands" styleName="command-container">
|
||||||
<b:Button title="Previous" ui:field="prevButton"
|
<b:Button title="Previous" ui:field="prevButton"
|
||||||
styleName="arrow"></b:Button>
|
styleName="arrow-left"></b:Button>
|
||||||
<b:Button title="Download" ui:field="downloadButtonSmart"></b:Button>
|
<b:Button title="Download" ui:field="downloadButtonSmart"></b:Button>
|
||||||
<b:Button title="Close" ui:field="closeButtonSmart"></b:Button>
|
<b:Button title="Close" ui:field="closeButtonSmart"></b:Button>
|
||||||
<b:Button title="Download" ui:field="downloadButton">Download</b:Button>
|
<b:Button title="Download" ui:field="downloadButton">Download</b:Button>
|
||||||
<b:Button title="Close" ui:field="closeButton">Close</b:Button>
|
<b:Button title="Close" ui:field="closeButton">Close</b:Button>
|
||||||
<b:Button title="Next" ui:field="nextButton" styleName="arrow"></b:Button>
|
<b:Button title="Next" ui:field="nextButton" styleName="arrow-right"></b:Button>
|
||||||
</g:HorizontalPanel>
|
</g:HorizontalPanel>
|
||||||
</g:HTMLPanel>
|
</g:HTMLPanel>
|
||||||
</b:Modal>
|
</b:Modal>
|
||||||
|
|
|
@ -69,8 +69,16 @@
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow {
|
.arrow-left{
|
||||||
color: white;
|
color: gray!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arrow-left:hover{
|
||||||
|
color: white!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arrow-right{
|
||||||
|
color: white!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-body {
|
.modal-body {
|
||||||
|
|
Loading…
Reference in New Issue