@cu-mkp/editioncrafter 1.0.0 → 1.0.1

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.
@@ -1,60 +1,64 @@
1
1
  $spinner-size: max(1rem, 16px);
2
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
- }
3
+ .editioncrafter {
32
4
 
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);
5
+ #loadingStateModal {
6
+ position: fixed;
7
+ z-index: 9000;
8
+ background-color: rgba(0, 0, 0, 0.48);
9
+ width: 100vw;
10
+ height: 100vh;
42
11
  }
43
-
44
- 40% {
45
- -webkit-transform: scale(1.0);
12
+
13
+ .spinner {
14
+ width:100%;
15
+ height:100%;
16
+ margin: calc(50vh - (#{$spinner-size}/2)) auto 0 auto;
17
+ text-align: center;
46
18
  }
47
- }
48
- @keyframes sk-bouncedelay {
49
- 0%,
50
- 100%,
51
- 80% {
52
- -webkit-transform: scale(0);
53
- transform: scale(0);
19
+
20
+ .spinner > div {
21
+ width: $spinner-size;
22
+ height: $spinner-size;
23
+ background-color: #ffffff;
24
+ border-radius: 100%;
25
+ display: inline-block;
26
+ -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
27
+ animation: sk-bouncedelay 1.4s infinite ease-in-out both;
54
28
  }
55
-
56
- 40% {
57
- -webkit-transform: scale(1.0);
58
- transform: scale(1.0);
29
+
30
+ .spinner .bounce1 {
31
+ -webkit-animation-delay: -0.32s;
32
+ animation-delay: -0.32s;
33
+ }
34
+
35
+ .spinner .bounce2 {
36
+ -webkit-animation-delay: -0.16s;
37
+ animation-delay: -0.16s;
38
+ }
39
+ @-webkit-keyframes sk-bouncedelay {
40
+ 0%,
41
+ 100%,
42
+ 80% {
43
+ -webkit-transform: scale(0);
44
+ }
45
+
46
+ 40% {
47
+ -webkit-transform: scale(1.0);
48
+ }
49
+ }
50
+ @keyframes sk-bouncedelay {
51
+ 0%,
52
+ 100%,
53
+ 80% {
54
+ -webkit-transform: scale(0);
55
+ transform: scale(0);
56
+ }
57
+
58
+ 40% {
59
+ -webkit-transform: scale(1.0);
60
+ transform: scale(1.0);
61
+ }
59
62
  }
60
63
  }
64
+
@@ -1,49 +1,51 @@
1
- .split-pane-view {
2
- height: 100%;
3
- width: 100%;
4
- display: grid;
5
- }
6
-
7
- .split-pane-view.two-pane {
8
- grid-template-areas: "image_viewer divider transcription";
9
- }
10
-
11
- .split-pane-view.three-pane {
12
- grid-template-areas: "image_viewer divider transcription divider_two third_pane";
13
- }
14
-
15
- .split-pane-view > .divider {
16
- z-index: 2;
17
- width: max(1rem, 16px);
18
- background: #BBB;
19
- cursor:ew-resize;
20
- display: flex;
21
- }
22
-
23
- .split-pane-view > .divider.first_divider {
24
- grid-area: divider;
25
- }
26
-
27
- .split-pane-view > .divider.second_divider {
28
- grid-area: divider_two;
29
- }
30
-
31
- .split-pane-view > .divider > .drawer-button {
32
- align-self: center;
33
- align: center;
34
- cursor: auto;
35
- }
1
+ .editioncrafter {
36
2
 
37
- .split-pane-view > .divider > .drawer-button:hover {
38
- color: white;
39
- }
40
-
41
- .split-pane-view > .divider > .hidden {
42
- display: none;
43
- }
44
-
45
- .split-pane-view {
46
- #annotation-view{
47
- font-size: 16px;
3
+ .split-pane-view {
4
+ height: 100%;
5
+ width: 100%;
6
+ display: grid;
7
+ }
8
+
9
+ .split-pane-view.two-pane {
10
+ grid-template-areas: "image_viewer divider transcription";
11
+ }
12
+
13
+ .split-pane-view.three-pane {
14
+ grid-template-areas: "image_viewer divider transcription divider_two third_pane";
15
+ }
16
+
17
+ .split-pane-view > .divider {
18
+ z-index: 2;
19
+ width: max(1rem, 16px);
20
+ background: #BBB;
21
+ cursor:ew-resize;
22
+ display: flex;
23
+ }
24
+
25
+ .split-pane-view > .divider.first_divider {
26
+ grid-area: divider;
27
+ }
28
+
29
+ .split-pane-view > .divider.second_divider {
30
+ grid-area: divider_two;
31
+ }
32
+
33
+ .split-pane-view > .divider > .drawer-button {
34
+ align-self: center;
35
+ cursor: auto;
36
+ }
37
+
38
+ .split-pane-view > .divider > .drawer-button:hover {
39
+ color: white;
40
+ }
41
+
42
+ .split-pane-view > .divider > .hidden {
43
+ display: none;
44
+ }
45
+
46
+ .split-pane-view {
47
+ #annotation-view{
48
+ font-size: 16px;
49
+ }
48
50
  }
49
51
  }
@@ -1,17 +1,21 @@
1
1
  $color-selected: rgba(7,122,255,0.831);
2
2
 
3
- figure {
4
- padding: max(0.3rem, 4.8px) 0 0;
5
- border-radius: max(0.2rem, 3.2px);
6
- margin: 0;
7
- text-align: center;
8
- }
3
+ .editioncrafter {
9
4
 
10
- figure.current {
11
- background-color: $color-selected;
5
+ figure {
6
+ padding: max(0.3rem, 4.8px) 0 0;
7
+ border-radius: max(0.2rem, 3.2px);
8
+ margin: 0;
9
+ text-align: center;
10
+ }
11
+
12
+ figure.current {
13
+ background-color: $color-selected;
14
+ }
15
+
16
+ .thumbnail-caption.current {
17
+ color: $color-selected !important;
18
+ font-weight: 900;
19
+ }
12
20
  }
13
21
 
14
- .thumbnail-caption.current {
15
- color: $color-selected !important;
16
- font-weight: 900;
17
- }
@@ -1,201 +1,204 @@
1
1
 
2
- .transcriptionViewComponent {
3
- .transcriptContent {
4
- padding: 50px 16px;
5
- font-size: max(0.9rem, 14.4px);
6
- @include md {
7
- padding: 5px 16px;
2
+ .editioncrafter {
3
+
4
+ .transcriptionViewComponent {
5
+ .transcriptContent {
6
+ padding: 50px 16px;
7
+ font-size: max(0.9rem, 14.4px);
8
+ @include md {
9
+ padding: 5px 16px;
10
+ }
11
+
12
+ -webkit-user-select: text;
13
+ -moz-user-select: text;
14
+ -ms-user-select: text;
15
+ user-select: text;
16
+ //margin-bottom:92px;
17
+
18
+ figure {
19
+ display: inline-flex;
20
+ flex-direction: column;
21
+ width: 100%;
22
+ align-items: center;
23
+ gap: 6px;
24
+ }
25
+
26
+ .block[data-layout='right-middle'] {
27
+ max-width: 250px;
8
28
  }
9
-
10
- -webkit-user-select: text;
11
- -moz-user-select: text;
12
- -ms-user-select: text;
13
- user-select: text;
14
- //margin-bottom:92px;
15
-
16
- figure {
17
- display: inline-flex;
18
- flex-direction: column;
19
- width: 100%;
20
- align-items: center;
21
- gap: 6px;
29
+
30
+ .block[data-layout='right-top'] {
31
+ max-width: 250px;
32
+ }
33
+
34
+ .block[data-layout='right-bottom'] {
35
+ max-width: 250px;
36
+ }
37
+
38
+ // TODO refactor to appropriate TEI element
39
+ // .ups {
40
+ // background: lightgray;
41
+ // font-size: 14px;
42
+ // }
43
+
44
+ .x-small-inline-figure {
45
+ margin: 5px;
46
+ border: 1px solid gray;
47
+ width: 30px;
48
+ }
49
+
50
+ .small-inline-figure {
51
+ margin: 5px;
52
+ border: 1px solid gray;
53
+ width: 60px;
54
+ }
55
+
56
+ .medium-inline-figure {
57
+ margin: 5px;
58
+ border: 1px solid gray;
59
+ width: 200px;
60
+ }
61
+
62
+ .large-inline-figure {
63
+ margin: 5px;
64
+ border: 1px solid gray;
65
+ width: 350px;
66
+ }
67
+
68
+
69
+ .surface {
70
+ grid-area: transcription;
71
+ margin: 0;
72
+ padding: 0;
73
+ list-style: none;
74
+ }
75
+
76
+ .grid-mode {
77
+ display: grid;
78
+ grid-auto-rows: minmax(min-content, 0fr);
79
+ grid-gap: 2px;
80
+ }
81
+
82
+ .surface > .small-font {
83
+ font-size: 11pt;
84
+ }
85
+
86
+ .surface > div {
87
+ padding: 10px;
88
+ }
89
+
90
+ .surface > #z0 {
91
+ grid-area: z0;
92
+ }
93
+
94
+ .surface > #z1 {
95
+ grid-area: z1;
96
+ }
97
+
98
+ .surface > #z2 {
99
+ grid-area: z2;
100
+ }
101
+
102
+ .surface > #z3 {
103
+ grid-area: z3;
104
+ }
105
+
106
+ .surface > #z4 {
107
+ grid-area: z4;
108
+ }
109
+
110
+ .surface > #z5 {
111
+ grid-area: z5;
112
+ }
113
+
114
+ .surface > #z6 {
115
+ grid-area: z6;
116
+ }
117
+
118
+ .surface > #z7 {
119
+ grid-area: z7;
120
+ }
121
+
122
+ .surface > #z8 {
123
+ grid-area: z8;
124
+ }
125
+
126
+ .surface > #z9 {
127
+ grid-area: z9;
128
+ }
129
+
130
+ .surface > #z10 {
131
+ grid-area: z10;
132
+ }
133
+
134
+ .surface > #z11 {
135
+ grid-area: z11;
136
+ }
137
+
138
+ .surface > #z12 {
139
+ grid-area: z12;
140
+ }
141
+
142
+ .surface > #z13 {
143
+ grid-area: z13;
144
+ }
145
+
146
+ .surface > #z14 {
147
+ grid-area: z14;
148
+ }
149
+
150
+ .surface > #z15 {
151
+ grid-area: z15;
152
+ }
153
+
154
+ .surface > #z16 {
155
+ grid-area: z16;
156
+ }
157
+
158
+ .surface > #z17 {
159
+ grid-area: z17;
160
+ }
161
+
162
+ .surface > #z18 {
163
+ grid-area: z18;
164
+ }
165
+
166
+ .surface > #z19 {
167
+ grid-area: z19;
168
+ }
169
+
170
+ .surface > #z20 {
171
+ grid-area: z20;
172
+ }
173
+ .highlight {
174
+ background-color: yellow;
175
+ }
22
176
  }
23
-
24
- .block[data-layout='right-middle'] {
25
- max-width: 250px;
26
- }
27
-
28
- .block[data-layout='right-top'] {
29
- max-width: 250px;
30
- }
31
-
32
- .block[data-layout='right-bottom'] {
33
- max-width: 250px;
34
- }
35
-
36
- // TODO refactor to appropriate TEI element
37
- // .ups {
38
- // background: lightgray;
39
- // font-size: 14px;
40
- // }
41
-
42
- .x-small-inline-figure {
43
- margin: 5px;
44
- border: 1px solid gray;
45
- width: 30px;
46
177
  }
47
-
48
- .small-inline-figure {
49
- margin: 5px;
50
- border: 1px solid gray;
51
- width: 60px;
178
+
179
+ tei-line {
180
+ display: block;
52
181
  }
53
-
54
- .medium-inline-figure {
55
- margin: 5px;
56
- border: 1px solid gray;
57
- width: 200px;
182
+
183
+ tei-add {
184
+ color: blue;
185
+ vertical-align: super;
186
+ font-size: 10pt;
58
187
  }
59
-
60
- .large-inline-figure {
61
- margin: 5px;
62
- border: 1px solid gray;
63
- width: 350px;
188
+
189
+ .selected-zone {
190
+ background: #EAF1FD;
191
+ border-radius: 5px;
64
192
  }
65
-
66
-
67
- .surface {
68
- grid-area: transcription;
69
- margin: 0;
70
- padding: 0;
71
- list-style: none;
193
+
194
+ .editor-comment-content {
195
+ word-wrap:break-word;
72
196
  }
73
-
74
- .grid-mode {
75
- display: grid;
76
- grid-auto-rows: minmax(min-content, 0fr);
77
- grid-gap: 2px;
78
- }
79
-
80
- .surface > .small-font {
81
- font-size: 11pt;
197
+
198
+ .inline-image {
199
+ max-width: 90%;
200
+ max-height: 360px;
201
+ margin: auto;
202
+ text-align: center;
82
203
  }
83
-
84
- .surface > div {
85
- padding: 10px;
86
- }
87
-
88
- .surface > #z0 {
89
- grid-area: z0;
90
- }
91
-
92
- .surface > #z1 {
93
- grid-area: z1;
94
- }
95
-
96
- .surface > #z2 {
97
- grid-area: z2;
98
- }
99
-
100
- .surface > #z3 {
101
- grid-area: z3;
102
- }
103
-
104
- .surface > #z4 {
105
- grid-area: z4;
106
- }
107
-
108
- .surface > #z5 {
109
- grid-area: z5;
110
- }
111
-
112
- .surface > #z6 {
113
- grid-area: z6;
114
- }
115
-
116
- .surface > #z7 {
117
- grid-area: z7;
118
- }
119
-
120
- .surface > #z8 {
121
- grid-area: z8;
122
- }
123
-
124
- .surface > #z9 {
125
- grid-area: z9;
126
- }
127
-
128
- .surface > #z10 {
129
- grid-area: z10;
130
- }
131
-
132
- .surface > #z11 {
133
- grid-area: z11;
134
- }
135
-
136
- .surface > #z12 {
137
- grid-area: z12;
138
- }
139
-
140
- .surface > #z13 {
141
- grid-area: z13;
142
- }
143
-
144
- .surface > #z14 {
145
- grid-area: z14;
146
- }
147
-
148
- .surface > #z15 {
149
- grid-area: z15;
150
- }
151
-
152
- .surface > #z16 {
153
- grid-area: z16;
154
- }
155
-
156
- .surface > #z17 {
157
- grid-area: z17;
158
- }
159
-
160
- .surface > #z18 {
161
- grid-area: z18;
162
- }
163
-
164
- .surface > #z19 {
165
- grid-area: z19;
166
- }
167
-
168
- .surface > #z20 {
169
- grid-area: z20;
170
- }
171
- .highlight {
172
- background-color: yellow;
173
- }
174
- }
175
- }
176
-
177
- tei-line {
178
- display: block;
179
- }
180
-
181
- tei-add {
182
- color: blue;
183
- vertical-align: super;
184
- font-size: 10pt;
185
- }
186
-
187
- .selected-zone {
188
- background: #EAF1FD;
189
- border-radius: 5px;
190
- }
191
-
192
- .editor-comment-content {
193
- word-wrap:break-word;
194
- }
195
-
196
- .inline-image {
197
- max-width: 90%;
198
- max-height: 360px;
199
- margin: auto;
200
- text-align: center;
201
204
  }
@@ -1,27 +1,30 @@
1
1
  $watermark-size: max(10rem, 160px);
2
2
 
3
- .watermarkContainer .navigationComponent {
4
- position: absolute;
5
- }
6
-
7
- .watermark{
8
- width:100%;
9
- height:100%;
10
- margin: calc(50% - (#{$watermark-size}/2)) auto 0 auto;
11
- }
12
- .transcriptContent .watermark{
13
- margin: calc(50% - (25rem/2)) auto 0 auto;
14
- }
15
-
16
- .watermark_contents{
17
- width:$watermark-size;
18
- height:$watermark-size;
19
- background-image: url("../img/editioncrafterlogo.png");
20
- background-size: 100%;
21
- background-repeat: no-repeat;
22
- margin: auto auto auto auto;
23
- }
3
+ .editioncrafter {
24
4
 
25
- .third_pane_blank {
26
- min-width: 8px;
5
+ .watermarkContainer .navigationComponent {
6
+ position: absolute;
7
+ }
8
+
9
+ .watermark{
10
+ width:100%;
11
+ height:100%;
12
+ margin: calc(50% - (#{$watermark-size}/2)) auto 0 auto;
13
+ }
14
+ .transcriptContent .watermark{
15
+ margin: calc(50% - (25rem/2)) auto 0 auto;
16
+ }
17
+
18
+ .watermark_contents{
19
+ width:$watermark-size;
20
+ height:$watermark-size;
21
+ background-image: url("../img/editioncrafterlogo.png");
22
+ background-size: 100%;
23
+ background-repeat: no-repeat;
24
+ margin: auto auto auto auto;
25
+ }
26
+
27
+ .third_pane_blank {
28
+ min-width: 8px;
29
+ }
27
30
  }