forked from 00dani/lemoncurry
Add cute little Tipper.js tooltips to the profiles on the home h-card
This commit is contained in:
parent
ffd0d3384e
commit
c40372a020
4 changed files with 14 additions and 7 deletions
|
@ -5,10 +5,8 @@
|
|||
.tippy-tooltip
|
||||
&.success-theme
|
||||
color $base0B
|
||||
background-color $base03
|
||||
&.warning-theme
|
||||
color $base0A
|
||||
background-color $base03
|
||||
.verified-success
|
||||
color $base0B
|
||||
.verified-warning
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
{% if app %}{{ app.name | first }}{% endif %}
|
||||
{% if app %}({% endif %}<a class="u-url code{% if not app %} p-name{% endif %}" href="{{ params.client_id }}">{{ params.client_id }}</a>{% if app %}){% endif %}?
|
||||
{% if verified %}
|
||||
<span data-tooltip data-tippy-theme="success" data-tippy-html="#verified-success">
|
||||
<span data-tooltip data-tippy-theme="dark success" data-tippy-html="#verified-success">
|
||||
<i class="fas fa-check-circle verified-success"></i>
|
||||
</span>
|
||||
{% else %}
|
||||
<span data-tooltip data-tippy-theme="warning" data-tippy-html="#verified-warning">
|
||||
<span data-tooltip data-tippy-theme="dark warning" data-tippy-html="#verified-warning">
|
||||
<i class="fas fa-question-circle verified-warning"></i>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue