Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] PurifyCSS remove Tooltipster theme #194

Open
Kristinita opened this issue Dec 27, 2017 · 1 comment
Open

[Question] PurifyCSS remove Tooltipster theme #194

Kristinita opened this issue Dec 27, 2017 · 1 comment

Comments

@Kristinita
Copy link

Kristinita commented Dec 27, 2017

1. Summary

I don't understand, what I can do, that PurifyCSS don't remove my theme for Tooltipster.

For another CSS PurifyCSS worked as expected.

2. Settings

1. PurifyCSS

1.2.5 version.

2. Tooltipster theme

Part of my sublime-text.css file — my Tooltipster theme:

.tooltipster-punk-purple .tooltipster-box {
  border-bottom: 3px solid #ffa500;
  background: #800080;
}
.tooltipster-punk-aquamarine .tooltipster-box {
  border-bottom: 3px solid #ff69b4;
  background: #228b22;
}

3. Head

Part of head of one of my HTML files:

<script src="//cdn.jsdelivr.net/jquery.tooltipster/latest/js/tooltipster.bundle.min.js" defer></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.tooltipster/latest/css/tooltipster.bundle.min.css" />
<link rel="stylesheet" href="../theme/node_modules/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-punk.min.css" />
<script src="../theme/js/Tooltipster/tooltip.js" defer></script>

4. HTML

Example part of HTML, where I use my Tooltipster theme:

<pre><code data-language="shell">

yaspeller --check-yo --find-repeat-words --ignore-digits --ignore-latin --ignore-roman-numerals --ignore-uppercase --ignore-urls
</code><button class="SashaButton SashaTooltip"><img class="SashaNotModify" src="../images/interface_images/clippy.svg" alt="Clipboard button" width="13"></button></pre>

3. Steps to reproduce

I print in my console:

D:\Kristinita>purifycss output\theme\css\sections\sublime-text.css https://cdn.jsdelivr.net/jquery.tooltipster/latest/js/tooltipster.bundle.min.js output\theme\js\Tooltipster\tooltip.js output\Sublime-Text\*.html --info --out output\theme\css\sections\purifysublime.css

4. Expected behavior

Tooltipster theme not removed.

5. Actual behavior

Tooltipster theme removed.

Thanks.

@eavitan
Copy link

eavitan commented May 28, 2018

I have the same problem, it removes my header's css, how can i prevent it from happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants