nodebb-plugin-composer-default 10.2.18 → 10.2.20
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/library.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.composer {
|
|
2
2
|
user-select: none;
|
|
3
|
-
background-color:
|
|
4
|
-
color:
|
|
3
|
+
background-color: var(--bs-body-bg);
|
|
4
|
+
color: var(--bs-body-color);
|
|
5
5
|
z-index: $zindex-dropdown;
|
|
6
6
|
visibility: hidden;
|
|
7
7
|
padding: 0;
|
|
@@ -356,3 +356,27 @@
|
|
|
356
356
|
@import './page-compose';
|
|
357
357
|
@import './textcomplete';
|
|
358
358
|
|
|
359
|
+
|
|
360
|
+
.skin-noskin, .skin-cosmo, .skin-flatly,
|
|
361
|
+
.skin-journal, .skin-litera, .skin-minty, .skin-pulse,
|
|
362
|
+
.skin-sandstone, .skin-sketchy, .skin-spacelab, .skin-united {
|
|
363
|
+
.composer {
|
|
364
|
+
color: var(--bs-secondary) !important;
|
|
365
|
+
background-color: var(--bs-light) !important;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.skin-cerulean, .skin-lumen, .skin-lux, .skin-morph,
|
|
370
|
+
.skin-simplex, .skin-yeti, .skin-zephyr {
|
|
371
|
+
.composer {
|
|
372
|
+
color: var(--bs-body) !important;
|
|
373
|
+
background-color: var(--bs-light) !important;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
@include color-mode(dark) {
|
|
378
|
+
.skin-noskin .composer {
|
|
379
|
+
color: var(--bs-secondary)!important;
|
|
380
|
+
background-color: var(--bs-body-bg)!important;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
html,
|
|
2
|
-
body.page-compose,
|
|
3
|
-
.page-compose #content,
|
|
4
|
-
.page-compose #panel {
|
|
5
|
-
height: 100%;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
body.page-compose {
|
|
9
|
-
padding-bottom: 0 !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
1
|
.page-compose .composer {
|
|
13
|
-
height: 100%;
|
|
14
2
|
z-index: initial;
|
|
15
3
|
position: static;
|
|
4
|
+
[data-action="hide"] {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
16
7
|
}
|
|
17
8
|
|
|
18
9
|
.zen-mode .page-compose .composer {
|
|
19
10
|
position: absolute;
|
|
20
|
-
}
|
|
11
|
+
}
|
|
12
|
+
.page-compose {
|
|
13
|
+
&.skin-noskin, &.skin-cosmo, &.skin-flatly,
|
|
14
|
+
&.skin-journal, &.skin-litera, &.skin-minty, &.skin-pulse,
|
|
15
|
+
&.skin-sandstone, &.skin-sketchy, &.skin-spacelab, &.skin-united,
|
|
16
|
+
&.skin-cerulean, &.skin-lumen, &.skin-lux, &.skin-morph,
|
|
17
|
+
&.skin-simplex, &.skin-yeti, &.skin-zephyr {
|
|
18
|
+
.composer {
|
|
19
|
+
color: var(--bs-body-color) !important;
|
|
20
|
+
background-color: var(--bs-body-bg) !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<div component="composer" class="composer{{{ if resizable }}} resizable{{{ end }}}{{{ if !isTopicOrMain }}} reply{{{ end }}}"{{{ if !disabled }}} style="visibility: inherit;"{{{ end }}}>
|
|
2
|
-
<div class="composer-container">
|
|
1
|
+
<div component="composer" class="composer pb-3 h-100 {{{ if resizable }}} resizable{{{ end }}}{{{ if !isTopicOrMain }}} reply{{{ end }}}"{{{ if !disabled }}} style="visibility: inherit;"{{{ end }}}>
|
|
2
|
+
<div class="composer-container d-flex flex-column gap-1 h-100">
|
|
3
3
|
<form id="compose-form" method="post">
|
|
4
4
|
{{{ if pid }}}
|
|
5
5
|
<input type="hidden" name="pid" value="{pid}" />
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
<textarea class="write shadow-none rounded-1 w-100 form-control" tabindex="4" placeholder="[[modules:composer.textarea.placeholder]]">{body}</textarea>
|
|
6
6
|
</div>
|
|
7
7
|
<div class="preview-container d-none d-md-flex w-50">
|
|
8
|
-
<div class="preview
|
|
8
|
+
<div class="preview p-3 border w-100 rounded-1 overflow-auto"></div>
|
|
9
9
|
</div>
|
|
10
10
|
</div>
|