Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Changes in validation panel header and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Sep 13, 2012
1 parent 29e14f3 commit 5225723
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 12 deletions.
@@ -1,6 +1,5 @@
package org.zanata.webtrans.client.resources;

import org.zanata.webtrans.shared.model.TransUnitId;
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
import com.google.gwt.i18n.client.LocalizableResource.Generate;
import com.google.gwt.i18n.client.Messages;
Expand Down Expand Up @@ -39,8 +38,8 @@ public interface TableEditorMessages extends Messages
String validationWarningsHeading(@PluralCount int warningCount);
// @formatter:on

@DefaultMessage(" Run Validation")
String runValidation();
@DefaultMessage(" Run check")
String runCheck();

@DefaultMessage("Copy from translation memory match result no.{0}")
String copyFromTM(int index);
Expand Down
Expand Up @@ -27,6 +27,12 @@
overflow: hidden;
white-space: nowrap;
}

.container a:hover
{
color:#686868;
text-decoration:underline;
}

.tuDetailsLabel {
font-weight: bold;
Expand All @@ -44,7 +50,7 @@
</ui:style>

<g:DisclosurePanel animationEnabled="true" addStyleNames="{style.container} fadeElement" ui:field="disclosurePanel">
<g:customHeader>
<g:customHeader >
<g:Label ui:field="headerLabel" styleName="{style.headerLabel}" />
</g:customHeader>
<g:Grid>
Expand Down
Expand Up @@ -9,17 +9,26 @@
.container {
width: 50%;
margin-top: 5px;
margin-left:28px;
}

.headerLabel
{
font-size: 11px;
font-weight: bold;
}

.headerLabel:hover
{
text-decoration: underline;
}

.label {
font-size: 11px;
}

.header {
width: 100%;
font-size: 11px;
font-weight: bold;
text-align: left;
text-indent: 5px;
cursor: pointer;
background: #FFFFFF;
Expand All @@ -44,10 +53,10 @@
<g:customHeader>
<g:HorizontalPanel styleName="{style.header}">
<g:cell horizontalAlignment="ALIGN_LEFT" verticalAlignment="ALIGN_MIDDLE">
<g:Label ui:field="headerLabel" styleName="{style.label}" />
<g:Label ui:field="headerLabel" styleName="{style.headerLabel}" />
</g:cell>
<g:cell horizontalAlignment="ALIGN_RIGHT" width="16px" verticalAlignment="ALIGN_MIDDLE">
<g:InlineLabel ui:field="validateButton" title="{messages.runValidation}" styleName="icon-check {style.label}" text="{messages.runValidation}" />
<g:InlineLabel ui:field="validateButton" styleName="icon-check {style.headerLabel}" text="{messages.runCheck}" />
</g:cell>
</g:HorizontalPanel>
</g:customHeader>
Expand Down
Expand Up @@ -59,7 +59,7 @@
<g:InlineLabel ui:field="notificationLabel" addStyleNames="{style.notificationLabel}"/>
<g:InlineLabel ui:field="notificationTab" styleName="icon-bell {style.menuButton}"/>
<g:InlineLabel ui:field="editorOptionsTab" styleName="icon-cog {style.menuButton}"/>
<g:InlineLabel ui:field="validationOptionsTab" styleName="icon-ok-circle-2 {style.menuButton}"/>
<g:InlineLabel ui:field="validationOptionsTab" styleName="icon-check {style.menuButton}"/>
</g:FlowPanel>
</g:layer>

Expand Down
Expand Up @@ -203,7 +203,7 @@ Removes some of the styling on the page-level splitters

}

.transUnitTable tr:hover, .transUnitTable tr.selected
.transUnitTable tr.selected
{
border-right: 2px dotted #0085CC;
border-left: 2px dotted #0085CC;
Expand Down

0 comments on commit 5225723

Please sign in to comment.