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).
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;
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 : 18 pt/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 ;
0 commit comments