Add tooltips to user list and submit buttons

This commit is contained in:
Jérémie Astori 2016-08-03 01:10:22 -04:00
parent 376fdee8b1
commit 2041c936b2
3 changed files with 10 additions and 3 deletions

View File

@ -346,9 +346,12 @@ button {
opacity: 1;
}
#viewport .rt-tooltip {
float: right;
}
#viewport .rt {
display: block;
float: right;
margin: 6px -12px 0 0;
}

View File

@ -61,7 +61,9 @@
<div class="input">
<label for="input" id="nick"></label>
<textarea id="input" class="mousetrap"></textarea>
<button id="submit" type="submit" title="Send" aria-label="Send message"></button>
<span class="tooltipped tooltipped-w" aria-label="Send message">
<button id="submit" type="submit" aria-label="Send message"></button>
</span>
</div>
</form>
</div>

View File

@ -3,7 +3,9 @@
<div class="header">
<button class="lt" aria-label="Toggle channel list"></button>
{{#equal type "channel"}}
<button class="rt" aria-label="Toggle user list"></button>
<span class="rt-tooltip tooltipped tooltipped-w" aria-label="Toggle user list">
<button class="rt" aria-label="Toggle user list"></button>
</span>
{{/equal}}
<button class="menu" aria-label="Open the context menu"></button>
<span class="title">{{name}}</span>