@harbour-enterprises/superdoc 1.0.0-alpha.61 → 1.0.0-alpha.62

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 CHANGED
@@ -167,6 +167,38 @@ body {
167
167
  .input-active {
168
168
  border: 1px solid #1355FF !important;
169
169
  }
170
+
171
+
172
+ /* Collaboration cursors */
173
+ .ProseMirror > .ProseMirror-yjs-cursor:first-child {
174
+ margin-top: 16px;
175
+ }
176
+ .ProseMirror-yjs-cursor {
177
+ position: relative;
178
+ margin-left: -1px;
179
+ margin-right: -1px;
180
+ border-left: 1px solid black;
181
+ border-right: 1px solid black;
182
+ border-color: orange;
183
+ word-break: normal;
184
+ pointer-events: none;
185
+ }
186
+ .ProseMirror-yjs-cursor > div {
187
+ position: absolute;
188
+ top: -1.05em;
189
+ left: -1px;
190
+ font-size: 13px;
191
+ background-color: rgb(250, 129, 0);
192
+ font-family: serif;
193
+ font-style: normal;
194
+ font-weight: normal;
195
+ line-height: normal;
196
+ user-select: none;
197
+ color: white;
198
+ padding-left: 2px;
199
+ padding-right: 2px;
200
+ white-space: nowrap;
201
+ }
170
202
  .open-link-icon[data-v-68133520] {
171
203
  margin-left: 10px;
172
204
  width: 30px;
@@ -604,7 +636,7 @@ body {
604
636
  width: 200px;
605
637
  }
606
638
  .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
607
- .super-editor[data-v-15fe97d5] {
639
+ .super-editor[data-v-88836bd4] {
608
640
  display: inline-block;
609
641
  position: relative;
610
642
  }
@@ -19331,7 +19363,7 @@ img[data-v-718ded21] {
19331
19363
  border: 2px solid #B015B3;
19332
19364
  }
19333
19365
 
19334
- .super-editor-in-viewer {
19366
+ .super-editor {
19335
19367
  --header-height: 36px;
19336
19368
 
19337
19369
  font-family: sans-serif;
@@ -19340,7 +19372,7 @@ img[data-v-718ded21] {
19340
19372
  height: 100%;
19341
19373
  position: relative;
19342
19374
  }
19343
- .super-editor-in-viewer__header {
19375
+ .super-editor__header {
19344
19376
  display: flex;
19345
19377
  align-items: center;
19346
19378
  height: var(--header-height);
@@ -19348,39 +19380,39 @@ img[data-v-718ded21] {
19348
19380
  background: #fff;
19349
19381
  box-shadow: rgb(0 0 0 / 10%) 0px -1px 0px 0px inset;
19350
19382
  }
19351
- .super-editor-in-viewer__header .signer-redlining__yes-no-ctn {
19383
+ .super-editor__header .signer-redlining__yes-no-ctn {
19352
19384
  margin-top: 0;
19353
19385
  }
19354
- .super-editor-in-viewer__header-zoom-btns {
19386
+ .super-editor__header-zoom-btns {
19355
19387
  display: flex;
19356
19388
  align-items: center;
19357
19389
  gap: 10px;
19358
19390
  }
19359
- .super-editor-in-viewer__zoom-btn {
19391
+ .super-editor__zoom-btn {
19360
19392
  font-size: 18px;
19361
19393
  color: #363636;
19362
19394
  cursor: pointer;
19363
19395
  transition: all 0.2s;
19364
19396
  }
19365
- .super-editor-in-viewer__zoom-btn--active,
19366
- .super-editor-in-viewer__zoom-btn:hover {
19397
+ .super-editor__zoom-btn--active,
19398
+ .super-editor__zoom-btn:hover {
19367
19399
  color: var(--hrbr-primary-color-active);
19368
19400
  }
19369
- .super-editor-in-viewer__zoom-btn--disabled {
19401
+ .super-editor__zoom-btn--disabled {
19370
19402
  color: #848484;
19371
19403
  pointer-events: none;
19372
19404
  }
19373
- .super-editor-in-viewer__zoom-btn i {
19405
+ .super-editor__zoom-btn i {
19374
19406
  display: block;
19375
19407
  }
19376
- .super-editor-in-viewer__main {
19408
+ .super-editor__main {
19377
19409
  position: absolute;
19378
19410
  top: var(--header-height);
19379
19411
  left: 0;
19380
19412
  right: 0;
19381
19413
  bottom: 0;
19382
19414
  }
19383
- .super-editor-in-viewer__document {
19415
+ .super-editor__document {
19384
19416
  position: absolute;
19385
19417
  top: 0;
19386
19418
  left: 0;
@@ -19390,15 +19422,15 @@ img[data-v-718ded21] {
19390
19422
  overflow: auto;
19391
19423
  background: #fff;
19392
19424
  }
19393
- .super-editor-in-viewer__document-wrapper {
19425
+ .super-editor__document-wrapper {
19394
19426
  width: 100%;
19395
19427
  height: auto;
19396
19428
  }
19397
- .super-editor-in-viewer__content-container {
19429
+ .super-editor__content-container {
19398
19430
  max-height: 0;
19399
19431
  overflow: visible;
19400
19432
  }
19401
- .super-editor-in-viewer__content {
19433
+ .super-editor__content {
19402
19434
  min-width: 800px;
19403
19435
  padding: 38px 75px 75px;
19404
19436
  /* opacity: 0;
@@ -19406,7 +19438,7 @@ img[data-v-718ded21] {
19406
19438
  transition: opacity 0.3s ease, visibility 0.3s ease;
19407
19439
  transform-origin: 0 0;
19408
19440
  }
19409
- .super-editor-in-viewer__content--visible {
19441
+ .super-editor__content--visible {
19410
19442
  opacity: 1;
19411
19443
  visibility: visible;
19412
19444
  }