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; opacity: 1;
} }
#viewport .rt-tooltip {
float: right;
}
#viewport .rt { #viewport .rt {
display: block; display: block;
float: right;
margin: 6px -12px 0 0; margin: 6px -12px 0 0;
} }

View File

@ -61,7 +61,9 @@
<div class="input"> <div class="input">
<label for="input" id="nick"></label> <label for="input" id="nick"></label>
<textarea id="input" class="mousetrap"></textarea> <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> </div>
</form> </form>
</div> </div>

View File

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