From 6eff4a1898a7503294ca337014dc99b371b51a23 Mon Sep 17 00:00:00 2001 From: Sercan Yemen <117369+srcn@users.noreply.github.com> Date: Tue, 24 May 2022 12:17:45 +0300 Subject: [PATCH] (@fuse/overrides/quill) Added tooltip styles for better compatibility, closes #171 --- src/@fuse/styles/overrides/quill.scss | 40 ++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/src/@fuse/styles/overrides/quill.scss b/src/@fuse/styles/overrides/quill.scss index 8c13d029..af181a0a 100644 --- a/src/@fuse/styles/overrides/quill.scss +++ b/src/@fuse/styles/overrides/quill.scss @@ -94,11 +94,49 @@ @apply bg-card; .dark & { - background-color: rgba(0, 0, 0, 0.05); + //background-color: rgba(0, 0, 0, 0.05); } &.ql-blank::before { @apply text-hint; } } + + .ql-tooltip { + @apply px-3 py-1 shadow-sm rounded-md bg-gray-100 border-gray-300; + + .dark & { + @apply shadow-lg bg-gray-700 border-gray-700 #{'!important'}; + } + + // Label + &:before { + @apply text-secondary; + } + + .ql-action, + .ql-remove { + @apply text-primary border-gray-300; + + .dark & { + @apply text-primary-400 border-gray-300; + } + } + + .ql-action:after { + @apply border-r border-r-gray-300 #{'!important'}; + + .dark & { + @apply border-r-gray-500 #{'!important'}; + } + } + + input { + @apply rounded-sm text-default bg-white border-gray-300 #{'!important'}; + + .dark & { + @apply bg-gray-700 border-gray-500 #{'!important'}; + } + } + } }