@harbour-enterprises/superdoc 1.0.0-alpha.56 → 1.0.0-alpha.57

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
  }
@@ -19416,74 +19448,74 @@ img[data-v-47d1dee5] {
19416
19448
  }
19417
19449
  }
19418
19450
 
19419
- .selection-layer[data-v-0f7b7f55] {
19451
+ .selection-layer[data-v-a0e03927] {
19420
19452
  position: absolute;
19421
19453
  min-height: 100%;
19422
19454
  min-width: 100%;
19423
19455
  z-index: 10;
19424
19456
  pointer-events: none;
19425
19457
  }
19426
- .temp-selection[data-v-0f7b7f55] {
19458
+ .temp-selection[data-v-a0e03927] {
19427
19459
  position: absolute;
19428
19460
  }
19429
19461
  /* Right sidebar drawer */
19430
- .right-sidebar[data-v-0f7b7f55] {
19462
+ .right-sidebar[data-v-a0e03927] {
19431
19463
  width: 320px;
19432
19464
  padding: 0 10px;
19433
19465
  min-height: 100%;
19434
19466
  position: relative;
19435
19467
  z-index: 100;
19436
19468
  }
19437
- .fa-tool-icon[data-v-0f7b7f55] {
19469
+ .fa-tool-icon[data-v-a0e03927] {
19438
19470
  cursor: pointer;
19439
19471
  }
19440
19472
 
19441
19473
  /* General Styles */
19442
- .box-sizing[data-v-0f7b7f55], .layers[data-v-0f7b7f55] {
19474
+ .box-sizing[data-v-a0e03927], .layers[data-v-a0e03927] {
19443
19475
  box-sizing: border-box;
19444
19476
  }
19445
- .cursor-pointer[data-v-0f7b7f55], .tools .tool-icon[data-v-0f7b7f55], .toolbar-item[data-v-0f7b7f55] {
19477
+ .cursor-pointer[data-v-a0e03927], .tools .tool-icon[data-v-a0e03927], .toolbar-item[data-v-a0e03927] {
19446
19478
  cursor: pointer;
19447
19479
  }
19448
- .flex[data-v-0f7b7f55] {
19480
+ .flex[data-v-a0e03927] {
19449
19481
  display: flex;
19450
19482
  }
19451
- .flex-column[data-v-0f7b7f55] {
19483
+ .flex-column[data-v-a0e03927] {
19452
19484
  flex-direction: column;
19453
19485
  }
19454
- .flex-center[data-v-0f7b7f55] {
19486
+ .flex-center[data-v-a0e03927] {
19455
19487
  display: flex;
19456
19488
  align-items: center;
19457
19489
  justify-content: center;
19458
19490
  }
19459
19491
 
19460
19492
  /* Layer Styles */
19461
- .comments-layer[data-v-0f7b7f55] {
19493
+ .comments-layer[data-v-a0e03927] {
19462
19494
  position: absolute;
19463
19495
  top: 0;
19464
19496
  height: 100%;
19465
19497
  position: relative;
19466
19498
  }
19467
- .layers[data-v-0f7b7f55] {
19499
+ .layers[data-v-a0e03927] {
19468
19500
  position: relative;
19469
19501
  }
19470
19502
 
19471
19503
  /* Document Styles */
19472
- .docx[data-v-0f7b7f55] {
19504
+ .docx[data-v-a0e03927] {
19473
19505
  border: 1px solid #DFDFDF;
19474
19506
  pointer-events: auto;
19475
19507
  }
19476
- .sub-document[data-v-0f7b7f55] {
19508
+ .sub-document[data-v-a0e03927] {
19477
19509
  position: relative;
19478
19510
  }
19479
19511
 
19480
19512
  /* Toolbar Styles */
19481
- .toolbar[data-v-0f7b7f55] {
19513
+ .toolbar[data-v-a0e03927] {
19482
19514
  height: 25px;
19483
19515
  background-color: #fff;
19484
19516
  margin-bottom: 5px;
19485
19517
  }
19486
- .toolbar-item[data-v-0f7b7f55] {
19518
+ .toolbar-item[data-v-a0e03927] {
19487
19519
  width: 20px;
19488
19520
  height: 20px;
19489
19521
  border-radius: 8px;
@@ -19495,12 +19527,12 @@ img[data-v-47d1dee5] {
19495
19527
  justify-content: center;
19496
19528
  transition: all 250ms ease;
19497
19529
  }
19498
- .toolbar-item[data-v-0f7b7f55]:hover {
19530
+ .toolbar-item[data-v-a0e03927]:hover {
19499
19531
  background-color: #DBDBDB;
19500
19532
  }
19501
19533
 
19502
19534
  /* Tools Styles */
19503
- .tools[data-v-0f7b7f55] {
19535
+ .tools[data-v-a0e03927] {
19504
19536
  position: absolute;
19505
19537
  width: 50px;
19506
19538
  height: 50px;
@@ -19511,7 +19543,7 @@ img[data-v-47d1dee5] {
19511
19543
  align-items: center;
19512
19544
  justify-content: center;
19513
19545
  }
19514
- .tools .tool-icon[data-v-0f7b7f55] {
19546
+ .tools .tool-icon[data-v-a0e03927] {
19515
19547
  font-size: 20px;
19516
19548
  border-radius: 12px;
19517
19549
  border: none;
@@ -19519,11 +19551,11 @@ img[data-v-47d1dee5] {
19519
19551
  background-color: #DBDBDB;
19520
19552
  }
19521
19553
  @media (max-width: 768px) {
19522
- .sub-document[data-v-0f7b7f55] {
19554
+ .sub-document[data-v-a0e03927] {
19523
19555
  max-width: 100%;
19524
19556
  overflow: hidden;
19525
19557
  }
19526
- .right-sidebar[data-v-0f7b7f55] {
19558
+ .right-sidebar[data-v-a0e03927] {
19527
19559
  padding: 10px;
19528
19560
  width: 55px;
19529
19561
  position: relative;