Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit c164e8c

Browse files
authored
Merge pull request #5 from ncbi/jats_1.11
Jats 1.11
2 parents 7a9a98e + dd44731 commit c164e8c

115 files changed

Lines changed: 25473 additions & 2294 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

100755100644
File mode changed.

css/jats-reader.css

Lines changed: 0 additions & 610 deletions
This file was deleted.

css/jr.content.css

100755100644
Lines changed: 252 additions & 49 deletions
Large diffs are not rendered by default.

css/jr.fip.css

100755100644
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Find in Page CSS for JATS Reader */
21
/*
32
This work is in the public domain and may be reproduced, published or
43
otherwise used without the permission of the National Library of Medicine (NLM).
@@ -12,6 +11,9 @@
1211
warranties, express or implied, including warranties of performance,
1312
merchantability or fitness for any particular purpose.
1413
*/
14+
/* Commit: $Id$ */
15+
16+
/* Find in Page CSS for JATS Reader */
1517
/* focus highlightes supression */
1618
aside:focus,
1719
nav:focus,

css/jr.objectbox.css

100755100644
Lines changed: 50 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* ObjectBox CSS for JATS Reader */
21
/*
32
This work is in the public domain and may be reproduced, published or
43
otherwise used without the permission of the National Library of Medicine (NLM).
@@ -12,6 +11,8 @@
1211
warranties, express or implied, including warranties of performance,
1312
merchantability or fitness for any particular purpose.
1413
*/
14+
/* Commit: $Id$ */
15+
/* ObjectBox CSS for JATS Reader */
1516

1617
#jr-objectbox {
1718
position: absolute;
@@ -28,6 +29,10 @@
2829
right: 8pt;
2930
top: 8pt;
3031
z-index: 7000;
32+
-webkit-user-select: initial;
33+
-moz-user-select: initial;
34+
-ms-user-select: initial;
35+
user-select: initial;
3136
}
3237

3338
#jr-objectbox.help,
@@ -122,7 +127,7 @@ aside#jr-objectbox .cnt {
122127
-webkit-overflow-scrolling: touch;
123128
position: static;
124129
box-sizing: border-box;
125-
background-color: #FFE;
130+
background-color: #FFF;
126131
}
127132

128133
/* article's content (figures/tables) in the object box */
@@ -136,9 +141,10 @@ aside#jr-objectbox .cnt {
136141
margin-top: 0;
137142
}
138143

139-
#jr-objectbox article[data-type=fig] .figure {
144+
#jr-objectbox article[data-type=fig] .figure,
145+
#jr-objectbox article[data-type=boxed-text] .graphic {
140146
text-align: center;
141-
margin: 1em 0;
147+
margin: 1em auto;
142148
}
143149

144150
#jr-objectbox article img {
@@ -150,13 +156,9 @@ aside#jr-objectbox .cnt {
150156
border: none;
151157
padding: 1em;
152158
}
153-
154-
#jr-objectbox article[data-type=fig] > div > div,
155-
#jr-objectbox article[data-type=fig] > div > h3,
156-
#jr-objectbox article[data-type=fig] > div > p,
157-
#jr-objectbox article[data-type=table-wrap] > div > div,
158-
#jr-objectbox article[data-type=table-wrap] > div > h3,
159-
#jr-objectbox article[data-type=table-wrap] > div > p{
159+
#jr-objectbox article[data-type=fig] > div > *,
160+
#jr-objectbox article[data-type=boxed-text] > div > *,
161+
#jr-objectbox article[data-type=table-wrap] > div > * {
160162
max-width: 6in;
161163
margin-left:auto;
162164
margin-right:auto;
@@ -172,6 +174,33 @@ aside#jr-objectbox .cnt {
172174
margin-right:auto;
173175
}
174176

177+
/*********************************************************/
178+
/* Object boxen of class "cite" */
179+
#jr-objectbox.cite {
180+
max-width: 8in;
181+
max-height: 7in;
182+
margin: auto;
183+
}
184+
185+
#jr-objectbox.cite article[data-type=cite]{
186+
font-family: "Trebuchet MS", ArialMT, Arial, sans-serif;
187+
}
188+
189+
#jr-objectbox.cite h3.loading,
190+
#jr-objectbox.cite h3.failed {
191+
text-align: center;
192+
color: black;
193+
}
194+
195+
#jr-objectbox.cite h3.failed {
196+
color: red;
197+
}
198+
199+
#jr-objectbox.cite td,
200+
#jr-objectbox.cite th {
201+
padding: 0.75em 1em;
202+
}
203+
175204
/*********************************************************/
176205
/* Object boxen of class "note" */
177206

@@ -196,7 +225,8 @@ aside#jr-objectbox .cnt {
196225
padding: 1em;
197226
}
198227

199-
#jr-objectbox.note h1 {
228+
#jr-objectbox.note h1,
229+
#jr-objectbox.note h2 {
200230
font: 18pt/36pt "Archivo Narrow", "Arial Narrow", Calibri, "Trebuchet MS", ArialMT, Arial, sans-serif;
201231
color: #FFF8aa;
202232
margin: 3pt;
@@ -214,7 +244,8 @@ aside#jr-objectbox .cnt {
214244
}
215245

216246
@media screen and (max-width: 4in) {
217-
#jr-objectbox.note h1 {
247+
#jr-objectbox.note h1,
248+
#jr-objectbox.note h2 {
218249
font-size: 14pt;
219250
line-height: 24pt;
220251
}
@@ -312,11 +343,16 @@ span.pseudobutton {
312343
bottom:3pt;
313344
}
314345

315-
#help-ncbi-logo {
346+
#help-ncbi-logo,
347+
#help-ncbi-logo-book {
316348
position: absolute;
317349
right:6pt;
318350
bottom:9pt;
319351
}
352+
353+
#help-ncbi-logo-book {
354+
left: 6pt;
355+
}
320356

321357
article[data-type=helper] header div {
322358
margin-left: 64px;

css/jr.pagemanager.css

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* $Id: jr.pagemanager.css 14674 2013-03-06 16:44:15Z kolotev $ */
21
/*
32
This work is in the public domain and may be reproduced, published or
43
otherwise used without the permission of the National Library of Medicine (NLM).
@@ -12,6 +11,7 @@
1211
warranties, express or implied, including warranties of performance,
1312
merchantability or fitness for any particular purpose.
1413
*/
14+
/* Commit: $Id$ */
1515

1616
html.jr #jr-content article {display: none}
1717
html.no-jr #jr-content article {display: none}

css/jr.pageprogressbar.css

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* $Id: jr.pageprogressbar.css 13234 2012-11-19 15:26:39Z maloneyc $ */
21
/*
32
This work is in the public domain and may be reproduced, published or
43
otherwise used without the permission of the National Library of Medicine (NLM).
@@ -12,6 +11,7 @@
1211
warranties, express or implied, including warranties of performance,
1312
merchantability or fitness for any particular purpose.
1413
*/
14+
/* Commit: $Id$ */
1515

1616
.pr-text {
1717
display: inline-block;

css/jr.pageturnsensor.css

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* $Id: jr.pageturnsensor.css 13234 2012-11-19 15:26:39Z maloneyc $ */
21
/*
32
This work is in the public domain and may be reproduced, published or
43
otherwise used without the permission of the National Library of Medicine (NLM).
@@ -12,6 +11,7 @@
1211
warranties, express or implied, including warranties of performance,
1312
merchantability or fitness for any particular purpose.
1413
*/
14+
/* Commit: $Id$ */
1515

1616

1717
/*** Page Navigational Arrows for inputs mouse devices ***/

css/jr.panel.cmap.css

100755100644
Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* $Id: jr.panel.cmap.css 13234 2012-11-19 15:26:39Z maloneyc $ */
21
/*
32
This work is in the public domain and may be reproduced, published or
43
otherwise used without the permission of the National Library of Medicine (NLM).
@@ -12,5 +11,22 @@
1211
warranties, express or implied, including warranties of performance,
1312
merchantability or fitness for any particular purpose.
1413
*/
14+
/* Commit: $Id$ */
1515

1616
/*** Panel with Content Map (Content Navigator) ***/
17+
18+
#jr-cmap-p .cnt ul {
19+
margin: 0;
20+
padding: 0;
21+
list-style: none;
22+
}
23+
24+
#jr-cmap-p .cnt ul ul {
25+
padding-left: 0.5em;
26+
}
27+
28+
aside .lol a.select,
29+
aside .lol a.selected {
30+
background-color: #CCC;
31+
color: #333;
32+
}

css/jr.panel.css

100755100644
Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* $Id: jr.panel.css 16824 2013-07-08 15:19:33Z kolotev $ */
21
/*
32
This work is in the public domain and may be reproduced, published or
43
otherwise used without the permission of the National Library of Medicine (NLM).
@@ -12,19 +11,27 @@
1211
warranties, express or implied, including warranties of performance,
1312
merchantability or fitness for any particular purpose.
1413
*/
14+
/* Commit: $Id$ */
1515

1616
/*** Panels definitions ***/
1717
aside {
1818
background-color: #121a2e;
1919
border: solid 2px #4f4f4f;
20-
margin: 0px;
21-
-webkit-padding-start: 0px;
20+
margin: 0;
21+
-webkit-padding-start: 0;
2222
-webkit-border-radius: 8pt;
2323
-moz-border-radius: 8pt;
2424
border-radius: 8pt;
2525
-webkit-box-shadow: 2px 2px 10px #000;
2626
-moz-box-shadow: 2px 2px 10px #000;
2727
box-shadow: 2px 2px 10px #000;
28+
29+
}
30+
31+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* IE */
32+
aside { overflow-y: auto !important } /* workaround to make aside panels scrollable */
33+
aside#jr-objectbox { overflow: visible !important } /* workaround to make close button and sarrounding shading for jr-objectbox visible */
34+
aside.about { width: 40em !important} /* workaround for make about panle to center horizontaly */
2835
}
2936

3037
aside:after {
@@ -49,38 +56,43 @@ aside:after {
4956
}
5057

5158
aside#jr-links-p:after {
52-
left: 74pt;
59+
left: 37pt;
5360
}
5461

5562
aside#jr-alt-p:after {
56-
left: 112pt;
63+
left: 74pt;
5764
}
5865

59-
aside#jr-cmap-p:after {
60-
right: 36pt;
66+
aside#jr-cmap-p:after,
67+
aside#jr-rtoc-p:after {
68+
right: 39pt;
6169
}
6270

6371
aside#jr-help-p:after {
64-
right: 110pt;
72+
right: 112pt;
73+
}
74+
75+
aside#jr-bkhelp-p:after {
76+
right: 148pt;
6577
}
6678

6779

6880

6981
@media screen and (max-width: 4in) {
7082
aside#jr-links-p:after {
71-
left: 46pt;
83+
left: 10pt;
7284
}
7385

7486
aside#jr-alt-p:after {
75-
left: 80pt;
87+
left: 46pt;
7688
}
7789

7890
aside#jr-cmap-p:after {
7991
right: 10pt;
8092
}
8193

8294
aside#jr-help-p:after {
83-
right: 80pt;
95+
right: 82pt;
8496
}
8597
}
8698

@@ -100,40 +112,29 @@ aside .tb {
100112
text-align: left;
101113
}
102114

103-
aside .tb .jr-p-close {
104-
z-index: 1;
105-
}
106-
107115
aside .tb .title-text {
108-
display: block;
109116
overflow: hidden;
110117
text-overflow: ellipsis;
111118
white-space: nowrap;
112-
padding: 0 62pt;
113-
height: 100%;
119+
padding: 0 6pt;
114120
text-align: center;
115121
color: #FFF;
116122
font-family: "Archivo Narrow", "Arial Narrow", Calibri, "Trebuchet MS", ArialMT, Arial, sans-serif;
117123
font-size: 12pt;
118-
width: 100%;
119124
-webkit-box-sizing: border-box;
120125
-moz-box-sizing: border-box;
121126
box-sizing: border-box;
122-
position: absolute;
123-
left: 0;
124-
top: 0;
125127
}
126128

127129
aside .cnt {
128-
background: #FFFDF5;
130+
background: #FFF;
129131
margin: 6pt;
130132
margin-top: 0;
131133
-webkit-border-radius: 6pt;
132134
-moz-border-radius: 6pt;
133135
border-radius: 6pt;
134136
position: relative;
135137
overflow-y: auto;
136-
max-height: 100%;
137138
}
138139

139140

@@ -150,18 +151,13 @@ aside .btn {
150151
min-width: 24pt;
151152
}
152153

153-
aside .btn path {
154-
fill: #999;
155-
}
156-
157-
158154
/* list of links */
159155
aside .lol a {
160156
background-color: #ddd;
161157
margin: 6pt;
162158
text-decoration: none;
163159
color: #666;
164-
overflow:hidden;
160+
overflow: hidden;
165161
text-overflow: ellipsis;
166162
font-family: "HelveticaNeue-CondensedBold", "Arial Narrow", "ArialMT", "Arial", sans-serif;
167163
font-size: 11pt;
@@ -178,23 +174,21 @@ aside .lol a {
178174
display: block;
179175
}
180176

181-
aside .lol a.current {
177+
aside .lol a.current,
178+
aside .lol a.current:hover {
182179
font-size: 12pt;
183180
background-color: #FEA;
184-
}
185-
186-
aside .lol a.current,
187-
aside .lol a:hover {
188181
color: #333;
189182
}
190183

191184
aside .lol a:hover {
185+
color: #333;
192186
background-color: #ccc;
193187
}
194188

195189
aside .lol a:active {
196190
color: #000;
197-
background-color: #fff;
191+
background-color: #999;
198192
}
199193

200194

0 commit comments

Comments
 (0)