@d-i-t-a/reader 2.0.0-beta.2 → 2.0.0-beta.22
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/esm/index.js +9007 -5272
- package/dist/esm/index.js.map +3 -3
- package/dist/injectables/style/linefocus.css +55 -0
- package/dist/injectables/style/popover.css +125 -0
- package/dist/injectables/style/style.css +31 -2
- package/dist/reader.css +7 -8
- package/dist/reader.js +53 -50
- package/dist/reader.js.map +3 -3
- package/dist/reader.map.css +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/model/Link.d.ts +1 -1
- package/dist/types/model/Publication.d.ts +13 -12
- package/dist/types/model/user-settings/UserProperties.d.ts +3 -2
- package/dist/types/model/user-settings/UserSettings.d.ts +6 -6
- package/dist/types/modules/AnnotationModule.d.ts +14 -13
- package/dist/types/modules/BookmarkModule.d.ts +14 -14
- package/dist/types/modules/ReaderModule.d.ts +1 -2
- package/dist/types/modules/TTS/TTSModule.d.ts +8 -8
- package/dist/types/modules/TTS/TTSModule2.d.ts +9 -9
- package/dist/types/modules/TTS/TTSSettings.d.ts +16 -16
- package/dist/types/modules/highlight/LayerSettings.d.ts +19 -0
- package/dist/types/modules/highlight/TextHighlighter.d.ts +45 -61
- package/dist/types/modules/highlight/common/highlight.d.ts +3 -2
- package/dist/types/modules/highlight/common/rect-utils.d.ts +1 -1
- package/dist/types/modules/highlight/common/selection.d.ts +3 -3
- package/dist/types/modules/highlight/renderer/iframe/selection.d.ts +2 -2
- package/dist/types/modules/highlight/renderer/iframe/state.d.ts +0 -3
- package/dist/types/modules/linefocus/LineFocusModule.d.ts +51 -0
- package/dist/types/modules/mediaoverlays/MediaOverlayModule.d.ts +20 -15
- package/dist/types/modules/mediaoverlays/MediaOverlaySettings.d.ts +21 -17
- package/dist/types/modules/pagebreak/PageBreakModule.d.ts +14 -7
- package/dist/types/modules/positions/TimelineModule.d.ts +4 -4
- package/dist/types/modules/protection/ContentProtectionModule.d.ts +7 -7
- package/dist/types/modules/sampleread/SampleReadEventHandler.d.ts +1 -1
- package/dist/types/modules/search/DefinitionsModule.d.ts +22 -14
- package/dist/types/modules/search/Popup.d.ts +4 -2
- package/dist/types/modules/search/SearchModule.d.ts +16 -12
- package/dist/types/modules/search/searchWithDomSeek.d.ts +1 -1
- package/dist/types/navigator/IFrameNavigator.d.ts +59 -44
- package/dist/types/reader.d.ts +96 -57
- package/dist/types/store/Annotator.d.ts +16 -17
- package/dist/types/store/LocalAnnotator.d.ts +16 -17
- package/dist/types/store/LocalStorageStore.d.ts +3 -3
- package/dist/types/store/MemoryStore.d.ts +3 -3
- package/dist/types/store/Store.d.ts +3 -3
- package/dist/types/utils/EventHandler.d.ts +11 -2
- package/dist/types/utils/HTMLUtilities.d.ts +3 -3
- package/dist/types/utils/IconLib.d.ts +1 -1
- package/dist/types/utils/KeyboardEventHandler.d.ts +2 -2
- package/dist/types/utils/TouchEventHandler.d.ts +1 -1
- package/dist/types/views/BookView.d.ts +4 -4
- package/dist/types/views/FixedBookView.d.ts +3 -3
- package/dist/types/views/ReflowableBookView.d.ts +2 -2
- package/package.json +16 -9
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2018-2021 DITA (AM Consulting LLC)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* Developed on behalf of: DITA
|
|
17
|
+
* Licensed to: CAST under one or more contributor license agreements.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
.d2-line-focus-container {
|
|
21
|
+
position: sticky;
|
|
22
|
+
height: 100vh;
|
|
23
|
+
width: 100%;
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
z-index: 100;
|
|
26
|
+
top:0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.d2-line-focus-bottom, .d2-line-focus-top {
|
|
30
|
+
position: absolute;
|
|
31
|
+
height: 0;
|
|
32
|
+
min-height: 0;
|
|
33
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMxOTlCOUNGQTU2QzExRTc5QUZBQTQ3NkYwNjBCNUJBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMxOTlCOUQwQTU2QzExRTc5QUZBQTQ3NkYwNjBCNUJBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzE5OUI5Q0RBNTZDMTFFNzlBRkFBNDc2RjA2MEI1QkEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzE5OUI5Q0VBNTZDMTFFNzlBRkFBNDc2RjA2MEI1QkEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7FS0eIAAAAD0lEQVR42mJgYGC4CRBgAADeANokcoX4AAAAAElFTkSuQmCC");
|
|
34
|
+
background-repeat: repeat;
|
|
35
|
+
transition-property: height;
|
|
36
|
+
z-index: 25;
|
|
37
|
+
pointer-events: all;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.d2-line-focus-top {
|
|
41
|
+
left: 0;
|
|
42
|
+
top: 0;
|
|
43
|
+
right: 0;
|
|
44
|
+
height: 0;
|
|
45
|
+
box-shadow: 0 2px 7px 0 rgba(0, 0, 0, .4)
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.d2-line-focus-bottom {
|
|
49
|
+
left: 0;
|
|
50
|
+
bottom: 0;
|
|
51
|
+
right: 0;
|
|
52
|
+
height: 0;
|
|
53
|
+
box-shadow: 2px 0 7px 0 rgba(0, 0, 0, .4)
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2018-2020 DITA (AM Consulting LLC)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* Developed on behalf of: DITA
|
|
17
|
+
* Licensed to: CAST under one or more contributor license agreements.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
.d2-popover {
|
|
21
|
+
position: fixed;
|
|
22
|
+
z-index: 10;
|
|
23
|
+
top: 0;
|
|
24
|
+
display: inline-block;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
width: 80%;
|
|
27
|
+
background: #fafafa;
|
|
28
|
+
opacity: 0;
|
|
29
|
+
border-radius: 0.5em;
|
|
30
|
+
border: 1px solid #c3c3c3;
|
|
31
|
+
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
|
|
32
|
+
line-height: 0;
|
|
33
|
+
-webkit-transition-property: opacity, -webkit-transform;
|
|
34
|
+
transition-property: opacity, transform;
|
|
35
|
+
-webkit-transition-duration: 0.25s;
|
|
36
|
+
transition-duration: 0.25s;
|
|
37
|
+
-webkit-transition-timing-function: ease;
|
|
38
|
+
transition-timing-function: ease;
|
|
39
|
+
left: 50%;
|
|
40
|
+
transform: translateX(-50%) !important;
|
|
41
|
+
}
|
|
42
|
+
.d2-popover.is-active {
|
|
43
|
+
-webkit-transform: scale(1) translateZ(0);
|
|
44
|
+
transform: scale(1) translateZ(0);
|
|
45
|
+
opacity: 0.97;
|
|
46
|
+
}
|
|
47
|
+
.d2-popover.is-scrollable:after {
|
|
48
|
+
content: '';
|
|
49
|
+
position: absolute;
|
|
50
|
+
bottom: 0.3375em;
|
|
51
|
+
left: 0.3375em;
|
|
52
|
+
z-index: 14;
|
|
53
|
+
display: block;
|
|
54
|
+
height: 0.78125em;
|
|
55
|
+
width: 0.625em;
|
|
56
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxNXB4IiB2aWV3Qm94PSIwIDAgMTIgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pbllNaW4iPgogICAgPGcgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFycm93IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjAwMDAwMCwgMS4wMDAwMDApIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiPgogICAgICAgICAgICA8cGF0aCBkPSJNNSwwIEw1LDExLjUiIGlkPSJMaW5lIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsNy41IEw1LjAyNzY5Mjc5LDEyLjAyNzY5MjgiIGlkPSJMaW5lIj48L3BhdGg+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjUsNy41IEw5LjAyNzY5Mjc5LDEyLjAyNzY5MjgiIGlkPSJMaW5lLTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcuMDAwMDAwLCAxMC4wMDAwMDApIHNjYWxlKC0xLCAxKSB0cmFuc2xhdGUoLTcuMDAwMDAwLCAtMTAuMDAwMDAwKSAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=");
|
|
57
|
+
background-size: cover;
|
|
58
|
+
opacity: 0.1;
|
|
59
|
+
transition-properties: opacity;
|
|
60
|
+
-webkit-transition-duration: 0.25s;
|
|
61
|
+
transition-duration: 0.25s;
|
|
62
|
+
-webkit-transition-timing-function: ease;
|
|
63
|
+
transition-timing-function: ease;
|
|
64
|
+
}
|
|
65
|
+
.d2-popover.is-scrollable .d2-d2-popover__wrapper:before, .d2-d2-popover.is-scrollable .d2-d2-popover__wrapper:after {
|
|
66
|
+
content: '';
|
|
67
|
+
position: absolute;
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 100%;
|
|
70
|
+
z-index: 12;
|
|
71
|
+
left: 0;
|
|
72
|
+
}
|
|
73
|
+
.d2-d2-popover.is-scrollable .d2-d2-popover__wrapper:before {
|
|
74
|
+
top: -1px;
|
|
75
|
+
height: 1.1em;
|
|
76
|
+
border-radius: 0.5em 0.5em 0 0;
|
|
77
|
+
background-image: -webkit-linear-gradient(top, #fafafa 50%, rgba(250, 250, 250, 0) 100%);
|
|
78
|
+
background-image: linear-gradient(to bottom, #fafafa 50%, rgba(250, 250, 250, 0) 100%);
|
|
79
|
+
}
|
|
80
|
+
.d2-popover.is-scrollable .d2-d2-popover__wrapper:after {
|
|
81
|
+
bottom: -1px;
|
|
82
|
+
height: 1.2em;
|
|
83
|
+
border-radius: 0 0 0.5em 0.5em;
|
|
84
|
+
background-image: -webkit-linear-gradient(bottom, #fafafa 50%, rgba(250, 250, 250, 0) 100%);
|
|
85
|
+
background-image: linear-gradient(to top, #fafafa 50%, rgba(250, 250, 250, 0) 100%);
|
|
86
|
+
}
|
|
87
|
+
.d2-popover.is-scrollable ::-webkit-scrollbar {
|
|
88
|
+
display: none;
|
|
89
|
+
}
|
|
90
|
+
.d2-popover.is-fully-scrolled:after, .d2-popover.is-fully-scrolled:before {
|
|
91
|
+
opacity: 0;
|
|
92
|
+
-webkit-transition-delay: 0;
|
|
93
|
+
transition-delay: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.d2-popover-wrapper {
|
|
97
|
+
position: relative;
|
|
98
|
+
z-index: 14;
|
|
99
|
+
width: 100%;
|
|
100
|
+
height: 100%;
|
|
101
|
+
display: inline-block;
|
|
102
|
+
box-sizing: inherit;
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
margin: 0;
|
|
105
|
+
background-color: #fafafa;
|
|
106
|
+
border-radius: 0.5em;
|
|
107
|
+
line-height: 0;
|
|
108
|
+
/*max-width: 353px;*/
|
|
109
|
+
}
|
|
110
|
+
.d2-popover-content {
|
|
111
|
+
position: relative;
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 100%;
|
|
114
|
+
z-index: 8;
|
|
115
|
+
display: inline-block;
|
|
116
|
+
max-height: 90vh;
|
|
117
|
+
padding: 1.1em 1.3em 1.2em;
|
|
118
|
+
box-sizing: inherit;
|
|
119
|
+
overflow: auto;
|
|
120
|
+
-webkit-overflow-scrolling: touch;
|
|
121
|
+
background: #fafafa;
|
|
122
|
+
border-radius: 0.5em;
|
|
123
|
+
-webkit-font-smoothing: subpixel-antialiased;
|
|
124
|
+
line-height: normal;
|
|
125
|
+
}
|
|
@@ -23,6 +23,14 @@
|
|
|
23
23
|
--RS__highlightHoverColor: rgba(255, 255, 0, 0.75);
|
|
24
24
|
--RS__underlineBorderColor: rgba(255, 255, 0, 1);
|
|
25
25
|
--RS__underlineHoverColor: rgba(255, 255, 0, 0.1);
|
|
26
|
+
|
|
27
|
+
--RS__definitionsColor: rgba(255, 111, 111, 0.5);
|
|
28
|
+
--RS__definitionsMixBlendMode: multiply;
|
|
29
|
+
--RS__definitionsHoverColor: rgba(255, 111, 111, 0.75);
|
|
30
|
+
--RS__definitionsUnderlineBorderColor: rgba(255, 111, 111, 1);
|
|
31
|
+
--RS__definitionsUnderlineHoverColor: rgba(255, 111, 111, 0.1);
|
|
32
|
+
|
|
33
|
+
--USER__maxMediaHeight: --RS__maxMediaHeight;
|
|
26
34
|
}
|
|
27
35
|
|
|
28
36
|
.R2_CLASS_HIGHLIGHT_AREA[data-marker="0"] {
|
|
@@ -34,7 +42,6 @@
|
|
|
34
42
|
.R2_CLASS_HIGHLIGHT_AREA[data-marker="0"].hover {
|
|
35
43
|
background-color: var(--RS__highlightHoverColor) !important;
|
|
36
44
|
}
|
|
37
|
-
|
|
38
45
|
.R2_CLASS_HIGHLIGHT_AREA[data-marker="1"] {
|
|
39
46
|
border-bottom: 2px solid var(--RS__underlineBorderColor);
|
|
40
47
|
mix-blend-mode: var(--RS__highlightMixBlendMode) !important;
|
|
@@ -45,6 +52,25 @@
|
|
|
45
52
|
background-color: var(--RS__underlineHoverColor) !important;
|
|
46
53
|
}
|
|
47
54
|
|
|
55
|
+
#R2_ID_DEFINITIONS_CONTAINER .R2_CLASS_HIGHLIGHT_AREA[data-marker="0"] {
|
|
56
|
+
background-color: var(--RS__definitionsColor) !important;
|
|
57
|
+
mix-blend-mode: var(--RS__definitionsMixBlendMode) !important;
|
|
58
|
+
z-index: 1;
|
|
59
|
+
}
|
|
60
|
+
#R2_ID_DEFINITIONS_CONTAINER .R2_CLASS_HIGHLIGHT_AREA[data-marker="0"]:hover,
|
|
61
|
+
#R2_ID_DEFINITIONS_CONTAINER .R2_CLASS_HIGHLIGHT_AREA[data-marker="0"].hover {
|
|
62
|
+
background-color: var(--RS__definitionsHoverColor) !important;
|
|
63
|
+
}
|
|
64
|
+
#R2_ID_DEFINITIONS_CONTAINER .R2_CLASS_HIGHLIGHT_AREA[data-marker="1"] {
|
|
65
|
+
border-bottom: 2px solid var(--RS__definitionsUnderlineBorderColor);
|
|
66
|
+
mix-blend-mode: var(--RS__definitionsMixBlendMode) !important;
|
|
67
|
+
z-index: 1;
|
|
68
|
+
}
|
|
69
|
+
#R2_ID_DEFINITIONS_CONTAINER .R2_CLASS_HIGHLIGHT_AREA[data-marker="1"]:hover,
|
|
70
|
+
#R2_ID_DEFINITIONS_CONTAINER .R2_CLASS_HIGHLIGHT_AREA[data-marker="1"].hover {
|
|
71
|
+
background-color: var(--RS__definitionsUnderlineHoverColor) !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
48
74
|
:root[style] .r2-mo-active,
|
|
49
75
|
:root .r2-mo-active {
|
|
50
76
|
background-color: yellow !important;
|
|
@@ -201,7 +227,6 @@
|
|
|
201
227
|
text-overflow: ellipsis;
|
|
202
228
|
max-width: 22rem;
|
|
203
229
|
min-width: 100px;
|
|
204
|
-
font-size: small;
|
|
205
230
|
z-index: 1000;
|
|
206
231
|
border: 1px dotted #5b5852;
|
|
207
232
|
}
|
|
@@ -224,3 +249,7 @@
|
|
|
224
249
|
border-top: 5px solid #5b5852;
|
|
225
250
|
margin-left: -10px;
|
|
226
251
|
}
|
|
252
|
+
|
|
253
|
+
img {
|
|
254
|
+
max-height: var(--USER__maxMediaHeight) !important;
|
|
255
|
+
}
|
package/dist/reader.css
CHANGED
|
@@ -144,7 +144,7 @@ a {
|
|
|
144
144
|
|
|
145
145
|
#iframe-wrapper iframe {
|
|
146
146
|
border: none;
|
|
147
|
-
overflow:
|
|
147
|
+
overflow: auto;
|
|
148
148
|
opacity: 0; }
|
|
149
149
|
|
|
150
150
|
[data-viewer-theme="day"] {
|
|
@@ -205,9 +205,9 @@ a {
|
|
|
205
205
|
animation: load 1s ease-in-out infinite; }
|
|
206
206
|
|
|
207
207
|
.loading {
|
|
208
|
-
position:
|
|
208
|
+
position: sticky;
|
|
209
209
|
width: 100%;
|
|
210
|
-
height:
|
|
210
|
+
height: 100%;
|
|
211
211
|
top: 0;
|
|
212
212
|
z-index: 10;
|
|
213
213
|
background-color: rgba(255, 255, 255, 0.9);
|
|
@@ -218,12 +218,11 @@ a {
|
|
|
218
218
|
user-select: none;
|
|
219
219
|
cursor: default; }
|
|
220
220
|
.loading .icon {
|
|
221
|
-
|
|
222
|
-
position: absolute;
|
|
221
|
+
position: sticky;
|
|
223
222
|
top: 50%;
|
|
224
223
|
left: 50%;
|
|
225
|
-
width:
|
|
226
|
-
height:
|
|
224
|
+
width: 4rem;
|
|
225
|
+
height: 4rem;
|
|
227
226
|
transform: translate(-50%, -50%);
|
|
228
227
|
fill: #9e9e9e; }
|
|
229
228
|
|
|
@@ -255,13 +254,13 @@ a {
|
|
|
255
254
|
* Licensed to: Bokbasen AS and CAST under one or more contributor license agreements.
|
|
256
255
|
*/
|
|
257
256
|
.error {
|
|
257
|
+
position: fixed;
|
|
258
258
|
z-index: 20;
|
|
259
259
|
background-color: rgba(255, 255, 255, 0.875);
|
|
260
260
|
color: #d0343a;
|
|
261
261
|
height: 100%;
|
|
262
262
|
top: 0;
|
|
263
263
|
padding-top: 40vh;
|
|
264
|
-
position: fixed;
|
|
265
264
|
text-align: center;
|
|
266
265
|
width: 100%;
|
|
267
266
|
-webkit-user-select: none;
|