Update Tippy.js to v6.3.7

This commit is contained in:
Danielle McLean 2024-03-13 19:12:36 +11:00
parent a680a6501c
commit 6061d6f600
Signed by untrusted user: 00dani
GPG key ID: 52C059C3B22A753E
4 changed files with 19 additions and 15 deletions

View file

@ -62,17 +62,19 @@
</div>
<div id="verified-success" hidden>
this client has been <strong>verified</strong> using <code>{{ '<link rel="redirect_uri">' | escape }}</code> - they are who they claim to be!
this client has been <strong>verified</strong> using <code>{{ '<link rel="redirect_uri">' | escape }}</code> <br/>- they are who they claim to be!
</div>
<div id="verified-warning" hidden>
this client could <strong>not</strong> be verified using <code>{{ '<link rel="redirect_uri">' | escape }}</code> - check the redirect uri carefully yourself!
this client could <strong>not</strong> be verified using <code>{{ '<link rel="redirect_uri">' | escape }}</code> <br/>- check the redirect uri carefully yourself!
</div>
{% endblock %}
{% block foot %}
<script type="text/javascript">
tippy('[data-tippy-theme]', {
tippy('[data-tippy-html]', {
arrow: true,
allowHTML: true,
maxWidth: 500,
content: function(element) {
return document.querySelector(element.getAttribute('data-tippy-html')).innerHTML;
}

View file

@ -2,10 +2,10 @@
img
height 2em
margin-right .5em
.tippy-tooltip
&.success-theme
.tippy-box
&[data-theme~='success']
color $base0B
&.warning-theme
&[data-theme~='warning']
color $base0A
.verified-success
color $base0B