This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
AppView.ui.xml
110 lines (97 loc) · 3.26 KB
/
AppView.ui.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!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:f="urn:import:org.zanata.webtrans.client"
xmlns:fui="urn:import:org.zanata.webtrans.client.ui"
ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator"
ui:generateLocales="en">
<ui:style type="org.zanata.webtrans.client.view.AppView.Styles">
.rootContainer {
width: 100%;
min-width: 960px;
background-color: #FFFFFF;
height: 100%;
}
.topPanel-Workspace {
overflow: hidden;
text-overflow: ellipsis;
}
.right-nav {
position: absolute;
right: 0;
}
.translationStats {
width: 230px;
height: 1.2em;
color: #595959;
cursor: pointer;
display: inline-block;
}
.highlightedTab {
color: #FF4500;
}
.readonly_label {
font-size: 14px;
font-weight: bold;
color: #B62918;
font-style: normal;
}
.selectedTab, .selectedTab:hover {
color: #416988 !important;
}
.disableTab, .disableTab:hover {
color: #777 !important;
cursor: default !important;
opacity: 0.5 !important;
}
.content {
height: 100%;
margin: 0 2em 0 0.1em;
}
</ui:style>
<g:LayoutPanel stylePrimaryName="{style.rootContainer}"
ui:field="rootContainer">
<g:layer top="0px" height="1.8em" left="0.5em" right="0.5em">
<g:HTMLPanel styleName="new-zanata">
<ul class="list--horizontal">
<li class="{style.topPanel-Workspace}">
<nobr>
<g:InlineLabel ui:field="readOnlyLabel"
styleName="{style.readonly_label}" />
<fui:Breadcrumb ui:field="projectLink" />
<fui:Breadcrumb ui:field="versionLink" />
<fui:Breadcrumb ui:field="filesLink" />
<fui:Breadcrumb ui:field="selectedDocumentSpan" />
</nobr>
</li>
<li class="{style.right-nav}">
<fui:TransUnitCountBar ui:field="translationStatsBar"
styleName="{style.translationStats}" />
<g:Anchor styleName="icon-list txt--hero"
ui:field="documentListTab" />
<g:Anchor styleName="icon-edit txt--hero"
ui:field="editorTab" />
<g:Anchor styleName="icon-search txt--hero"
ui:field="searchAndReplaceTab" />
<g:Anchor ui:field="keyShortcuts"
styleName="icon-keyboard txt--hero" />
</li>
</ul>
</g:HTMLPanel>
</g:layer>
<g:layer top="25px" bottom="0px" left='0.5em' right='0.5em'>
<g:HTMLPanel ui:field="contentContainer">
<div class="new-zanata">
<fui:UnorderedListWidget ui:field="notifications"
styleName="list--no-bullets l--push-right-1" />
</div>
<g:TabLayoutPanel ui:field="content" styleName="{style.content}"
barHeight="0" barUnit='PX' />
</g:HTMLPanel>
</g:layer>
<g:layer right="0" width="2em" top="25px" bottom="10px">
<g:LayoutPanel ui:field="sideMenuContainer" styleName="new-zanata" />
</g:layer>
</g:LayoutPanel>
</ui:UiBinder>