Merge pull request #1829 from thelounge/astorije/better-icons

Use better icons for channel/query list and context menu actions
This commit is contained in:
Jérémie Astori 2017-12-15 19:27:19 -05:00 committed by GitHub
commit 0a333ad84d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -221,22 +221,23 @@ kbd {
#chat button.menu::before { content: "\f142"; /* http://fontawesome.io/icon/ellipsis-v/ */ } #chat button.menu::before { content: "\f142"; /* http://fontawesome.io/icon/ellipsis-v/ */ }
.context-menu-user::before { content: "\f007"; /* http://fontawesome.io/icon/user/ */ } .context-menu-user::before { content: "\f007"; /* http://fontawesome.io/icon/user/ */ }
.context-menu-chan::before { content: "\f292"; /* http://fontawesome.io/icon/hashtag/ */ }
.context-menu-close::before { content: "\f00d"; /* http://fontawesome.io/icon/times/ */ } .context-menu-close::before { content: "\f00d"; /* http://fontawesome.io/icon/times/ */ }
.context-menu-list::before { content: "\f03a"; /* http://fontawesome.io/icon/list/ */ } .context-menu-list::before { content: "\f03a"; /* http://fontawesome.io/icon/list/ */ }
.context-menu-action-whois::before { content: "\f05a"; /* http://fontawesome.io/icon/info-circle/ */ } .context-menu-action-whois::before { content: "\f05a"; /* http://fontawesome.io/icon/info-circle/ */ }
.context-menu-action-query::before { content: "\f0e6"; /* http://fontawesome.io/icon/comments-o/ */ }
.context-menu-action-kick::before { content: "\f05e"; /* http://fontawesome.io/icon/ban/ */ } .context-menu-action-kick::before { content: "\f05e"; /* http://fontawesome.io/icon/ban/ */ }
.context-menu-network::before, .context-menu-network::before,
#sidebar .chan.lobby::before, #sidebar .chan.lobby::before,
#chat .lobby .title::before { content: "\f0a0"; /* http://fontawesome.io/icon/hdd-o/ */ } #chat .lobby .title::before { content: "\f0a0"; /* http://fontawesome.io/icon/hdd-o/ */ }
.context-menu-query::before,
.context-menu-action-query::before,
#sidebar .chan.query::before, #sidebar .chan.query::before,
#chat .query .title::before { content: "\f007"; /* http://fontawesome.io/icon/user/ */ } #chat .query .title::before { content: "\f0e5"; /* http://fontawesome.io/icon/comment-o/ */ }
.context-menu-chan::before,
#sidebar .chan.channel::before, #sidebar .chan.channel::before,
#chat .channel .title::before { content: "\f292"; /* http://fontawesome.io/icon/hashtag/ */ } #chat .channel .title::before { content: "\f086"; /* http://fontawesome.io/icon/comments/ */ }
#sidebar .chan.special::before, #sidebar .chan.special::before,
#chat .special .title::before { content: "\f03a"; /* http://fontawesome.io/icon/list/ */ } #chat .special .title::before { content: "\f03a"; /* http://fontawesome.io/icon/list/ */ }

View File

@ -113,7 +113,7 @@ $(function() {
if (target.hasClass("lobby")) { if (target.hasClass("lobby")) {
itemClass = "network"; itemClass = "network";
} else if (target.hasClass("query")) { } else if (target.hasClass("query")) {
itemClass = "user"; itemClass = "query";
} else { } else {
itemClass = "chan"; itemClass = "chan";
} }