docx-diff-editor 1.0.16 → 1.0.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/dist/styles.css +17 -13
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
DocxDiffEditor Styles
|
|
3
3
|
|
|
4
|
-
This CSS
|
|
5
|
-
|
|
6
|
-
IMPORTANT: Import this CSS AFTER your Tailwind/global styles to ensure
|
|
7
|
-
proper cascade order. For example:
|
|
8
|
-
|
|
9
|
-
@import "tailwindcss";
|
|
10
|
-
@import "docx-diff-editor/styles.css";
|
|
11
|
-
|
|
12
|
-
Or in your component:
|
|
13
|
-
|
|
14
|
-
import 'docx-diff-editor/styles.css'; // After Tailwind is loaded
|
|
4
|
+
This CSS uses @layer to ensure proper specificity over CSS frameworks
|
|
5
|
+
like Tailwind that use aggressive resets.
|
|
15
6
|
|
|
7
|
+
Layer order (lowest to highest priority):
|
|
8
|
+
1. base - CSS framework base/reset styles
|
|
9
|
+
2. superdoc - SuperDoc editor styles
|
|
10
|
+
3. dde - DocxDiffEditor custom styles
|
|
16
11
|
========================================================================== */
|
|
17
12
|
|
|
18
|
-
/*
|
|
13
|
+
/* Define layer order - later layers have higher priority */
|
|
14
|
+
@layer base, superdoc, dde;
|
|
15
|
+
|
|
16
|
+
/* SuperDoc styles in their own layer */
|
|
17
|
+
@layer superdoc {
|
|
19
18
|
:root {
|
|
20
19
|
/* CSS variables */
|
|
21
20
|
}
|
|
@@ -5436,8 +5435,10 @@ img[data-v-7dd69850] {
|
|
|
5436
5435
|
mix-blend-mode: difference;
|
|
5437
5436
|
}
|
|
5438
5437
|
|
|
5438
|
+
}
|
|
5439
5439
|
|
|
5440
|
-
/*
|
|
5440
|
+
/* DocxDiffEditor custom styles */
|
|
5441
|
+
@layer dde {
|
|
5441
5442
|
/**
|
|
5442
5443
|
* DocxDiffEditor Styles
|
|
5443
5444
|
*
|
|
@@ -5825,4 +5826,7 @@ img[data-v-7dd69850] {
|
|
|
5825
5826
|
.dde-container .ProseMirror-selectednode [data-track-format] {
|
|
5826
5827
|
outline: 2px solid var(--dde-primary-color);
|
|
5827
5828
|
outline-offset: 1px;
|
|
5829
|
+
}
|
|
5830
|
+
|
|
5831
|
+
|
|
5828
5832
|
}
|