@cu-mkp/editioncrafter 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/dist/cjs/src/action/CommentActions.js +20 -0
  2. package/dist/cjs/src/action/DiplomaticActions.js +19 -0
  3. package/dist/cjs/src/action/DocumentActions.js +188 -0
  4. package/dist/cjs/src/action/GlossaryActions.js +20 -0
  5. package/dist/cjs/src/action/initialState/commentInitialState.js +13 -0
  6. package/dist/cjs/src/action/initialState/diplomaticInitialState.js +10 -0
  7. package/dist/cjs/src/action/initialState/documentInitialState.js +17 -0
  8. package/dist/cjs/src/action/initialState/glossaryInitialState.js +13 -0
  9. package/dist/cjs/src/action/rootReducer.js +30 -0
  10. package/dist/cjs/src/component/AlphabetLinks.js +76 -0
  11. package/dist/cjs/src/component/CustomizedTooltops.js +173 -0
  12. package/dist/cjs/src/component/DiploMatic.js +90 -0
  13. package/dist/cjs/src/component/DocumentView.js +427 -0
  14. package/dist/cjs/src/component/EditorComment.js +124 -0
  15. package/dist/cjs/src/component/ErrorBoundary.js +71 -0
  16. package/dist/cjs/src/component/FigureImage.js +82 -0
  17. package/dist/cjs/src/component/GlossaryView.js +166 -0
  18. package/dist/cjs/src/component/HelpPopper.js +83 -0
  19. package/dist/cjs/src/component/ImageGridView.js +193 -0
  20. package/dist/cjs/src/component/ImageView.js +125 -0
  21. package/dist/cjs/src/component/ImageZoomControl.js +67 -0
  22. package/dist/cjs/src/component/JumpToFolio.js +103 -0
  23. package/dist/cjs/src/component/Navigation.js +266 -0
  24. package/dist/cjs/src/component/Pagination.js +81 -0
  25. package/dist/cjs/src/component/RouteListener.js +66 -0
  26. package/dist/cjs/src/component/SeaDragonComponent.js +51 -0
  27. package/dist/cjs/src/component/SinglePaneView.js +46 -0
  28. package/dist/cjs/src/component/SplitPaneView.js +164 -0
  29. package/dist/cjs/src/component/TranscriptionView.js +147 -0
  30. package/dist/cjs/src/component/XMLView.js +154 -0
  31. package/dist/cjs/src/globals.d.ts +1 -0
  32. package/dist/cjs/src/hocs/withRouter.js +29 -0
  33. package/dist/cjs/src/icons/ByIcon.js +27 -0
  34. package/dist/cjs/src/icons/CcIcon.js +27 -0
  35. package/dist/cjs/src/icons/NcIcon.js +27 -0
  36. package/dist/cjs/src/icons/SaIcon.js +27 -0
  37. package/dist/cjs/src/icons/SideMenuIconLeft.js +49 -0
  38. package/dist/cjs/src/icons/SideMenuIconRight.js +49 -0
  39. package/dist/cjs/src/index.js +34 -0
  40. package/dist/cjs/src/lib/copyObject.js +11 -0
  41. package/dist/cjs/src/lib/registerServiceWorker.js +95 -0
  42. package/dist/cjs/src/model/DocumentHelper.js +17 -0
  43. package/dist/cjs/src/model/Folio.js +92 -0
  44. package/dist/cjs/src/model/ReduxStore.js +110 -0
  45. package/dist/cjs/src/model/folioLayout.js +416 -0
  46. package/dist/cjs/src/polyfills.js +212 -0
  47. package/dist/cjs/src/saga/RouteListenerSaga.js +198 -0
  48. package/dist/cjs/src/saga/rootSaga.js +23 -0
  49. package/dist/cjs/src/scss/_CETEIcean.scss +914 -0
  50. package/dist/cjs/src/scss/_base.scss +187 -0
  51. package/dist/cjs/src/scss/_diplomatic.scss +332 -0
  52. package/dist/cjs/src/scss/_globalNavigation.scss +34 -0
  53. package/dist/cjs/src/scss/_glossary.scss +105 -0
  54. package/dist/cjs/src/scss/_imageGridView.scss +60 -0
  55. package/dist/cjs/src/scss/_imageView.scss +16 -0
  56. package/dist/cjs/src/scss/_imageZoomControl.scss +51 -0
  57. package/dist/cjs/src/scss/_jumpbox.scss +42 -0
  58. package/dist/cjs/src/scss/_navigation.scss +135 -0
  59. package/dist/cjs/src/scss/_pagination.scss +36 -0
  60. package/dist/cjs/src/scss/_spinner.scss +60 -0
  61. package/dist/cjs/src/scss/_splitPaneView.scss +35 -0
  62. package/dist/cjs/src/scss/_thumbnails.scss +17 -0
  63. package/dist/cjs/src/scss/_transcriptView.scss +178 -0
  64. package/dist/cjs/src/scss/_watermark.scss +19 -0
  65. package/dist/cjs/src/scss/_xmlView.scss +25 -0
  66. package/dist/cjs/src/scss/editioncrafter.scss +109 -0
  67. package/dist/editioncrafter.css +2462 -0
  68. package/dist/editioncrafter.css.map +1 -0
  69. package/dist/editioncrafter.min.js +3 -0
  70. package/dist/editioncrafter.min.js.LICENSE.txt +125 -0
  71. package/dist/editioncrafter.min.js.map +1 -0
  72. package/dist/es/src/action/CommentActions.js +13 -0
  73. package/dist/es/src/action/DiplomaticActions.js +12 -0
  74. package/dist/es/src/action/DocumentActions.js +181 -0
  75. package/dist/es/src/action/GlossaryActions.js +13 -0
  76. package/dist/es/src/action/initialState/commentInitialState.js +7 -0
  77. package/dist/es/src/action/initialState/diplomaticInitialState.js +3 -0
  78. package/dist/es/src/action/initialState/documentInitialState.js +11 -0
  79. package/dist/es/src/action/initialState/glossaryInitialState.js +7 -0
  80. package/dist/es/src/action/rootReducer.js +23 -0
  81. package/dist/es/src/component/AlphabetLinks.js +67 -0
  82. package/dist/es/src/component/CustomizedTooltops.js +165 -0
  83. package/dist/es/src/component/DiploMatic.js +80 -0
  84. package/dist/es/src/component/DocumentView.js +417 -0
  85. package/dist/es/src/component/EditorComment.js +114 -0
  86. package/dist/es/src/component/ErrorBoundary.js +63 -0
  87. package/dist/es/src/component/FigureImage.js +74 -0
  88. package/dist/es/src/component/GlossaryView.js +156 -0
  89. package/dist/es/src/component/HelpPopper.js +75 -0
  90. package/dist/es/src/component/ImageGridView.js +185 -0
  91. package/dist/es/src/component/ImageView.js +115 -0
  92. package/dist/es/src/component/ImageZoomControl.js +60 -0
  93. package/dist/es/src/component/JumpToFolio.js +95 -0
  94. package/dist/es/src/component/Navigation.js +256 -0
  95. package/dist/es/src/component/Pagination.js +73 -0
  96. package/dist/es/src/component/RouteListener.js +58 -0
  97. package/dist/es/src/component/SeaDragonComponent.js +42 -0
  98. package/dist/es/src/component/SinglePaneView.js +37 -0
  99. package/dist/es/src/component/SplitPaneView.js +155 -0
  100. package/dist/es/src/component/TranscriptionView.js +137 -0
  101. package/dist/es/src/component/XMLView.js +144 -0
  102. package/dist/es/src/globals.d.ts +1 -0
  103. package/dist/es/src/hocs/withRouter.js +22 -0
  104. package/dist/es/src/icons/ByIcon.js +18 -0
  105. package/dist/es/src/icons/CcIcon.js +18 -0
  106. package/dist/es/src/icons/NcIcon.js +18 -0
  107. package/dist/es/src/icons/SaIcon.js +18 -0
  108. package/dist/es/src/icons/SideMenuIconLeft.js +40 -0
  109. package/dist/es/src/icons/SideMenuIconRight.js +40 -0
  110. package/dist/es/src/index.js +27 -0
  111. package/dist/es/src/lib/copyObject.js +4 -0
  112. package/dist/es/src/lib/registerServiceWorker.js +88 -0
  113. package/dist/es/src/model/DocumentHelper.js +10 -0
  114. package/dist/es/src/model/Folio.js +85 -0
  115. package/dist/es/src/model/ReduxStore.js +101 -0
  116. package/dist/es/src/model/folioLayout.js +407 -0
  117. package/dist/es/src/polyfills.js +216 -0
  118. package/dist/es/src/saga/RouteListenerSaga.js +191 -0
  119. package/dist/es/src/saga/rootSaga.js +16 -0
  120. package/dist/es/src/scss/_CETEIcean.scss +914 -0
  121. package/dist/es/src/scss/_base.scss +187 -0
  122. package/dist/es/src/scss/_diplomatic.scss +332 -0
  123. package/dist/es/src/scss/_globalNavigation.scss +34 -0
  124. package/dist/es/src/scss/_glossary.scss +105 -0
  125. package/dist/es/src/scss/_imageGridView.scss +60 -0
  126. package/dist/es/src/scss/_imageView.scss +16 -0
  127. package/dist/es/src/scss/_imageZoomControl.scss +51 -0
  128. package/dist/es/src/scss/_jumpbox.scss +42 -0
  129. package/dist/es/src/scss/_navigation.scss +135 -0
  130. package/dist/es/src/scss/_pagination.scss +36 -0
  131. package/dist/es/src/scss/_spinner.scss +60 -0
  132. package/dist/es/src/scss/_splitPaneView.scss +35 -0
  133. package/dist/es/src/scss/_thumbnails.scss +17 -0
  134. package/dist/es/src/scss/_transcriptView.scss +178 -0
  135. package/dist/es/src/scss/_watermark.scss +19 -0
  136. package/dist/es/src/scss/_xmlView.scss +25 -0
  137. package/dist/es/src/scss/editioncrafter.scss +109 -0
  138. package/package.json +119 -0
@@ -0,0 +1,187 @@
1
+ $header-height: 4.5rem;
2
+ $sm-header-height: 5.5rem;
3
+ $md-header-height: 6.5rem;
4
+ $footer-height: 7.5rem;
5
+ $chrome-height: $header-height + $footer-height;
6
+ $sm-chrome-height: $sm-header-height + $footer-height;
7
+ $md-chrome-height: $md-header-height + $footer-height;
8
+
9
+ // COLORS
10
+ $cream: #EBE3DD;
11
+ $dark-cream: #CBA374;
12
+ $maroon: #792421;
13
+ $dark-maroon: #460C0A;
14
+ $light-maroon: #96332f;
15
+ $grey: #858585;
16
+
17
+ *{
18
+ box-sizing: border-box;
19
+ }
20
+ div{
21
+ width: auto;
22
+ }
23
+
24
+ body {
25
+ padding: 0;
26
+ margin: 0;
27
+ box-sizing: border-box;
28
+ }
29
+
30
+ .warning {
31
+ color: yellow;
32
+ }
33
+
34
+ .fa {
35
+ width: 1.5rem;
36
+ padding: 0.2rem 0.1rem 0.1rem;
37
+ text-align: center;
38
+ }
39
+
40
+ .fa.active {
41
+ background-color: #9e9e9e0a;
42
+ border: 0.2rem solid #FF9800;
43
+ }
44
+
45
+ .fa-book.active {
46
+ border-radius: 0 2rem 2rem 0;
47
+ }
48
+
49
+ .fa:not(.active) {
50
+ color: grey;
51
+ }
52
+
53
+ .fa.fa-lock,
54
+ .fa.fa-lock-open {
55
+ border-radius: 2rem 0 0 2rem;
56
+ }
57
+
58
+ .line-clamp {
59
+ display: -webkit-box;
60
+ -webkit-box-orient: vertical;
61
+ overflow: hidden;
62
+ -webkit-line-clamp: 3;
63
+ &.two-lines{
64
+ -webkit-line-clamp: 2;
65
+ }
66
+ }
67
+
68
+ .flex-parent {
69
+ display:flex;
70
+ &.half-width{
71
+ width: 50%;
72
+ }
73
+ &.full-width{
74
+ width: 100%;
75
+ }
76
+ &.column {
77
+ flex-direction:column;
78
+ }
79
+ &.jc-start {
80
+ justify-content:flex-start;
81
+ }
82
+ &.jc-center {
83
+ justify-content:center;
84
+ }
85
+ &.jc-end {
86
+ justify-content:flex-end;
87
+ }
88
+ &.jc-space-btw {
89
+ justify-content:space-between;
90
+ }
91
+ &.jc-space-around {
92
+ justify-content:space-around;
93
+ }
94
+ &.ai-start {
95
+ align-items:flex-start;
96
+ }
97
+ &.ai-center {
98
+ align-items:center;
99
+ }
100
+ &.ai-end {
101
+ align-items:flex-end;
102
+ }
103
+ &.wrap {
104
+ flex-wrap:wrap;
105
+ }
106
+ &.row-reverse {
107
+ flex-direction: row-reverse;
108
+ }
109
+ &.column-reverse {
110
+ flex-direction: column-reverse;
111
+ }
112
+ @for $i from 1 through 12 {
113
+ .flex-#{$i} {
114
+ flex:$i;
115
+ }
116
+ }
117
+ }
118
+
119
+ .bg-maroon-gradient{
120
+ background-image: linear-gradient(to right, #792421, #66211c, #531d17, #411912, #30140d);
121
+ }
122
+ .bg-dark-gradient-bt{
123
+ background-image: linear-gradient(to bottom, hsl(30, 50%, 90%), hsl(50, 43%, 83%), hsl(43, 54%, 77%));
124
+ }
125
+ .bg-dark-gradient-tb{
126
+ background-image: linear-gradient(to bottom, hsl(43, 54%, 77%), hsl(50, 43%, 83%), hsl(30, 50%, 90%));
127
+ }
128
+ .bg-light-gradient-bt{
129
+ background-image: linear-gradient(to bottom, hsl(30, 50%, 99%), hsl(50, 43%, 90%), hsl(43, 54%, 85%));
130
+ }
131
+ .bg-light-gradient-tb{
132
+ background-image: linear-gradient(to bottom, hsl(43, 54%, 85%), hsl(50, 43%, 90%), hsl(30, 50%, 99%));
133
+ }
134
+
135
+ .text-bg-gradient-dark-bt{
136
+ background-image:
137
+ linear-gradient(to bottom, hsla(30, 50%, 90%, .9), hsla(50, 43%, 83%, .9), hsla(43, 54%, 77%, .9)),
138
+ url('../img/text-bg.png');
139
+ background-size: cover;
140
+ }
141
+ .text-bg-gradient-light-tb{
142
+ background-image:
143
+ linear-gradient(to bottom, hsla(43, 54%, 77%, .9), hsla(50, 43%, 83%, .9), hsla(30, 50%, 90%, .9)),
144
+ url('../img/text-bg.png');
145
+ background-size: cover;
146
+ }
147
+
148
+ .accent-bar{
149
+ height: 10px;
150
+ width: 100%;
151
+ }
152
+
153
+ .invisible{
154
+ opacity:0;
155
+ }
156
+
157
+ .disabled{
158
+ opacity: 0.5;
159
+ }
160
+
161
+ .figure-dialog-img-container {
162
+ img {
163
+ display: block;
164
+ width: 100%;
165
+ height: auto;
166
+ }
167
+ }
168
+
169
+ a:hover {
170
+ text-decoration: underline;
171
+ }
172
+
173
+ a {
174
+ color: $maroon;
175
+ text-decoration: none;
176
+ }
177
+
178
+ @include keyframes(slide-down) {
179
+ 0% {
180
+ height: 2px;
181
+ bottom: -5px;
182
+ }
183
+ 100% {
184
+ height: 6px;
185
+ bottom: -9px;
186
+ }
187
+ }
@@ -0,0 +1,332 @@
1
+ #diplomatic {
2
+ #content-view, .header-wrapper, #entry-list-view, #annotation-list-view {
3
+ h1,
4
+ h2,
5
+ h3,
6
+ h4 {
7
+ font-family: 'Lato', sans-serif;
8
+ color: black;
9
+ padding: 0;
10
+ margin: 0;
11
+ }
12
+
13
+ h1{
14
+ font-family: 'Taviraj', serif;
15
+ font-size: 32px;
16
+ }
17
+
18
+ h2,h3{
19
+ font-weight: 700;
20
+ }
21
+
22
+ h2{
23
+ font-size: 22px;
24
+ }
25
+
26
+ h3{
27
+ font-size: 18px;
28
+ }
29
+
30
+ h4{
31
+ font-size: 18px;
32
+ font-weight: 700;
33
+ }
34
+
35
+ p {
36
+ font-family: "Martel", serif;
37
+ line-height: 1.25;
38
+ }
39
+ span {
40
+ font-family: "Martel", serif;
41
+ line-height: 1.25;
42
+ margin: 0;
43
+ }
44
+
45
+ a.MuiButton-containedPrimary.cta-button {
46
+ color: white;
47
+ padding: 10px 70px;
48
+ border-radius: 0;
49
+ .MuiButton-label span{
50
+ font-family: 'Lato', sans-serif;
51
+ font-size: 20px;
52
+ }
53
+ }
54
+
55
+ a{
56
+ color: $maroon;
57
+ &:hover{
58
+ color: $dark-cream;
59
+ }
60
+ }
61
+ .cta-link.MuiLink-underlineHover:hover{
62
+ text-decoration: none;
63
+ }
64
+ a.cta-link {
65
+ color: black;
66
+ text-align: center;
67
+ width: fit-content;
68
+ text-decoration: none;
69
+ font-family: 'Lato', sans-serif;
70
+ font-size: 16px;
71
+ font-weight: 700;
72
+ position: relative;
73
+ cursor: pointer;
74
+ margin-bottom: 5px;
75
+ @include md {
76
+ font-size: 18px;
77
+ }
78
+ &.with-icon{
79
+ &:after{
80
+ font-family: "Font Awesome 5 Free";
81
+ margin-left: 7px;
82
+ font-weight: 600;
83
+ content: "\f054";
84
+ font-size: 15px;
85
+ }
86
+ }
87
+ &:before{
88
+ position: absolute;
89
+ content: "";
90
+ height: 2px;
91
+ background-color: black;
92
+ width: 50%;
93
+ right: 30%;
94
+ bottom: -5px;
95
+ border-radius: 2px;
96
+ }
97
+ &:hover{
98
+ &:before{
99
+ background-color: $maroon;
100
+ text-decoration: none;
101
+ height: 6px;
102
+ bottom: -9px;
103
+ @include animation('slide-down .2s');
104
+ }
105
+ &:after{
106
+ color: $maroon;
107
+ }
108
+ }
109
+ }
110
+
111
+ a.cta-link.active{
112
+ &:before{
113
+ background-color: $maroon;
114
+ text-decoration: none;
115
+ height: 6px;
116
+ bottom: -9px;
117
+ @include animation('slide-down .2s');
118
+ }
119
+ &:after{
120
+ color: $maroon;
121
+ }
122
+ }
123
+
124
+ a.cta-link.light{
125
+ color: #444444;
126
+ &:before{
127
+ background-color: #444444;
128
+ }
129
+ &:hover{
130
+ &:before{
131
+ background-color: $maroon;
132
+ }
133
+ }
134
+ }
135
+
136
+ a.cta-link.video-link{
137
+ &:after{
138
+ content: "\f04b";
139
+ font-size: 12px;
140
+ margin-bottom: -2px;
141
+ }
142
+ }
143
+
144
+ a.cta-link.search-link{
145
+ &:after{
146
+ font-family: 'Material Icons';
147
+ content: "search";
148
+ font-size: 16px;
149
+ }
150
+ }
151
+ }
152
+
153
+ #header{
154
+ width: 100%;
155
+ padding: 0px 20px;
156
+ background-color: white;
157
+ border-radius: 0;
158
+ @include lg{
159
+ padding: 5px 50px;
160
+ }
161
+ img{
162
+ width: 210px;
163
+ @include sm {
164
+ width: 300px
165
+ }
166
+ @include md {
167
+ width: 300px
168
+ }
169
+ }
170
+
171
+ .expandedViewOnly {
172
+ width: 100%;
173
+ }
174
+ .nav-item{
175
+ font-size: 16px;
176
+ margin-right: 5px;
177
+ white-space: nowrap;
178
+ margin-bottom: 15px;
179
+ }
180
+ .search-btn{
181
+ margin-bottom: 10px;
182
+ font-size: 18px;
183
+ }
184
+ }
185
+ .maroon-dropdown{
186
+ background-color: $dark-maroon;
187
+ border-radius: 0;
188
+ -webkit-box-shadow: inset 0 5px 5px -5px rgba(0,0,0,0.8), 0 5px 5px -5px rgba(0,0,0,0.8);
189
+ -moz-box-shadow: inset 0 5px 5px -5px rgba(0,0,0,0.8), 0 5px 5px -5px rgba(0,0,0,0.8);
190
+ box-shadow: inset 0 5px 5px -5px rgba(0,0,0,0.8), 0 5px 5px -5px rgba(0,0,0,0.8);
191
+ }
192
+ .mobile-menu{
193
+ padding: 50px 0;
194
+ .list-container{
195
+ position: relative;
196
+ .list{
197
+ color: 'white'
198
+ }
199
+ }
200
+ }
201
+ .search-bar{
202
+ height: 162px;
203
+ .label{
204
+ font-size: 32px;
205
+ color: white;
206
+ font-weight: 400;
207
+ white-space: nowrap
208
+ }
209
+ .content{
210
+ width: 50%;
211
+ }
212
+ #search {
213
+ input{
214
+ border: 1px solid #DEDEDF;
215
+ border-radius: 4px;
216
+ width: 300px;
217
+ height: 38px;
218
+ font-size: 14px;
219
+ padding: 5px 15px;
220
+ font-family: 'Lato', sans-serif;
221
+ }
222
+ }
223
+ }
224
+ }
225
+
226
+ #diplomatic.sticky {
227
+ .header-wrapper.sticky {
228
+ position: sticky;
229
+ top: 0;
230
+ z-index: 2;
231
+ }
232
+ }
233
+
234
+ #diplomatic {
235
+ #footer {
236
+ color: white;
237
+ background-color: $dark-maroon;
238
+ display: flex;
239
+ flex-direction: column;
240
+ padding: 10px 20px;
241
+ @include sm{
242
+ padding: 20px 30px;
243
+ }
244
+ @include md{
245
+ padding: 30px 40px;
246
+ }
247
+ p,a{
248
+ font-family: 'Lato', sans-serif;
249
+ font-size: 16px;
250
+ color: #FAFAFA;
251
+ line-height: 1.5;
252
+ margin: 0;
253
+ }
254
+ a{
255
+ &:hover{
256
+ color: $dark-cream;
257
+ fill: $dark-cream;
258
+ }
259
+ }
260
+ .top{
261
+ p{
262
+ margin: 0 5px;
263
+ white-space: nowrap;
264
+ }
265
+ margin-bottom: 10px;
266
+ }
267
+ .doi{
268
+ text-align: center;
269
+ }
270
+ .copyright {
271
+ .symbols{
272
+ text-decoration: none;
273
+ }
274
+ svg{
275
+ width: 14px;
276
+ height: 14px;
277
+ }
278
+ }
279
+ .logos{
280
+ margin-bottom: 10px;
281
+ img {
282
+ width: 150px;
283
+ @include sm {
284
+ width: 200px;
285
+ }
286
+ @include sm {
287
+ width: 250px;
288
+ }
289
+ }
290
+ }
291
+ .footer-links {
292
+ width: 100%;
293
+ text-align: center;
294
+ font-size: 12px;
295
+ line-height: 2;
296
+ }
297
+ }
298
+ }
299
+
300
+ #diplomatic.fixed {
301
+ background: white;
302
+ position: fixed;
303
+ width: 100vw;
304
+ height: calc(100vh - $chrome-height);
305
+ @include sm {
306
+ height: calc(100vh - $sm-chrome-height);
307
+ }
308
+ @include md {
309
+ height: calc(100vh - $md-chrome-height);
310
+ }
311
+ font-size: 0.7rem;
312
+
313
+ -webkit-user-select: none;
314
+ -moz-user-select: none;
315
+ -ms-user-select: none;
316
+ user-select: none;
317
+ font-family: 'OpenSans', sans-serif;
318
+ font-size: 0.9rem;
319
+ #content {
320
+ line-height: 1.2rem;
321
+ }
322
+ h1,
323
+ h2,
324
+ h3,
325
+ h4 {
326
+ color: #000000b8;
327
+ font-family: 'OpenSans', sans-serif;
328
+ font-weight: 700;
329
+ padding: 0;
330
+ line-height: 1.5rem;
331
+ }
332
+ }
@@ -0,0 +1,34 @@
1
+ #globalNavigation {
2
+ display: flex;
3
+ align-items: center;
4
+ flex-direction: row-reverse;
5
+ font-size: 0.9rem;
6
+ position: relative;
7
+ top: -4rem;
8
+ right: 2rem;
9
+ float: right;
10
+ @include md {
11
+ display: block;
12
+ }
13
+ }
14
+
15
+ #globalNavigation .expandedViewOnly {
16
+ span, a {
17
+ color: white;
18
+ margin-left: 1rem;
19
+ cursor: pointer;
20
+ }
21
+ }
22
+
23
+ #globalNavigation span .francais {
24
+ font-weight: 100;
25
+ }
26
+
27
+ #globalNavigation input {
28
+ height: 1.5rem;
29
+ padding: 0 0 0 0.5rem;
30
+ font-style: italic;
31
+ border: 1px solid #00000063;
32
+ color: #756c6c;
33
+ background-color: #D8D8D8;
34
+ }
@@ -0,0 +1,105 @@
1
+ #glossaryView {
2
+
3
+ #glossaryViewInner {
4
+ overflow-y: scroll;
5
+ margin: 5px 0 0 0;
6
+ @include md {
7
+ margin: 52px 0 0 0;
8
+ }
9
+ width: calc(100% - 1.2rem);
10
+ height: calc(100vh - 170px);
11
+ padding: 5px 16px;
12
+ }
13
+
14
+ .cite-header {
15
+ text-align: center;
16
+ margin-bottom: 5px;
17
+ }
18
+
19
+ .cite-instructions {
20
+ margin: 20px;
21
+ margin-left: 15%;
22
+ margin-right: 15%;
23
+ }
24
+
25
+ .navigationComponent {
26
+ position: sticky;
27
+ top: 0;
28
+ @include md {
29
+ position: fixed;
30
+ top: initial;
31
+ }
32
+ }
33
+
34
+ .glossaryNav {
35
+
36
+ background: white;
37
+ padding: 5px;
38
+ position:relative;
39
+
40
+ #glossary-filter {
41
+ margin-right: 10px;
42
+ }
43
+ .alphaNav {
44
+ display: none;
45
+ @include md {
46
+ display: block;
47
+ }
48
+ }
49
+ }
50
+
51
+ .alphaNav {
52
+ color: blue;
53
+ display: inline;
54
+ }
55
+
56
+ .title {
57
+ white-space: nowrap;
58
+ position: relative;
59
+ width: calc(100% - 1.7rem);
60
+ text-align: center;
61
+ top: -2em;
62
+ font-size: 1.8rem;
63
+ font-weight: 700;
64
+ -webkit-user-select: none;
65
+ -moz-user-select: none;
66
+ -ms-user-select: none;
67
+ user-select: none;
68
+ @include md {
69
+ top: -1em;
70
+ }
71
+ }
72
+
73
+
74
+ .subtitle {
75
+ white-space: nowrap;
76
+ position: relative;
77
+ width: calc(100% - 1.7rem);
78
+ text-align: center;
79
+ top: -2em;
80
+ font-style: italic;
81
+ -webkit-user-select: none;
82
+ -moz-user-select: none;
83
+ -ms-user-select: none;
84
+ user-select: none;
85
+ @include md {
86
+ top: -1em;
87
+ }
88
+ }
89
+
90
+ #glossaryContent {
91
+ padding: 5rem 0 0;
92
+ min-height: 100vh;
93
+ -webkit-user-select: text;
94
+ -moz-user-select: text;
95
+ -ms-user-select: text;
96
+ user-select: text;
97
+ min-width: 10rem;
98
+ @include md {
99
+ padding: 3.5rem 0 0;
100
+ }
101
+ }
102
+
103
+ }
104
+
105
+
@@ -0,0 +1,60 @@
1
+ .imageGridComponent {
2
+ background-color: #000000;
3
+ font-size: 0.8rem;
4
+ overflow: scroll;
5
+ height: 100vh;
6
+ }
7
+
8
+ .imageGridComponent > ul {
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+ list-style: none;
12
+ padding-left: 0;
13
+ margin: 1.5rem 0 8rem 2rem;
14
+ }
15
+
16
+ .imageGridComponent > ul > li {
17
+ margin-bottom: 20px;
18
+ width: 150px;
19
+ height: 220px;
20
+ }
21
+
22
+ .imageGridComponent > ul > li > figure {
23
+ margin: 8px;
24
+ }
25
+
26
+ .imageGridComponent > ul > li > figure:hover {
27
+ border: 2px #eee solid;
28
+ margin: 6px;
29
+ }
30
+
31
+ .imageGridComponent > ul > li > .thumbnail-caption {
32
+ text-align: center;
33
+ color: white;
34
+ }
35
+
36
+ .hidden {
37
+ display: none;
38
+ }
39
+
40
+ .imageGridComponent {
41
+ .imageGridToolbar {
42
+ padding: 5px;
43
+ color: white;
44
+
45
+ .jump-to {
46
+ float: right;
47
+ display: 'inline';
48
+ margin-right: 30px;
49
+
50
+ #jump-to-input {
51
+ margin-left: 5px;
52
+ }
53
+
54
+ #jump-to-button {
55
+ margin-left: 5px;
56
+ cursor: pointer;
57
+ }
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,16 @@
1
+
2
+ #image-view-seadragon-left,
3
+ #image-view-seadragon-right {
4
+ width: 100%;
5
+ height: 100%;
6
+ grid-area: image_viewer;
7
+ background: black;
8
+ }
9
+
10
+ .imageViewComponent {
11
+ position: relative;
12
+ padding: 0;
13
+ margin: 0;
14
+ width: 100%;
15
+ height: 100vh;
16
+ }