@harbour-enterprises/superdoc 1.0.0-alpha.24 → 1.0.0-alpha.25
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/style.css +114 -114
- package/dist/superdoc.cjs.js +7976 -8186
- package/dist/superdoc.cjs.js.map +1 -1
- package/dist/superdoc.es.js +7976 -8186
- package/dist/superdoc.es.js.map +1 -1
- package/package.json +4 -3
package/dist/style.css
CHANGED
|
@@ -16751,8 +16751,20 @@ body {
|
|
|
16751
16751
|
}
|
|
16752
16752
|
.sd-highlight {
|
|
16753
16753
|
position: absolute;
|
|
16754
|
-
border-radius:
|
|
16755
|
-
background-color: #
|
|
16754
|
+
border-radius: 33px;
|
|
16755
|
+
background-color: #DDAF0955;
|
|
16756
|
+
mix-blend-mode: multiply;
|
|
16757
|
+
transition: background-color 250ms ease;
|
|
16758
|
+
}
|
|
16759
|
+
.sd-initial-highlight {
|
|
16760
|
+
background-color: #1355ff7F;
|
|
16761
|
+
}
|
|
16762
|
+
.sd-highlight:hover {
|
|
16763
|
+
background-color: #DDAF0999;
|
|
16764
|
+
}
|
|
16765
|
+
.sd-highlight-active {
|
|
16766
|
+
background-color: #1355ff7F;
|
|
16767
|
+
cursor: pointer;
|
|
16756
16768
|
}
|
|
16757
16769
|
.comment-box {
|
|
16758
16770
|
width: 300px;
|
|
@@ -16760,8 +16772,14 @@ body {
|
|
|
16760
16772
|
.superdoc {
|
|
16761
16773
|
min-height: 100%;
|
|
16762
16774
|
display: flex;
|
|
16775
|
+
margin: 0;
|
|
16776
|
+
padding: 20px;
|
|
16777
|
+
position: relative;
|
|
16778
|
+
overflow: hidden;
|
|
16763
16779
|
}
|
|
16780
|
+
@media (max-width: 768px) {
|
|
16764
16781
|
|
|
16782
|
+
}
|
|
16765
16783
|
/* Copyright 2014 Mozilla Foundation
|
|
16766
16784
|
*
|
|
16767
16785
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -19034,39 +19052,37 @@ body {
|
|
|
19034
19052
|
border:2px solid transparent;
|
|
19035
19053
|
}
|
|
19036
19054
|
.superdoc-viewer{
|
|
19037
|
-
|
|
19055
|
+
|
|
19038
19056
|
position: relative;
|
|
19057
|
+
display: flex;
|
|
19058
|
+
flex-direction: column;
|
|
19039
19059
|
}
|
|
19040
19060
|
.superdoc-viewer .pdf-page {
|
|
19041
|
-
position: relative;
|
|
19042
19061
|
border: 1px solid #DFDFDF;
|
|
19043
|
-
margin
|
|
19044
|
-
|
|
19062
|
+
margin: 0 0 20px 0;
|
|
19063
|
+
position: relative;
|
|
19045
19064
|
}
|
|
19046
19065
|
.superdoc-viewer .textLayer {
|
|
19047
19066
|
z-index: 2;
|
|
19067
|
+
position: absolute;
|
|
19068
|
+
}
|
|
19069
|
+
.superdoc-viewer .textLayer ::selection {
|
|
19070
|
+
background-color: #1355ff66;
|
|
19071
|
+
mix-blend-mode: difference;
|
|
19048
19072
|
}
|
|
19049
19073
|
|
|
19050
|
-
.comment-doc[data-v-
|
|
19051
|
-
background-color: red;
|
|
19074
|
+
.comment-doc[data-v-73492d6f] {
|
|
19052
19075
|
position: relative;
|
|
19053
19076
|
}
|
|
19054
|
-
.comments-layer[data-v-
|
|
19077
|
+
.comments-layer[data-v-73492d6f] {
|
|
19055
19078
|
position: relative;
|
|
19056
19079
|
}
|
|
19057
|
-
.comment-anchor[data-v-
|
|
19080
|
+
.comment-anchor[data-v-73492d6f] {
|
|
19058
19081
|
position: absolute;
|
|
19059
19082
|
cursor: pointer;
|
|
19060
19083
|
z-index: 3;
|
|
19061
19084
|
border-radius: 4px;
|
|
19062
19085
|
transition: background-color 250ms ease;
|
|
19063
|
-
pointer-events: auto;
|
|
19064
|
-
}
|
|
19065
|
-
.comment-anchor[data-v-ddeee1a6]:hover {
|
|
19066
|
-
background-color: #FFD70099;
|
|
19067
|
-
}
|
|
19068
|
-
.comments-container[data-v-ddeee1a6] {
|
|
19069
|
-
pointer-events: none;
|
|
19070
19086
|
}
|
|
19071
19087
|
|
|
19072
19088
|
.ProseMirror {
|
|
@@ -19117,25 +19133,27 @@ span[data-v-36fffb56] {
|
|
|
19117
19133
|
}
|
|
19118
19134
|
|
|
19119
19135
|
|
|
19120
|
-
.comments-dialog[data-v-
|
|
19136
|
+
.comments-dialog[data-v-e7a86897] {
|
|
19121
19137
|
position: absolute;
|
|
19122
19138
|
display: flex;
|
|
19123
19139
|
flex-direction: column;
|
|
19124
|
-
|
|
19125
|
-
padding: 16px;
|
|
19140
|
+
padding: 12px;
|
|
19126
19141
|
border-radius: 12px;
|
|
19127
19142
|
background-color: #EDEDED;
|
|
19128
19143
|
transition: background-color 250ms ease;
|
|
19129
|
-
-webkit-box-shadow: 0px 0px
|
|
19130
|
-
-moz-box-shadow: 0px 0px
|
|
19131
|
-
box-shadow: 0px 0px
|
|
19144
|
+
-webkit-box-shadow: 0px 0px 1px 1px rgba(50, 50, 50, 0.15);
|
|
19145
|
+
-moz-box-shadow: 0px 0px 1px 1px rgba(50, 50, 50, 0.15);
|
|
19146
|
+
box-shadow: 0px 0px 1px 1px rgba(50, 50, 50, 0.15);
|
|
19132
19147
|
z-index: 5;
|
|
19133
19148
|
}
|
|
19134
|
-
.
|
|
19149
|
+
.is-active[data-v-e7a86897] {
|
|
19150
|
+
z-index: 10;
|
|
19151
|
+
}
|
|
19152
|
+
.overflow-menu[data-v-e7a86897] {
|
|
19135
19153
|
flex-shrink: 1;
|
|
19136
19154
|
display: flex;
|
|
19137
19155
|
}
|
|
19138
|
-
.overflow-menu i[data-v-
|
|
19156
|
+
.overflow-menu i[data-v-e7a86897] {
|
|
19139
19157
|
width: 20px;
|
|
19140
19158
|
height: 20px;
|
|
19141
19159
|
display: flex;
|
|
@@ -19147,118 +19165,85 @@ span[data-v-36fffb56] {
|
|
|
19147
19165
|
margin-left: 2px;
|
|
19148
19166
|
cursor: pointer;
|
|
19149
19167
|
}
|
|
19150
|
-
.overflow-menu i[data-v-
|
|
19168
|
+
.overflow-menu i[data-v-e7a86897]:hover {
|
|
19151
19169
|
background-color: #DBDBDB;
|
|
19152
19170
|
}
|
|
19153
|
-
.
|
|
19154
|
-
margin: 5px 0;
|
|
19155
|
-
}
|
|
19156
|
-
.comment-entry[data-v-4946bb71] {
|
|
19171
|
+
.comment-entry[data-v-e7a86897] {
|
|
19157
19172
|
flex-grow: 1;
|
|
19173
|
+
margin: 5px 0;
|
|
19158
19174
|
}
|
|
19159
|
-
.comment-entry input[data-v-
|
|
19175
|
+
.comment-entry input[data-v-e7a86897] {
|
|
19160
19176
|
border-radius: 12px;
|
|
19161
|
-
padding: 10px
|
|
19177
|
+
padding: 6px 10px;
|
|
19162
19178
|
outline: none;
|
|
19163
19179
|
border: 1px solid #DBDBDB;
|
|
19164
19180
|
width: 100%;
|
|
19165
19181
|
}
|
|
19166
|
-
.comment-header[data-v-
|
|
19182
|
+
.comment-header[data-v-e7a86897] {
|
|
19167
19183
|
display: flex;
|
|
19168
19184
|
align-items: center;
|
|
19169
19185
|
justify-content: space-between;
|
|
19170
19186
|
}
|
|
19171
|
-
.
|
|
19187
|
+
.comment-header-left[data-v-e7a86897] {
|
|
19188
|
+
display: flex;
|
|
19189
|
+
justify-content: space-between;
|
|
19190
|
+
align-items: center;
|
|
19191
|
+
}
|
|
19192
|
+
.avatar[data-v-e7a86897] {
|
|
19172
19193
|
margin-right: 10px;
|
|
19173
19194
|
}
|
|
19174
|
-
.user-info[data-v-
|
|
19195
|
+
.user-info[data-v-e7a86897] {
|
|
19175
19196
|
display: flex;
|
|
19176
19197
|
flex-direction: column;
|
|
19177
19198
|
font-size: 12px;
|
|
19178
19199
|
}
|
|
19179
|
-
.user-name[data-v-
|
|
19200
|
+
.user-name[data-v-e7a86897] {
|
|
19180
19201
|
font-weight: 600;
|
|
19202
|
+
line-height: 1.2em;
|
|
19181
19203
|
}
|
|
19182
|
-
.user-timestamp[data-v-
|
|
19204
|
+
.user-timestamp[data-v-e7a86897] {
|
|
19205
|
+
line-height: 1.2em;
|
|
19183
19206
|
font-size: 12px;
|
|
19184
19207
|
color: #999;
|
|
19185
19208
|
}
|
|
19186
|
-
.sd-button[data-v-
|
|
19209
|
+
.sd-button[data-v-e7a86897] {
|
|
19187
19210
|
margin-right: 5px;
|
|
19211
|
+
font-size: 12px;
|
|
19188
19212
|
}
|
|
19189
|
-
.comment[data-v-
|
|
19213
|
+
.comment[data-v-e7a86897] {
|
|
19190
19214
|
font-size: 14px;
|
|
19191
|
-
margin:
|
|
19215
|
+
margin: 5px 0;
|
|
19192
19216
|
}
|
|
19193
|
-
.conversation-item[data-v-
|
|
19217
|
+
.conversation-item[data-v-e7a86897] {
|
|
19194
19218
|
border-bottom: 1px solid #DBDBDB;
|
|
19195
19219
|
padding-bottom: 10px;
|
|
19196
19220
|
}
|
|
19221
|
+
.comment-footer[data-v-e7a86897] {
|
|
19222
|
+
margin: 5px 0;
|
|
19223
|
+
}
|
|
19197
19224
|
|
|
19198
|
-
.
|
|
19225
|
+
.section-wrapper[data-v-6cfcb7d7] {
|
|
19199
19226
|
position: relative;
|
|
19200
|
-
|
|
19201
|
-
|
|
19202
|
-
.comments-icon[data-v-0d0bd15f] {
|
|
19203
|
-
font-size: 20px;
|
|
19204
|
-
width: 50px;
|
|
19205
|
-
height: 50px;
|
|
19206
|
-
font-weight: 400;
|
|
19207
|
-
background-color: #E2E9FB;
|
|
19208
|
-
color: #1355FF;
|
|
19209
|
-
border-radius: 50%;
|
|
19210
|
-
display: flex;
|
|
19211
|
-
align-items: center;
|
|
19212
|
-
justify-content: center;
|
|
19213
|
-
transition: background-color 250ms ease;
|
|
19214
|
-
user-select: none;
|
|
19215
|
-
pointer-events: none;
|
|
19216
|
-
}
|
|
19217
|
-
.number-bubble[data-v-0d0bd15f] {
|
|
19218
|
-
background-color: #1355FF;
|
|
19219
|
-
width: 20px;
|
|
19220
|
-
height: 20px;
|
|
19221
|
-
border-radius: 50%;
|
|
19222
|
-
position: absolute;
|
|
19223
|
-
right: -4px;
|
|
19224
|
-
top: -4px;
|
|
19225
|
-
color: white;
|
|
19226
|
-
display: flex;
|
|
19227
|
-
align-items: center;
|
|
19228
|
-
justify-content: center;
|
|
19229
|
-
font-size: 12px;
|
|
19227
|
+
min-height: 100%;
|
|
19228
|
+
width: 300px;
|
|
19230
19229
|
}
|
|
19231
|
-
.
|
|
19232
|
-
cursor: pointer;
|
|
19233
|
-
position: absolute;
|
|
19234
|
-
display: flex;
|
|
19230
|
+
.floating-comment[data-v-6cfcb7d7] {
|
|
19235
19231
|
position: absolute;
|
|
19236
|
-
|
|
19237
|
-
transition: background-color 250ms ease;
|
|
19238
|
-
}
|
|
19239
|
-
.comments-icon[data-v-0d0bd15f]:hover {
|
|
19240
|
-
background-color: #E2E9FB99;
|
|
19241
|
-
}
|
|
19242
|
-
.expanded[data-v-0d0bd15f] {
|
|
19243
|
-
flex-direction: column;
|
|
19244
|
-
background-color: #EDEDED;
|
|
19245
|
-
z-index: 11;
|
|
19232
|
+
min-width: 300px;
|
|
19246
19233
|
}
|
|
19247
19234
|
|
|
19248
|
-
.text-field[data-v-
|
|
19235
|
+
.text-field[data-v-f85784d6] {
|
|
19249
19236
|
white-space: nowrap;
|
|
19250
19237
|
height: 100%;
|
|
19251
19238
|
width: 100%;
|
|
19252
19239
|
border-radius: 2px;
|
|
19253
19240
|
margin: 0;
|
|
19254
|
-
margin-top: -13px;
|
|
19255
19241
|
display: flex;
|
|
19256
19242
|
align-items: center;
|
|
19257
19243
|
padding: 1px;
|
|
19258
19244
|
}
|
|
19259
19245
|
|
|
19260
|
-
.paragraph-field[data-v-
|
|
19261
|
-
overflow: hidden;
|
|
19246
|
+
.paragraph-field[data-v-7e3aecc8] {
|
|
19262
19247
|
margin: 0;
|
|
19263
19248
|
padding: 1px;
|
|
19264
19249
|
}
|
|
@@ -19281,70 +19266,66 @@ img[data-v-47d1dee5] {
|
|
|
19281
19266
|
margin-top: 5px;
|
|
19282
19267
|
}
|
|
19283
19268
|
|
|
19284
|
-
.select-container[data-v-
|
|
19269
|
+
.select-container[data-v-f9a43dfa] {
|
|
19285
19270
|
padding: 1px;
|
|
19286
|
-
margin-top: -13px;
|
|
19287
19271
|
}
|
|
19288
19272
|
|
|
19289
|
-
.field-container[data-v-
|
|
19273
|
+
.field-container[data-v-60099bb0] {
|
|
19290
19274
|
border-radius: 2px;
|
|
19291
|
-
background-color: #EFD0F0;
|
|
19275
|
+
background-color: #EFD0F0 !important;
|
|
19292
19276
|
border: 2px solid #B015B3;
|
|
19293
19277
|
}
|
|
19294
19278
|
|
|
19295
19279
|
/* Right sidebar drawer */
|
|
19296
|
-
.right-sidebar[data-v-
|
|
19280
|
+
.right-sidebar[data-v-e89145d7] {
|
|
19297
19281
|
width: 320px;
|
|
19298
|
-
padding: 10px;
|
|
19282
|
+
padding: 0 10px;
|
|
19283
|
+
min-height: 100%;
|
|
19299
19284
|
position: relative;
|
|
19300
19285
|
}
|
|
19301
19286
|
|
|
19302
19287
|
/* General Styles */
|
|
19303
|
-
.box-sizing[data-v-
|
|
19288
|
+
.box-sizing[data-v-e89145d7], .layers[data-v-e89145d7] {
|
|
19304
19289
|
box-sizing: border-box;
|
|
19305
19290
|
}
|
|
19306
|
-
.cursor-pointer[data-v-
|
|
19291
|
+
.cursor-pointer[data-v-e89145d7], .tools i[data-v-e89145d7], .toolbar-item[data-v-e89145d7] {
|
|
19307
19292
|
cursor: pointer;
|
|
19308
19293
|
}
|
|
19309
|
-
.flex[data-v-
|
|
19294
|
+
.flex[data-v-e89145d7] {
|
|
19310
19295
|
display: flex;
|
|
19311
19296
|
}
|
|
19312
|
-
.flex-column[data-v-
|
|
19297
|
+
.flex-column[data-v-e89145d7] {
|
|
19313
19298
|
flex-direction: column;
|
|
19314
19299
|
}
|
|
19315
|
-
.flex-center[data-v-
|
|
19300
|
+
.flex-center[data-v-e89145d7] {
|
|
19316
19301
|
display: flex;
|
|
19317
19302
|
align-items: center;
|
|
19318
19303
|
justify-content: center;
|
|
19319
19304
|
}
|
|
19320
19305
|
|
|
19321
19306
|
/* Layer Styles */
|
|
19322
|
-
.comments-layer[data-v-
|
|
19307
|
+
.comments-layer[data-v-e89145d7] {
|
|
19323
19308
|
position: absolute;
|
|
19324
19309
|
top: 0;
|
|
19325
19310
|
height: 100%;
|
|
19326
19311
|
}
|
|
19327
|
-
.layers[data-v-e0890280] {
|
|
19328
|
-
position: relative;
|
|
19329
|
-
display: inline-block;
|
|
19330
|
-
}
|
|
19331
19312
|
|
|
19332
19313
|
/* Document Styles */
|
|
19333
|
-
.docx[data-v-
|
|
19314
|
+
.docx[data-v-e89145d7] {
|
|
19334
19315
|
border: 1px solid #DFDFDF;
|
|
19335
19316
|
pointer-events: auto;
|
|
19336
19317
|
}
|
|
19337
|
-
.sub-document[data-v-
|
|
19318
|
+
.sub-document[data-v-e89145d7] {
|
|
19338
19319
|
position: relative;
|
|
19339
19320
|
}
|
|
19340
19321
|
|
|
19341
19322
|
/* Toolbar Styles */
|
|
19342
|
-
.toolbar[data-v-
|
|
19323
|
+
.toolbar[data-v-e89145d7] {
|
|
19343
19324
|
height: 25px;
|
|
19344
19325
|
background-color: #fff;
|
|
19345
19326
|
margin-bottom: 5px;
|
|
19346
19327
|
}
|
|
19347
|
-
.toolbar-item[data-v-
|
|
19328
|
+
.toolbar-item[data-v-e89145d7] {
|
|
19348
19329
|
width: 20px;
|
|
19349
19330
|
height: 20px;
|
|
19350
19331
|
border-radius: 8px;
|
|
@@ -19356,12 +19337,12 @@ img[data-v-47d1dee5] {
|
|
|
19356
19337
|
justify-content: center;
|
|
19357
19338
|
transition: all 250ms ease;
|
|
19358
19339
|
}
|
|
19359
|
-
.toolbar-item[data-v-
|
|
19340
|
+
.toolbar-item[data-v-e89145d7]:hover {
|
|
19360
19341
|
background-color: #DBDBDB;
|
|
19361
19342
|
}
|
|
19362
19343
|
|
|
19363
19344
|
/* Tools Styles */
|
|
19364
|
-
.tools[data-v-
|
|
19345
|
+
.tools[data-v-e89145d7] {
|
|
19365
19346
|
position: absolute;
|
|
19366
19347
|
width: 50px;
|
|
19367
19348
|
height: 50px;
|
|
@@ -19372,11 +19353,30 @@ img[data-v-47d1dee5] {
|
|
|
19372
19353
|
align-items: center;
|
|
19373
19354
|
justify-content: center;
|
|
19374
19355
|
}
|
|
19375
|
-
.tools i[data-v-
|
|
19356
|
+
.tools i[data-v-e89145d7] {
|
|
19376
19357
|
font-size: 20px;
|
|
19377
19358
|
border-radius: 12px;
|
|
19378
19359
|
border: none;
|
|
19379
19360
|
outline: none;
|
|
19380
19361
|
background-color: #DBDBDB;
|
|
19381
19362
|
}
|
|
19382
|
-
|
|
19363
|
+
.layers[data-v-e89145d7] {
|
|
19364
|
+
position: relative;
|
|
19365
|
+
height: 100%;
|
|
19366
|
+
width: 100%;
|
|
19367
|
+
overflow: auto;
|
|
19368
|
+
}
|
|
19369
|
+
.document[data-v-e89145d7] {
|
|
19370
|
+
position: relative;
|
|
19371
|
+
}
|
|
19372
|
+
@media (max-width: 768px) {
|
|
19373
|
+
.sub-document[data-v-e89145d7] {
|
|
19374
|
+
max-width: 100%;
|
|
19375
|
+
overflow: hidden;
|
|
19376
|
+
}
|
|
19377
|
+
.right-sidebar[data-v-e89145d7] {
|
|
19378
|
+
padding: 10px;
|
|
19379
|
+
width: 55px;
|
|
19380
|
+
position: relative;
|
|
19381
|
+
}
|
|
19382
|
+
}
|