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

Commit

Permalink
Fix firefox css, fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Aug 30, 2012
1 parent 7fe1ef9 commit 100fbdc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
Expand Up @@ -4,5 +4,4 @@

public interface WebTransStyles extends CssResource
{
String banner();
}
@@ -1,8 +1 @@

@url bannerBackgroundUrl bannerBackground;

.banner {
background: bannerBackgroundUrl repeat-x;
display: table-cell;
vertical-align: middle;
}
7 changes: 7 additions & 0 deletions zanata-war/src/main/webapp/stylesheet/zanata.css
Expand Up @@ -6,6 +6,11 @@ body {
font: 12px helvetica, arial, Tahoma, Geneva, sans-serif;
}

select
{
height:24px;
}

select,input,button,textarea,button {
font: 99% arial, helvetica, clean, sans-serif;
}
Expand Down Expand Up @@ -1019,6 +1024,7 @@ div.glosaryFileUploadDialog label
div.glosaryFileUploadDialog select
{
float:right;
height:22px;

}

Expand Down Expand Up @@ -1058,6 +1064,7 @@ a.admin_link {
color: #7092C3;
text-decoration: none;
text-align: center;
outline:none;
}

a.admin_link:hover {
Expand Down
Expand Up @@ -21,13 +21,12 @@
import org.testng.annotations.Test;
import org.zanata.ZanataRestTest;
import org.zanata.common.LocaleId;
import org.zanata.dao.GlossaryDAO;
import org.zanata.dao.LocaleDAO;
import org.zanata.rest.client.IGlossaryResource;
import org.zanata.rest.dto.Glossary;
import org.zanata.rest.dto.GlossaryEntry;
import org.zanata.rest.dto.GlossaryTerm;
import org.zanata.seam.SeamAutowire;
import org.zanata.service.impl.GlossaryFileServiceImpl;
import org.zanata.service.impl.LocaleServiceImpl;

public class GlossaryRestTest extends ZanataRestTest
Expand Down Expand Up @@ -72,7 +71,8 @@ protected void prepareResources()
seam.ignoreNonResolvable()
.use("session", getSession())
.use("identity", mockIdentity)
.useImpl(LocaleServiceImpl.class);
.useImpl(LocaleServiceImpl.class)
.useImpl(GlossaryFileServiceImpl.class);

GlossaryService glossaryService = seam.autowire(GlossaryService.class);

Expand Down

0 comments on commit 100fbdc

Please sign in to comment.