Streamlined design

This commit is contained in:
Papick Garcia Taboada committed 2017-06-13 17:38:45 +02:00
1 parent c4b11ab6e2
commit b2884319b3
4 files changed
+19 -7

No files matched your search

@@ -6,15 +6,16 @@
<ui:style>
.image {
display: inline-block;
height: auto;
height: 80%;
width: 33.3%;
max-height: 90%;
border-radius: 4px;
padding-top:20%
}
.image img {
display: block;
height: auto;
height: 80%;
width: 100%;
max-height: 90%;
border-radius: 4px;
@@ -50,7 +51,7 @@
left: 34%;
}
.holder{
vertical-align: bottom;
}
</ui:style>
<rf:ResizableFlowPanel styleName="{style.holder">
@@ -19,17 +19,20 @@
right: 0px;
height: 100%;
width: 50%;
padding: 70px 20px 20px 40px
}
.bottom {
width: 100%;
height: 80px;
font-size: 50px;
font-size: 40px;
line-height: 70px;
text-align: center;
position: absolute;
bottom: 0px;
background-color: #008fcc;
color: white;
padding: 10px;
}
.image {
@@ -56,7 +56,7 @@
}
.cellTableCell {
line-height: 1.5em !important;
line-height: 1.7em !important;
vertical-align: middle;
font-size: 30px !important;
font-family: 'Open Sans', sans-serif !important;
@@ -171,9 +171,17 @@
}
.cellTableSailIdColumn {
}
.cellTableSailIdColumn img {
max-width: none;
margin-right: 20px;
margin-left: 10px;
margin-bottom: 10px;
vertical-align: middle;
}
}
@@ -101,11 +101,11 @@ public class SixtyInchLeaderBoard extends LeaderboardPanel {
@Override
public void renderNationalityFlag(ImageResource nationalityFlagImageResource, SafeHtmlBuilder sb) {
sb.append(FLAG_RENDERER.flag(nationalityFlagImageResource.getSafeUri(), 36, 24,""));
sb.append(FLAG_RENDERER.flag(nationalityFlagImageResource.getSafeUri(), 60, 40, ""));
}
@Override
protected void renderFlagImage(String flagImageURL, SafeHtmlBuilder sb,CompetitorDTO competitor) {
sb.append(FLAG_RENDERER.flag(UriUtils.fromString(flagImageURL), 36, 24,competitor.getName()));
sb.append(FLAG_RENDERER.flag(UriUtils.fromString(flagImageURL), 60, 40, competitor.getName()));
}
}