@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.
- package/dist/cjs/src/action/CommentActions.js +20 -0
- package/dist/cjs/src/action/DiplomaticActions.js +19 -0
- package/dist/cjs/src/action/DocumentActions.js +188 -0
- package/dist/cjs/src/action/GlossaryActions.js +20 -0
- package/dist/cjs/src/action/initialState/commentInitialState.js +13 -0
- package/dist/cjs/src/action/initialState/diplomaticInitialState.js +10 -0
- package/dist/cjs/src/action/initialState/documentInitialState.js +17 -0
- package/dist/cjs/src/action/initialState/glossaryInitialState.js +13 -0
- package/dist/cjs/src/action/rootReducer.js +30 -0
- package/dist/cjs/src/component/AlphabetLinks.js +76 -0
- package/dist/cjs/src/component/CustomizedTooltops.js +173 -0
- package/dist/cjs/src/component/DiploMatic.js +90 -0
- package/dist/cjs/src/component/DocumentView.js +427 -0
- package/dist/cjs/src/component/EditorComment.js +124 -0
- package/dist/cjs/src/component/ErrorBoundary.js +71 -0
- package/dist/cjs/src/component/FigureImage.js +82 -0
- package/dist/cjs/src/component/GlossaryView.js +166 -0
- package/dist/cjs/src/component/HelpPopper.js +83 -0
- package/dist/cjs/src/component/ImageGridView.js +193 -0
- package/dist/cjs/src/component/ImageView.js +125 -0
- package/dist/cjs/src/component/ImageZoomControl.js +67 -0
- package/dist/cjs/src/component/JumpToFolio.js +103 -0
- package/dist/cjs/src/component/Navigation.js +266 -0
- package/dist/cjs/src/component/Pagination.js +81 -0
- package/dist/cjs/src/component/RouteListener.js +66 -0
- package/dist/cjs/src/component/SeaDragonComponent.js +51 -0
- package/dist/cjs/src/component/SinglePaneView.js +46 -0
- package/dist/cjs/src/component/SplitPaneView.js +164 -0
- package/dist/cjs/src/component/TranscriptionView.js +147 -0
- package/dist/cjs/src/component/XMLView.js +154 -0
- package/dist/cjs/src/globals.d.ts +1 -0
- package/dist/cjs/src/hocs/withRouter.js +29 -0
- package/dist/cjs/src/icons/ByIcon.js +27 -0
- package/dist/cjs/src/icons/CcIcon.js +27 -0
- package/dist/cjs/src/icons/NcIcon.js +27 -0
- package/dist/cjs/src/icons/SaIcon.js +27 -0
- package/dist/cjs/src/icons/SideMenuIconLeft.js +49 -0
- package/dist/cjs/src/icons/SideMenuIconRight.js +49 -0
- package/dist/cjs/src/index.js +34 -0
- package/dist/cjs/src/lib/copyObject.js +11 -0
- package/dist/cjs/src/lib/registerServiceWorker.js +95 -0
- package/dist/cjs/src/model/DocumentHelper.js +17 -0
- package/dist/cjs/src/model/Folio.js +92 -0
- package/dist/cjs/src/model/ReduxStore.js +110 -0
- package/dist/cjs/src/model/folioLayout.js +416 -0
- package/dist/cjs/src/polyfills.js +212 -0
- package/dist/cjs/src/saga/RouteListenerSaga.js +198 -0
- package/dist/cjs/src/saga/rootSaga.js +23 -0
- package/dist/cjs/src/scss/_CETEIcean.scss +914 -0
- package/dist/cjs/src/scss/_base.scss +187 -0
- package/dist/cjs/src/scss/_diplomatic.scss +332 -0
- package/dist/cjs/src/scss/_globalNavigation.scss +34 -0
- package/dist/cjs/src/scss/_glossary.scss +105 -0
- package/dist/cjs/src/scss/_imageGridView.scss +60 -0
- package/dist/cjs/src/scss/_imageView.scss +16 -0
- package/dist/cjs/src/scss/_imageZoomControl.scss +51 -0
- package/dist/cjs/src/scss/_jumpbox.scss +42 -0
- package/dist/cjs/src/scss/_navigation.scss +135 -0
- package/dist/cjs/src/scss/_pagination.scss +36 -0
- package/dist/cjs/src/scss/_spinner.scss +60 -0
- package/dist/cjs/src/scss/_splitPaneView.scss +35 -0
- package/dist/cjs/src/scss/_thumbnails.scss +17 -0
- package/dist/cjs/src/scss/_transcriptView.scss +178 -0
- package/dist/cjs/src/scss/_watermark.scss +19 -0
- package/dist/cjs/src/scss/_xmlView.scss +25 -0
- package/dist/cjs/src/scss/editioncrafter.scss +109 -0
- package/dist/editioncrafter.css +2462 -0
- package/dist/editioncrafter.css.map +1 -0
- package/dist/editioncrafter.min.js +3 -0
- package/dist/editioncrafter.min.js.LICENSE.txt +125 -0
- package/dist/editioncrafter.min.js.map +1 -0
- package/dist/es/src/action/CommentActions.js +13 -0
- package/dist/es/src/action/DiplomaticActions.js +12 -0
- package/dist/es/src/action/DocumentActions.js +181 -0
- package/dist/es/src/action/GlossaryActions.js +13 -0
- package/dist/es/src/action/initialState/commentInitialState.js +7 -0
- package/dist/es/src/action/initialState/diplomaticInitialState.js +3 -0
- package/dist/es/src/action/initialState/documentInitialState.js +11 -0
- package/dist/es/src/action/initialState/glossaryInitialState.js +7 -0
- package/dist/es/src/action/rootReducer.js +23 -0
- package/dist/es/src/component/AlphabetLinks.js +67 -0
- package/dist/es/src/component/CustomizedTooltops.js +165 -0
- package/dist/es/src/component/DiploMatic.js +80 -0
- package/dist/es/src/component/DocumentView.js +417 -0
- package/dist/es/src/component/EditorComment.js +114 -0
- package/dist/es/src/component/ErrorBoundary.js +63 -0
- package/dist/es/src/component/FigureImage.js +74 -0
- package/dist/es/src/component/GlossaryView.js +156 -0
- package/dist/es/src/component/HelpPopper.js +75 -0
- package/dist/es/src/component/ImageGridView.js +185 -0
- package/dist/es/src/component/ImageView.js +115 -0
- package/dist/es/src/component/ImageZoomControl.js +60 -0
- package/dist/es/src/component/JumpToFolio.js +95 -0
- package/dist/es/src/component/Navigation.js +256 -0
- package/dist/es/src/component/Pagination.js +73 -0
- package/dist/es/src/component/RouteListener.js +58 -0
- package/dist/es/src/component/SeaDragonComponent.js +42 -0
- package/dist/es/src/component/SinglePaneView.js +37 -0
- package/dist/es/src/component/SplitPaneView.js +155 -0
- package/dist/es/src/component/TranscriptionView.js +137 -0
- package/dist/es/src/component/XMLView.js +144 -0
- package/dist/es/src/globals.d.ts +1 -0
- package/dist/es/src/hocs/withRouter.js +22 -0
- package/dist/es/src/icons/ByIcon.js +18 -0
- package/dist/es/src/icons/CcIcon.js +18 -0
- package/dist/es/src/icons/NcIcon.js +18 -0
- package/dist/es/src/icons/SaIcon.js +18 -0
- package/dist/es/src/icons/SideMenuIconLeft.js +40 -0
- package/dist/es/src/icons/SideMenuIconRight.js +40 -0
- package/dist/es/src/index.js +27 -0
- package/dist/es/src/lib/copyObject.js +4 -0
- package/dist/es/src/lib/registerServiceWorker.js +88 -0
- package/dist/es/src/model/DocumentHelper.js +10 -0
- package/dist/es/src/model/Folio.js +85 -0
- package/dist/es/src/model/ReduxStore.js +101 -0
- package/dist/es/src/model/folioLayout.js +407 -0
- package/dist/es/src/polyfills.js +216 -0
- package/dist/es/src/saga/RouteListenerSaga.js +191 -0
- package/dist/es/src/saga/rootSaga.js +16 -0
- package/dist/es/src/scss/_CETEIcean.scss +914 -0
- package/dist/es/src/scss/_base.scss +187 -0
- package/dist/es/src/scss/_diplomatic.scss +332 -0
- package/dist/es/src/scss/_globalNavigation.scss +34 -0
- package/dist/es/src/scss/_glossary.scss +105 -0
- package/dist/es/src/scss/_imageGridView.scss +60 -0
- package/dist/es/src/scss/_imageView.scss +16 -0
- package/dist/es/src/scss/_imageZoomControl.scss +51 -0
- package/dist/es/src/scss/_jumpbox.scss +42 -0
- package/dist/es/src/scss/_navigation.scss +135 -0
- package/dist/es/src/scss/_pagination.scss +36 -0
- package/dist/es/src/scss/_spinner.scss +60 -0
- package/dist/es/src/scss/_splitPaneView.scss +35 -0
- package/dist/es/src/scss/_thumbnails.scss +17 -0
- package/dist/es/src/scss/_transcriptView.scss +178 -0
- package/dist/es/src/scss/_watermark.scss +19 -0
- package/dist/es/src/scss/_xmlView.scss +25 -0
- package/dist/es/src/scss/editioncrafter.scss +109 -0
- package/package.json +119 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.ImageZoomControl {
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 1;
|
|
4
|
+
top: 8rem;
|
|
5
|
+
color: white;
|
|
6
|
+
// width: 1rem;
|
|
7
|
+
list-style: none;
|
|
8
|
+
background: #4A4A4A;
|
|
9
|
+
opacity: 0.4;
|
|
10
|
+
margin:0;
|
|
11
|
+
padding:.4rem .5rem;
|
|
12
|
+
border-radius: 0.3rem;
|
|
13
|
+
@include md {
|
|
14
|
+
top:4rem;
|
|
15
|
+
left: 2rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ImageZoomControl > li {
|
|
20
|
+
color: #E0E0E0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ImageZoomControl > li > .zoom-in {
|
|
24
|
+
margin-top: 8px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ImageZoomControl > li:hover {
|
|
28
|
+
color: white;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ImageZoomControl > li > .zoom-3 {
|
|
32
|
+
margin-top: 8px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ImageZoomControl > li > .zoom-2 {
|
|
36
|
+
margin-top: 8px;
|
|
37
|
+
margin-left: 5px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ImageZoomControl > li > .zoom-1 {
|
|
41
|
+
margin-top: 8px;
|
|
42
|
+
margin-left: 7px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ImageZoomControl > li > .zoom-out {
|
|
46
|
+
margin-top: 8px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ImageZoomControl > li > .zoom-grid {
|
|
50
|
+
margin-top: 30px;
|
|
51
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
.jumpToFolio_component {
|
|
2
|
+
margin: 1rem 0 0 -4.5rem;
|
|
3
|
+
padding: 0.6rem;
|
|
4
|
+
height: 1.2rem;
|
|
5
|
+
width: 9.5rem;
|
|
6
|
+
background: #e7e7e7;
|
|
7
|
+
border: 1px solid rgba(90, 98, 102, 0.53);
|
|
8
|
+
border-radius: 0.3rem;
|
|
9
|
+
-webkit-box-shadow: 6px 6px 5px 0 rgba(0, 0, 0, 0.211765);
|
|
10
|
+
-moz-box-shadow: 6px 6px 5px 0 rgba(0, 0, 0, 0.211765);
|
|
11
|
+
box-shadow: 6px 6px 5px 0 rgba(0, 0, 0, 0.211765);
|
|
12
|
+
font-family: sans-serif;
|
|
13
|
+
}
|
|
14
|
+
.jumpToFolio_component input:focus{
|
|
15
|
+
outline: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.jumpToFolio_component:after,
|
|
19
|
+
.jumpToFolio_component:before {
|
|
20
|
+
bottom: 100%;
|
|
21
|
+
left: 50%;
|
|
22
|
+
border: solid transparent;
|
|
23
|
+
content: " ";
|
|
24
|
+
height: 0;
|
|
25
|
+
width: 0;
|
|
26
|
+
position: absolute;
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.jumpToFolio_component:after {
|
|
31
|
+
border-color: rgba(255, 255, 255, 0);
|
|
32
|
+
border-bottom-color: #e7e7e7;
|
|
33
|
+
border-width: 9px;
|
|
34
|
+
margin-left: -9px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.jumpToFolio_component:before {
|
|
38
|
+
border-color: rgba(194, 225, 245, 0);
|
|
39
|
+
border-bottom-color: rgba(90, 98, 102, 0.53);
|
|
40
|
+
border-width: 11px;
|
|
41
|
+
margin-left: -11px;
|
|
42
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
.navigationComponent {
|
|
2
|
+
#tool-bar-buttons{
|
|
3
|
+
font-size: 15px;
|
|
4
|
+
}
|
|
5
|
+
position: fixed;
|
|
6
|
+
z-index: 2;
|
|
7
|
+
height:48px;
|
|
8
|
+
white-space: nowrap;
|
|
9
|
+
-webkit-user-select: none;
|
|
10
|
+
-moz-user-select: none;
|
|
11
|
+
-ms-user-select: none;
|
|
12
|
+
user-select: none;
|
|
13
|
+
padding:4px;
|
|
14
|
+
top: 75px;
|
|
15
|
+
background-color: white;
|
|
16
|
+
border-radius: 0.3rem;
|
|
17
|
+
@include sm {
|
|
18
|
+
top: 80px;
|
|
19
|
+
}
|
|
20
|
+
@include md {
|
|
21
|
+
top: initial;
|
|
22
|
+
}
|
|
23
|
+
button{
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.navigationRow{
|
|
29
|
+
display:flex;
|
|
30
|
+
justify-content:space-between;
|
|
31
|
+
padding:12px 10px 12px 10px;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.helpIcon {
|
|
37
|
+
display: none;
|
|
38
|
+
margin-top:6px;
|
|
39
|
+
margin-right:16px;
|
|
40
|
+
@include md {
|
|
41
|
+
display: block;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.dropdownV2 {
|
|
46
|
+
width:150px;
|
|
47
|
+
margin-right:10px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.imageViewComponent .navigationComponent {
|
|
51
|
+
background-color: #4A4A4A;
|
|
52
|
+
border-radius: 0.3rem;
|
|
53
|
+
opacity: 0.8;
|
|
54
|
+
@include md {
|
|
55
|
+
background-color: rgba(0,0,0,1);
|
|
56
|
+
color: #ffffff;
|
|
57
|
+
border-radius: 0;
|
|
58
|
+
opacity: 1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
.transcriptionViewComponent .navigationComponent {
|
|
63
|
+
background-color: rgba(255,255,255,1);;
|
|
64
|
+
color: #000000;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
#doc-type-help:after {
|
|
68
|
+
color: rgb(151, 142, 142);
|
|
69
|
+
}
|
|
70
|
+
#doc-type-help{
|
|
71
|
+
.dark{
|
|
72
|
+
.MuiSvgIcon-root.MuiSelect-icon{
|
|
73
|
+
color: white;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.breadcrumbs {
|
|
79
|
+
overflow:hidden;
|
|
80
|
+
display: none;
|
|
81
|
+
@include md {
|
|
82
|
+
display: block;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.breadcrumbs .folioName {
|
|
87
|
+
display:inline;
|
|
88
|
+
white-space: nowrap;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
text-overflow: ellipsis;
|
|
91
|
+
font-weight: 900;
|
|
92
|
+
text-decoration:underline;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.closeX {
|
|
96
|
+
float: right;
|
|
97
|
+
padding: 3px;
|
|
98
|
+
font-style: bold;
|
|
99
|
+
&:hover {
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.helpContainer {
|
|
105
|
+
padding:12px;
|
|
106
|
+
width:335px;
|
|
107
|
+
height:740px;
|
|
108
|
+
|
|
109
|
+
.readingGuide {
|
|
110
|
+
|
|
111
|
+
td {
|
|
112
|
+
padding: 8px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
h2 {
|
|
116
|
+
margin-top: 16px;
|
|
117
|
+
margin-bottom: 10px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
.searchHelpContainer {
|
|
124
|
+
padding: 10px 15px 10px 0;
|
|
125
|
+
width:335px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.helpHeader{
|
|
129
|
+
text-align:center;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.paginationComponent {
|
|
2
|
+
white-space: nowrap;
|
|
3
|
+
|
|
4
|
+
text-align: center;
|
|
5
|
+
font-size: 1.2rem;
|
|
6
|
+
font-weight: 700;
|
|
7
|
+
-webkit-user-select: none;
|
|
8
|
+
-moz-user-select: none;
|
|
9
|
+
-ms-user-select: none;
|
|
10
|
+
user-select: none;
|
|
11
|
+
margin-top:52px;
|
|
12
|
+
@include md {
|
|
13
|
+
margin-bottom: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
// .paginationComponent:nth-of-type(3){
|
|
17
|
+
// padding:1rem 0 0 0;
|
|
18
|
+
// }
|
|
19
|
+
|
|
20
|
+
.paginationControl {
|
|
21
|
+
padding: 16px;
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.paginationControl .arrow {
|
|
26
|
+
font-size: 1.8rem;
|
|
27
|
+
color: #4A4A4A;
|
|
28
|
+
margin: 1rem 1rem 0;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.paginationControl .folioName {
|
|
33
|
+
position: relative;
|
|
34
|
+
top: -.2rem;
|
|
35
|
+
color: #4A4A4A;
|
|
36
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
$spinner-size: 1rem;
|
|
2
|
+
|
|
3
|
+
#loadingStateModal {
|
|
4
|
+
position: fixed;
|
|
5
|
+
z-index: 9000;
|
|
6
|
+
background-color: rgba(0, 0, 0, 0.48);
|
|
7
|
+
width: 100vw;
|
|
8
|
+
height: 100vh;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.spinner {
|
|
12
|
+
width:100%;
|
|
13
|
+
height:100%;
|
|
14
|
+
margin: calc(50vh - (#{$spinner-size}/2)) auto 0 auto;
|
|
15
|
+
text-align: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.spinner > div {
|
|
19
|
+
width: $spinner-size;
|
|
20
|
+
height: $spinner-size;
|
|
21
|
+
background-color: #ffffff;
|
|
22
|
+
border-radius: 100%;
|
|
23
|
+
display: inline-block;
|
|
24
|
+
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
|
|
25
|
+
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.spinner .bounce1 {
|
|
29
|
+
-webkit-animation-delay: -0.32s;
|
|
30
|
+
animation-delay: -0.32s;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.spinner .bounce2 {
|
|
34
|
+
-webkit-animation-delay: -0.16s;
|
|
35
|
+
animation-delay: -0.16s;
|
|
36
|
+
}
|
|
37
|
+
@-webkit-keyframes sk-bouncedelay {
|
|
38
|
+
0%,
|
|
39
|
+
100%,
|
|
40
|
+
80% {
|
|
41
|
+
-webkit-transform: scale(0);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
40% {
|
|
45
|
+
-webkit-transform: scale(1.0);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@keyframes sk-bouncedelay {
|
|
49
|
+
0%,
|
|
50
|
+
100%,
|
|
51
|
+
80% {
|
|
52
|
+
-webkit-transform: scale(0);
|
|
53
|
+
transform: scale(0);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
40% {
|
|
57
|
+
-webkit-transform: scale(1.0);
|
|
58
|
+
transform: scale(1.0);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.split-pane-view {
|
|
2
|
+
height: 100%;
|
|
3
|
+
width: 100%;
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-areas: "image_viewer divider transcription";
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.split-pane-view > .divider {
|
|
9
|
+
z-index: 2;
|
|
10
|
+
grid-area: divider;
|
|
11
|
+
width: 1rem;
|
|
12
|
+
background: #BBB;
|
|
13
|
+
cursor:ew-resize;
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.split-pane-view > .divider > .drawer-button {
|
|
18
|
+
align-self: center;
|
|
19
|
+
align: center;
|
|
20
|
+
cursor: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.split-pane-view > .divider > .drawer-button:hover {
|
|
24
|
+
color: white;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.split-pane-view > .divider > .hidden {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.split-pane-view {
|
|
32
|
+
#annotation-view{
|
|
33
|
+
font-size: 16px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$color-selected: rgba(7,122,255,0.831);
|
|
2
|
+
|
|
3
|
+
figure {
|
|
4
|
+
padding: 0.3rem 0 0;
|
|
5
|
+
border-radius: 0.2rem;
|
|
6
|
+
margin: 0;
|
|
7
|
+
text-align: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
figure.current {
|
|
11
|
+
background-color: $color-selected;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.thumbnail-caption.current {
|
|
15
|
+
color: $color-selected !important;
|
|
16
|
+
font-weight: 900;
|
|
17
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
|
|
2
|
+
.transcriptionViewComponent {
|
|
3
|
+
overflow: scroll;
|
|
4
|
+
height:calc(100vh - 7rem);
|
|
5
|
+
.transcriptContent {
|
|
6
|
+
padding: 50px 16px;
|
|
7
|
+
@include md {
|
|
8
|
+
padding: 5px 16px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
-webkit-user-select: text;
|
|
12
|
+
-moz-user-select: text;
|
|
13
|
+
-ms-user-select: text;
|
|
14
|
+
user-select: text;
|
|
15
|
+
margin-bottom:92px;
|
|
16
|
+
|
|
17
|
+
figure {
|
|
18
|
+
display: inline;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.block[data-layout='right-middle'] {
|
|
22
|
+
max-width: 250px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.block[data-layout='right-top'] {
|
|
26
|
+
max-width: 250px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.block[data-layout='right-bottom'] {
|
|
30
|
+
max-width: 250px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// TODO refactor to appropriate TEI element
|
|
34
|
+
// .ups {
|
|
35
|
+
// background: lightgray;
|
|
36
|
+
// font-size: 14px;
|
|
37
|
+
// }
|
|
38
|
+
|
|
39
|
+
.x-small-inline-figure {
|
|
40
|
+
margin: 5px;
|
|
41
|
+
border: 1px solid gray;
|
|
42
|
+
width: 30px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.small-inline-figure {
|
|
46
|
+
margin: 5px;
|
|
47
|
+
border: 1px solid gray;
|
|
48
|
+
width: 60px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.medium-inline-figure {
|
|
52
|
+
margin: 5px;
|
|
53
|
+
border: 1px solid gray;
|
|
54
|
+
width: 200px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.large-inline-figure {
|
|
58
|
+
margin: 5px;
|
|
59
|
+
border: 1px solid gray;
|
|
60
|
+
width: 350px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
.surface {
|
|
65
|
+
grid-area: transcription;
|
|
66
|
+
margin: 0;
|
|
67
|
+
padding: 0;
|
|
68
|
+
list-style: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.grid-mode {
|
|
72
|
+
display: grid;
|
|
73
|
+
grid-auto-rows: minmax(min-content, 0fr);
|
|
74
|
+
grid-gap: 2px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.surface > .small-font {
|
|
78
|
+
font-size: 11pt;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.surface > div {
|
|
82
|
+
padding: 10px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.surface > #z0 {
|
|
86
|
+
grid-area: z0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.surface > #z1 {
|
|
90
|
+
grid-area: z1;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.surface > #z2 {
|
|
94
|
+
grid-area: z2;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.surface > #z3 {
|
|
98
|
+
grid-area: z3;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.surface > #z4 {
|
|
102
|
+
grid-area: z4;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.surface > #z5 {
|
|
106
|
+
grid-area: z5;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.surface > #z6 {
|
|
110
|
+
grid-area: z6;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.surface > #z7 {
|
|
114
|
+
grid-area: z7;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.surface > #z8 {
|
|
118
|
+
grid-area: z8;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.surface > #z9 {
|
|
122
|
+
grid-area: z9;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.surface > #z10 {
|
|
126
|
+
grid-area: z10;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.surface > #z11 {
|
|
130
|
+
grid-area: z11;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.surface > #z12 {
|
|
134
|
+
grid-area: z12;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.surface > #z13 {
|
|
138
|
+
grid-area: z13;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.surface > #z14 {
|
|
142
|
+
grid-area: z14;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.surface > #z15 {
|
|
146
|
+
grid-area: z15;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.surface > #z16 {
|
|
150
|
+
grid-area: z16;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.surface > #z17 {
|
|
154
|
+
grid-area: z17;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.surface > #z18 {
|
|
158
|
+
grid-area: z18;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.surface > #z19 {
|
|
162
|
+
grid-area: z19;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.surface > #z20 {
|
|
166
|
+
grid-area: z20;
|
|
167
|
+
}
|
|
168
|
+
.highlight {
|
|
169
|
+
background-color: yellow;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.editor-comment-content {
|
|
175
|
+
word-wrap:break-word;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
$watermark-size: 10rem;
|
|
2
|
+
|
|
3
|
+
.watermark{
|
|
4
|
+
width:100%;
|
|
5
|
+
height:100%;
|
|
6
|
+
margin: calc(50vh - (#{$watermark-size}/2)) auto 0 auto;
|
|
7
|
+
}
|
|
8
|
+
.transcriptContent .watermark{
|
|
9
|
+
margin: calc(50vh - (25rem/2)) auto 0 auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.watermark_contents{
|
|
13
|
+
width:$watermark-size;
|
|
14
|
+
height:$watermark-size;
|
|
15
|
+
background-image: url("../img/lizard-no-bg.png");
|
|
16
|
+
background-size: 100%;
|
|
17
|
+
background-repeat: no-repeat;
|
|
18
|
+
margin: auto auto auto auto;
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.xmlViewComponent .navigationComponent {
|
|
2
|
+
background-color: white;
|
|
3
|
+
color: #000000; }
|
|
4
|
+
|
|
5
|
+
.xmlContent {
|
|
6
|
+
padding: 0;
|
|
7
|
+
margin: 4.5rem 0 0;
|
|
8
|
+
width: calc(100% - 1.2rem);
|
|
9
|
+
min-height: 100vh;
|
|
10
|
+
-webkit-user-select: text;
|
|
11
|
+
-moz-user-select: text;
|
|
12
|
+
-ms-user-select: text;
|
|
13
|
+
user-select: text;
|
|
14
|
+
min-width: 10rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.xmlViewComponent {
|
|
18
|
+
overflow: scroll;
|
|
19
|
+
margin: 0 0 0 1rem;
|
|
20
|
+
height: calc(100vh - 7rem);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.xmlContentInner {
|
|
24
|
+
overflow-x: scroll;
|
|
25
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
|
|
3
|
+
/* Normalize first */
|
|
4
|
+
@import url("https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css");
|
|
5
|
+
|
|
6
|
+
/* Google fonts */
|
|
7
|
+
// Link to these fonts: https://fonts.google.com/share?selection.family=Lato:wght@400;700%7CMartel%7CMartel%20Sans:wght@200%7CTaviraj:wght@300
|
|
8
|
+
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Martel+Sans:wght@200&family=Martel:wght@400;700&family=Taviraj:wght@300;500&display=swap');
|
|
9
|
+
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
|
|
10
|
+
/*
|
|
11
|
+
FontAwesome icon font http://fontawesome.io/
|
|
12
|
+
FIXME: This is still used by the imageView control panel, the rest of the app uses FA5 react npm module
|
|
13
|
+
*/
|
|
14
|
+
@import url("https://use.fontawesome.com/releases/v5.0.8/css/all.css");
|
|
15
|
+
|
|
16
|
+
// Breakpoints
|
|
17
|
+
$screen-xs-min: 0px;
|
|
18
|
+
$screen-sm-min: 600px;
|
|
19
|
+
$screen-md-min: 960px;
|
|
20
|
+
$screen-lg-min: 1280px;
|
|
21
|
+
$screen-xl-min: 1920px;
|
|
22
|
+
|
|
23
|
+
// Standard Image Sizes
|
|
24
|
+
$image-xs: 175px;
|
|
25
|
+
$image-sm: 300px;
|
|
26
|
+
$image-md: 425px;
|
|
27
|
+
$image-lg: 600px;
|
|
28
|
+
$image-xl: 900px;
|
|
29
|
+
|
|
30
|
+
// Animation Mixins
|
|
31
|
+
@mixin keyframes($animation-name) {
|
|
32
|
+
@-webkit-keyframes #{$animation-name} {
|
|
33
|
+
@content;
|
|
34
|
+
}
|
|
35
|
+
@-moz-keyframes #{$animation-name} {
|
|
36
|
+
@content;
|
|
37
|
+
}
|
|
38
|
+
@-ms-keyframes #{$animation-name} {
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
41
|
+
@-o-keyframes #{$animation-name} {
|
|
42
|
+
@content;
|
|
43
|
+
}
|
|
44
|
+
@keyframes #{$animation-name} {
|
|
45
|
+
@content;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin animation($str) {
|
|
50
|
+
-webkit-animation: #{$str};
|
|
51
|
+
-moz-animation: #{$str};
|
|
52
|
+
-ms-animation: #{$str};
|
|
53
|
+
-o-animation: #{$str};
|
|
54
|
+
animation: #{$str};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// BREAKPOINT MIXINS
|
|
58
|
+
@mixin xs {
|
|
59
|
+
@media (min-width: #{$screen-xs-min}) {
|
|
60
|
+
@content;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
@mixin sm {
|
|
64
|
+
@media (min-width: #{$screen-sm-min}) {
|
|
65
|
+
@content;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
@mixin md {
|
|
69
|
+
@media (min-width: #{$screen-md-min}) {
|
|
70
|
+
@content;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
@mixin lg {
|
|
74
|
+
@media (min-width: #{$screen-lg-min}) {
|
|
75
|
+
@content;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
@mixin xl {
|
|
79
|
+
@media (min-width: #{$screen-xl-min}) {
|
|
80
|
+
@content;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@mixin first-child() {
|
|
85
|
+
&:first-of-type {
|
|
86
|
+
@content
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@import "base";
|
|
91
|
+
@import "globalNavigation";
|
|
92
|
+
|
|
93
|
+
@import "spinner";
|
|
94
|
+
@import "thumbnails";
|
|
95
|
+
@import "watermark";
|
|
96
|
+
@import "navigation";
|
|
97
|
+
@import "pagination";
|
|
98
|
+
|
|
99
|
+
@import "diplomatic";
|
|
100
|
+
@import "imageGridView";
|
|
101
|
+
@import "splitPaneView";
|
|
102
|
+
@import "imageView";
|
|
103
|
+
@import "imageZoomControl";
|
|
104
|
+
@import "transcriptView";
|
|
105
|
+
@import "xmlView";
|
|
106
|
+
@import "glossary";
|
|
107
|
+
@import "jumpbox";
|
|
108
|
+
|
|
109
|
+
@import "CETEIcean";
|