mirror of https://gitlab.com/brutaldon/brutaldon
Get username hints implemented in brutstrap
Other brutalist themes could be enhanced to add this.
This commit is contained in:
parent
05f2700ddc
commit
3293ef5ebf
|
@ -236,6 +236,15 @@ img.emoji
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
#username_autocomplete div.tooltip::after {
|
||||
content: attr(data-tooltip);
|
||||
font-size: 0.6em;
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
border: 1pt solid #444;
|
||||
background-color: #FFF;
|
||||
padding: 0.2em;
|
||||
}
|
||||
|
||||
/* Remaining brutaldon-specific tweaks */
|
||||
|
||||
|
@ -255,6 +264,10 @@ input#id_spoiler_text
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.media-content
|
||||
{
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.reblog-icon {
|
||||
position: relative;
|
||||
|
|
|
@ -1,8 +1,2 @@
|
|||
<div id="username_autocomplete">
|
||||
{% if not preferences.theme.is_brutalist %}
|
||||
<div class="tooltip is-tooltip-active is-tooltip-multiline is-tooltip-bottom"
|
||||
data-tooltip="{{ users }}"></div>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="tooltip is-tooltip-active is-tooltip-multiline is-tooltip-bottom"
|
||||
data-tooltip="{{ users }}"></div>
|
||||
|
|
Loading…
Reference in New Issue