@licium/editor-plugin-text-align 1.0.0 → 1.0.2
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.
|
@@ -36,3 +36,47 @@
|
|
|
36
36
|
.toastui-editor-dark .toastui-editor-toolbar-icons.alignRight {
|
|
37
37
|
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5NiIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDk2IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNlZWUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj4KICA8bGluZSB4MT0iOCIgeTE9IjYiIHgyPSIyNCIgeTI9IjYiIC8+CiAgPGxpbmUgeDE9IjgiIHkxPSIxMCIgeDI9IjIwIiB5Mj0iMTAiIC8+CiAgPGxpbmUgeDE9IjgiIHkxPSIxNCIgeDI9IjI0IiB5Mj0iMTQiIC8+CiAgPGxpbmUgeDE9IjgiIHkxPSIxOCIgeDI9IjIwIiB5Mj0iMTgiIC8+CgogIDxsaW5lIHgxPSI0MCIgeTE9IjYiIHgyPSI1NiIgeTI9IjYiIC8+CiAgPGxpbmUgeDE9IjQyIiB5MT0iMTAiIHgyPSI1NCIgeTI9IjEwIiAvPgogIDxsaW5lIHgxPSI0MCIgeTE9IjE0IiB4Mj0iNTYiIHkyPSIxNCIgLz4KICA8bGluZSB4MT0iNDIiIHkxPSIxOCIgeDI9IjU0IiB5Mj0iMTgiIC8+CgogIDxsaW5lIHgxPSI3MiIgeTE9IjYiIHgyPSI4OCIgeTI9IjYiIC8+CiAgPGxpbmUgeDE9Ijc2IiB5MT0iMTAiIHgyPSI4OCIgeTI9IjEwIiAvPgogIDxsaW5lIHgxPSI3MiIgeTE9IjE0IiB4Mj0iODgiIHkyPSIxNCIgLz4KICA8bGluZSB4MT0iNzYiIHkxPSIxOCIgeDI9Ijg4IiB5Mj0iMTgiIC8+Cjwvc3ZnPg==);
|
|
38
38
|
}
|
|
39
|
+
|
|
40
|
+
/* ==========================================================================
|
|
41
|
+
Global Theme Fixes (Dark Mode Artifacts & Dynamic Backgrounds)
|
|
42
|
+
========================================================================== */
|
|
43
|
+
|
|
44
|
+
/* FIX: Override hardcoded toolbar backgrounds to respect CSS variable */
|
|
45
|
+
.toastui-editor-dark .toastui-editor-defaultUI-toolbar {
|
|
46
|
+
background-color: var(--editor-toolbar-bg, #232428) !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* FIX: Ensure buttons don't have hardcoded borders/backgrounds that clash */
|
|
50
|
+
.toastui-editor-dark .toastui-editor-defaultUI-toolbar button {
|
|
51
|
+
background-color: transparent !important;
|
|
52
|
+
border-color: transparent !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* FIX: Subtle hover state for buttons */
|
|
56
|
+
.toastui-editor-dark .toastui-editor-defaultUI-toolbar button:hover {
|
|
57
|
+
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* FIX: Popup menus and groups should match the toolbar background */
|
|
61
|
+
.toastui-editor-dark .toastui-editor-toolbar-group {
|
|
62
|
+
background-color: var(--editor-toolbar-bg, #232428) !important;
|
|
63
|
+
border-color: transparent !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* FIX: Dividers should be transparent to avoid white artifacts */
|
|
67
|
+
.toastui-editor-dark .toastui-editor-toolbar-divider {
|
|
68
|
+
background-color: transparent !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* FIX: Remove invisible border from dropdown toolbar container */
|
|
72
|
+
.toastui-editor-dark .toastui-editor-dropdown-toolbar {
|
|
73
|
+
border: none !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* FIX: Replace broken "More" button icon (sprite bleeding) with clean SVG */
|
|
77
|
+
.toastui-editor-dark .toastui-editor-toolbar-icons.more {
|
|
78
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27%23eee%27%3E%3Ccircle cx=%275%27 cy=%2712%27 r=%272%27/%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%272%27/%3E%3Ccircle cx=%2719%27 cy=%2712%27 r=%272%27/%3E%3C/svg%3E") !important;
|
|
79
|
+
background-repeat: no-repeat !important;
|
|
80
|
+
background-position: center center !important;
|
|
81
|
+
background-size: 24px 24px !important;
|
|
82
|
+
}
|