@harbour-enterprises/superdoc 1.0.0-alpha.50 → 1.0.0-alpha.51

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
  .option-grid-ctn[data-v-d7e1f60b] {
171
203
  display: flex;
172
204
  flex-direction: column;
@@ -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-d7996dc3] {
639
+ .super-editor[data-v-eb75c71f] {
608
640
  position: relative;
609
641
  }
610
642
 
@@ -19050,62 +19082,62 @@ img[data-v-47d1dee5] {
19050
19082
  }
19051
19083
 
19052
19084
  /* Right sidebar drawer */
19053
- .right-sidebar[data-v-aaf23f4b] {
19085
+ .right-sidebar[data-v-1dad5771] {
19054
19086
  width: 320px;
19055
19087
  padding: 0 10px;
19056
19088
  min-height: 100%;
19057
19089
  position: relative;
19058
19090
  z-index: 100;
19059
19091
  }
19060
- .fa-tool-icon[data-v-aaf23f4b] {
19092
+ .fa-tool-icon[data-v-1dad5771] {
19061
19093
  cursor: pointer;
19062
19094
  }
19063
19095
 
19064
19096
  /* General Styles */
19065
- .box-sizing[data-v-aaf23f4b], .layers[data-v-aaf23f4b] {
19097
+ .box-sizing[data-v-1dad5771], .layers[data-v-1dad5771] {
19066
19098
  box-sizing: border-box;
19067
19099
  }
19068
- .cursor-pointer[data-v-aaf23f4b], .tools .tool-icon[data-v-aaf23f4b], .toolbar-item[data-v-aaf23f4b] {
19100
+ .cursor-pointer[data-v-1dad5771], .tools .tool-icon[data-v-1dad5771], .toolbar-item[data-v-1dad5771] {
19069
19101
  cursor: pointer;
19070
19102
  }
19071
- .flex[data-v-aaf23f4b] {
19103
+ .flex[data-v-1dad5771] {
19072
19104
  display: flex;
19073
19105
  }
19074
- .flex-column[data-v-aaf23f4b] {
19106
+ .flex-column[data-v-1dad5771] {
19075
19107
  flex-direction: column;
19076
19108
  }
19077
- .flex-center[data-v-aaf23f4b] {
19109
+ .flex-center[data-v-1dad5771] {
19078
19110
  display: flex;
19079
19111
  align-items: center;
19080
19112
  justify-content: center;
19081
19113
  }
19082
19114
 
19083
19115
  /* Layer Styles */
19084
- .comments-layer[data-v-aaf23f4b] {
19116
+ .comments-layer[data-v-1dad5771] {
19085
19117
  position: absolute;
19086
19118
  top: 0;
19087
19119
  height: 100%;
19088
19120
  }
19089
- .layers[data-v-aaf23f4b] {
19121
+ .layers[data-v-1dad5771] {
19090
19122
  position: relative;
19091
19123
  }
19092
19124
 
19093
19125
  /* Document Styles */
19094
- .docx[data-v-aaf23f4b] {
19126
+ .docx[data-v-1dad5771] {
19095
19127
  border: 1px solid #DFDFDF;
19096
19128
  pointer-events: auto;
19097
19129
  }
19098
- .sub-document[data-v-aaf23f4b] {
19130
+ .sub-document[data-v-1dad5771] {
19099
19131
  position: relative;
19100
19132
  }
19101
19133
 
19102
19134
  /* Toolbar Styles */
19103
- .toolbar[data-v-aaf23f4b] {
19135
+ .toolbar[data-v-1dad5771] {
19104
19136
  height: 25px;
19105
19137
  background-color: #fff;
19106
19138
  margin-bottom: 5px;
19107
19139
  }
19108
- .toolbar-item[data-v-aaf23f4b] {
19140
+ .toolbar-item[data-v-1dad5771] {
19109
19141
  width: 20px;
19110
19142
  height: 20px;
19111
19143
  border-radius: 8px;
@@ -19117,12 +19149,12 @@ img[data-v-47d1dee5] {
19117
19149
  justify-content: center;
19118
19150
  transition: all 250ms ease;
19119
19151
  }
19120
- .toolbar-item[data-v-aaf23f4b]:hover {
19152
+ .toolbar-item[data-v-1dad5771]:hover {
19121
19153
  background-color: #DBDBDB;
19122
19154
  }
19123
19155
 
19124
19156
  /* Tools Styles */
19125
- .tools[data-v-aaf23f4b] {
19157
+ .tools[data-v-1dad5771] {
19126
19158
  position: absolute;
19127
19159
  width: 50px;
19128
19160
  height: 50px;
@@ -19133,7 +19165,7 @@ img[data-v-47d1dee5] {
19133
19165
  align-items: center;
19134
19166
  justify-content: center;
19135
19167
  }
19136
- .tools .tool-icon[data-v-aaf23f4b] {
19168
+ .tools .tool-icon[data-v-1dad5771] {
19137
19169
  font-size: 20px;
19138
19170
  border-radius: 12px;
19139
19171
  border: none;
@@ -19141,11 +19173,11 @@ img[data-v-47d1dee5] {
19141
19173
  background-color: #DBDBDB;
19142
19174
  }
19143
19175
  @media (max-width: 768px) {
19144
- .sub-document[data-v-aaf23f4b] {
19176
+ .sub-document[data-v-1dad5771] {
19145
19177
  max-width: 100%;
19146
19178
  overflow: hidden;
19147
19179
  }
19148
- .right-sidebar[data-v-aaf23f4b] {
19180
+ .right-sidebar[data-v-1dad5771] {
19149
19181
  padding: 10px;
19150
19182
  width: 55px;
19151
19183
  position: relative;